RTX 3060 Mobile Linux nvidia-smi error

I have MSI laptop with GeForce RTX 3060 on-board.
The command:


gives the following 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.

My laptop specs are the following:

Laptop: MSI sword GF76 A11UE
CPU: Intel Core i5-10500H Processor
GPU: GeForce RTX3060 Laptop/6GB GDDR6
OS: Ubuntu 20.04.3 LTS
And using:

uname -s -r

I get:

Linux 5.16.0-051600rc5-generic

Here nvidia bug report
nvidia-bug-report.log.gz (151.1 KB)

install 460.84 driver

I installed 460.84 driver before and it didn’t work too.
if i input nvidia-smi the same messages occured.

how do u install it? step by step after installing fresh ubuntu

The bug-report.log is from a 5.4 kernel where the 510 driver worked fine. Telling by the kernel name
you tried to install an incompatible kernel built for 22.04 so the driver doesn’t compile. Please remove the incompatible kernel, return to the stock kernel and if you need a current kernel, please use the liquorix ppa instead.