I have installed ubuntu 20.04 on my external drive. I have an Nvidia graphics card of "01:00.0 VGA compatible controller: NVIDIA Corporation GA107M [GeForce RTX 3050 Mobile] (rev a1)."I have tried installing and running the Nvidia driver many times but have not succeeded.
I was able to install the Nvidia driver through the Linux command.
sudo apt install nvidia-driver-470
But when I tried to run Nvidia-semi
then, it gave me an error -
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 also tried to switch to Nvidia drivers by selecting the additional driver's options in software and update, but it gave me the same error. I tried to install Nvidia driver 515 from the official Nvidia website but at the end of the installation process, it asked me to
An X.509 certificate containing the public signing key will be installed to /usr/share/Nvidia/Nvidia-mod sign-crt-E4B26CB6.der.
The SHA1 fingerprint of this certificate is:E4:B2:6C:B6:5C:AB:E7:CB:68:B5:15:6A:F9:F1:24:0B:7C:6E:47:D3.
This certificate must be added to a key database trusted by your kernel for the kernel to verify the module signature. I didn't find anywhere how to do this?
Could you please help me to install and run the driver successfully?
lsmod | grep nvidia
to check nvidia driver had been installed? – laudai Jul 20 '22 at 09:37