[Openchrome-users] Curious GL problem
Bart Hartgers
bart
Tue Aug 1 03:04:59 PDT 2006
John Robinson wrote:
> On 31/07/2006 11:59, Bart Hartgers wrote:
>> Hi Everybody!
>>
>> After getting mpeg playback to work on my EPIA SP8000E (CN400), I
>> decided to try a few games. And I found that hardware accelerated OpenGL
>> is as fast as the software version. glxinfo claims that direct rendering
>> is working in the hardware case, but glxgears shows no significant
>> difference in FPS. I get about 140 fps (fullscreen) in both cases. I am
>> using the latest openchrome-svn and drm-cvs and a recent libmesa.
>>
>> Googling I found that other people get about 400 fps using hardware
>> opengl, so something seems to be wrong. Any ideas on what could be
>> happening or what I can try?
>
> Check what version of libGL you're using by looking in /usr/X11R6/lib -
> 1.2 uses hardware acceleration and 1.5 is software-only. Check your
> environment variables to make sure LIBGL_ALWAYS_INDIRECT isn't set, as
> it is by default in some distros.
>
Thanks! I checked the lib and environment, and both are okay. However, I
discovered that running glxgears as root crashes the machine. So it
could be that a) hardware opengl isn't quite working, and b) it needs
some permissions that only root has.
Groeten,
Bart
--
Bart Hartgers - TUE Eindhoven - http://plasimo.phys.tue.nl/bart/contact/
More information about the Openchrome-users
mailing list