LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (http://www.linuxquestions.org/questions/debian-26/)
-   -   install nvidia drivers in amd64 (http://www.linuxquestions.org/questions/debian-26/install-nvidia-drivers-in-amd64-358979/)

pafinator11 08-31-2005 08:46 PM

install nvidia drivers in amd64
 
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?

HappyTux 08-31-2005 10:08 PM

Re: install nvidia drivers in amd64
 
Quote:

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 debian-amd64@lists.debian.org mailing list.


Code:

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
kernel-headers-2.6.8-11-amd64-generic kernel-headers-2.6.8-11
nvidia-kernel-source nvidia-kernel-common

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.

pafinator11 01-30-2006 06:20 PM

Just for everyone's reference, I had removed Debian AMD64 from my hard drive before but I have it once again and this time i successfully got the Drivers working. After you install the headers and source for your kernel then you must use the following argument with the installer -k $(uname -r) and it should work perfectly. If your confused, it should look something like this:

sh somenvidiadriver.run -k $(uname -r)

ekko37 02-14-2006 01:31 PM

Hello,

I have also a problem with the nvidia driver.
The strange think that I have is that I can install it temporally. If I use the debian way like above described or the nvidia installer everything works well. But after a reboot the xserver can not start.

I have a customized kernel. I had to remove the rivafb modul and added support for smp (dualcore).

The think that I could figure out was that the nvidea.ko is located under /lib/modules/2.6.15/nvidia/nvidia.ko
and also under /lib/modules/2.6.15/kernel/driver/video/nvidia.ko

I have a geforce gt6600 pci express card.

the kernel image and the is under /usr/src/
and I have also a symlink to it called linux....

the things I have seen in /var/log/messages which I think could be the root of the problem are
Feb 14 19:17:55 eckzahn kernel: nvidia: module license 'NVIDIA' taints kernel.
Feb 14 19:17:55 eckzahn kernel: nvidia: Unknown symbol register_ioctl32_conversion

Hope anyone can help me

HappyTux 02-14-2006 06:24 PM

Quote:

Originally Posted by ekko37
Hello,

Feb 14 19:17:55 eckzahn kernel: nvidia: module license 'NVIDIA' taints kernel.
Feb 14 19:17:55 eckzahn kernel: nvidia: Unknown symbol register_ioctl32_conversion

Hope anyone can help me

Are you using the latest version of the driver I seem to remember that that function was removed from the kernel and nvidia updated the driver for it.

ekko37 02-15-2006 11:48 AM

I am using : NVIDIA-Linux-x86_64-1.0-8178-pkg2.run


All times are GMT -5. The time now is 03:33 AM.