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

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-30-08, 05:56 PM   #13
evilbunny
Registered User
 
Join Date: May 2008
Posts: 16
Default Re: Unable to install Nvidia driver on 9500M + Ubuntu

Quote:
Originally Posted by rlb1961
[ 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.
Seems to me the problem here isn't that the bios needs to map the memory below 4G, the problem is Nvidia simply haven't updated the drivers to support 64bit memory mapping under linux or ubuntu has done something screwy or a combination of both.

I'm off to find some live CD or 3 of different distros, I was thinking at least Fedora at this stage, and see if the problem still exists, if so it's not just a Ubuntu/Debian issue.
evilbunny is offline   Reply With Quote
Old 05-31-08, 12:35 AM   #14
evilbunny
Registered User
 
Join Date: May 2008
Posts: 16
Default Re: Unable to install Nvidia driver on 9500M + Ubuntu

The nv driver on the fedora 9 x86_64 live CD works with 3G of ram installed, so this may as the earlier poster suggested be a Ubuntu specific issue, currently downloading the latest driver from the nvidia site and will update once that finishes downloading/installing etc

Although Ubuntu is using 2.6.24 kernel, Fedora is using 2.6.25 no idea if this makes any difference.
evilbunny is offline   Reply With Quote
Old 05-31-08, 01:13 AM   #15
evilbunny
Registered User
 
Join Date: May 2008
Posts: 16
Default Re: Unable to install Nvidia driver on 9500M + Ubuntu

I can confirm 100% it's not just Ubuntu or the 2.6.24 kernel for that matter.

Code:
# cat /proc/version 
Linux version 2.6.25.3-18.fc9.x86_64 (mockbuild@) (gcc version 4.3.0 20080428 (Red Hat 4.3.0-8) (GCC) ) #1 SMP Tue May 13 04:54:47 EDT 2008
After installing from the Fedora 9 CD it insisted on doing an update, including a kernel update I let this go through then installed the kernel-devel package etc, however the error message is more or less identical:

Code:
warning: process `nvidia-installe' used the deprecated sysctl system call with 1.23.
warning: process `nvidia-installe' used the deprecated sysctl system call with 1.23.
nvidia: module license 'NVIDIA' taints kernel.
ACPI: PCI Interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
NVRM: This PCI I/O region assigned to your NVIDIA device is invalid:
NVRM: BAR1 is 256M @ 0x00000000 (PCI:0001:00.0)
NVRM: This is a 64-bit BAR mapped above 4GB by the system BIOS or
NVRM: Linux kernel. The NVIDIA Linux graphics driver and other
NVRM: system software do not currently support this configuration
NVRM: reliably.
nvidia: probe of 0000:01:00.0 failed with error -1
NVRM: The NVIDIA probe routine failed for 1 device(s).
NVRM: None of the NVIDIA graphics adapters were initialized!
warning: process `nvidia-installe' used the deprecated sysctl system call with 1.23.
ACPI: PCI interrupt for device 0000:03:00.0 disabled
At which point the nvidia installer halts, I didn't try this with only 2G of ram as I figured it would work just fine, although the nv driver works, so those having trouble with it might want to try doing what I'm about to and upgrade to the next Ubuntu version to get a newer nv/kernel etc versions if available.
evilbunny is offline   Reply With Quote
Old 05-31-08, 04:25 AM   #16
evilbunny
Registered User
 
Join Date: May 2008
Posts: 16
Default Re: Unable to install Nvidia driver on 9500M + Ubuntu

Still in the process of upgrading, however there doesn't seem to be a later version of the nv driver :/

Will find out for sure soon, may have to get my hand dirty and either compile something up, recompile or use debian unstable version or ....
evilbunny is offline   Reply With Quote
Old 05-31-08, 06:14 AM   #17
evilbunny
Registered User
 
Join Date: May 2008
Posts: 16
Default Re: Unable to install Nvidia driver on 9500M + Ubuntu

Debian packages has 1 minor version later of xserver-xorg-video-nv, but still didn't work, so guess I'm going to have to get my hand dirty and compile X myself.
evilbunny is offline   Reply With Quote
Old 05-31-08, 07:32 AM   #18
evilbunny
Registered User
 
Join Date: May 2008
Posts: 16
Default Re: Unable to install Nvidia driver on 9500M + Ubuntu

Not sure what patches were applied, but there is definitely something different with the nv driver they ship compared to debian/ubuntu, been trying to port their patches with no success so far.

http://cvs.fedora.redhat.com/viewcvs...11-drv-nv/F-9/
evilbunny is offline   Reply With Quote
Old 06-01-08, 01:01 AM   #19
evilbunny
Registered User
 
Join Date: May 2008
Posts: 16
Default Re: Unable to install Nvidia driver on 9500M + Ubuntu

For those wanting to use more than 2G of ram and haven't the experience with linux I'd suggest running fedora, there seems to be fixes or updates they've applied that allow the nv driver to work with the 9500M GS chip set (I can't comment about any others), fedora supposedly uses KDE by default, although it looks/feels almost identical to Ubuntu which uses Gnome.

***BIG FAT WARNING***
Really don't do this unless you know what you are doing, Ubuntu and its package management utils will groan and moan a LOT, about a broken install because package names ubuntu packages depend on just won't be there any more. Usual other warning here about doing bad things, you should back up yada yada yada, proceed at your own risk and I went to all this trouble to type up this big fat warning so if you ignore it don't blame me!
***BIG FAT WARNING***

So with that out of the way and for those with a little more experience or simply don't care if they blow away their installation, and have too much time on their hands you can try doing what I've done, although I haven't fully succeeded yet I'm getting close. It's possible to download the fedora packages:

Code:
wget ftp://download.fedora.redhat.com/pub/fedora/linux/releases/9/Fedora/x86_64/os/Packages/xorg*.rpm
From there you run alien on all the rpms.

Code:
for i in `ls *.rpm`; do alien $i; done
Then you need to dump the ubuntu packages:

Code:
dpkg --force-depends --purge xdebconfigurator x11-xserver-utils displayconfig-gtk xserver-xgl xserver-xorg xserver-xorg-core xserver-xorg-dev xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-kbd xserver-xorg-input-mouse xserver-xorg-input-synaptics xserver-xorg-input-vmmouse xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-apm xserver-xorg-video-ark xserver-xorg-video-ati xserver-xorg-video-chips xserver-xorg-video-cirrus xserver-xorg-video-cyrix xserver-xorg-video-dummy xserver-xorg-video-fbdev xserver-xorg-video-glint xserver-xorg-video-i128 xserver-xorg-video-i810 xserver-xorg-video-intel xserver-xorg-video-mga xserver-xorg-video-neomagic xserver-xorg-video-nv xserver-xorg-video-openchrome xserver-xorg-video-radeonhd xserver-xorg-video-rendition xserver-xorg-video-s3 xserver-xorg-video-s3virge xserver-xorg-video-savage xserver-xorg-video-siliconmotion xserver-xorg-video-sis xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-tga xserver-xorg-video-trident xserver-xorg-video-tseng xserver-xorg-video-v4l xserver-xorg-video-vesa xserver-xorg-video-vga xserver-xorg-video-via xserver-xorg-video-vmware xserver-xorg-video-voodoo xorg-x11-fonts-100dpi x11-common x11-utils x11-apps
From there it's just a matter of installing the packages alien spat out that you need:

Code:
dpkg -i xorg-x11-server-xorg_1.4.99.901-30.20080415_amd64.deb xorg-x11-server-utils_7.3-4_amd64.deb xorg-x11-server-common_1.4.99.901-30.20080415_amd64.deb xorg-x11-fonts*.deb xorg-x11-filesystem_7.3-2_all.deb xorg-x11-drv-nv_2.1.8-2_amd64.deb xorg-x11-drv-nouveau_0.0.10-3.20080408_amd64.deb xorg-x11-drv-mouse_1.3.0-3_amd64.deb xorg-x11-drv-keyboard_1.3.0-4_amd64.deb xorg-x11-drv-evdev_1.99.1-1.5_amd64.deb xorg-x11-drivers_7.3-5_amd64.deb xorg-x11-apps_7.3-4_amd64.deb
At this point you might have to --force-depends a few fedora converted packages to get them to install but there shouldn't be too much more to do than I've posted above.

At this point you should be able to kind of get the nv driver to works, although I'm having problems with frequency or something fiddly like that making the screen and mouse go a bit funny, but for the most part it is almost working.

The nouveau driver needs a kernel module loaded to work, although I was planning to try and get this working rather then messing about with the nv driver since the nouveau driver is an opensource implementation that is supposed to have some 3D support.

It'd be nice if nvidia would help speed this effort up because at this stage I can't in good consciousness recommend their products to anyone even remotely thinking about linux. I've found out since ending up in this predicament what I thought to be true, they are the last graphics manufacture holding out and I should have opted for ATI instead.
evilbunny is offline   Reply With Quote
Old 06-01-08, 07:40 PM   #20
evilbunny
Registered User
 
Join Date: May 2008
Posts: 16
Default Re: Unable to install Nvidia driver on 9500M + Ubuntu

The nouveau driver doesn't seem to currently support this chipset unfortunately :/

I've also given up trying to get the nv driver working under ubuntu, I guess I'll just wait till nvidia fixes their driver or someone more clued up on this sort of thing updates the debian packages.
evilbunny is offline   Reply With Quote

Old 06-03-08, 03:49 AM   #21
GPO
Registered User
 
Join Date: May 2008
Location: Finland
Posts: 6
Default Re: Unable to install Nvidia driver on 9500M + Ubuntu

I think I'll wait for the updated drivers to fix this problem somewhere in the future. There doesn't seem to be any easy solution right now, except reducing memory to 2 GB, so that's what I did. Ubuntu works just fine with with 2 GB's, it's the Vista which needs more memory.
GPO is offline   Reply With Quote
Old 06-03-08, 05:11 AM   #22
evilbunny
Registered User
 
Join Date: May 2008
Posts: 16
Default Re: Unable to install Nvidia driver on 9500M + Ubuntu

Quote:
Originally Posted by GPO View Post
I think I'll wait for the updated drivers to fix this problem somewhere in the future. There doesn't seem to be any easy solution right now, except reducing memory to 2 GB, so that's what I did. Ubuntu works just fine with with 2 GB's, it's the Vista which needs more memory.
That depends what you're doing, Vista might need more ram than *nix based OS, but than if you do a bunch of video editing with mini-dv files (12-15G/hr), or hi-res photo editing/photo-stitching you soon notice very quickly the difference between 2G, 3G or 4G.
evilbunny is offline   Reply With Quote
Old 06-03-08, 11:00 AM   #23
Fourmiii
Registered User
 
Join Date: May 2008
Posts: 4
Default Re: Unable to install Nvidia driver on 9500M + Ubuntu

Everybody should also check this thread :

http://www.nvnews.net/vbulletin/show...t=96613&page=1
(the fix is on page 2 but page 1 explains fairly well what is going on...)

There's a 4 lines kernel patch that fixes the allocation of the video memory under the 32bit address space so the nvidia driver doesn't complain about BAR1 stuff.

I managed to patch the 2.6.24-17-rt kernel against that patch and successfully load X with the NVIDIA driver in amazing 1680x1050 resolution!! I still have to find out how to compile the linux-ubuntu-modules to get my soundcard and wifi modules to load.

Will surely post a nice howto pretty soon ...
Fourmiii is offline   Reply With Quote
Old 06-03-08, 09:18 PM   #24
Fourmiii
Registered User
 
Join Date: May 2008
Posts: 4
Smile Re: Unable to install Nvidia driver on 9500M + Ubuntu

To make a long story short, I bought an Asus G1Sn with 4G, installed hardy 64bit and couldn't detect the nvidia 9500 since the kernel mapped its memory outside the 32bit address range.

I read success stories involving a 4 lines patch .. so I needed to build a custom kernel.

I've got it all working now !! This is so cool ...

The trick is to compile both linux-image and linux-ubuntu-modules and get the versions to match in the .debs.

cd somewhere you have at least 4-5 Gb of free space.
Build time isn't so bad on a T8100 dual-core 2.1 GHz.

Code:
# Install Kernel Sources
sudo apt-get build-dep linux-image-2.6.24-17-rt
sudo apt-get source linux-image-2.6.24-17-rt

# Install Kernel Modules Sources
sudo apt-get build-dep linux-ubuntu-modules-2.6.24-17-rt
sudo apt-get source linux-ubuntu-modules-2.6.24-17-rt

# Apply NVRM patch (download the patch first!)
sudo patch -p0 < NVRM_512M_fix.txt

# Build debs for linux-image & linux-headers
cd linux-2.6.24/
sudo cp /boot/config-2.6.24-17-rt debian/config/amd64/config.rt
sudo CONCURRENCY_LEVEL=2 AUTOBUILD=1 NOEXTRAS=1 fakeroot debian/rules custom-binary-rt
cd ..

# Build Kernel Modules
cd linux-ubuntu-modules-2.6.24-2.6.24/
sudo CONCURRENCY_LEVEL=2 fakeroot debian/rules binary-debs
cd ..
You should then install the 4 debs :
linux-image-rt
linux-headers-rt
linux-headers-lum-rt
linux-ubuntu-modules-rt

I've attached the modified patches (against 2.6.24) for 256M and 512M.

Have fun !!

Fourmiii
Attached Files
File Type: txt NVRM_256M_fix.txt (559 Bytes, 324 views)
File Type: txt NVRM_512M_fix.txt (559 Bytes, 543 views)
Fourmiii 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
GT650M not recognized by 295.59 Driver on Ubuntu 12.04 hvontres NVIDIA Linux 13 06-22-12 01:33 PM
Powermizer problem, nvidia 9500m gs ubuntu backtoback NVIDIA Linux 3 05-25-12 12:13 PM
Need Help Installing NVIDIA Tesla M2070Q in Linux RHEL5 Ferianto85 NVIDIA Linux 0 05-18-12 08:35 PM
Getting the proprietary nvidia driver to run with Debian 3.0 r0 (woody) Katchina404 NVIDIA Linux 9 01-12-03 08:49 AM
Red Hat null(limbo beta 3), guide to install Nvidia Drivers utiel NVIDIA Linux 21 09-30-02 05:32 PM

All times are GMT -5. The time now is 11:22 AM.


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