View previous topic :: View next topic |
Author |
Message |
Snake Tux's lil' helper
Joined: 21 Jul 2005 Posts: 146
|
Posted: Sun Jul 19, 2009 6:17 pm Post subject: Need help with xf86-video-ati [SOLVED] |
|
|
Hi,
I've just moved from perfectly working ati proprietary drivers to open source xf86-video-ati. Reason for moving are problems with newer kernels.
I've removed fglrx drivers from system and from make.conf and recompiled xorg.
Now I can't run glxinfo anymore, I get this message:
Code: | name of display: :0.0
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Xlib: extension "GLX" missing on display ":0.0".
Segmentation fault
|
glx doesn't load,
egrep '^\((EE|WW)\)' /var/log/Xorg.0.log:
Code: |
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
(WW) The directory "/usr/share/fonts/TTF/" does not exist.
(WW) The directory "/usr/share/fonts/OTF" does not exist.
(WW) Warning, couldn't open module freetype
(EE) Failed to load module "freetype" (module does not exist, 0)
(EE) Failed to load /usr/lib/xorg/modules/extensions//libglx.so
(EE) Failed to load module "glx" (loader failed, 7)
|
Any idea what could be wrong? I am stuck.
Last edited by Snake on Mon Jul 20, 2009 7:05 am; edited 1 time in total |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Sun Jul 19, 2009 7:17 pm Post subject: |
|
|
Did you use eselect to switch to the libgl provided by mesa?
What does `ls -l /usr/lib/xorg/modules/extensions//libglx.so` return? _________________ "You have to invite me in" |
|
Back to top |
|
|
poly_poly-man Advocate
Joined: 06 Dec 2006 Posts: 2477 Location: RIT, NY, US
|
Posted: Sun Jul 19, 2009 7:25 pm Post subject: |
|
|
eselect opengl set xorg-x11
also, which card do you have? _________________ iVBORw0KGgoAAAANSUhEUgAAA
avatar: new version of logo - see topic 838248. Potentially still a WiP. |
|
Back to top |
|
|
Snake Tux's lil' helper
Joined: 21 Jul 2005 Posts: 146
|
Posted: Sun Jul 19, 2009 7:51 pm Post subject: |
|
|
Hopeless wrote: | Did you use eselect to switch to the libgl provided by mesa?
|
What do you mean, opengl or is there anything else to switch? Opengl is set to xorg-x11.
Quote: |
What does `ls -l /usr/lib/xorg/modules/extensions//libglx.so` return? |
Code: | /usr/lib/xorg/modules/extensions//libglx.so -> /usr/lib/opengl/ati/extensions/libglx.so
|
Hmm, folder /usr/lib/opengl/ati doesn't exist. Where should it point?
Oh, graphic card is radeon x600 mobility. |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Sun Jul 19, 2009 7:53 pm Post subject: |
|
|
Snake wrote: | Hopeless wrote: | Did you use eselect to switch to the libgl provided by mesa?
|
What do you mean, opengl or is there anything else to switch? Opengl is set to xorg-x11.
Quote: |
What does `ls -l /usr/lib/xorg/modules/extensions//libglx.so` return? |
Code: | /usr/lib/xorg/modules/extensions//libglx.so -> /usr/lib/opengl/ati/extensions/libglx.so
|
Hmm, folder /usr/lib/opengl/ati doesn't exist. Where should it point?
Oh, graphic card is radeon x600 mobility. | It should be pointing to /usr//lib/opengl/xorg-x11/extensions/libglx.so
Make sure you have VIDEO_CARDS="radeon" in make.conf and then re-compile mesa. _________________ "You have to invite me in" |
|
Back to top |
|
|
Snake Tux's lil' helper
Joined: 21 Jul 2005 Posts: 146
|
Posted: Sun Jul 19, 2009 8:09 pm Post subject: |
|
|
In make.conf I have VIDEO_CARDS="vga radeon".
I've just recompiled mesa and everything is the same.
Folder /usr//lib/opengl/xorg-x11/extensions/ is empty . |
|
Back to top |
|
|
Sadako Advocate
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Sun Jul 19, 2009 8:26 pm Post subject: |
|
|
Could you post the output of `emerge -pv mesa xorg-server`?
Also, /usr/lib/opengl/xorg-x11/extensions/libglx.so belongs to x11-base/xorg-server, so perhaps try re-emerging that.
It's possible you needed to re-install mesa first, then xorg-server... _________________ "You have to invite me in" |
|
Back to top |
|
|
DaggyStyle Watchman
Joined: 22 Mar 2006 Posts: 5941
|
Posted: Mon Jul 20, 2009 4:22 am Post subject: |
|
|
if the file doesn't exists, shouldn't it be in flashing red? did you ran revdep-rebuild? _________________ Only two things are infinite, the universe and human stupidity and I'm not sure about the former - Albert Einstein |
|
Back to top |
|
|
Snake Tux's lil' helper
Joined: 21 Jul 2005 Posts: 146
|
Posted: Mon Jul 20, 2009 6:10 am Post subject: |
|
|
Yes it is flashing red. I've wrote that, but then deleted before posting .
Revdep-rebuild didn't do anything, now I am recompiling xorg.
Edit: at the end of compiling I got error, that libglx.so is already existing:
Switching to xorg-x11 OpenGL interface...ln: creating symbolic link `./libglx.so': File exists
!!! Error: Failed to create /lib/libglx.so
exiting
So I moved it and recompiled xorg. Now I get
!!! Error: Unrecognized option: (none)
exiting |
|
Back to top |
|
|
Snake Tux's lil' helper
Joined: 21 Jul 2005 Posts: 146
|
Posted: Mon Jul 20, 2009 7:10 am Post subject: |
|
|
Ok solved. I tried creating link by myself, but X didn't even boot, so I removed it and it didn't help, I was keep on returned to login screen. So I checked eselect opengl and it wasn't set, I couldn't set it because libglx.so link was already existing, so I had to remove it and set opengl to xorg and now it is working . Kde4 desktop effects, which are my test if everything is ok are working.
Thanks for all the help. |
|
Back to top |
|
|
pigeon768 l33t
Joined: 02 Jan 2006 Posts: 683
|
Posted: Mon Jul 20, 2009 10:08 am Post subject: |
|
|
Run 'eselect opengl set xorg-x11', even if it already says it's set to xorg-x11. Among other things it will set the correct symlinks you need. |
|
Back to top |
|
|
Snake Tux's lil' helper
Joined: 21 Jul 2005 Posts: 146
|
Posted: Mon Jul 20, 2009 1:01 pm Post subject: |
|
|
I did that, I was talking about eselect in previous post, when I wrote that it didn't work. I had to remove libglx.so link and run it again and then it worked. |
|
Back to top |
|
|
|