Flickering snow on Laptop Screen in Ubuntu 20.04 with 470 drivers

I have a Lenovo Legion 5 15ARH05H laptop with an RTX 2060, that I installed Ubuntu 20.04 on.

I am experiencing problem of flickering white snow on laptop screen on first setting of graphic card in bios. First choice enable work on both Nvidia RTX 2060 and AMD graphic card build in CPU. Second setings enable only usage of Nvidia graphic card. This trouble manifest only on first setting. The error occurred first after driver update on day 19.01.2022. The operating system was installed around 08.01.2022. When working on first setting external display on HDMI works fine bot laptop display flicker terribly. In this state laptop display not always is recognized by operating system. Before start of flickering on laptop display is shown message:

[ 4.388915] nvidia-gpu 0000:01:00.3: i2c timeout error e0000000

[ 4.388926] ucsi_ccg 3-0008: i2c_transfer failed -110

[ 4.388991] ucsi_ccg 3-0008: ucsi_ccg_init failed - -110

I cheeked this setting on Windows 10 operating system and there is no issue.

How can I fix this problem?

uname -a

Linux Lenovo-Legion-5-15ARH05H 5.13.0-27-generic #29~20.04.1-Ubuntu SMP Fri Jan 14 00:32:30 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

Please let me know if there are any further details I should provide.
nvidia-bug-report.log.gz (264.2 KB)

Thank you for your time, appreciate it!

I have (I think) exactly the same problem: I get flickering pattern on my laptop display, but perfectly fine output through a monitor via HDMI.

I am using nvidia-driver-470 (470.86) and kernel 5.13.0-27-generic which was recently installed on my system (prior kernel was 5.11.0-46-generic - which functions correctly).

apt show --installed nvidia-driver* | grep "Version"
Version: 470.86-0ubuntu0.20.04.2

And these are the two graphics chipsets in my laptop:

lspci | grep "VGA"
01:00.0 VGA compatible controller: NVIDIA Corporation TU106 [GeForce RTX 2060] (rev a1)
05:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Renoir (rev c5)

The other versions of the nvidia proprietary driver that are available via Software & Updates (460, 495) fail in the same fashion.

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

This is an example of what I see on my laptop screen (no external monitor attached in photo):

I get similar errors reported via journalctl -p 3 -r -b however these errors are also present if I use the 5.11.0-46 for which both displays work correctly.

Jan 22 14:12:55 ... kernel: [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
Jan 22 14:12:55 ... kernel: [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
Jan 22 14:12:55 ... kernel: [drm:nv_drm_master_set [nvidia_drm]] *ERROR* [nvidia-drm] [GPU ID 0x00000100] Failed to grab modeset ownership
Jan 22 14:12:36 ... kernel: ucsi_ccg 2-0008: ucsi_ccg_init failed - -110
Jan 22 14:12:36 ... kernel: ucsi_ccg 2-0008: i2c_transfer failed -110
Jan 22 14:12:36 ... kernel: nvidia-gpu 0000:01:00.3: i2c timeout error e0000000

You’re in hybrid graphics mode, please delete /etc/X11/xorg.conf and reboot.

Delete of /etc/X11/xorg.conf and reboot do not solved this error.

Please create a new nvidia-bug-report.log.

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

The internal screen is driven by the amd gpu andthat driver has been upgraded by the kernel update to 5.13. Maybe that introduced a bug. Please check if you still have the previous 5.11 kernel available in grub menu and boot into that.

1 Like

Yes I booted 5.11 kernel from grub. When on this kernel external display was not detected. Internal display works fine. When starting nvidia-settings there are only tow buttons “help” and “quit”.
nvidia-bug-report.log.gz (98.2 KB)

Looks like the 5.13 kernel has a bug regarding amdgpu. Please report it in the ubuntu bug tracker.
For now, please stick to 5.11 and reinstall headers
sudo apt install linux-headers-$(uname -r)
then reinstall the nvidia driver using Software&Update.