Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Nvidia problem, can't load glx [solved (sort of)]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
arghnoname
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 84
Location: Washington, DC

PostPosted: Sun Jun 18, 2006 1:59 am    Post subject: Nvidia problem, can't load glx [solved (sort of)] Reply with quote

I'm at wit's end trying to get glx to work with my new nvidia card which I purchased for great linux compatibility. Doh!

I'm posting all of the information I can think and will happily post more. I tried to search through the forums and on google extensively, but I admit I may have missed something. I get the sense that the forum search doesn't work well with three letter strings.

It's a AMD64 setup, if that makes any difference. Any help anyone could provide would be greatly appreciated!

Thanks

Code:
eselect opengl list
Available OpenGL implementations:
  [1]   nvidia *
  [2]   xorg-x11


I had to make a symlink to get the nvidia card to work.
Code:
ls -al /usr/lib64/modules/drivers | grep nvidia
lrwxrwxrwx 1 root root     44 Jun 17 21:22 nvidia_drv.o -> /usr/lib64/xorg/modules/drivers/nvidia_drv.o


I may have to make a symlink for libglx as well, but it seems it is already there (the second is a symlink to the last one)
Code:
find /usr/ -name 'libglx*'
/usr/lib64/xorg/modules/extensions/libglx.la
/usr/lib64/xorg/modules/extensions/libglx.so
/usr/lib64/opengl/xorg-x11/extensions/libglx.a
/usr/lib64/opengl/nvidia/extensions/libglx.so


The module seems to be loaded into the kernel.
Code:
lsmod
Module                  Size  Used by
nvidia               5422132  8



Pertinent sections of my Xorg.0.log...
Code:

(II) LoadModule: "glx"
(WW) Warning, couldn't open module glx
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (module does not exist, 0)
(II) LoadModule: "nvidia"
(II) Loading /usr/lib64/modules/drivers/nvidia_drv.o
(II) Module nvidia: vendor="NVIDIA Corporation"
   compiled for 4.0.2, module version = 1.0.8762
   Module class: X.Org Video Driver
....
....
(II) Setting vga for screen 0.
(**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
(==) NVIDIA(0): RGB weight 888
(==) NVIDIA(0): Default visual is TrueColor
(==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
(**) NVIDIA(0): Enabling RENDER acceleration
(EE) NVIDIA(0): Failed to initialize the GLX module; please check in your X
(EE) NVIDIA(0):     log file that the GLX module has been loaded in your X
(EE) NVIDIA(0):     server, and that the module is the NVIDIA GLX module.  If
(EE) NVIDIA(0):     you continue to encounter problems, Please try
(EE) NVIDIA(0):     reinstalling the NVIDIA driver.
(II) NVIDIA(0): NVIDIA GPU GeForce 7900 GT at PCI:5:0:0
(--) NVIDIA(0): VideoRAM: 262144 kBytes
(--) NVIDIA(0): VideoBIOS: 05.71.22.12.02
(II) NVIDIA(0): Detected PCI Express Link width: 16X
(--) NVIDIA(0): Interlaced video modes are supported on this GPU
...
...
(II) NVIDIA(0): Setting mode "1600x1200"
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(II) Loading extension NV-CONTROL
(==) RandR enabled


Last edited by arghnoname on Sun Jun 18, 2006 2:55 am; edited 1 time in total
Back to top
View user's profile Send private message
Headrush
Watchman
Watchman


Joined: 06 Nov 2003
Posts: 5597
Location: Bizarro World

PostPosted: Sun Jun 18, 2006 2:46 am    Post subject: Re: Nvidia problem, can't load glx Reply with quote

Did you recently move to xorg-7.x?

This shouldn't be needed:
Code:
ls -al /usr/lib64/modules/drivers | grep nvidia
lrwxrwxrwx 1 root root     44 Jun 17 21:22 nvidia_drv.o -> /usr/lib64/xorg/modules/drivers/nvidia_drv.o
Back to top
View user's profile Send private message
arghnoname
Tux's lil' helper
Tux's lil' helper


Joined: 13 Mar 2005
Posts: 84
Location: Washington, DC

PostPosted: Sun Jun 18, 2006 2:55 am    Post subject: Reply with quote

Code:
emerge --search xorg-x11
*  x11-base/xorg-x11
      Latest version available: 6.8.2-r7
      Latest version installed: 6.8.2-r7
      Size of files: 45,146 kB
      Homepage:      http://xorg.freedesktop.org/
      Description:   An X11 implementation maintained by the X.Org Foundation
      License:       Adobe-X CID DEC DEC-2 IBM-X NVIDIA-X NetBSD SGI UCB-LBL XC-2 bigelow-holmes-urw-gmbh-luxi christopher-g-demetriou national-semiconductor nokia tektronix the-open-group todd-c-miller x-truetype xfree86-1.0 MIT SGI-B BSD || ( FTL GPL-2 )


I know, it's weird. The solution to my problem (I discovered it) was to do another symlink for the libglx file. It seems unnecessary and this was a new install. I was going to try to do xorg-x11 7, but it was going to block the nvidia driver so I decided against it.

I don't know why it's doing that.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia 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