PDA

View Full Version : HowTo:manualy install the Linux-x86-1.0-7664 Driver from Nvidia


codejunkie
June 6th, 2005, 10:06 AM
This is assuming that you have already installed the nvidia drivers via synaptic and it's working correctly on your ubuntu system and you just want to upgrade to the latest drivers from www.nvidia.com if there not already in the repositories.

1: Change "nvidia" back to "nv" in /etc/X11/xorg.conf restart x
2: Now through synaptic remove packages nvidia-glx nvidia-settings and linux-restricted-modules for your kernel.
3: Now through synaptic install the build-essential and the linux-headers packages for your kernel.
4: Now download the nvidia driver NVIDIA-Linux-x86-1.0-7664-pkg1.run from www.nvidia.com and place it In your home directory.
5: Hit ctrl+alt+F1 and log in as root with sudo su
6: Now cd to the directory where the nvidia installer is located.
7: Run telinit 3 and killall gdm
8: Run the nvdia installer with sh NVIDIA-Linux-x86-1.0-7664-pkg1.run once the installer has finished.
9: Change "nv" back to "nvidia" in you /etc/X11/xorg.conf with nano /etc/X11/xorg.conf reboot and you should be using the latest nvidia driver.

note this was installed on ubuntu Hoary i386 running the 2.6.10-5-k7 kernel and i have no idea if it will work with other kernels or platforms because i haven't tried it.
i hope this helps someone and please don't hate me if this doesn't work on your system any feedback is gladly appreicated.

oddabe19
June 6th, 2005, 10:20 AM
This is assuming that you have already installed the nvidia drivers via synaptic and it's working correctly on your ubuntu system and you just want to upgrade to the latest drivers from www.nvidia.com if there not already in the repositories.

1: Change "nvidia" back to "nv" in /etc/X11/xorg.conf restart x
2: Now through synaptic remove packages nvidia-glx nvidia-settings and linux-restricted-modules for your kernel.
3: Now through synaptic install the build-essential and the linux-headers packages for your kernel.
4: Now download the nvidia driver NVIDIA-Linux-x86-1.0-7664-pkg1.run from www.nvidia.com and place it In your home directory.
5: Hit ctrl+alt+F1 and log in as root with sudo su
6: Now cd to the directory where the nvidia installer is located.
7: Run telinit 3 and killall gdm
8: Run the nvdia installer with sh NVIDIA-Linux-x86-1.0-7664-pkg1.run once the installer has finished.
9: Change "nv" back to "nvidia" in you /etc/X11/xorg.conf with nano /etc/X11/xorg.conf reboot and you should be using the latest nvidia driver.

note this was installed on ubuntu Hoary i386 running the 2.6.10-5-k7 kernel and i have no idea if it will work with other kernels or platforms because i haven't tried it.
i hope this helps someone and please don't hate me if this doesn't work on your system any feedback is gladly appreicated.
very good, except a few unnesessary things...
1. it's much easier (because the headers have a hard time of showing up in synaptic) of doing
sudo apt-get install linux-headers-`uname -r`
2. You do NOT have to change nvidia to nv before installing.
3. You don't have to telinit 3 or kill gdm. All you need to do is
sudo /etc/init.d/gdm stop after the installer is done and the driver is installed all you need to do is sudo /etc/init.d/gdm start

make sure in your xorg.conf under modules you remove Load GLcore and Load DRI. You should have to add Load glx.

codejunkie
June 6th, 2005, 10:36 AM
very good, except a few unnesessary things...
1. it's much easier (because the headers have a hard time of showing up in synaptic) of doing
sudo apt-get install linux-headers-`uname -r`
2. You do NOT have to change nvidia to nv before installing.
3. You don't have to telinit 3 or kill gdm. All you need to do is
sudo /etc/init.d/gdm stop after the installer is done and the driver is installed all you need to do is sudo /etc/init.d/gdm start

make sure in your xorg.conf under modules you remove Load GLcore and Load DRI. You should have to add Load glx.

thanks for the nice feedback and great tips on the howto i might add these tips to the howto later if you don't mind.

