Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-29 Thread Roman Haefeli
hi all finally i solved the problem. gem couldn't access the direct rendering infrastructure, because in my .pdrc pdp_opengl was loaded _before_ Gem. that means, it was not a problem during compile time, but it occured when loading the externals.

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread chris clepper
On 11/28/06, Roman Haefeli <[EMAIL PROTECTED]> wrote: i found, that libglut is not linked in gem, but it is in glxgears and in 3dp. is that a sign, that gem is not using dri? No. GLUT is a toolkit for making simple OpenGL applications. GEM uses glx directly. Perhaps your X11 is not set to

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
On Tue, 2006-11-28 at 17:21 +0100, cyrille henry wrote: > > the main diference i see with yours is that mine got : > libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb6df8000) is it necessary, that Gem.pd_linux is linked against libGLcore.so ? is that the reason, why i don't have dri enabl

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread cyrille henry
chris clepper a écrit : On 11/28/06, *Roman Haefeli* <[EMAIL PROTECTED] > wrote: how can i change to a compatible pixel format? by editng xorg.conf? I haven't used xorg but probably that conf file has the info on pixel depth. yes, the default ubuntu xorg.conf

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
On Tue, 2006-11-28 at 10:39 -0600, chris clepper wrote: > On 11/28/06, Roman Haefeli <[EMAIL PROTECTED]> wrote: > how can i change to a compatible pixel format? by editng > xorg.conf? > > I haven't used xorg but probably that conf file has the info on pixel > depth. the pixel defa

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread chris clepper
On 11/28/06, Roman Haefeli <[EMAIL PROTECTED]> wrote: how can i change to a compatible pixel format? by editng xorg.conf? I haven't used xorg but probably that conf file has the info on pixel depth. I think that is what causes glXIsDirect to return false (and triggers > that message in GEM

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
On Tue, 2006-11-28 at 17:21 +0100, cyrille henry wrote: > the main diference i see with yours is that mine got : > libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0xb6df8000) > libnvidia-tls.so.1 => /usr/lib/tls/libnvidia-tls.so.1 (0xb6df6000) i don't know what libGLcore.so.1 is for,

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread cyrille henry
Roman Haefeli a écrit : > hi chris > > On Tue, 2006-11-28 at 22:29 +0800, Chris McCormick wrote: >>> Roman Haefeli a écrit : it still think, that i have 'good' acceleration. for example i can run opengl based games like armagetron in fullscreen mode without any it says:

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
hi chris On Tue, 2006-11-28 at 10:02 -0600, chris clepper wrote: > On 11/28/06, Roman Haefeli <[EMAIL PROTECTED]> wrote: > > i found, that libglut is not linked in gem, but it is in > glxgears and in > 3dp. is that a sign, that gem is not using dri? > > No. GLUT

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
hi chris On Tue, 2006-11-28 at 22:29 +0800, Chris McCormick wrote: > > Roman Haefeli a écrit : > > >it still think, that i have 'good' acceleration. for example i can run > > >opengl based games like armagetron in fullscreen mode without any > > > > >it says: > > > > > >'direct rendering: Yes' >

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Chris McCormick
> Roman Haefeli a écrit : > >it still think, that i have 'good' acceleration. for example i can run > >opengl based games like armagetron in fullscreen mode without any > > >it says: > > > >'direct rendering: Yes' On Tue, Nov 28, 2006 at 01:04:40PM +0100, cyrille henry wrote: > anyway, > on my co

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
hi cyrille thank you very much for your fast reply On Tue, 2006-11-28 at 13:04 +0100, cyrille henry wrote: > anyway, > on my computer, when i create a gem window, i'v got this on the pd log : > > > Direct Rendering enabled! > GEM: Start rendering now, we are getting closer to the problem. whe

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread cyrille henry
Roman Haefeli a écrit : On Mon, 2006-11-27 at 20:10 +0100, cyrille henry wrote: Roman Haefeli a écrit : running fgl_glxgears gives me values between 440 and 450 frames per second, which makes me assume, that hardware accelerated opengl works on my computer. you should have 10 time more w

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread cyrille henry
Roman Haefeli a écrit : ... it still think, that i have 'good' acceleration. for example i can run opengl based games like armagetron in fullscreen mode without any performance problems. also does xscreensaver run without using much cpu in fullscreen mode. i tried once to build something with a

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
On Mon, 2006-11-27 at 20:10 +0100, cyrille henry wrote: > Roman Haefeli a écrit : > > > running fgl_glxgears gives > > me values between 440 and 450 frames per second, which makes me assume, > > that hardware accelerated opengl works on my computer. > you should have 10 time more with this card.

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread Roman Haefeli
hi cyrill thanks for replying On Mon, 2006-11-27 at 20:10 +0100, cyrille henry wrote: > hello, > > in order to know if your driver suport hardware acceleration, you can try : > > glxinfo | grep direct it says: 'direct rendering: Yes' > if it says yes : then you have hardware acceleration, so

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-28 Thread cyrille henry
hello, in order to know if your driver suport hardware acceleration, you can try : glxinfo | grep direct if it says yes : then you have hardware acceleration, so gem should use it. anyway, ubuntu do not distribute by default binary driver, so the opengl stuff is not very efficient. i think yo

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-27 Thread shift8
type: glxinfo | grep "direct rendering" on the console. it'll tell you Yes or No on DRI. glxinfo | grep -i dri will tell you the driver On Tue, 2006-11-28 at 00:32 +0100, Roman Haefeli wrote: > hi derek > > On Tue, 2006-11-28 at 00:01 +0100, derek holzer wrote: > > Hi Roman, > > > > I just wa

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-27 Thread Roman Haefeli
hi derek On Tue, 2006-11-28 at 00:01 +0100, derek holzer wrote: > Hi Roman, > > I just wanted to get that out of the way. Just because glxgears runs > doesn't mean that OpenGL is working and you actually have direct > rendering. i see... > Sorry I can't help more, since I've never gotten ATI

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-27 Thread derek holzer
Hi Roman, I just wanted to get that out of the way. Just because glxgears runs doesn't mean that OpenGL is working and you actually have direct rendering. Sorry I can't help more, since I've never gotten ATI cards to work properly with Linux. Glad at least those work for you! ;-) best, d. R

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-27 Thread Roman Haefeli
hi derek as i mentioned in the original post, i *have* accelerated graphics on my computer, so glxinfo tells me: 'direct rendering: Yes' the problem i have in this specific case, that i suspect gem not to make use of the hardware acceleration, for whatever reason. i don't know of reliable way to

Re: [PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-27 Thread derek holzer
Hi Roman, Getting accelerated graphics from ATI cards on Linux has always been problematic with or without GEM. What does "glxinfo" (or "fgl_glxinfo"???) tell you? Look for the line which says: direct rendering: which should tell you "Yes" or "No". best, d. -- derek holzer ::: http://www

[PD] [Gem] performance issues on ubuntu (no hardware accel?)

2006-11-27 Thread Roman Haefeli
hi all i am trying to use gem, since i changed to ubuntu. i used gem before successfully on windows on the same computer. but since i started compiling gem myself on ubuntu dapper, i am not convinced by its performance and i strongly believe that i am doing something wrong, or anything on my compu