LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   How to nvidia drivers on AMD64 Debian using apt-get? (https://www.linuxquestions.org/questions/debian-26/how-to-nvidia-drivers-on-amd64-debian-using-apt-get-392106/)

Aman9090 12-12-2005 06:59 PM

How to nvidia drivers on AMD64 Debian using apt-get?
 
Hiya guys,

I'm a long-time Gentoo user, switching to Debian to get a feel for other distributions. I decided on Debian, as I know that Gentoo and Debian are similar in some ways.

I am having an issue, however, with installing my graphics card drivers. I am currently running off of, I believe, the 'nv' drivers, but I would like the OpenGL compatability that comes from the official 'nvidia' driver from nVidia. I have googled and searched these forums for a bit now, but have been unable to find any information on how to specifically set up the nVidia drivers on the latest version of the AMD64 network install using apt-get.

If anybody could link me to instructions, or post some here, I'd be GREATLY appreciative. I am getting the hang of this new environment... once I fix this issue, I'll be all set.

Thanks so much in advance!

-Andrew

cuiq 12-13-2005 12:59 AM

Here's a snippet from https://alioth.debian.org/docman/vie....html#id272586

Is my Nvidia card supported?

The NVidia drivers for amd64 are known to work with linux 2.6.5 and newer kernels. The official debian nvidia-graphics-driver packages support amd64, everything works the same way as you might be used to with i386. It is not reccomended to install using the NVidia driver installer, because it is based on a different directory layout than the debian amd64 port.

Installing the NVidia drivers is documented in /usr/share/doc/nvidia-kernel-source/README.Debian

Since the documentation is i386 centristic, these are the short instructions for amd64:

* add contrib and non-free to your sources.list and update your package index files.
* Install all needed packages: gcc-3.4, nvidia-kernel-source, nvidia-kernel-common, kernel-headers-2.6.8-10-amd64-k8 or whatever matches the installed kernel.
* for sarge, or using a stock kernel up to 2.6.11: go to /usr/src/kernel-headers-2.6.8-11-amd64-k8 (or whatever headers you installed) after you unpacked the nvidia-kernel-source tarball in /usr/src and run

MAKEFLAGS="CC=gcc-3.4" make-kpkg --append-to-version -11-amd64-k8 modules_image

again, replace -11-amd64-k8 with the flavour of your kernel.
* install the created nvidia-kernel-*.deb, nvidia-glx and nvidia-glx-dev to get everything setup correctly.



Peace V

m_yates 12-13-2005 07:00 AM

You don't need to install using apt. I found it easier to install using the script directly from Nvidia. Just install kernel headers for your kernel, or recompile your kernel, exit X-windows, and run the script downloaded directly from nvidia.com. If it complains about a mismatch in compilers, you can issue the command "CC=gcc-3.4" and re-run the script. The directions at nvidia.com can be followed to update /etc/X11/xorg.conf

OmegaBlac 12-13-2005 06:01 PM

Quote:

Originally Posted by m_yates
You don't need to install using apt. I found it easier to install using the script directly from Nvidia. Just install kernel headers for your kernel, or recompile your kernel, exit X-windows, and run the script downloaded directly from nvidia.com. If it complains about a mismatch in compilers, you can issue the command "CC=gcc-3.4" and re-run the script. The directions at nvidia.com can be followed to update /etc/X11/xorg.conf

This is true. I use to advocate using the "Debian way" and even would point people to an article that detailed how to do so, but I have been using the Nvidia method for the past two driver versions and it is just as easy as doing it the way the previously posted article stated; just follow Nvidia's directions. Easy as reading RTFM. :D

idealbsd 12-15-2005 02:48 AM

Use office driver from nevida may need reinstall driver when the xlibs upgraded and it's a little long time to see harddisk running :)

michapma 12-15-2005 04:19 AM

The ATI version helped me a lot, I reckon the nVidia instructions will help you:
http://wiki.serios.net/wiki/Debian_N...r_installation

Both of the ways mentioned here (apt-get and nVidia's installer) are described.


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