mentalinc
June 14th, 2005, 08:42 PM
so many problems with AMD64 hoary

gives errors during install about library installs

then when you try at glxgears it gives an error message

also during install it gives change_page_attr error
tells me to update to 2.6.11 or newer
but hoary only 2.6.10-5

also suggests i look at the readme Appendix N known issues

except i cant download the readme from the nvidia page - gives me an error message

codejunkie
June 15th, 2005, 04:24 PM
so many problems with AMD64 hoary

gives errors during install about library installs

then when you try at glxgears it gives an error message

also during install it gives change_page_attr error
tells me to update to 2.6.11 or newer
but hoary only 2.6.10-5

also suggests i look at the readme Appendix N known issues

except i cant download the readme from the nvidia page - gives me an error message

this is the 32bit nvidia driver for i386 pc's if your trying to install this driver on AMD64 it might give you errors if you have the AMD64 you need to download and install the 64bit driver from nvidia http://www.nvidia.com/object/linux_display_amd64_1.0-7664.html hope this helps.

mentalinc
June 15th, 2005, 05:38 PM
yeah i have the 64bit version i thought that the steps to install would be the same.
if they are then the drivers do not work with a clean install hoary

cutOff
June 15th, 2005, 05:54 PM
I think the steps are the same but you should choose appropriate drivers for your architecture.

I advise you to look codejunkie's post.

codejunkie
June 15th, 2005, 06:17 PM
I think the steps are the same but you should choose appropriate drivers for your architecture.

I advise you to look codejunkie's post.

yep the steps should be the same you just need the correct driver for your architecture and the appropriate linux-headers packages for your kernel version.

it should work on AMD64 but i haven't tested it because i don't have a 64bit processor.

kleeman
June 16th, 2005, 09:34 AM
Just a word of warning based on an unpleasant experience :roll: I followed this howto and everything seemed to be working fine (3d games etc etc) until I rebooted and then everything involving 3d acceleration segfaulted. Reinstalled the drivers according to the howto and it started working again :roll: HOWEVER I noticed that the kernel module was generating a bunch of error messages concerning cache aliasing (I am using the 686-smp kernel btw). Upon reboot X failed altogether and further reboots revealed what looked like file corruption. I tried uninstalling and reinstalling the old hoary drivers but no dice. Net result a painful reinstall. Beware YMMV!

rosslaird
June 16th, 2005, 11:24 AM
Another caution:

