Hi,
nvidia-smi
throws NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
.
I tried installing the 515 drivers like so:
apt purge '*nvidia*'
apt autoremove
apt autoclean
apt install --reinstall linux-headers-$(uname -r)
I rebooted at this point, then:
apt install nvidia-driver-515
And another reboot. I also tried different versions of the drivers, with the same result.
Performing prime-select nvidia
with update-initramfs -u
leads to a blank screen on the next boot.
nvidia-bug-report.log.gz (106.6 KB)
I tried reading the bug report myself, to no avail. Oh, and it mentions that
warning: the compiler differs from the one used to build the kernel
The kernel was built by: gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
You are using: cc (Ubuntu 11.2.0-19ubuntu1) 11.2.0
but (I think) that’s a false positive, the cc
is a symlink to gcc-11
.