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

Newegg Daily Deals

Reply
 
Thread Tools
Old 09-23-05, 09:00 AM   #1
Luna
Registered User
 
Join Date: Sep 2005
Posts: 5
Default The drivers don't seem to work with 3D games.

Hello.
I am new to Linux, and I am trying to install the Nvidia drivers.
I'm running the Ubuntu Breezy Badger 5.10 pre release.

I have an AMD 64 3500+ and a Geforce 5700 LE.

I (think I) have installed the proper drivers all the time.

I have tried to follow the readme that comes with the drivers, I have tried to follow several howtos, and they have all left me with a system where X refuses to start.
This time I used the drivers that come with my Ubuntu release.

I have managed to install the drivers, and after that my xorg.conf (The file my version of X uses.) looks like this:

Section "Module"
Load "GLcore"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection

Section "Device"
Identifier "NVIDIA Corporation NV36 [GeForce FX 5700 LE]"
Driver "nvidia"
BusID "PCI:1:0:0"
EndSection


(There are more things, but they were not mentioned in the readme for the drivers.)
This works, somewhat. X starts, and is not as slow as it was before I installed the driver.

However, if I try to start Enemy Territory with my current configuration I get the following error message:

----- R_Init -----
...loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: libXxf86vm.so.1: cannot open shared object file: No such file or directory
failed

When I have tried to start other games they have exited at the time when they should have started their 3D rendering. They gave the error: "Segmentation fault" or something like that.

