Ubuntu 20.04 : Unable to load the 'nvidia-drm' kernel

Hi folks,
I failed to install nvidia driver using NVIDIA-Linux-x86_64-535.154.05.run on my Ubuntu 20.04 system this morning.
At the end of the installation, an error occurs:

ERROR:Unable to load the 'nvidia-drm' kernel module.

I have installed the same NVIDIA driver before until I update the linux-kernel from 5.4.0 to 5.15.0,now the computer cannot use GUI,only command line is available.So I type all the information here word by word using my mobile phone.(a little unconvenient though)
This is really an emergemcy and I hope somebody could help me.
System information

$ uname -sr
Linux 5.15.0-101-generic
$ lsb-release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.6 LTS
Release: 20.04
Codename: focal

By the way, I updated the kernel by:

sudo apt install --install-recommends linux-generic-hwe-20.04

If you need more infos , I will reply in real time.Thanks a lot in advance!🙂

I figured it out myself referencing this post:

It seems that the nvidia driver was blacklisted somehow…

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