VRR broken in 6.5.3
Starting with kernel 6.5.3, VRR is broken for me. The environment is KDE on X11 with a single monitor. I'm testing with vrrtest
. I see the following messages continuously printed to the Xorg log file while vrrtest is running:
[ 64.431] (WW) AMDGPU(0): flip queue failed: Invalid argument
[ 64.431] (WW) AMDGPU(0): Page flip failed: Invalid argument
[ 64.431] (EE) AMDGPU(0): present flip failed
[ 64.438] (WW) AMDGPU(0): flip queue failed: Invalid argument
[ 64.438] (WW) AMDGPU(0): Page flip failed: Invalid argument
[ 64.438] (EE) AMDGPU(0): present flip failed
[ 64.445] (WW) AMDGPU(0): flip queue failed: Invalid argument
[ 64.445] (WW) AMDGPU(0): Page flip failed: Invalid argument
[ 64.445] (EE) AMDGPU(0): present flip failed
While this is happening, there's no new messages in dmesg
.
I looked through the change-log for 6.5.3, and as an experiment reverted the following commit and found that it seems to be causing my problem:
commit bf2681249928fbd44975af51d4798f29f7bc6bfe
Author: Hamza Mahfooz <hamza.mahfooz@amd.com>
Date: Fri Aug 4 11:13:04 2023 -0400
drm/amd/display: ensure async flips are only accepted for fast updates
With that commit reverted, VRR works and there's no warnings/errors in Xorg.0.log, but I get the warning message from issue #2733 in dmesg
:
amdgpu 0000:10:00.0: amdgpu: [drm] [PLANE:65:plane-5] async flip with non-fast update
Hardware description:
- GPU: Radeon RX 6700 XT
- Display(s): Gigabyte M28U, single monitor
- Type of Display Connection: DisplayPort
System information:
- Distro name and Version: ArchLinux
- Kernel version: 6.5.3-arch1
How to reproduce the issue:
Boot using kernel 6.5.3 to an Xorg desktop with single monitor and run vrrtest
. Visually confirm that VRR is working or not working. Check /var/log/Xorg.0.log
, check dmesg
.