I am still having issues. I have tried purging the driver and reinstalling it. I am limited to 319.76 in the Debian Jessie/testing repository. I just went again and purged all Nvidia drivers and I am trying to install 331.38 which I downloaded using the sticky’s link. The installation program runs but it fails compiling for DKMS and no nvidia drivers are found after installation.
root@hal9000:~# cat /var/log/nvidia*
nvidia-installer log file '/var/log/nvidia-installer.log'
creation time: Wed Feb 5 07:50:56 2014
installer version: 331.38
nvidia-installer command line:
Using: nvidia-installer ncurses user interface
-> License accepted.
-> Installing NVIDIA driver version 331.38.
-> There appears to already be a driver installed on your system (version: 331.38). As part of installing this driver (version: 331.38), the existing driver will be uninstalled. Are you sure you want to continue? ('no' will abort installation) (Answer: Yes)
-> Would you like to register the kernel module sources with DKMS? This will allow DKMS to automatically build a new module, if you install a different kernel later. (Answer: Yes)
-> Installing both new and classic TLS OpenGL libraries.
-> Installing both new and classic TLS 32bit OpenGL libraries.
-> Install NVIDIA's 32-bit compatibility libraries? (Answer: Yes)
-> Parsing log file:
-> Validating previous installation:
-> Uninstalling NVIDIA Accelerated Graphics Driver for Linux-x86_64 (1.0-33138 (331.38)):
-> DKMS module detected; removing...
-> Unable to delete directories created by previous installation.
-> Uninstallation of existing driver: NVIDIA Accelerated Graphics Driver for Linux-x86_64 (331.38) is complete.
-> Skipping installation of the libvdpau wrapper library.
-> Searching for conflicting X files:
-> Searching for conflicting OpenGL files:
-> Searching for conflicting compat32 files:
-> Installing 'NVIDIA Accelerated Graphics Driver for Linux-x86_64' (331.38):
executing: '/sbin/depmod -aq'...
-> Driver file installation is complete.
-> Installing DKMS kernel module:
ERROR: Failed to run `/usr/sbin/dkms build -m nvidia -v 331.38 -k 3.12-1-amd64`:
Kernel preparation unnecessary for this kernel. Skipping...
cleaning build area....
make KERNELRELEASE=3.12-1-amd64 module KERNEL_UNAME=3.12-1-amd64; make -C uvm module KERNEL_UNAME=3.12-1-amd64 KBUILD_EXTMOD=/var/lib/dkms/nvidia/331.38/build/uvm............(bad exit status: 2)
Error! Bad return status for module build on kernel: 3.12-1-amd64 (x86_64)
Consult /var/lib/dkms/nvidia/331.38/build/make.log for more information.
ERROR: Failed to install the kernel module through DKMS. No kernel module was installed; please try installing again without DKMS, or check the DKMS logs for more information.
ERROR: Installation has failed. Please see the file '/var/log/nvidia-installer.log' for details. You may find suggestions on fixing installation problems in the README available on the Linux driver download page at www.nvidia.com.
Searching around for instructions or troubleshooting only tells me how to install the proprietary driver from the repository. I cannot find anything on how to install the downloaded proprietary driver in Debian.
Please help. It gets very annoying to restart X every time I close my lid, swap to a console or the screen locker turns off the display.