Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 01-03-05, 12:26 PM   #1
foxcruiser
Registered User
 
Join Date: Jan 2005
Posts: 3
Default glx module fails to load

Dear all,

I've been trying to set up a bundle of kernel-2.6.10, xorg 6.8.1 and nvidia 6629 on a Dell Inspiron 8100 (Geforce2Go) for two days now.

After having embarked the new kernel (fresh-build) and built the nvidia 6629 driver (patched according to zander's recommendations), the XServer fails to load the glx module properly. The log file reveals the following error message:

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)
... followed by a
Code:
(II) Loading extension NV-GLX
(II) NVIDIA(0): NVIDIA 3D Acceleration Architecture Initialized
(II) NVIDIA(0): Visuals set up
(II) NVIDIA(0): Pixmap depths set up
(II) NVIDIA(0): GLX visuals set up
(II) NVIDIA(0): Framebuffer set up
(II) NVIDIA(0): Using the NVIDIA 2D acceleration architecture
(==) NVIDIA(0): Backing store disabled
(==) NVIDIA(0): Silken mouse enabled
(II) NVIDIA(0): Default colormap initialized.
(II) NVIDIA(0): Palette loaded
(**) Option "dpms"
(**) NVIDIA(0): DPMS enabled
(II) Loading extension NV-CONTROL
(EE) NVIDIA(0): Failed to load GLX
Following postings on this forum, I checked for known issues:
  • correct settings in xorg.conf (please refer to the attached configuration file)
  • presence of libglx* files: both the symlink and libglx.so.1.0.6629 library are present
  • presence of legacy libraries = libglx.a: actually the nvidia installer removed it correctly
  • versions from older kernel bundles: I cleaned the system completely and had a single kernel bundle (2.6.10) running at the time of the installation of 6629; moreover I explicitly built the nvidia driver against the 2.6.10 source tree (--kernel-source-path /usr/src/linux with this symlink pointing to linux-2.6.10 directory)

When I tried to initiate the glx module manually by calling insmod, the following exception is thrown

Code:
insmod: error inserting <path-to>/libglx.so: -1 Invalid module format
Please illuminate me and save my sleep and sanity ...

foxcruiser
Attached Files
File Type: txt Xorg.0.log.txt (33.2 KB, 127 views)
File Type: txt xorg.conf.txt (3.2 KB, 138 views)
foxcruiser is offline   Reply With Quote
Old 01-03-05, 12:46 PM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: glx module fails to load

It's missing /usr/X11R6/lib/modules/extensions/libglx.so, which is an XFree86/Xorg extension module, not a kernel module. It's absence suggests that the driver isn't installed correctly. You claim that libglx.so* exist, where were they installed to? How did you install the driver?
zander is offline   Reply With Quote
Old 01-04-05, 03:22 AM   #3
foxcruiser
Registered User
 
Join Date: Jan 2005
Posts: 3
Default Re: glx module fails to load

@zander

::> You claim that libglx.so* exist, where were they installed to?

A -- find / -name "libglx*" -- gives me ...

Code:
/usr/src/NVIDIA-Linux-x86-1.0-6629-pkg1/usr/X11R6/lib/modules/extensions/libglx.so.1.0.6629
/usr/X11R6/lib/modules/extensions/libglx.so.1.0.6629
/usr/X11R6/lib/modules/extensions/libglx.so
with libglx.so being a symlink to liblgx.so.1.0.6629

Code:
lrwxr-xr-x    1 root     root           18 2005-01-03 18:28 libglx.so -> libglx.so.1.0.6629
-rwxr-xr-x    1 root     root       577444 2005-01-03 18:28 libglx.so.1.0.6629
::> How did you install the driver?

Though I am running Ubuntu/Debian 4.10, I didn't opt for the Debian style but rather used the Nvidia Run-Package (NVIDIA-Linux-x86-1.0-6629-pkg1.run), grabbed from http://sh.nu/download/nvidia/
... then I followed the these steps
  1. Getting the 2.6.10 kernel source from kernel.org, unpacking and linking it to /usr/src/linux and finally compiling it using my current kernel config (see attachment)
  2. Extracting the Nvidia package to /usr/src/ and applying your patches.
  3. calling ./nvidia-installer (!! without explicitly pointing to a kernel source tree as I freed my system from any kernel/module bundle other than 2.6.10 !!)
  4. the installer reported not a single error, replaced Xorg's libglx.a successfully and placed the liblgx.so* files correctly (see above)
  5. As I had already edited xorg.conf before, I didn't have to do so at this stage

