Linux Binaries Available

andy

09-07-2007 00:35:01

Python-Ogre Linux binaries are now available for Ubuntu Linux (latest release)

They can be found on the Python-Ogre web site in the downloads section.

This is an ALPHA release, based upon the latest Ogre 1.4 CVS and Python-Ogre 1.0RC2.

Please let us know if you have any problems :)

Cheers
Andy

SiWi

09-07-2007 19:11:33

That´s very cool. So it makes it much easier to me to develop games also for linux :). 'And they are working for me. :P

Balancer

13-07-2007 07:22:49

Very very good news!!

Balancer

13-07-2007 08:14:54

Without problem was runned in Gentoo Linux. But have some bugs in rendering:

http://balancer.ru/img/forums/0707/pyth ... inux-1.png

(ATI X800 GTO, XGL, P4-3000)

And toooo slow rendering Demo_SkeletalAnimation.py - only 6fps (other scenes have 20..100+ fps).

With Nvidia 6200 (Celeron 1700, AIGLX, Beryl) I have not problems with textures, but also have slow rendering. Skeletal animation with 20fps only.

(sorry for badly English)

andy

13-07-2007 08:50:20

Not sure I can help in the short term as the rendering problem is probably due to the ATI card and the underlying Ogre driver. (there have been lots of issues reported with ogre and ATI cards with Linux, due to very poor ATI GL drivers)..

It's also possible things will get better when I release the next version as it will have further updated Ogre drivers, although you may want to see if there are any updates available for the ATI card..

Specifically on the Skeletal demo you might want to mess wiht the ShadowTechnique type to see if it makes a difference in performance

Cheers
Andy

Balancer

13-07-2007 09:55:22

Some results:

ParticleFX:
Linux, Nvidia 6200 w.composite - 35 fps, long initialization
Linux, Nvidia 6200 w/o.composite - 60 fps, long initialization
Linux, Radeon X800 w.XGL - 74 fps, texture bugs
Linux, Radeon X800 w/o.XGL - 50 fps, rendering bug [1]
WindowsXP, Radeon 9600 D3D - 287 fps

SkeletalAnimation:
Linux, Nvidia 6200 w.composite - 28 fps, long initialization
Linux, Nvidia 6200 w/o.composite - 35 fps, long initialization
Linux, Radeon X800 w.XGL - 7 fps
Linux, Radeon X800 w/o.XGL - 35 fps
WindowsXP, Radeon 9600 - 180 fps

[1] - see http://balancer.ru/img/forums/0707/pyth ... pure-1.png

willism

08-09-2007 18:24:33

Does anybody know if these binaries will work on Debian? I use Ubuntu, but I have a friend who uses Debian, and I'm considering proposing working on a project together.

Game_Ender

09-09-2007 03:01:37

Python-Ogre should not have much of an effect on the demos I have not profiled them but they are not very computationally intensive. You should try the pure C++ demos and see if you get the same speed differences. If you do I would bring this up on the Ogre forums.

andy

09-09-2007 08:39:20

Does anybody know if these binaries will work on Debian? I use Ubuntu, but I have a friend who uses Debian, and I'm considering proposing working on a project together.

I haven't tested them, however they should run fine on Debian.

Cheers
Andy

NicoEchaniz

17-09-2007 00:56:24

The binaries have worked fine here on Gentoo ~x86, though I had to upgrade python to 2.5 because of problems with boost 1.34.0 and 2.4 and also had to add the following symbolic link for the CEGUI demos to work
ln -s /usr/lib/libpcre.so.0 /usr/lib/libpcre.so.3

the ODE demos don't work.
they crash with a bunch of errors similar to this one:
"
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/io/OIS/__init__.py:1: RuntimeWarning: to-Python converter for std::pair<std:: string const, std::string> already registered; second conversion method ignored.
from _ois_ import *
"

Game_Ender

17-09-2007 14:53:32

That's not an error its a warning ;). The demos run fine with that showing up, the last thing you see should be the actual error.

NicoEchaniz

19-09-2007 01:44:22

That's not an error its a warning ;). The demos run fine with that showing up, the last thing you see should be the actual error.

Well, that's all I get and the ode demos just don't run

here's a complete quote of what I get:

