You are not logged in.

#1 2006-04-12 03:30:15

b4t3m4n
Member
From: -> Here <-
Registered: 2006-04-10
Posts: 27

my normal user accounts cant use GL

If I run X as root, I can use all things GL.  Any normal user account I have though cant.  I get an operation not permitted error.  I have 9800 Pro using the latest fglrx driver.  Any help would be appreciated.

Offline

#2 2006-04-12 04:13:40

Ryujin
Forum Fellow
From: Centerville, Utah
Registered: 2005-05-12
Posts: 246
Website

Re: my normal user accounts cant use GL

the only things I can think of are user groups and where the xorg.conf file is, if you have an xorg.conf in the home directory it will override the one in /etc/X11/, check your /root/ and /home/(user) folders for an xorg.conf.  either you have one with all the right settings in /root/ and none in /etc/X11 or a good one in /etc/X11 and a bad one in /home/(user).  Hope this helps

Offline

#3 2006-04-12 04:44:29

b4t3m4n
Member
From: -> Here <-
Registered: 2006-04-10
Posts: 27

Re: my normal user accounts cant use GL

I just have the one in /etc/X11

here is my output from a fail fgl_glxgears attempt

[b4t3m4n@fear ~]$ fgl_glxgears
Using GLX_SGIX_pbuffer
libGL error: failed to open DRM: Operation not permitted
libGL error: reverting to (slow) indirect rendering
X Error of failed request:  BadMatch (invalid parameter attributes)
  Major opcode of failed request:  162 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  36
  Current serial number in output stream:  36

Offline

#4 2006-04-12 05:43:52

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: my normal user accounts cant use GL

Add your user to the video group.
# gpasswd -a USERNAME video

And make sure you have :
Section "DRI"
        Mode 0666
EndSection
in your xorg.conf

Offline

#5 2006-04-12 06:01:41

b4t3m4n
Member
From: -> Here <-
Registered: 2006-04-10
Posts: 27

Re: my normal user accounts cant use GL

Yeah was missing DRI in xorg.conf, thanks.  Knew I was missing something simple  roll

Offline

#6 2006-04-12 10:37:40

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: my normal user accounts cant use GL

I feel I should mention that this error and solution were described in the troubleshooting section of the ATI Radeon & Kernel 2.6 wiki page.  wink   I've made alot of changes to that page recently, and it's actually useful once again.

Offline

Board footer

Powered by FluxBB