VRR breaks on renoir graphics.
Brief summary of the problem:
VRR breakage to do with renoir .
starting with 6.4.11~ and 6.1.46 ,In an X11 environment when the display is connected to the IGP, and using DRI_PRIME to select the a dgpu, freesync will not activate and instead will activate when the compositor reactivates, however This could be mitigated by enabling sg_display.
starting with 6.1.53, this bug happens even without using DRI_PRIME, and enabling sg_display, no longer mitigates the issue.
I also tested the amd-drm-fixes-6.6-2023-09-20 tag in amd-drm-next, and the same behaviour is observed.
this does not happen with the monitor connected to the wx9100 on the same machine . though if DRI_PRIME is used to select the IGP, VRR is also non-functional,
Hardware description:
- CPU: 5600G
- GPU: renoir/wx9100
- System Memory: 64gb ddr4
- Display(s): Asus TUF VG27A
- Type of Display Connection: displayport
System information:
- Distro name and Version: arch linux
- Kernel version: 6.1.53 6.5.3+
- Desktop environment: KDE
- Mesa 23.2.1
How to reproduce the issue:
Running a full screen application with , with X compositor disabled, will result in adaptive sync not activating, But upon re enabling of compositor adaptive sync will enabled leading to poor desktop performance aka 48hz at idle ., Turning on and off the compositor again , will restore desktop performance.
logs
Xorg.0.log-linux-lts-6.1.53-renoir Xorg logs indicate a failure to do a page flip. nothing appears in dmesg