Please do not use the script provided by the Nvidia website, like you seemed to have.The viable and stable method is to use the one in the Debian wiki, which is, in short, the following: 1) Know your Debian distribution codename: $ lsbrelease -a grep Codename2) Add the contrib and non-free repositoriesYou need to modify your /etc/apt/sources.list by adding 'contrib' and 'non-free' after 'main'. For example, if your are using 'buster':deb buster main contrib non-free 3) Update your package manager cache: # apt update4) Install your kernel headers and the Nvidia proprietary driver: # apt install apt install linux-headers-$(uname -r sed 's/^-.-^-.-//') nvidia-driver5) Reboot the system # rebootYou should be all set, with all the necessary tools to get your GPU stats and settings, with nvidia-smi and nvidia-settings for example. Please note that you do not need to have a xorg.conf since wheezy except for some fine-tuning. The way I installed proprietary drivers last time (on plain Debian):.I installed a Debian system from scratch (from the offical netinstall iso).Downloaded the driver to the 'Downloads' directory (where things always go when you click 'download').Pressed Ctrl+ Alt+ F2 (in order to switch to one of the full-screen terminals.).From the full screen console ran: /etc/init.d/gdm3 stop(To kill the graphic interface.
Otherwise the installer won't run). Then I navigated to the Downloads directory - where the Nvidia driver is ('cd Downloads').Before running the downloaded installer I had to do: apt-get install build-essentialapt-get install linux-headers.(Otherwise the installer will complain about these missing and exit).Then I ran the downloaded file sh NVIDIA-Linux-x8664-340.32.runThe installer complained about nouveau not being disabled, but turned it off for me without problems.
Then asked to restart the computer and to run it again after reboot. Rebootthen cd Downloadssh NVIDIA-Linux-x8664-340.32.runThe installer then went through ok and I had to just reboot one final time.
I have a unifying receiver for mouse and keyboard. I am using Debian Wheezy on Asus UX31A.The devices are recognized and working during boot and also in grub menu.Once I get the Debian log in screen the devices no longer work.
For it to work, I have to remove the unifying receiver and plug it again in usb port. I should do this few times then it works. I am doing this for few months now. However recently I have to spend more time in removing and plugging the unifying receiver. So thought I'll get some help.