Originally posted by pafinator11
I just installed the amd64 version of debian and i cant seem to be able to install the nvidia drivers. I got them from nvidia with wget then i tried to install them and it continuously fails with an error involving nvidia.ko any ideas?
The nvidia installer installs the modules under /usr/X11R6/lib64/ instead of /usr/X11R6/lib like Debian X expects to find them. You may want to use the --uninstall option with the installer you got from the nvidia website to uninstall it then follow this guide I used (well mostly I always compile my own kernel & headers just to have the entire source tree if needed) from the email@example.com
Debian amd64 nvidia howto
Make sure the following are in /etc/apt/sources.list:
deb http://amd64.debian.net/debian-amd64 stable main non-free contrib
deb http://amd64.debian.net/debian-amd64 unstable main non-free contrib
Make sure you've got all the kernel sources - all these are needed as
they have symbolic links in them.
$ apt-get install kernel-kbuild-2.6-3
Get the module assistant:
$ apt-get module-assistant
Set up the appropriate kernel sources ready for the module assistant:
$ m-a -i prepare
Build the kernel module:
$ m-a a-i -i -t -f nvidia-kernel
Now get the other packages needed for getting the nvidia drivers working:
$ apt-get install nvidia-glx nvidia-glx-dev
If you haven't got xfree86 installed, install it:
$ apt-get install xserver-xfree86
Otherwise, reconfigure it:
$ dpkg-reconfigure xserver-xfree86
Select 'nvidia' for the driver when prompted. Enter whatever you want
for the card name, and just press 'return' for the Bus Identifier and
for amount of RAM.
All other options depend on what you want. Best bet is to select
'simple' for the monitor configuration!
Edit: You may want to comment out the unstable line that you put in your sources.list after you install the nvidia related stuff to prevent upgrading all your packages to it.