I have googled for 2 days, and in the end I came around to a post on some forum where someone was asking for help with Quake 3. (I don't remember what it was about or where it was. )
Anyway, in that post they were suggesting alot of things, and some of them seemed to have something to do with symbolical links.
I ran the commands they told him to run, and I found that both my NVIDIA driver and some other driver (I think it was the Mesa driver, it ended with 1.2 anyway.) both referenced the same link, namely libGL.so.1.
Could this be where the problem comes from? If so, how do I solve it?

The reason why I have not yet made the suggested changes to the xorg.conf is that when I change one of the lines that I'm supposed to change X refuses to start.

I'm sick and tired of trying to figure out how to fix this on my own, so I thought I'd ask here: What do I need to change to get my system to work with 3D games?

I did not use the search function, but I looked at the first 8 pages without finding anything related to my problem, and I don't know what I should search for anyway. :\

Any help is appreciated. I'll gladly try to find any relevant information that I have not posted here, just ask.
Luna is offline   Reply With Quote
Old 09-23-05, 03:56 PM   #2
Ironi
Registered User
 
Join Date: Dec 2004
Posts: 86
Default Re: The drivers don't seem to work with 3D games.

Quote:
----- R_Init -----
...loading libGL.so.1: QGL_Init: dlopen libGL.so.1 failed: libXxf86vm.so.1: cannot open shared object file: No such file or directory
failed
Well, this problem should be easily fixable. Just install the "libxxf86vm1" package, either by running sudo apt-get install libxxf86vm1 or by selecting it for installation in e.g. synaptic.

FWIW, that library used to come with Xorg, but as of breezy, Xorg is now modular and no longer includes it. Should you discover any other missing apps or libs, you may be able to find them with e.g. apt-cache search name (where name is a partial string, such as libxxf86vm).
Ironi is offline   Reply With Quote
Old 09-23-05, 04:16 PM   #3
Thunderbird
 
Join Date: Jul 2002
Location: Netherlands, Europe
Posts: 2,105
Default Re: The drivers don't seem to work with 3D games.

Further remove the dri/GLcore lines from your xorg config file.
Thunderbird is offline   Reply With Quote
Old 09-23-05, 05:19 PM   #4
Luna
Registered User
 
Join Date: Sep 2005
Posts: 5
Default Re: The drivers don't seem to work with 3D games.

@ Ironi: Thank you so much Ironi, I'll give it a try.

@ Thunderbird: I have tried doing that to the config file when I compiled the drivers, but as I said in my post X does not want to start if I do. :\
What's worse I can't even get X to work again by uncommenting the entries again.
Do you think it might work better this time when I'm using the precompiled driver Thunderbird?
Or do you know anything about how I could make X work again if it does not?
If you don't feel like giving me an explanation at least a hint about where I should look for the answer would be nice.

Edit: I think I already have the latest file , and it's not working. What else could cause the error?

Last edited by Luna; 09-23-05 at 05:24 PM. Reason: I already seem to have the latest version of libxxf86vm1 installed.
Luna is offline   Reply With Quote
Old 09-23-05, 08:14 PM   #5
Ironi
Registered User
 
Join Date: Dec 2004
Posts: 86
Default Re: The drivers don't seem to work with 3D games.

Hmm... Provide more info, please; attach nvidia-bug-report.log (generated by running sudo nvidia-bug-report.sh) and paste the output of the following commands:

sudo apt-get update
apt-cache show libxxf86vm1 |grep Version
dpkg -l libxxf86vm1 nvidia-glx; dpkg -L libxxf86vm1
ls -l /usr/lib/libGL* /usr/lib/libXxf*
Ironi is offline   Reply With Quote
Old 09-24-05, 04:46 AM   #6
Luna
Registered User
 
Join Date: Sep 2005
Posts: 5
Default Re: The drivers don't seem to work with 3D games.

Beginning of command output:
----------------------------------------------------------------------------------------------------------------------------------

$ sudo apt-get update
Get:1 http://security.ubuntu.com breezy-security Release.gpg [189B]
Get:2 http://security.ubuntu.com breezy-security Release [19.6kB]
Get:3 http://se.archive.ubuntu.com breezy Release.gpg [189B]
Get:4 http://se.archive.ubuntu.com breezy-updates Release.gpg [189B]
Hit http://security.ubuntu.com breezy-security/main Packages
Hit http://se.archive.ubuntu.com breezy Release
Hit http://se.archive.ubuntu.com breezy-updates Release
Hit http://security.ubuntu.com breezy-security/restricted Packages
Hit http://security.ubuntu.com breezy-security/main Sources
Hit http://security.ubuntu.com breezy-security/restricted Sources
Hit http://se.archive.ubuntu.com breezy/main Packages
Hit http://se.archive.ubuntu.com breezy/restricted Packages
Hit http://se.archive.ubuntu.com breezy/main Sources
Hit http://se.archive.ubuntu.com breezy/restricted Sources
Hit http://se.archive.ubuntu.com breezy/universe Packages
Hit http://se.archive.ubuntu.com breezy/universe Sources
Hit http://se.archive.ubuntu.com breezy-updates/main Packages
Hit http://se.archive.ubuntu.com breezy-updates/restricted Packages
Hit http://se.archive.ubuntu.com breezy-updates/main Sources
Hit http://se.archive.ubuntu.com breezy-updates/restricted Sources
Fetched 19.8kB in 1s (13.4kB/s)
Reading package lists... Done

$ apt-cache show libxxf86vm1 |grep Version
Version: 7.0.0-2

$ dpkg -l libxxf86vm1 nvidia-glx; dpkg -l libxxf86vm1
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii libxxf86vm1 7.0.0-2 X11 XFree86 video mode extension library
ii nvidia-glx 1.0.7667-0ubun NVIDIA binary XFree86 4.x/X.Org driver
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Installed/Config-files/Unpacked/Failed-config/Half-installed
|/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii libxxf86vm1 7.0.0-2 X11 XFree86 video mode extension library

$ ls -l /usr/lib/libGL* /usr/lib/libXxf*
lrwxrwxrwx 1 root root 21 2005-09-23 13:29 /usr/lib/libGLcore.so.1 -> libGLcore.so.1.0.7667
-rw-r--r-- 1 root root 7379792 2005-09-19 15:13 /usr/lib/libGLcore.so.1.0.7667
-rw-r--r-- 1 root root 660 2005-09-19 15:13 /usr/lib/libGL.la
lrwxrwxrwx 1 root root 17 2005-09-23 13:29 /usr/lib/libGL.so -> libGL.so.1.0.7667
lrwxrwxrwx 1 root root 17 2005-09-23 13:29 /usr/lib/libGL.so.1 -> libGL.so.1.0.7667
-rw-r--r-- 1 root root 705424 2005-09-19 15:13 /usr/lib/libGL.so.1.0.7667
-rw-r--r-- 1 root root 925166 2005-08-30 07:57 /usr/lib/libGLU.a
lrwxrwxrwx 1 root root 11 2005-09-23 13:29 /usr/lib/libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root 20 2005-09-23 13:06 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.060302
-rw-r--r-- 1 root root 513304 2005-08-30 07:57 /usr/lib/libGLU.so.1.3.060302
lrwxrwxrwx 1 root root 20 2005-09-23 13:06 /usr/lib/libXxf86dga.so.1 -> libXxf86dga.so.1.0.0
-rw-r--r-- 1 root root 24072 2005-07-22 17:24 /usr/lib/libXxf86dga.so.1.0.0
lrwxrwxrwx 1 root root 21 2005-09-23 13:06 /usr/lib/libXxf86misc.so.1 -> libXxf86misc.so.1.1.0
-rw-r--r-- 1 root root 11624 2005-07-22 17:24 /usr/lib/libXxf86misc.so.1.1.0
lrwxrwxrwx 1 root root 19 2005-09-23 13:06 /usr/lib/libXxf86vm.so.1 -> libXxf86vm.so.1.0.0
-rw-r--r-- 1 root root 20032 2005-07-24 14:46 /usr/lib/libXxf86vm.so.1.0.0

----------------------------------------------------------------------------------------------------------------------------------
End ot command output.

I'm not sure what to make of this, but the output from
$ dpkg -l libxxf86vm1 nvidia-glx; dpkg -l libxxf86vm1
looks pretty bad to me.

Do you see anything interesting here?
Attached Files
File Type: txt nvidia-bug-report.txt (71.9 KB, 128 views)
Luna is offline   Reply With Quote
Old 09-24-05, 06:54 AM   #7
Ironi
Registered User
 
Join Date: Dec 2004
Posts: 86
Default Re: The drivers don't seem to work with 3D games.

I don't see anything abnormal in the commands' output -- dpkg just prints out a bunch of explanatory information. BTW, you were supposed to use an uppercase -L for the second dpkg command (it lists the package's files instead of the package's info). Since the files appear to be in the proper place, though, you can disregard that.

I still don't know why libXxf86vm wouldn't be found when you try to run Enemy Territory. However, that appears to be the least of your problems right now, judging from a quick look through your nvidia-bug-report.log ...

Quote:
(From nvidia-bug-report.log)

[ 604.848515] hdc: media error (bad sector): status=0x51 { DriveReady SeekComplete Error }
[ 604.848523] hdc: media error (bad sector): error=0x34 { AbortedCommand LastFailedSense=0x03 }
[ 604.848527] ide: failed opcode was: unknown
[ 604.848532] end_request: I/O error, dev hdc, sector 182204
[ 604.848537] Buffer I/O error on device hdc, logical block 45551
Your DVD drive (hdc) is/was having problems (perhaps you inserted damaged discs?).

Quote:
[12018.320249] Machine check events logged (repeated)
It's generally not a good thing to see Machine Check exceptions.

Quote:
[24112.452855] NVRM: Xid: 17, Head=0 X=640 Y=400 Refresh=59
Nor this.

I'm not really sure about what's going on with your installation. Hopefully someone from nVidia will help you out now that you've posted the log, though.
Ironi is offline   Reply With Quote
Old 09-24-05, 08:41 AM   #8
Luna
Registered User
 
Join Date: Sep 2005
Posts: 5
Default Re: The drivers don't seem to work with 3D games.

There was a new version of the Nvidia drivers available from the Ubuntu depository today.
I installed and activated the new version, and now I get the following error when I try to start ET:
----- R_Init -----
...loading libGL.so.1: Segmentation fault

Which is the same error I used to get with my other games before the driver change.
All of the other games seem to work fine now though.

I have no idea what was changed, but it seems as if my problem is only ET specific now, so I'm not sure you can help me anymore.

Thanks alot for trying to help anyway.
Luna is offline   Reply With Quote

Old 09-24-05, 04:15 PM   #9
Luna
Registered User
 
Join Date: Sep 2005
Posts: 5
Default Re: The drivers don't seem to work with 3D games.

I got ET working.

http://www.ubuntuforums.org/showthre...oto=nextnewest

This page should be very interesting for users of Ubuntu who can't get ET to start.

I added the following 3 lines to my et.sh file:

export LIBGL_DRIVERS_DIR=/usr/X11R6/lib64/drivers/
export LD_LIBRARY_PATH=/usr/lib32:$LD_LIBRARY_PATH:.
export LD_ASSUME_KERNEL=2.4.2

Or basically I just adjusted their instructions to my installation.
It seems to run faster with the 64 bit drivers than the 32 bit drivers to me.

Tonight I played ET with twice as much FPS as I used to have in Windows.

I hope this helped anyone who bothered to read all of this.

Thanks again for trying to help me Ironi and Thunderbird.
Luna is offline   Reply With Quote
Old 09-24-05, 04:46 PM   #10
Ironi
Registered User
 
Join Date: Dec 2004
Posts: 86
Default Re: The drivers don't seem to work with 3D games.

Quote:
Originally Posted by Luna
I got ET working.
Great. Still, I strongly suggest that you find out what's going on with those MCEs. According to this forum thread, you can install mcelog and the events will be decoded and logged to /var/log/mcelog (additional steps may be needed; install it from the command line and it'll tell you).
Ironi 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
Okay I installed all my drivers and now I need games Kruno General Linux 6 11-01-02 09:51 PM
Radeon 9700 not all that? sancheuz Other Desktop Graphics Cards 200 10-12-02 09:31 PM
Official detonator 40.71 feedback thread Crake NVIDIA Windows Graphics Drivers 88 10-01-02 11:38 AM
GForce drivers installed...but dont work tomfullery NVIDIA Linux 6 09-22-02 08:23 AM
IS there a way to make games work on the CURRENT RT? Caleb NVIDIA Windows Graphics Drivers 1 09-03-02 11:11 AM

All times are GMT -5. The time now is 02:29 AM.


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