White Flashes On Screen when GPU is active

I brought a Lenovo Legion Slim 5 Notebook that comes with a GeForce RTX 4060 Laptop GPU, coupled with AMD Radeon integrated graphics.

The screen flashes white whenever the GPU is active.

External displays work fine even when the laptop screen is flashing.

We suspect there is some issue with the Nvidia driver on Ubuntu because the problem cannot be duplicated on the original Windows OS that ships with the laptop. We are unfortunately unable to fix the issue with Lenovo Support because Linux is not supported.

We are running:

LSB Version: core-11.1.0ubuntu4-noarch:printing-11.1.0ubuntu4-noarch:security-11.1.0ubuntu4-noarch
Distributor ID: Ubuntu
Description: Ubuntu 22.04.4 LTS
Release: 22.04
Codename: jammy

Attached is the debugger log.
nvidia-bug-report.log.gz (441.0 KB)

Any help is appreciated.

It’s a known amdgpu driver bug
https://gitlab.freedesktop.org/drm/amd/-/issues/3313
Please try using the liquorix ppa to update to the latest kernel to check for the bug being fixed or set the mentioned kernel parameter amdgpu.sg_display=0 for a workaoround.

How can we be certain that this is the bug and there is a fix? The way the problem shows up in my case is different from what is described over here.

For me, it happens whenever a GPU intensive process is running and can be fixed by simply logging out and back in again. Sometimes, toggling off full screen mode would also alleviate the problem.

It’s in the log:

[  871.408079] amdgpu 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffdba008000 flags=0x0000]
[  871.408102] amdgpu 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffdba064000 flags=0x0000]
[  876.408734] amd_iommu_report_page_fault: 117170 callbacks suppressed
[  876.408759] amdgpu 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffdba000000 flags=0x0000]
[  876.408786] amdgpu 0000:05:00.0: AMD-Vi: Event logged [IO_PAGE_FAULT domain=0x0005 address=0xffdba001000 flags=0x0000]

Also, it’s fairly simple to just set the kernel parameter to confirm.

1 Like