>THANX<
Attached Files
File Type: txt config-2.6.10.txt (30.2 KB, 118 views)
foxcruiser is offline   Reply With Quote
Old 01-05-05, 03:22 AM   #4
foxcruiser
Registered User
 
Join Date: Jan 2005
Posts: 3
Default Re: glx module fails to load

Any hints or ideas ?

Thanks a lot (once again)!
foxcruiser is offline   Reply With Quote
Old 01-07-05, 04:49 AM   #5
nonolk
Registered User
 
Join Date: Apr 2003
Posts: 26
Default Re: glx module fails to load

Same problem here with a Dell inspiron 8600 and Geforce FX 5650go. And I can't find how to fix it, the module is here and Xorg can't load it.
Maybe It's an Ubuntu package problem.

--
Nonolk.
__________________
Asus A8N-SLI
AMD Athlon 64 3500+
Asus 6600 GT pciX
1024 Mo ddr 3200 Corsair
nonolk is offline   Reply With Quote
Old 01-07-05, 01:01 PM   #6
energyman76b
Registered User
 
Join Date: Dec 2002
Location: Clausthal/Germany
Posts: 1,104
Default Re: glx module fails to load

Hi,
add this: ModulePath "/usr/X11R6/lib/modules"
to your files section at the beginning of your conf. Maybe it helps.
energyman76b is offline   Reply With Quote
Old 01-07-05, 04:54 PM   #7
Greek Geek
Registered User
 
Join Date: Jan 2005
Posts: 10
Cool Re: glx module fails to load

Hi Foxcruiser & Yall,

I updated my Debian Sarge, with the Ubuntu Xorg stuff & then tried to compile the nVidia drivers & they worked-except for the GLX bit. Fonts were better so I let it ride for a while. But, last night, on a Google Odyssey, I found the fix!

<snip>
Originally Posted by oddabe19

It seems that if libglx.so is already a symbolic link creating a symbolic link to libglx.a wont work. Instead you have to create a symbolic link from the original file to libglx.a.

First check which file libglx.so links to:

ls -l /usr/X11R6/lib/modules/extensions/libglx.so

which on my system is

/usr/X11R6/lib/modules/extensions/libglx.so -> libglx.so.1.0.6629

Then create a symbolic link from the original to libglx.a
sudo ln -sf /usr/X11R6/lib/modules/extensions/libglx.so.1.0.6629 /usr/X11R6/lib/modules/extensions/libglx.a
<snip>

I did this & then re-installed the nVida drivers, as per the above version & vola, 3D & marvy fonts, to boot....

*HTH*

Greek Geek :-)
Greek Geek is offline   Reply With Quote
Old 01-10-05, 08:53 AM   #8
aivils
Registered User
 
Join Date: Jan 2005
Posts: 3
Default Re: glx module fails to load

Under 2.4.29-rc1, 2.4.27 current Nvidia 6629 works for me. But i must disable GLX extension .

GLX will work only after patching installation:
Remove under 2.4.XX undesired symbolic link
# rm /usr/lib/tls/libnvidia-tls.so.1
Create working one
# ln -s /usr/lib/libnvidia-tls.so.1.0.6629 /usr/lib/tls/libnvidia-tls.so.1

6629 provide two files libnvidia-tls.so.1.0.6629. Seems only one works under 2.4.XX
This simple hack turn on GeForce MX 440, TNT2M64. GeForce FX 5200 (PCI) will not work.

I am under XFree86 4.3.0
aivils is offline   Reply With Quote

Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Similar Threads
Thread Thread Starter Forum Replies Last Post
173.14.34 -- Xorg 1.12.1 & 1.11.4, glx module fails to load mereset NVIDIA Linux 17 06-10-12 01:24 AM
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
Glx mrbig1344 NVIDIA Linux 7 09-30-02 06:45 AM
Error messages... HELP!!!! Imperito NVIDIA Linux 3 09-24-02 10:46 PM
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 08:23 AM

All times are GMT -5. The time now is 04:57 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.