I was trying to install current drivers for my NVIDIA so software can use the power of GPU.
sudo apt install nvidia-driver nvidia-cuda-toolkit
I've ended up with 520.* drivers and CUDA 11.8 so I was happy as I couldn't finish the installation for them yesterday (can install only 470.* and got some error messages: one time from hashing software and other time from
nvidia-smi about mismatching driver version). I've got also issues with double monitor setup (I couldn't end up with configuration that second monitor is recognized and CUDA capabilities available).
So now I have 520.* drivers with CUDA 11.8. I'm booting to Linux (Kali, Debian), unlocking the drive (I can use backspace to delete passphrase characters) and when GUI kicks in with login prompt - no input is accepted. Typing on keyboard doesn't do anything, Ctrl+Alt+Del neither. Both notebook and standalone keyboard (via USB). Mouse cursor doesn't move.
How can I troubleshoot that? I was working with removing and installing
nvidia-* packages and
xserver-* packages so many times over past day I would like some more experience input.
Ok I've searched for logs as @Robidu pointed out, got some screens. After that I've removed
nvidia-cuda-toolkit packages. Now when I boot up I'm seeing following error on the console that it can't start Light Display Manager.
I've installed the
cuda package downloaded directly from nvidia site, as @hex described - results in the original error: I stuck at GUI login with both keyboard and mouse not responding.
So I have
purge --autoremove metapackages
kali-linux-core and reinstalled them again - to no avail. At this point I'm going to try reinstall the system partitions (I have home at separate one).
I've reinstalled the system leaving my /home and /boot intact. Then I've followed the guide on restoring the
/etc/crypttab. Still got the same issue on GUI. But this time I've switched to terminal view and started entering volume password. After 9 seconds my screen was flooded with following, repeated line:
[9.7XXXXXX] nouveau 0000:01:00.0: mc: intr 00000040
XXXXXX stands for fractions of second. I'm too tired for today and gonna check later what that