nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Unable to install Nvidia driver on 9500M + Ubuntu (http://www.nvnews.net/vbulletin/showthread.php?t=113682)

jesper_w 05-23-08 06:56 PM

Unable to install Nvidia driver on 9500M + Ubuntu
 
Hi!
I have tried to install the Linux x64 (AMD64/EM64T) Display Driver version 173.08 on the latest Ubuntu (8.04) but it won't work.

I have an Asus laptop (G1SN-AK023C) with a GeForce 9500M GS.

I have followed the instructions in this thread but with no luck. It compiles the driver and then gives the error that it can't load the kernel module nvidia.ko.
In the log it says: "Kernel module load error: insmod: error inserting './usr/src/nv/nvidia.ko': -1 No such device"

The hardware is 64-bit, and I have tried both 64-bit driver on 64-bit Ubuntu and 32-bit driver on 32-bit Ubuntu with the same result.

Does anyone have any ideas on how to proceed? The older drivers doesn't seem to recognize the card at all so I'm stuck in 800x600 without a proper driver (which really sucks on a 1680x1050 display).

GPO 05-24-08 04:09 AM

Re: Unable to install Nvidia driver on 9500M + Ubuntu
 
I have exactly the same problem with my Asus G1Sn, the 173.08 beta drivers either seem impossible to install or they don't work, and so far I haven't been able to find any solution. I've searched both Nvidia and Ubuntu forums, but to no avail. Searching Google didn't help either, so for the moment I've pretty much given up trying make the 9500 GS work. I'm just waiting for the final drivers to come out, hoping they will solve the problem.

AaronP 05-24-08 01:20 PM

Re: Unable to install Nvidia driver on 9500M + Ubuntu
 
Please see the forum sticky posts on how to report a problem, including how to generate an nvidia-bug-report.log.

GPO 05-25-08 10:07 AM

Re: Unable to install Nvidia driver on 9500M + Ubuntu
 
2 Attachment(s)
Here are my log files. Maybe the 'nvidia-installer.log' will explain why I didn't manage to install the drivers, but I myself don't know how to intepret it correctly. Despite using Ubuntu for a while now, I'm still pretty much a newbie when it comes to anything more than basic use. Usually Google helps, but not this time.

Attached also the 'nvidia-bug-report.log', but I don't know how much good it will do. Since the installation of 'NVIDIA-Linux-x86-173.08.pkg1.run' was unsuccesful, the 'nvidia-bug-report.sh' wasn't installed either and I had to install 'nvidia-glx' just to be able to create bug report.

evilbunny 05-25-08 10:53 AM

Re: Unable to install Nvidia driver on 9500M + Ubuntu
 
I'm suffering this problem too:

Quote:

[ 129.030980] warning: process `nvidia-installe' used the deprecated sysctl
system call with 1.23.
[ 129.030993] warning: process `nvidia-installe' used the deprecated sysctl
system call with 1.23.
[ 129.191641] nvidia: module license 'NVIDIA' taints kernel.
[ 129.447212] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) ->
IRQ 16
[ 129.447218] NVRM: This PCI I/O region assigned to your NVIDIA device is
invalid:
[ 129.447219] NVRM: BAR1 is 0M @ 0x00000000 (PCI:0001:00.0)
[ 129.447221] NVRM: The system BIOS may have misconfigured your graphics
card.
[ 129.447225] nvidia: probe of 0000:01:00.0 failed with error -1
[ 129.447236] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 129.447237] NVRM: None of the NVIDIA graphics adapters were initialized!
ERROR: Installation has failed. Please see the file
'/var/log/nvidia-installer.log' for details. You may find suggestions
on fixing installation problems in the README available on the Linux
driver download page at www.nvidia.com.
And there is even a bug reported to ubuntu about it:

https://bugs.launchpad.net/ubuntu/+bug/206522

Which led me to try removing ram from my system, low and behold having 2GB of ram everything works. With 2GB of RAM I see the following:

Quote:

