[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freedesktop-xorg
Subject:    Re: Strange issue with fglrx/opengl
From:       Glynn Clements <glynn () gclements ! plus ! com>
Date:       2015-03-16 13:48:00
Message-ID: 21766.57104.56829.707187 () cerise ! gclements ! plus ! com
[Download RAW message or body]


Dwayne Rightler wrote:

> This one is puzzling me... any help would be great!
> 
> glxinfo/glxgears does not work from my user account:
> 
> darkomen@darkomen-desktop:~$ glxinfo
> name of display: :0
> Error: couldn't find RGB GLX visual or fbconfig
> 
> darkomen@darkomen-desktop:~$ glxgears
> Error: couldn't get an RGB, Double-buffered visual
> 
> 
> If I give local permissions and su to root it works as root:

> root@darkomen-desktop:~# glxinfo
> name of display: :0
> display: :0  screen: 0
> direct rendering: No (If you want to find out why, try setting
> LIBGL_DEBUG=verbose)

> If I ssh into localhost as my normal user with X11 Forwarding it works:

> darkomen@darkomen-desktop:~$ glxinfo
> name of display: localhost:11.0
> display: localhost:11  screen: 0
> direct rendering: No (If you want to find out why, try setting
> LIBGL_DEBUG=verbose)

For another data point, try

	export LIBGL_ALWAYS_INDIRECT=1

before running the glxinfo command.

It's possible that there's an issue which only affects direct
rendering. ssh -X localhost would prevent that (although I don't know
why running as root would; perhaps the issue is something in your
environment which is fixed by "su - ..." rather than by running as
root per se).

-- 
Glynn Clements <glynn@gclements.plus.com>
_______________________________________________
xorg@lists.x.org: X.Org support
Archives: http://lists.freedesktop.org/archives/xorg
Info: http://lists.x.org/mailman/listinfo/xorg
Your subscription address: %(user_address)s
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic