this maybe a beginner question so please excuse the circumstances. I try to follow phillims suggestion of compiling the 340xx drivers on my own. I downloaded the three compressed folders and unpacked them to home/ak/Schreibtisch/Treiber.
I didn´t know how to clone, thats why I unnecessary downloaded the zip. Know I have learned to insert
…
bash$ clone git <URL>
…
That had worked, but now I got puzzled:
…
[ak@Elitebook ~]$ git clone https://github.com/philmmanjaro/nvidia-340xx-dkms.git
fatal: path 'nvidia-340xx-dkms' already exists and is not an empty folder.
[ak@Elitebook ~]$ cd ../nvidia-340xx-dkms && makepkg -si
bash: cd: ../nvidia-340xx-dkms: data or folder not found.
…
Why is that?
PS.: I translate some parts of the console output myselv from german to english. Just in case you wonder about the spelling.
PPS.: I think I slowly learn how to do the citing right.
Now I know how to get to the log. The command is not “cd” but “less”. So I entered
…
less /var/lib/dkms/nvidia/340.108/build/make.log
…
solved a similar problem with reinstalling the dkms modules. What I don´t understand is, how that need to be done, when I just installed those modules.
They aren’t appropriate here; what you need to do is install the kernel headers:
sudo apt install linux-headers-$(uname -r)
To ensure they are installed with future kernel updates, install the meta-package too:
sudo apt install linux-headers-generic
Another possible solution. I am not quite sure if I want to tinker with the kernel.