View previous topic :: View next topic |
Author |
Message |
jannis Guru
Joined: 05 Dec 2004 Posts: 340 Location: Germany / Bavaria / Aschaffenburg
|
Posted: Mon Dec 27, 2004 9:13 am Post subject: Can use DRM only as root [SOLVED] |
|
|
I used to run my system as root *shame on me*. Now I converted my confgfiles for a normal user and I got KDE running for a non-root user. I can acces all my games after I added me into the games-group. The problem is that my normal user doesn't have acces to the DRM-Interface of the X-Server. As root I can play Quake3 without any problem but when I try to run it as non-root-user I get these errors:
Code: | ----- R_Init -----
...loading libGL.so.1: Initializing OpenGL display
...setting mode 4: 800 600
Using XFree86-VidModeExtension Version 2.2
XFree86-VidModeExtension Activated at 800x600
libGL error: open DRM failed (Operation not permitted)
libGL error: reverting to (slow) indirect rendering
Using 4/4/4 Color bits, 16 depth, 0 stencil display.
GL_RENDERER: Mesa GLX Indirect
***********************************************************
You are using software Mesa (no hardware acceleration)!
Driver DLL used: libGL.so.1
If this is intentional, add
"+set r_allowSoftwareGL 1"
to the command line when starting the game.
***********************************************************
...WARNING: could not set the given mode (4)
Initializing OpenGL display
...setting mode 3: 640 480
Using XFree86-VidModeExtension Version 2.2
XFree86-VidModeExtension Activated at 640x480
Received signal 11, exiting...
|
When I type "glxinfo" as non-root-user it tells me, I don't have direct rendering. As root I have. How can I change these permissions?
Last edited by jannis on Mon Dec 27, 2004 9:28 pm; edited 1 time in total |
|
Back to top |
|
|
moocha Watchman
Joined: 21 Oct 2003 Posts: 5722
|
Posted: Mon Dec 27, 2004 4:10 pm Post subject: |
|
|
Not 100% sure (NVidia user, so no DRM here), but you can either try to search for the two keywords xorg.conf and 666 (I seem to remember having seen something about DRM permissions in some xorg.conf files around here), or you can poke around /etc/security and/or /etc/pam.d. Look for the lines relating to DRM and change the device mode to 0666. Or both. Code: | grep -r -i drm /etc/security | and Code: | grep -r -i drm /etc/pam.d | will tell you the files. _________________ Military Commissions Act of 2006: http://tinyurl.com/jrcto
"Those who would give up essential liberty to purchase a little temporary safety deserve neither liberty nor safety."
-- attributed to Benjamin Franklin |
|
Back to top |
|
|
jannis Guru
Joined: 05 Dec 2004 Posts: 340 Location: Germany / Bavaria / Aschaffenburg
|
Posted: Mon Dec 27, 2004 4:23 pm Post subject: |
|
|
Thanks for your help but it didn't bring me any further.
My xorg.conf has nothing about DRM (It's just the module DRI) and both grep-commands returned nothing. |
|
Back to top |
|
|
Eskarel Apprentice
Joined: 07 May 2004 Posts: 257 Location: Perth Australia
|
Posted: Mon Dec 27, 2004 5:05 pm Post subject: |
|
|
Dunno about ATI(I didn't have any problems back when I used them), but try adding yourself to the video group, it fixes an equivilant problem for nvidia. |
|
Back to top |
|
|
jannis Guru
Joined: 05 Dec 2004 Posts: 340 Location: Germany / Bavaria / Aschaffenburg
|
Posted: Mon Dec 27, 2004 7:57 pm Post subject: |
|
|
The user I am logged in with is in the video group |
|
Back to top |
|
|
askew2005 n00b
Joined: 23 Dec 2004 Posts: 13 Location: Underground
|
Posted: Mon Dec 27, 2004 8:48 pm Post subject: |
|
|
Add this to your xorg.conf
Section "DRI"
Group "video"
Mode 0666
EndSection _________________ There is no such thing as beauty, especially in the human face. So many women that I'm told are beautiful...hell it's like looking at a soup bowl --Charles Bukowski |
|
Back to top |
|
|
jannis Guru
Joined: 05 Dec 2004 Posts: 340 Location: Germany / Bavaria / Aschaffenburg
|
Posted: Mon Dec 27, 2004 9:28 pm Post subject: Can use DRM only as root [SOLVED] |
|
|
HIPHIP HURRA! IT FIXED IT!
Thanx! |
|
Back to top |
|
|
|