LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 08-31-2005, 07:46 PM   #1
pafinator11
Member
 
Registered: Jul 2005
Location: Massachusetts
Distribution: Debian Lenny, FreeBSD
Posts: 89

Rep: Reputation: 15
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?
 
Old 08-31-2005, 09:08 PM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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.

Last edited by HappyTux; 08-31-2005 at 09:11 PM.
 
Old 01-30-2006, 05:20 PM   #3
pafinator11
Member
 
Registered: Jul 2005
Location: Massachusetts
Distribution: Debian Lenny, FreeBSD
Posts: 89

Original Poster
Rep: Reputation: 15
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)
 
Old 02-14-2006, 12:31 PM   #4
ekko37
LQ Newbie
 
Registered: Oct 2004
Location: germany
Distribution: debian amd64 port
Posts: 4

Rep: Reputation: 0
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
 
Old 02-14-2006, 05:24 PM   #5
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
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.
 
Old 02-15-2006, 10:48 AM   #6
ekko37
LQ Newbie
 
Registered: Oct 2004
Location: germany
Distribution: debian amd64 port
Posts: 4

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

Last edited by ekko37; 02-15-2006 at 10:59 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
i386 on AMD64 MOBO. Which Nvidia drivers? Andknig Linux - Newbie 2 04-21-2005 04:22 AM
install problem: Suse 9.2 AMD64 Nvidia 'forcedeth' kernel module croutonjones SUSE / openSUSE 1 01-16-2005 04:50 PM
Nvidia 32bit drivers don't work on amd64 nyk Linux - Hardware 0 12-23-2004 03:51 AM
Nvidia drivers on AMD64 Ruzhyo Linux - General 5 08-17-2004 05:08 AM
nVidia AMD64 Driver does not install Beaker Mandriva 0 06-14-2004 07:16 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:51 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration