Problem installing drivers for Ubuntu 20.04 (NVIDIA RTX 3050 laptop)

Hi I’m having trouble installing drivers on Ubuntu 20.04.

Laptop specs: NVIDIA RTX 3050 for laptops and integrated graphics from Intel.

The essence of the problem is that after installing any version of the drivers visible through the command (ubuntu-drivers list), the system does not see them (the screenshot shows that it is installed, but the system does not see it even after a reboot). That is, not in “Settings” - “About the system” (it says Mesa Intel® Xe Graphics (TGL GT2)), not in the console (the nvidia-smi command gives the following: NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.)

The following steps have been taken:

sudo bash -c “echo blacklist nouveau > /etc/modprobe.d/blacklist-nvidia-nouveau.conf”
sudo bash -c “echo options nouveau modeset=0 >> /etc/modprobe.d/blacklist-nvidia-nouveau.conf”
sudo update-initramfs -u

Replaced system core with HWE as suggested here How to properly configure NVIDIA driver in Ubuntu 18? - #10 by generix.
(sudo apt install --install-recommends linux-generic-hwe-20.04
The newest version of linux-generic-hwe-20.04 (5.13.0.35.40~20.04.20) is already installed.)

lspci -v | grep VGA
0000:00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01) (prog-if 00 [VGA controller])
DeviceName: VGA
0000:01:00.0 VGA compatible controller: NVIDIA Corporation Device 25a2 (rev a1) (prog-if 00 [VGA controller])
DeviceName: Second VGA

Thanks for the help.

Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post.

Provide nvidia-bug-report.

nvidia-bug-report.log.gz (363.6 KB)

Please check if this helps:
https://forums.developer.nvidia.com/t/linux-mint-nvidia-driver-loads-with-startx-but-not-on-initial-startup/168262/2?u=generix

Hello @podkolzindanil46 and welcome to the NVIDIA developer forums.

Looking at the log I see that the latest /var/log/Xorg.1.log file lists kernel 5.4, which might be an issue. Maybe you want to remove old kernel images if possible?

The install/uninstall log also shows an abort and other irregularities. It might make sense to do another driver purge/reinstall cycle to have a clean driver installation.

Are you using secure boot (in your BIOS settings)? The general advice in the forums is to disable that when using tested drivers from the “Additional drivers” tab in Ubuntu. You can also use secure boot, but then you will need to take special care to authenticate the driver during installation.