[ 50.685221] warning: process `nvidia-installe' used the deprecated sysctl system call with 1.23.
[ 50.685229] warning: process `nvidia-installe' used the deprecated sysctl system call with 1.23.
[ 50.746217] nvidia: module license 'NVIDIA' taints kernel.
[ 50.999350] ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
[ 50.999361] PCI: Setting latency timer of device 0000:01:00.0 to 64
[ 50.999497] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 173.08 Wed Apr 2 07:55:48 PST 2008
[ 51.012019] warning: process `nvidia-installe' used the deprecated sysctl system call with 1.23.
[ 61.490069] PCI: Setting latency timer of device 0000:01:00.0 to 64
[ 61.490419] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 173.08 Wed Apr 2 07:55:48 PST 2008
If I have 3GB and try to use a nvidia driver the next thing I see on the laptop isn't the nvidia logo but rather the bios screen and the laptop has rebooted for some reason.

I tried to cheat by specifying mem=2048M in grub, but this wasn't sufficient, I had to physicially remove ram from the system before it would work.

I have a laptop running xubuntu amd64 with a nvidia geforce 9500M GS chipset.

jesper_w 05-25-08 05:15 PM

Re: Unable to install Nvidia driver on 9500M + Ubuntu
 
1 Attachment(s)
The 3GB RAM seems to be the problem. I removed 1GB and the installer worked.
Once the driver was installed I put back the memory and restarted. Then the driver refused to work and Ubuntu told me that it could not detect my graphics card. It booted with low resolution and I could finally generate the bug report.
I then removed the memory again and it booted without problems.

I have attached both the nvidia-installer.log and the nvidia-bug-report.log.
If I can provide any other info to make this work, please let me know.

GPO 05-26-08 11:16 PM

Re: Unable to install Nvidia driver on 9500M + Ubuntu
 
Slightly off topic, but has anyone tried any other Linux distros than Ubuntu? Does the problem occur on other distros as well?

evilbunny 05-27-08 05:36 AM

Re: Unable to install Nvidia driver on 9500M + Ubuntu
 
Quote:

Originally Posted by GPO
Slightly off topic, but has anyone tried any other Linux distros than Ubuntu? Does the problem occur on other distros as well?

I wouldn't have thought they would have made that many changes to the kernel, and I removed the nvidia stuff xubuntu installs and I tried both the stable and beta versions from the nvidia site, although the xubuntu packages installs the stable version.

GPO 05-29-08 12:05 AM

Re: Unable to install Nvidia driver on 9500M + Ubuntu
 
I installed the new kernel 2.6.24-17, hoping it would solve the display problem, but no such luck. Has anyone come up with anything new about the problem?

Haven't tried removing the 1GB of RAM myself yet, but might just do so I'll be able to use Ubuntu better. 800x600 resolution just isn't enough with applications these days.

Edit: Ah, just noticed the new 173.14.05 drivers, will try them tonight.

Fourmiii 05-29-08 12:36 PM

Re: Unable to install Nvidia driver on 9500M + Ubuntu
 
I also have a G1Sn and I use the (slow) VESA driver to have full 1680x1050 resolution.
This is done by simply replacing "nv" or "nvidia" to "vesa" in /etc/X11/xorg.conf.

Through various trials of installing the beta 173.08, I found out the best way to have it compiled easily was :
Code:

sudo apt-get install module-assistant
sudo module-assistant prepare
sudo /etc/init.d/gdm stop

and then running the NVIDIA installer script on a console.

This always led me to the error in /var/log/nvidia-installer.log
NVRM: This PCI I/O region assigned to your NVIDIA device ...

Just found out there was a new, non-beta driver in town ... 'lo and behold the 173.14 version is out since yesterday!!

But the sad news is, I get the exact same NVRM error with the new version..

IMHO, if the bios had options for mapping the video memory elsewhere (say beneath the 2Gb limit) this wouldn't be an issue & the driver would load fine. Are there any existing bios updates ?

Let's all hope someone, somewhere fixes this soon...

In the meantime, I'll still try taking out 2Gb from my 4Gb ..
:(

evilbunny 05-29-08 05:27 PM

Re: Unable to install Nvidia driver on 9500M + Ubuntu
 
Quote:

Originally Posted by Fourmiii
But the sad news is, I get the exact same NVRM error with the new version..

Thanks for the tip, I won't bother putting the 1G module back in just yet ;)

Yes the vesa module is much slower compared to the nvidia one when its working.

Quote:

IMHO, if the bios had options for mapping the video memory elsewhere (say beneath the 2Gb limit) this wouldn't be an issue & the driver would load fine. Are there any existing bios updates ?
That doesn't make sense, otherwise why would it work under windows? Although I did find it strange that Asus shipped a 32bit version of windows vista, coincidence?

rlb1961 05-30-08 03:36 PM

Re: Unable to install Nvidia driver on 9500M + Ubuntu
 
I have been having the exact same problem with my system. I was running 4 GB of RAM in a Core2Duo system and installed Ubuntu 8.04 (64-bit). Originally, I was using the on-board video, which was an nVidia 7100, but it wouldn't allow me to install the drivers using Envy, the restricted divers or to even install the drivers 173.14.05 drivers downloaded from nVidia. I went out and bought a newer card (8600GT PCI-E with 512MB DDR2), but the same issue. I finally noticed the following message in my nvidia-installer.log file:

NVRM: This PCI I/O region assigned to your NVIDIA device is
invalid:
[ 237.519725] NVRM: BAR1 is 256M @ 0x30000000 (PCI:0002:00.0)
[ 237.519727] NVRM: This is a 64-bit BAR mapped above 4GB by the system
BIOS or
[ 237.519728] NVRM: Linux kernel. The NVIDIA Linux graphics driver and
other
[ 237.519729] NVRM: system software do not currently support this
configuration
[ 237.519730] NVRM: reliably.

I uninstalled one stick of RAM, dropping it to 2 GB, and everything worked smoothly. I was able to install the drivers, it saw my monitor correctly, all of the resolutions were supported, etc. So once I ahve everything set up, I shut down, re-installed the additional RAM and rebooted. It sent me right back to the "low-resolution graphics" screen. Once I took the RAM back out, everything worked once again.

It seems to me that we should be able to run 4 GB or more in a 64-bit system without these kind of problems. Is there any way to specify the memory range where the nVidia driver will load?


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

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