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

Newegg Daily Deals

Reply
 
Thread Tools
Old 07-11-06, 04:10 AM   #1
mojinoman
Registered User
 
Join Date: Jul 2006
Posts: 8
Default Segmentation fault loading libGL.so.1 on NVIDIA drivers newer than 7676

I'm using a Debian AMD64 box, kernel 2.6.15.4, with a 32 bit chroot environment so I can run some games like Enemy Territory or Wolfenstein. It works well if I use driver version 7676 (with 32 bit compat libraries installed). But if I try to update to a newer version (such as the latest one, 8762), those games no longer work. I get a segmentation fault loading libGL.so.1 when loading the games. And I don't know why it works with 7676, and it doesn't with newer versions.

My card is a NVIDIA FX 5200, and my X-Window system works perfectly. In fact, if I run any 64-bit game (like 64-bit version of Quake 3 or TuxRacer), they also work. It only fails with 32-bit games. Is there a problem with 32-bit libraries?

By the way, I don't know if it has something to do with it or not, but all the NVIDIA installers I've used so far (including 7676) give me the following error:


-> Running runtime sanity check:
ERROR: The runtime configuration check failed for library 'libGL.so.1.0.7676'
(expected: '/emul/ia32-linux/usr/lib/libGL.so.1', found: '(not found)').
The most likely reason for this is that conflicting OpenGL libraries are
installed in a location not inspected by `nvidia-installer`. Please be
sure you have uninstalled any third-party OpenGL and third-party
graphics driver packages.


Thanks in advance.

Marc Coll
mojinoman is offline   Reply With Quote
Old 07-11-06, 05:38 AM   #2
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Segmentation fault loading libGL.so.1 on NVIDIA drivers newer than 7676

What's the chroot's top-level directory and how did you install the driver (did you use any command line options?)? Please attach the complete /var/log/nvidia-installer.log file.
zander is offline   Reply With Quote
Old 07-11-06, 09:46 AM   #3
mojinoman
Registered User
 
Join Date: Jul 2006
Posts: 8
Default Re: Segmentation fault loading libGL.so.1 on NVIDIA drivers newer than 7676

The top-level dir of the chroot is /var/chroot/ia32, but I have a symbolic link on /emul/linux-ia32 pointing to /var/chroot/ia32. Anyway, I've tried with the --expert option, specifying /var/chroot/ia32, with the same result. I install the driver by running the installer, with no options at all (except for the time I tried in expert mode).

The complete nvidia-installer.log file is attached.
Attached Files
File Type: log nvidia-installer.log (40.0 KB, 126 views)
mojinoman is offline   Reply With Quote
Old 07-11-06, 09:50 AM   #4
mojinoman
Registered User
 
Join Date: Jul 2006
Posts: 8
Default Re: Segmentation fault loading libGL.so.1 on NVIDIA drivers newer than 7676

By the way, I'm not sure if this can be useful, but this is the error I get when I try to run Enemy Territory:


----------------------
5124 files in pk3 files
execing default.cfg
couldn't exec language.cfg
couldn't exec autoexec.cfg
Hunk_Clear: reset the hunk ok

------- Input Initialization -------
Joystick is not active.
------------------------------------
Bypassing CD checks
----- Client Initialization -----
----- Initializing Renderer ----
-------------------------------
----- Client Initialization Complete -----
----- R_Init -----
...loading libGL.so.1: Segmentation fault
mojinoman is offline   Reply With Quote
Old 07-11-06, 10:16 AM   #5
zander
NVIDIA Corporation
 
zander's Avatar
 
Join Date: Aug 2002
Posts: 3,740
Default Re: Segmentation fault loading libGL.so.1 on NVIDIA drivers newer than 7676

I guess the problem is that you're installing the 32-bit libraries to a location that's not considered by the dynamic linker, which throws off the runtime sanity check. Have you tried installing the driver without the 32-bit libraries, extracting the .run package and manually installing the 32-bit libraries to the chroot environment (i.e. /var/chroot/ia32/usr/lib and /var/chroot/ia32/usr/lib/tls)?
zander is offline   Reply With Quote
Old 07-11-06, 01:47 PM   #6
mojinoman
Registered User
 
Join Date: Jul 2006
Posts: 8
Default Re: Segmentation fault loading libGL.so.1 on NVIDIA drivers newer than 7676

Yes, I tried installing the 32-bit libraries manually, with no success. And my /etc/ld.so.conf has all the paths to the chroot libraries:

/lib
/usr/X11R6/lib
/usr/lib
/usr/local/lib

# chroot
/var/chroot/ia32/lib
/var/chroot/ia32/usr/lib
/var/chroot/ia32/usr/X11R6/lib
/var/chroot/ia32/usr/local/lib


But I don't think that's the problem, because with 7676 it works. I try first installing with the 32-bit compatibility libraries, then it fails (but copies the libraries), and then I try again without installing the 32-bit libraries, and it works (since the libraries were actually copied before). With newer installers, installation doesn't fail anymore, it just says that sanity check failed, but the installer will assume that the libraries were correctly installed.

Last edited by mojinoman; 07-15-06 at 05:58 AM.
mojinoman is offline   Reply With Quote
Old 07-18-06, 03:46 PM   #7
mojinoman
Registered User
 
Join Date: Jul 2006
Posts: 8
Exclamation Re: Segmentation fault loading libGL.so.1 on NVIDIA drivers newer than 7676

Yes, I tried installing the 32-bit libraries manually, with no success. And my /etc/ld.so.conf has all the paths to the chroot libraries:

/lib
/usr/X11R6/lib
/usr/lib
/usr/local/lib

# chroot
/var/chroot/ia32/lib
/var/chroot/ia32/usr/lib
/var/chroot/ia32/usr/X11R6/lib
/var/chroot/ia32/usr/local/lib

But I don't think that's the problem, because with 7676 it works. I try first installing with the 32-bit compatibility libraries, then it fails (but copies the libraries), and then I try again without installing the 32-bit libraries, and it works (since the libraries were actually copied before). With newer installers, installation doesn't fail anymore, it just says that sanity check failed, but the installer will assume that the libraries were correctly installed.
mojinoman 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
X Failed to load NVdriver c00lr4c3r NVIDIA Linux 13 10-22-02 01:44 PM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 09:31 PM
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
Need help to get the X to work on my Acer TravelMate 630 knchee NVIDIA Linux 16 09-19-02 10:16 PM

All times are GMT -5. The time now is 08:12 PM.


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