Luckily timeshift restore saved me!
I've broken my system before trying this so this time round I left it alone, but now I need it for running oclhashcat. The error was
error while loading shared libraries: libnvidia-ml.so.1: cannot open shared object file: No such file or directory
This is why I am installing the nvidia version.
First, some information - if you need more please let me know.
uname -a
Code:
Linux lynx 3.2.0-4-amd64 #1 SMP Debian 3.2.63-2 x86_64 GNU/Linux
lcspci | grep VGA
Code:
01:00.0 VGA compatible controller: NVIDIA Corporation G86 [GeForce 8400M GS] (rev a1)
Oook, I'll try to remember what I did and in what order...
Downloaded the latest driver from the nvidia website:
Tried to run it, was informed that I needed to stop X first.
CTRL-ALT F2, logged in as root and ran /etc/init.d/gdm3 stop
Ran installer
Warning about the gc compiler for the kernel did not match, they require 4.6 but I have 4.7. Chose to continue.
Failed, message: Unable to find the kernel source tree for the currently running kernel....see README.
Googled and saw several references about linux-headers, but I dont understand enough to trust them.
Found a guide which I thought installed the correct things. Turns out it installed what I understand to be the apt version of the driver, which is apparently different to the Nvidia proprietary driver.
Spent ages on a blinking cursor for X, eventually got it to work. Tried running oclhashcat again but same error.
As it had installed other nvidia packages I tried the installer again, which failed because 2 packages cannot run at the same time, please remove Debian packages.
Back to google, found an official Debian doc:
https://wiki.debian.org/NvidiaGraphi...eezy-backports
Now I have been warned about adding sources randomly but as this was an official Debian article specifically for my card I trusted it.
After step 3 of
# aptitude install linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,')
It removed a crap load of stuff, at which point I restored.
SO
After all that and several hours...
How do I install these drivers!?!