RTX 3050Ti not working with Ubuntu 20.04 Kernel 5.15-rc7

Hello,
I have been trying to install nvidia drivers on my laptop, the installation seems fine but nvidia command doesn’t work at all

nvidia-smi

giving the 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.

I used this command to install driver

sudo apt install nvidia-driver-470

run

sudo prime-select nvidia

selecting the nvidia-drivers-470 at `additional drivers’, then rebooting but without any affect, Laptop still uses “Intel Graphic”.
My laptop configuration is at follow

  • Laptop ASUS TUF F15

  • CPU: Intel® Core™ i5-11400H

  • GPU: RTX3050Ti

  • OS: Ubuntu 20.04.3 LTS

  • Kernel: 5.15.0-051500rc7-generic

I attached bug report for checking
I hope that receive and any support from all! Thanks in advance
nvidia-bug-report.log.gz (123.9 KB)

1 Like

You’re running a kernel built for 21.10 which has a dependency on glibc 2.33 so modules can’t be compiled.

1 Like

That’s really annoying. I had the same issue with my 3060 laptop. If I do not update the kernel to 5.15 then my wifi driver is not available.

1 Like

We overcame this issue by using a “custom” kernel from https://liquorix.net
was able to solve all the issues together (wifi and nvidia)
So, on a fresh install of Ubuntu 20.04 ( there will be no internet, so we may use USB tethering between laptop and Android Phone) and by just following the two steps in the site: Liquorix Kernel
Driver issues will be resolved