nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   nvidia-5336: symbol _nv000344gl (http://www.nvnews.net/vbulletin/showthread.php?t=24366)

commit 02-02-04 04:38 AM

nvidia-5336: symbol _nv000344gl
 
1 Attachment(s)
Hello. I'm having a hard time getting glx/direct accel. to work under kernel-2.6.1 with the the NVIDIA-Linux-x86-1.0-5336 driver.
The installer has no problems creating the kernel module or installing its glx components. The actual XFree message goes:

(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
dlopen: /usr/X11R6/lib/modules/extensions/libglx.so: symbol _nv000344gl, version LIBGLCORE not defined in file libGLcore.so.1 with link time reference
(EE) Failed to load /usr/X11R6/lib/modules/extensions/libglx.so
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (loader failed, 7)

I have no idea what that means. I attempted the same driver installation on a fresh XFree .4.3 installation and XFree 4.4rc2. I see the same error. I thought this could be a symlink problem between nvidia's glx and XFree GL libs.

It doesn't appear to be so:

ls -aFl /usr/lib/*GL*
lrwxrwxrwx 1 root root 21 Feb 2 03:28 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.5336*
-rwxr-xr-x 1 root root 4913084 Feb 2 03:28 /usr/lib/libGLcore.so.1.0.5336*
-rw-r--r-- 1 root root 653 Feb 2 03:28 /usr/lib/libGL.la
lrwxrwxrwx 1 root root 10 Feb 2 03:28 /usr/lib/libGL.so -> libGL.so.1*
lrwxrwxrwx 1 root root 17 Feb 2 03:28 /usr/lib/libGL.so.1 -> libGL.so.1.0.5336*
-rwxr-xr-x 1 root root 367092 Feb 2 03:28 /usr/lib/libGL.so.1.0.5336*
lrwxrwxrwx 1 root root 33 Feb 1 23:15 /usr/lib/libGLU.so -> ../../usr/X11R6/lib/libGLU.so.1.3*
lrwxrwxrwx 1 root root 33 Feb 1 23:07 /usr/lib/libGLU.so.1 -> ../../usr/X11R6/lib/libGLU.so.1.3*

Searching the forums, I didn't any relevance to this. Am i the only one with this problem ? X works, but glx fails to load.

Current XF86Config-4 settings:
Load "dbe"
Load "extmod"
Load "glx"
Load "v4l"

Replaced: Section "device" Driver "nv" to "nvidia"
This is a GeForce 4 MX PCI edition 64mb running under kernel 2.6 RedHat 9

I don't know what else to say, I tried just about everything. I would really like some help on this.

Zone 02-10-04 06:23 PM

1 Attachment(s)
hello,

I have exactly the same problem with

- Kernel 2.6.2 (latest stable from kernel.org)
- Red Hat 9.0
- GeForce 4 MX440-8X GPU
- NVIDIA-Linux-x86-1.0-5336-pkg1.run

I checked the links (readme - c appendix) (all correct), the minimum software requirements (all ok) and after hours of investigation, the same problem:

---------8<----------XFree86.0.log-----------

(II) LoadModule: "glx"
(II) Loading /usr/X11R6/lib/modules/extensions/libglx.so
dlopen: /usr/X11R6/lib/modules/extensions/libglx.so: symbol _nv000344gl, version LIBGLCORE not defined in file libGLcore.so.1 with link time reference
(EE) Failed to load /usr/X11R6/lib/modules/extensions/libglx.so
(II) UnloadModule: "glx"
(EE) Failed to load module "glx" (loader failed, 7)

----------8<----------------------------------------

I attach my XFree86 log file.
Any help would be appreciated, I have no more ideas now.

mikejedw 02-12-04 06:36 AM

This is exactly the same problem I've been having, too, with Redhat 9 and kernel 2.6.1. Even before 5336, I ran into this happening with 5328, so I've been using 4496 with the minion.de patches until now.

This error is driving me absolutely bonkers.

eswan 02-12-04 08:26 AM

Try-
# ls -l /usr/X11/lib/modules/extensions/libglx.so
lrwxr-xr-x 1 root root 18 Jan 28 05:59 /usr/X11/lib/modules/extensions/libglx.so -> libglx.so.1.0.5336*

and -
# ldd /usr/X11/lib/modules/extensions/libglx.so
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x400b1000)

# ls -l /usr/lib/libGLcore.so.1
lrwxr-xr-x 1 root root 21 Jan 28 05:59 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.5336*

mikejedw 02-12-04 11:40 AM

Here's what I get:

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

lrwxr-xr-x 1 root root 18 Feb 11 20:20 /usr/X11R6/lib/modules/extensions/libglx.so -> libglx.so.1.0.5336

$ ldd /usr/X11R6/lib/modules/extensions/libglx.so

libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x400c6000)

$ ls -l /usr/lib/libGLcore.so.1

lrwxr-xr-x 1 root root 21 Feb 11 20:20 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.5336

So everything is there and is linking to existing libraries. The only difference at all is the (0x400c6000) I get from the ldd command. Is that significant?

Zone 02-12-04 12:22 PM

In my case all is ok except this:

$ ldd /usr/X11R6/lib/modules/extensions/libglx.so
libGLcore.so.1 => /usr/lib/libGLcore.so.1 (0x400ba000)

eswan 02-12-04 08:11 PM

Mismatch between tls and non-tls versions of glx/GLcore? The tls versions of each have _nv000344gl in them, the non-tls versions don't, so it looks like you're using a tls glx and non-tls libGL. If you run
'NVIDIA-Linux-x86-1.0-5336-pkg1.run -x'
it will extract all the files. You can copy libGL* from NVIDIA-Linux-x86-1.0-5336-pkg1.run/usr/lib/tls/ to /usr/lib to get the tls version, or NVIDIA-Linux-x86-1.0-5336-pkg1.run/usr/X11R6/lib/modules/extensions/libglx.so.1.0.5336 to /usr/X11R6/lib/modules/extensions to get the non-tls version. Which one you need I have no idea.

Zone 02-12-04 10:34 PM

Quote:

Originally posted by eswan

You can copy NVIDIA-Linux-x86-1.0-5336-pkg1.run/usr/X11R6/lib/modules/extensions/libglx.so.1.0.5336 to /usr/X11R6/lib/modules/extensions to get the non-tls version. Which one you need I have no idea.

I tried both and the non-tls version is the one that works for me perfectly.
I've seen a lot of web pages about getting to work kernel 2.6 on Red hat 9 and nvidia drivers... most of them are wrong, maybe you could write a few lines to them (If you want ask me about the webs) or somebody in your name could do so.

Well, Im very happy with my new kernel and drivers, thank you for your work.

;)

mikejedw 02-12-04 11:25 PM

Okay, just so it's all laid out on the table, could you list the exact steps that you followed and list the files that you replaced and what you replaced them with? That will certainly help future sufferers of this problem.

Zone 02-13-04 01:05 AM

RED HAT 9 - KERNEL 2.6.X - Howto Install NVIDIA DRIVERS
---------------------------------------------------------------------

From runlevel 3 (Xwindows must be down - do this from textmode shell)

$
$su -
Password: XXXXX
#sh NVIDIA-Linux-x86-1.0-5336-pkg1.run
#sh NVIDIA-Linux-x86-1.0-5336-pkg1.run -x
#cd NVIDIA-Linux-x86-1.0-5336-pkg1/usr/X11R6/lib/modules/extensions
#cp libglx.so.1.0.5336 /usr/X11R6/lib/modules/extensions
Overwrite (y/n): y
#exit
$startx

Now, you have your system ready to execute glx apps., open a shell from XWindows and try

TESTING: glxgears -> will show glx graphics and you will be ready to execute any glx app.

$glxgears

mikejedw 02-13-04 10:37 AM

Ah, that totally worked! Whew! Thanks all!


All times are GMT -5. The time now is 05:53 PM.

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