Dell AW2725DF: VRR not working on wayland
Brief summary of the problem:
VRR does not seem to be working on this monitor in wayland. I have not been able to test on Xorg.
Sway and Hyprland both report the monitor as VRR Capable, and it can be enabled.
Even with sway reporting Adaptive sync: enabled
, the monitor does not change refresh rate, it stays locked at 360Hz.
When setting the monitor to 2560x1440@120Hz
, to stop it from using display stream compression, the monitor still does not change refresh rate.
I am aware of the issues with direct scanout and mouse cursor messing with VRR in sway, but I can replicate this on an empty workspace, without my mouse cursor moving, and without the app being fullscreen.
Hardware description:
- CPU: AMD Ryzen 7 5800X3D
- GPU: AMD RX 6700 XT
- System Memory: 32GiB
- Display(s): AW2725DF
- Type of Display Connection: DP
System information:
- Distro name and Version: Archlinux
- Kernel version: archlinux 6.7.5-arch1-1
- AMD official driver version: mesa 24.0.1
- Sway: 1.8.1
- Wlroots: 0.16.2
How to reproduce the issue:
- Launch sway
- Run
MANGOHUD_CONFIG="fps_limit=57,no_display" mangohud vkcube
and move vkcube on a workspace alone. This also works with glxgears. - Run drm_monitor
- Notice the refresh rate of the monitor is still 360Hz, instead of the expected 57Hz
I have tested this on both sway and hyprland. I have also verified that doing this on my second monitor (LG 27GL850) works correctly.
Log files
drm_info see connector 1