Linux Debian Nvidia Installer Problems


debianFirst of all, This is for Debian Wheezy amd64 distribution, Where the nvidia-installer-cleanup freezes.

Second, I downloaded and installed the proprietary drivers from NVIDIA, disabled default nouveau-driver and installed from source.

After some compatibility issues with some programs, I decided I had to switch to the supported Debian drivers by installing the packages

apt-get install libgl1-nvidia-glx:i386 nvidia-vdpau-driver:i386

I issued the following commands to do so (in order to use the multiarch packages):

sudo dpkg –add-architecture i386
sudo apt-get update
apt-get install libgl1-nvidia-glx:i386 nvidia-vdpau-driver:i386

This downloads a bunch of packages, and before installing the Distribution’s drivers, it attempts to execute the nvidia-installer-cleanup command. But… sadly this stalls and won’t continue. The way I solved this was by following these steps:

1. Change to Command Line interface (Ctrl+Alt+F1).

2. Log in. (If you login as root, you do not need sudo in the command.)

3. Stop the gdm3 manager:
sudo /etc/init.d/gdm3 stop
(Be sure to be part of the sudoers group)

4. Uninstalling nvidia-driver with Nvidias own command:

sudo nvidia-uninstall

(this leaves the nvidia-installer-cleanup nothing to do, and thus bypass the initial stalling).

5. Do not restore the initial (before proprietary drivers) X Conf file.

6. Run the
sudo dpkg –configure -a

7. sudo apt-get install libgl1-nvidia-glx:i386 nvidia-vdpau-driver:i386

8. sudo reboot

This is a rare issue but I have seen it a few times with Nvidia drivers. Hope it helps you out.