I found this thread searching for a way to get the 8774 nvidia drivers to compile, so, in an effort to post something that might actually help someone who searches, I'm just going to post what worked for me since it's not here.
this is on a basically fresh install of etch b3 from the netinst cd, installing the base system and desktop system.
When I tried to install the nvidia driver with #sh NVIDIA... , I kept getting the errors about the missing header files. I tried searching synaptic for "kernel
-headers" and kept finding nothing.
(at long last!) I found the Notes on installing NVIDIA Linux graphics drivers on recent distributions
thread in the nvnews forum. I should have been searching for "linux
note that according to Xorg.0.log I have xorg 6.9
Debian GNU/Linux or Ubuntu with Xorg 7.x
If you wish to install the NVIDIA Linux graphics driver on a Debian GNU/Linux or Ubuntu system
that ships with Xorg 7.x, please ensure that your system meets the following requirements:
* development tools like make and gcc are installed
* the linux-headers package matching the installed Linux kernel is installed
* the pkg-config and xserver-xorg-dev packages are installed
* the nvidia-glx package has been uninstalled with the --purge option
and the file /etc/init.d/nvidia-glx does not exist.
If you use Ubuntu, please also ensure that the linux-restricted-modules packages have
I don't think any of that stuff was there with just the base and desktop systems. I had found a few threads in my googling that suggested some of these packages, but never the whole deal. nvidia-glx
is not installed on etch b3.
after I grabbed those packages it almost let me compile a module, but complained about missing the libc development package. installing libc6-dev
did the trick finally and I got my modules compiled.
this ends the part about how I got the damn thing to compile... I'm putting the explanation of how I actually got it working in this thread
, because at this point, after modifying my xorg.conf to remove the unwanted modules and enable the nvidia driver instead of vesa, the x server would not start and instead gave me a fancy ncurses menu asking if I wanted to see the log. I did. it said:
EE) Failed to load module "glx" (module does not exist, 0)
(EE) Failed to load module "nvidia" (module does not exist, 0)
(EE) No devices detected.
if you're getting this error, check out this thread