Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[fglrx] glxinfo/gears only work as root, not as user
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
sugar
Guru
Guru


Joined: 07 Aug 2004
Posts: 579
Location: Morrinsville, New Zealand

PostPosted: Fri Sep 05, 2008 6:13 am    Post subject: [fglrx] glxinfo/gears only work as root, not as user Reply with quote

This is starting bug me.
As root
Code:
localhost mark # fglrxinfo
display: :0.0  screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI MOBILITY RADEON 9600/9700 Series
OpenGL version string: 2.1.7659 Release


As user
Code:
mark@localhost ~ $ fglrxinfo
libGL: XF86DRIGetClientDriverName: 8.50.3 fglrx (screen 0)
libGL: OpenDriver: trying /usr/lib/dri/fglrx_dri.so
Segmentation fault


I ran export LIBGL_DEBUG=verbose for running fglrxinfo above


User has permission to read fglrx_dri.so, and the dri line in xorg.conf is also ok.
Code:
Section "DRI"
   Mode         0666
EndSection

Section "Extensions"
   Option       "Composite" "Enable"
   Option       "RENDER" "Enable"
   Option       "DAMAGE" "Enable"
EndSection


I keep thinking the drivers buggy, but if that was the case, then root would throw the same error right?

ati-drivers-8.471.3

I'm totally stumped.

edit: I forgot to mention that I'm using ati-drivers-8.501 (the most recent stable driver), but the same thing happens with ati-drivers-8.471.3 (the last stable driver)
_________________
He who calls for full employment calls for war!
Back to top
View user's profile Send private message
defenderBG
l33t
l33t


Joined: 20 Jun 2006
Posts: 817

PostPosted: Fri Sep 05, 2008 8:34 am    Post subject: Reply with quote

Did you add the user or the users group to the video group?
Back to top
View user's profile Send private message
sugar
Guru
Guru


Joined: 07 Aug 2004
Posts: 579
Location: Morrinsville, New Zealand

PostPosted: Fri Sep 05, 2008 8:39 am    Post subject: Reply with quote

defenderBG wrote:
Did you add the user or the users group to the video group?


yes, all users are part of video.
_________________
He who calls for full employment calls for war!
Back to top
View user's profile Send private message
defenderBG
l33t
l33t


Joined: 20 Jun 2006
Posts: 817

PostPosted: Fri Sep 05, 2008 9:50 am    Post subject: Reply with quote

Please see if this is the bug: https://bugs.launchpad.net/ubuntu/+bug/224160

Especially this comment: https://bugs.launchpad.net/ubuntu/+bug/224160/comments/6
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Fri Sep 05, 2008 11:24 am    Post subject: Reply with quote

Hi, did you test the 8.52 version instead ?
Back to top
View user's profile Send private message
bunder
Bodhisattva
Bodhisattva


Joined: 10 Apr 2004
Posts: 5934

PostPosted: Fri Sep 05, 2008 12:17 pm    Post subject: Reply with quote

Moved from Multimedia to Desktop Environments.
_________________
Neddyseagoon wrote:
The problem with leaving is that you can only do it once and it reduces your influence.

banned from #gentoo since sept 2017
Back to top
View user's profile Send private message
sugar
Guru
Guru


Joined: 07 Aug 2004
Posts: 579
Location: Morrinsville, New Zealand

PostPosted: Fri Sep 05, 2008 5:35 pm    Post subject: Reply with quote

defenderBG wrote:
Please see if this is the bug: https://bugs.launchpad.net/ubuntu/+bug/224160

Especially this comment: https://bugs.launchpad.net/ubuntu/+bug/224160/comments/6


that's interesting. I'll have a look into it when I get back from work this morning.

sorry to bump and old thread.

I ran strace

Code:
execve("/usr/bin/glxinfo", ["glxinfo"], [/* 64 vars */]) = 0
brk(0)                                  = 0x804e000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb4000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/usr/lib/xorg/tls/i686/sse2/libglut.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xorg/tls/i686/sse2", 0xbf9cd178) = -1 ENOENT (No such file or directory)
open("/usr/lib/xorg/tls/i686/libglut.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xorg/tls/i686", 0xbf9cd178) = -1 ENOENT (No such file or directory)
open("/usr/lib/xorg/tls/sse2/libglut.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xorg/tls/sse2", 0xbf9cd178) = -1 ENOENT (No such file or directory)
open("/usr/lib/xorg/tls/libglut.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xorg/tls", 0xbf9cd178) = -1 ENOENT (No such file or directory)
open("/usr/lib/xorg/i686/sse2/libglut.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xorg/i686/sse2", 0xbf9cd178) = -1 ENOENT (No such file or directory)
open("/usr/lib/xorg/i686/libglut.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xorg/i686", 0xbf9cd178) = -1 ENOENT (No such file or directory)
open("/usr/lib/xorg/sse2/libglut.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xorg/sse2", 0xbf9cd178) = -1 ENOENT (No such file or directory)
open("/usr/lib/xorg/libglut.so.3", O_RDONLY) = -1 ENOENT (No such file or directory)
stat64("/usr/lib/xorg", {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
open("/etc/ld.so.cache", O_RDONLY)      = 3


but there's no dir under /usr/lib/xorg besides modules. So I'm not sure whats going on.
_________________
He who calls for full employment calls for war!
Back to top
View user's profile Send private message
sugar
Guru
Guru


Joined: 07 Aug 2004
Posts: 579
Location: Morrinsville, New Zealand

PostPosted: Sat Oct 18, 2008 3:03 am    Post subject: Reply with quote

solved
_________________
He who calls for full employment calls for war!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum