Problem Installing Nvidia 510 driver on Ubuntu 20.04.4

Hey!
I need to put driver on rtx 3080 graphics card.
When using driver 510 or 470, loading ends with the message “/dev/sdb4 : clean…”

I am on Ubuntu 20.04.4 LTS, kernel 5.13.0-39-generic x86_64

nvidia-smi shows output:
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

lspci -k | grep -EA2 ‘VGA|3D’:
00:02:0 VGA compatible controller: Intel Corporation Device 4c8a (rev 04)
DeviceName: Onboard - Video
Subsystem: Micro-Star International Co., Ltd. [MSI] Device b926

01:00.0 VGA compatible controller: NVIDIA Corporation Device 2216 (rev a1)
Subsystem: Micro-Star International Co., Ltd. [MSI] Device 3896
Kernel modules: nvidiafb, nouveau, nvidia_drm, nvidia

nvidia-bug-report.sh output:
nvidia-bug-report.log (101.8 KB)

Secure boot is enabled and the i915 driver is also loading to late.
Please try embedding it into the initrd, i.e.
add the lines
i915
nvidia
nvidia-modeset
nvidia-drm
to
/etc/initramfs-tools/modules
and run
sudo update-initramfs -u
then disable secure boot in bios.

1 Like

I am new to ubuntu but this is a miracle. It is very interesting that due to secure boot, the video driver was not connected.
Thanks a lot for your help

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.