with dkms, as long as you're installing recommends (and if you're not you should override on the command line to do so for this) all you need to do is:
Code: Select all
aptitude install nvidia-kernel-dkms
I recommend adding
nvidia-settings to that, but everything else you need will get pulled in. The one possible exception is the kernel-header package, since if you have multiple kernels installed and a header package for ANY of the kernels the dependency will have been fulfilled. The solution to that is to make sure that you always install a header package in conjunction with a kernel image.
Actually the following will ensure that you install recommends no matter what you're settings and is all that's needed.
Code: Select all
aptitude -r install nvidia-kernel-dkms nvidia-settings
Note that I recommend you pull from unstable, even if you're running primarily testing. testing is still at -1, while sid is up --4. The -2 version added recommends for vdpau (which won't automatically get pulled in with -1). For more see the changelog:
Debian Changelog current nvidia-graphics-drivers
nvidia-xconfig tends to add a bunch of cruft. I recommend you not use, or even install, it except as a measure of last resort. With current setups all you should need in most cases is the Device section in order to specify the driver. You can also specify driver specific options in there. Here's my current one (including some commented out settings, and some I could esaily delete since they';re set to the default value):
Code: Select all
Section "Device"
Identifier "Default Device"
Driver "nvidia"
Option "NoLogo" "False"
# Option "DPI" "133 x 133"
Option "Coolbits" "5"
# Option "ModeDebug" "False"
EndSection