I’ve tried all sorts of suggestions from other topics here and the web, but whenever I install the nvidia graphics driver I either get the black screen or the purple screen after login.
I have uninstalled the nvidia-driver-515
sudo apt purge nvidia-driver-515
entered my bios and disabled secureboot (although I did have MOK installed when I ran apt install nvidia-driver-515, so dunno that that is the problem… we should be able to run stuff in secureboot)
Logged back in… and installed from the PPA graphics-drivers found at
deb Index of /graphics-drivers/ppa/ubuntu focal main
bu running
apt install nvidia-driver-515
which was the one recommended by running
sudo ubuntu-drivers devices
== /sys/devices/pci0000:00/0000:00:01.0/0000:01:00.0 ==
modalias : pci:v000010DEd00001C8Csv00001028sd0000087Cbc03sc02i00
vendor : NVIDIA Corporation
model : GP107M [GeForce GTX 1050 Ti Mobile]
driver : nvidia-driver-450-server - distro non-free
driver : nvidia-driver-510-server - distro non-free
driver : nvidia-driver-515-server - distro non-free
driver : nvidia-driver-470 - distro non-free
driver : nvidia-driver-418-server - distro non-free
driver : nvidia-driver-470-server - distro non-free
driver : nvidia-driver-390 - distro non-free
driver : nvidia-driver-515 - distro non-free recommended
driver : nvidia-driver-510 - distro non-free
driver : xserver-xorg-video-nouveau - distro free builtin
rebooted.
After that nvidia-smi reported no driver so I ran
sudo prime-select nvidia
and rebooted… On reboot I got a black screen, so from aother terminal prompt I gathered the nvidia-bug-report and output of nvidia-smi as attached.
Sun Aug 21 09:58:25 2022
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.65.01 Driver Version: 515.65.01 CUDA Version: 11.7 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... Off | 00000000:01:00.0 Off | N/A |
| N/A 49C P8 N/A / N/A | 11MiB / 4096MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 2212 G /usr/bin/gnome-shell 1MiB |
| 0 N/A N/A 3376 G /usr/lib/xorg/Xorg 7MiB |
| 0 N/A N/A 3572 G /usr/bin/gnome-shell 2MiB |
+-----------------------------------------------------------------------------+
I’m at my wits end. any help appreciated
Cheers
Karl