Screen Flickering After Update to Kernel 5.9.1
Brief summary of the problem:
I upgraded to Linux Kernel 5.9.1 today, and after the upgrade the screen flickers with black bands across the screen. They get worse when I move the mouse or type on the keyboard. I have tried to force mode setting in my boot parameters (using "video=DP-1:2560x1440@144") but that does not help. I upgraded from kernel 5.8.9 which did not exhibit the issue.
The flickering stops if I lower the refresh rate from 144Hz down to 60Hz. Anything above 60Hz (75 and 120Hz) exhibits the same issue.
I get several amdgpu errors in dmesg (entire dmesg amdgpu entries attached):
[ 4.822286] [drm:amdgpu_dpm_enable_uvd [amdgpu]] *ERROR* Dpm enable uvd failed, ret = -5.
[ 4.839791] amdgpu 0000:0c:00.0: amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
[ 4.839793] amdgpu 0000:0c:00.0: amdgpu: Failed to power ungate JPEG!
[ 4.839851] [drm:jpeg_v2_0_set_powergating_state [amdgpu]] *ERROR* Dpm enable jpeg failed, ret = -5.
...
[ 4.992052] amdgpu 0000:0c:00.0: amdgpu: SMU11 attempt to set divider for DCEFCLK Failed!
[ 4.992054] amdgpu 0000:0c:00.0: amdgpu: Msg issuing pre-check failed and SMU may be not in the right state!
Please let me know if there is anything I can try to help fix this or if you need additional info.
Hardware description:
- GPU: PowerColor Red Devil 5700XT
0c:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 [Radeon RX 5600 OEM/5600 XT / 5700/5700 XT] (rev c1) (prog-if 00 [VGA controller])
Subsystem: Tul Corporation / PowerColor Device 2398
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 75
IOMMU group: 18
Region 0: Memory at e0000000 (64-bit, prefetchable) [size=256M]
Region 2: Memory at f0000000 (64-bit, prefetchable) [size=2M]
Region 4: I/O ports at e000 [size=256]
Region 5: Memory at fcb00000 (32-bit, non-prefetchable) [size=512K]
Expansion ROM at fcb80000 [disabled] [size=128K]
Capabilities: <access denied>
Kernel driver in use: amdgpu
Kernel modules: amdgpu
0c:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 HDMI Audio
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin B routed to IRQ 89
IOMMU group: 19
Region 0: Memory at fcba0000 (32-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
- Display(s): LG 32GK850F-B 2560x1440p 144Hz (only monitor connected)
- Type of Diplay Connection: DisplayPort
System infomration:
- Distro name and Version: Arch Linux
- Kernel version: 5.9.1-arch1-1
- Custom kernel: N/A
- AMD package version: No package
How to reproduce the issue:
There are no special steps to reproduce the issue. As soon as I boot the system, the flickering starts before I enter a desktop environment. Whatever desktop environment / window manager I use exhibits the issue.
The flickering stops if I downgrade to my last kernel (5.8.9-arch2-1) or lower the refresh rate to 60Hz.
Attached files:
- Dmesg logdmesg.txt
- Video capture from a webcam of the flickeringvideo.webm