Nvidia driver 495 stoppped working after last ubuntu 20.04 LTS auto update

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

My laptop is a Lenovo ideapad Gaming 3
My attached (HDMI) monitor has no signal
If I start NVIDIA X Server it just opens a blank screen
nvidia-smi 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.”

The Nouveau driver is OK-ish, but if I use it it crashes my system once a day, plus it cannot handle my big attached monitro properly.

You’ve booted into a manually installed 5.12.9 kernel which doesn’t have the driver installed. Please switch to the stock 5.13.0-27 kernel in grub menu.

Thanks for your help. The kernel is now:

uname -r
5.13.0-27-generic

Driver seems to be working now, but I only see my attached (HDMI) monitor. The display of the laptop is not recognized properly. It is on but in the display setting it looks like I only have 1 display (the attached one)

I am attaching a new bugreport log.
nvidia-bug-report.log.gz (264.1 KB)

Please delete /etc/X11/xorg.conf

After reboot, both displays are detected, but the laptop display shows strange flickering. See the attached pic.

That’s a bug in the amdgpu driver introduced in the current ubuntu 5.13 kernel which affects some AMD cpus. Please check if you also have the old 5.11 kernel available in grub.

I have linux-image-5.11.0-46-generic, I will try that.

Is there a bug report for that issue so I can watch if it is fixed?

generix via NVIDIA Developer Forums <nvidia@discoursemail.com> ezt írta (időpont: 2022. jan. 26., Sze, 13:15):

https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1947453

seems to be resolved with 5.13.0-28-generic release

Hi, i have exact same problem (AMD cpu + nvidia GPU) white flickering on laptop display but attached hdmi display works fine. Did you figure out how to fix it on 5.13 kernel or still using 5.11? (My 5.11 kernel stopped recognizing hdmi)

@user165773 You’ll likely have to reinstall the header files
sudo apt install linux-headers-$(uname -r)
for the 5.11 kernel

With the new Ubuntu update the 5.13.0-28-generic kernel solved the issue as you explained.

Thanks for your help and have a nice day.

generix via NVIDIA Developer Forums <nvidia@discoursemail.com> ezt írta (időpont: 2022. febr. 7., H, 10:37):