View previous topic :: View next topic |
Author |
Message |
riquito Tux's lil' helper
Joined: 17 Jul 2002 Posts: 93
|
Posted: Mon Sep 16, 2002 3:14 pm Post subject: libGL, opengl and glxgears, |
|
|
I get errors when running glxgears to test the 3d on X...
If I run it fron root everything goes well :
sideralis init.d # glxgears
1135 frames in 5.0 seconds = 227.000 FPS
1522 frames in 5.0 seconds = 304.400 FPS
but from user i get an error about libGL:
blackman@sideralis .fluxbox $ glxgears
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
331 frames in 6.0 seconds = 55.167 FPS
314 frames in 5.0 seconds = 62.800 FPS
235 frames in 5.0 seconds = 47.000 FPS
314 frames in 6.0 seconds = 52.333 FPS
And it's really slow.. SO, as I use my system from user i'd like to solve that problem, I think is't about permissions but I don't understand..
PS: the module section int /etc/X11/XF86Config is :
Section "Module"
Load "type1"
Load "freetype"
Load "glx"
Load "dri"
Load "speedo"
Load "extmod"
EndSection _________________ Sideralis Programs
http://www.sideralis.org |
|
Back to top |
|
|
Youda n00b
Joined: 06 Aug 2002 Posts: 35 Location: Jönköping, Sweden
|
Posted: Mon Sep 16, 2002 10:02 pm Post subject: |
|
|
Hi!
I also had that problem and searched the forum and found that by adding this code to my XF86Config helped 4 me:
Code: |
Section "DRI"
Mode 0666
EndSection
|
Give it a shoot and tell me if it solved your problem! |
|
Back to top |
|
|
riquito Tux's lil' helper
Joined: 17 Jul 2002 Posts: 93
|
Posted: Wed Sep 18, 2002 12:30 am Post subject: |
|
|
WOW! That's THE solution Now it works, thanks a lot _________________ Sideralis Programs
http://www.sideralis.org |
|
Back to top |
|
|
|