Some people have experienced a serious issue with this driver: a black screen and no X session. (There's a long post over at the the nvidia forums about it).

I myself had this problem after upgrade, and as a result I have resturned to the previous version.

Your mileage may vary.

Ross

Lunde
June 16th, 2005, 12:57 PM
WARNING! Serious issues with these drivers and 2.6.10-5 kernel

First boot: everything worls fine the first 2min, then the glxgear frames pr seconds drop to 70 fps.

Second boot: second boot, no OpenGL, no nvidia-settings but at least I get X started.

third reboot: No more X, reinstallation of driver needed to start x

I was very entusiastic and I really liked these drivers for 2min.

rosslaird
June 16th, 2005, 01:16 PM
Nobody seems to be really sure what's causing these problems.
Various solutions have worked for various people, but not universally.
Here's the "black screen" post from the Nvidia forums:

Black screen (http://www.nvnews.net/vbulletin/showthread.php?t=50254&page=1&pp=15)

irusun
June 18th, 2005, 05:14 PM
This thread helped me get my GF6200 up and running - thanks! The new 7664 driver works great for the card I have.

To make it easy for myself for future driver upgrades, I wrote a really simple script using the steps outlined in the first couple of posts. I figured someone else might find it useful as well, so I've included it in this post.

It's extremely simple - no error handling or anything like that. It will remove and install the appropriate packages, ask for the driver version to download (e.g. 7664), download the driver and install it.

You should look the script over before using it - I'm not a developer and can't be held responsible for whether it works or renders your computer completely useless. Any feedback is welcome - or feel free to modify it and post an improved version.

moment
June 18th, 2005, 07:15 PM
The latest driver crashes my X while switching to text (Ctrl+F1) and I have problem with DPMS. I have a Geforce FX Go5200. I switched back to 7174

Boggles3
July 18th, 2005, 10:41 AM
yes there is some crazy problem i know with the 64 gforce drivers hen you try to get the latest ones..
xserver failures everywhere...lol i reinstalled ubuntu exept this time i did 32 bit.. i have a dual xeon machine but i dont feel like dealing with the 64 bit crap ..
i may switch back in the future when more kinks are worked out of 64 bit technology in general ..

never could get the 7667 drivers to work with 64 and now i leary to try it here in 32 just cuz it was a bad experience.. but im sure il muster the guts to try again soon lol :)

ill have to remember this post cuz it was a good clean how to \\:D/

tseliot
July 19th, 2005, 09:04 AM
Hi guys, I compiled my kernel by myself as I needed kernel 2.6.12. The question is: how can I compile either the headers or the modules required to install Nvidia drivers? (I'm using Ubuntu 64)

Thanks in advance

codejunkie
July 19th, 2005, 09:32 AM
Hi guys, I compiled my kernel by myself as I needed kernel 2.6.12. The question is: how can I compile either the headers or the modules required to install Nvidia drivers? (I'm using Ubuntu 64)

Thanks in advance
if you used kpkg example:

sudo make-kpkg --append-to-version=-custom kernel_image modules_image
to build your kernel you can just cd /usr/src/linux and run this command to build the headers like so

sudo make-kpkg --append-to-version=-custom kernel_headers

the .deb for the headers package will be made in the same place your new kernel was.
if you manually built the kernel and just linked to the kernel you can just point the nvidia installer to the /usr/src/linux dir i can't remember the exact command but it's in the readme.txt file on nvidia's website hope this helps.
Edit: i believe the command is --add-this-kernel so it would be something like this
sh NVIDIA-Linux-x86_64-1.0-7667-pkg1.run --add-this-kernel
this will build a custom nvidia installer with support your kernel compiled in then just install it, very useful if you have to reinstall again and don't want to go through the steps again.
or
sh NVIDIA-Linux-x86_64-1.0-7667-pkg1.run --kernel-source-path=/usr/src/linux will install the driver only.

rwabel
July 19th, 2005, 04:11 PM
how can it get uninstalled, in th case of getting back to the ubuntu binary nvidia drivers?

edited: is it sufficiant to sudo nvidia-installer --uninstall and reinstall the ubuntu nvidia stuff?

codejunkie
July 19th, 2005, 09:27 PM
how can it get uninstalled, in th case of getting back to the ubuntu binary nvidia drivers?

edited: is it sufficiant to sudo nvidia-installer --uninstall and reinstall the ubuntu nvidia stuff?
yep that should work then reinstall the ubuntu nvidia drivers.

tseliot
July 29th, 2005, 10:12 AM
There's an error when I accept to install ia32 OpenGL compatibility libraries (I have an AMD64)

ERROR: The runtime configuration check failed for library 'libGL.so.1.0.7667'
(expected: '/emul/ia32-linux/usr/lib/libGL.so.1', found:
'/usr/lib32/libGL.so.1'). 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.

How could this be solved?

UPDATE: I've solved my problem, all the instructions are available in my HOWTO:

http://www.ubuntuforums.org/showthread.php?t=52924

tseliot
August 1st, 2005, 06:32 AM
There's an error when I accept to install ia32 OpenGL compatibility libraries (I have an AMD64)

ERROR: The runtime configuration check failed for library 'libGL.so.1.0.7667'
(expected: '/emul/ia32-linux/usr/lib/libGL.so.1', found:
'/usr/lib32/libGL.so.1'). 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.

How could this be solved?


(I have an AMD64 and I'm using the 64bit nvidia installer)
Well, the problem hasn't been totally solved. The computer freezes (completely) randomly. Is there a way to install OpenGL 32bit compatibility libraries?

for my xorg you can look here:
http://ubuntuforums.org/showthread.php?t=53506&page=1