The following does not work: https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-20-04-focal-fossa-linux
It also has no mention of testing the result works.
This is my test:
$ nvidia-smi
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 have done this many times in the past and am referring to my old notes but nothing is working.
I am purging nvidia nad cuda in between.
I am running purely on command line so I only care about the minimal command line instructions.
Am wondering if something has changed with the paths in 20.04. There is this weird file
cat /usr/lib/nvidia/alternate-install-available
The NVIDIA driver provided by Ubuntu can be installed by launching the "Software & Updates" application, and by selecting the NVIDIA driver from the "Additional Drivers" tab.
And I should mention I am running in headless mode (no monitor attached) so if there are any weird triggers that the monitor usage happens to trigger that would be useful to know. This did not use to be the case as I have installed on servers in the past.
And I have a GeForce RTX 2070 … maybe that is the issue. Not sure yet.