nicolas@adella ~/juego/ogre/dist/demos/ogreode $ python SimpleScenes_BoxStack.py
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/renderer/OGRE/__init__.py:8: RuntimeWarning: to-Python converter for std::pair<std::string const, std::string> already registered; second conversion method ignored.
from _ogre_ import *
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/physics/OgreOde/__init__.py:1: RuntimeWarning: to-Python converter for std::vector<unsigned short, std::allocator<unsigned short> > already registered; second conversion method ignored.
from _ogreode_ import *
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/physics/OgreOde/__init__.py:1: RuntimeWarning: to-Python converter for std::vector<std::string, std::allocator<std::string> > already registered; second conversion method ignored.
from _ogreode_ import *
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/physics/OgreOde/__init__.py:1: RuntimeWarning: to-Python converter for std::vector<Ogre::Vector4, std::allocator<Ogre::Vector4> > already registered; second conversion method ignored.
from _ogreode_ import *
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/physics/OgreOde/__init__.py:1: RuntimeWarning: to-Python converter for std::vector<Ogre::SubEntity*, std::allocator<Ogre::SubEntity*> > already registered; second conversion method ignored.
from _ogreode_ import *
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/physics/OgreOde/__init__.py:1: RuntimeWarning: to-Python converter for std::vector<Ogre::ShadowCaster*, std::allocator<Ogre::ShadowCaster*> > already registered; second conversion method ignored.
from _ogreode_ import *
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/physics/OgreOde/__init__.py:1: RuntimeWarning: to-Python converter for std::vector<Ogre::RenderSystem*, std::allocator<Ogre::RenderSystem*> > already registered; second conversion method ignored.
from _ogreode_ import *
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/physics/OgreOde/__init__.py:1: RuntimeWarning: to-Python converter for std::vector<Ogre::PlaneBoundedVolume, std::allocator<Ogre::PlaneBoundedVolume> > already registered; second conversion method ignored.
from _ogreode_ import *
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/physics/OgreOde/__init__.py:1: RuntimeWarning: to-Python converter for std::vector<Ogre::Light*, std::allocator<Ogre::Light*> > already registered; second conversion method ignored.
from _ogreode_ import *
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/physics/OgreOde/__init__.py:1: RuntimeWarning: to-Python converter for std::map<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > already registered; second conversion method ignored.
from _ogreode_ import *
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/physics/OgreOde/__init__.py:1: RuntimeWarning: to-Python converter for std::pair<std::string const, std::string> already registered; second conversion method ignored.
from _ogreode_ import *
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/io/OIS/__init__.py:1: RuntimeWarning: to-Python converter for std::multimap<std::string, std::string, std::less<std::string>, std::allocator<std::pair<std::string const, std::string> > > already registered; second conversion method ignored.
from _ois_ import *
/home/nicolas/juego/ogre/dist/packages_2.5/ogre/io/OIS/__init__.py:1: RuntimeWarning: to-Python converter for std::pair<std::string const, std::string> already registered; second conversion method ignored.
from _ois_ import *
nicolas@adella ~/juego/ogre/dist/demos/ogreode $

andy

21-09-2007 02:51:20

Do the standard/other demos work -- ie is this a problem only with OgreODE?

Thanks

Andy

dermont

21-09-2007 09:23:46

@NicoEchaniz: I think your problem is that SimpleScenes_BoxStack.py isn't meant to be run directly. Try running Demo_Scenes.py (I think it's named) instead, I believe it handles switching between the various SimpleScenes_*.py. You may find a number of problems and/or segfaults with the demo but it should run.

NicoEchaniz

22-09-2007 04:22:15

Thanks friends, the demo worked just fine when I run Demo_Scenes.py instead of the SimpleScenes directly

saluk

27-09-2007 05:06:10

Speaking of those warnings, is there any way to suppress them? It is making my application spit out an error message when I compiled it with py2exe. The game runs fine, but after quitting it pops up a gui window which says: "Errors occurred, see the logfile." I don't want people to be complaining about an error with quitting or sending me logfiles when it's just a warning! Sometimes my game actually doesn't quit correctly, and I have to end task. That might be an unrelated problem, but since it seems to coincide with the error message popping up it could be part of the cause.

I get that warning with the ogre renderer as well as with cegui.

Game_Ender

27-09-2007 06:23:26

Yes:

import warnings

warnings.simplefilter('ignore', RuntimeWarning)
import ogre.renderer.OGRE as Ogre
import ogre.physics.OgreNewt
warnings.simplefilter('default', RuntimeWarning)