Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Need help with xf86-video-ati [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Snake
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2005
Posts: 146

PostPosted: Sun Jul 19, 2009 6:17 pm    Post subject: Need help with xf86-video-ati [SOLVED] Reply with quote

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
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Sun Jul 19, 2009 7:17 pm    Post subject: Reply with quote

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
View user's profile Send private message
poly_poly-man
Advocate
Advocate


Joined: 06 Dec 2006
Posts: 2477
Location: RIT, NY, US

PostPosted: Sun Jul 19, 2009 7:25 pm    Post subject: Reply with quote

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
View user's profile Send private message
Snake
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2005
Posts: 146

PostPosted: Sun Jul 19, 2009 7:51 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Sun Jul 19, 2009 7:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Snake
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2005
Posts: 146

PostPosted: Sun Jul 19, 2009 8:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sadako
Advocate
Advocate


Joined: 05 Aug 2004
Posts: 3792
Location: sleeping in the bathtub

PostPosted: Sun Jul 19, 2009 8:26 pm    Post subject: Reply with quote

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
View user's profile Send private message
DaggyStyle
Watchman
Watchman


Joined: 22 Mar 2006
Posts: 5941

PostPosted: Mon Jul 20, 2009 4:22 am    Post subject: Reply with quote

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
View user's profile Send private message
Snake
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2005
Posts: 146

PostPosted: Mon Jul 20, 2009 6:10 am    Post subject: Reply with quote

Yes it is flashing red. I've wrote that, but then deleted before posting :oops: .
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
View user's profile Send private message
Snake
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2005
Posts: 146

PostPosted: Mon Jul 20, 2009 7:10 am    Post subject: Reply with quote

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 :D . Kde4 desktop effects, which are my test if everything is ok are working.
Thanks for all the help.
Back to top
View user's profile Send private message
pigeon768
l33t
l33t


Joined: 02 Jan 2006
Posts: 683

PostPosted: Mon Jul 20, 2009 10:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Snake
Tux's lil' helper
Tux's lil' helper


Joined: 21 Jul 2005
Posts: 146

PostPosted: Mon Jul 20, 2009 1:01 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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