http://bugs.winehq.org/show_bug.cgi?id=58143
Bug ID: 58143 Summary: Variable refresh rate does not work properly with winewayland. Product: Wine Version: 10.6 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winewayland Assignee: wine-bugs@winehq.org Reporter: jogamer1@protonmail.com Distribution: ---
When using Wine's wayland backend, variable refresh rate is not working properly according to the monitor's built in refresh rate counter. It works fine on xwayland.
Steps to reproduce:
1. Have a monitor and GPU that supports VRR 2. Set up a framerate limiter such as Mangohud, cap the game to a framerate within the monitor's VRR range (most 1080p 144hz monitors with VRR/Freesync/G-Sync have a range of 144hz to 48hz). 3. Launch a game in native wayland mode with 'MANGOHUD=1 DISPLAY= wine game.exe' (assuming dxvk is set up and your GPU supports Vulkan), make sure the game is in fullscreen. 4. Cap the game's framerate, if your monitor has a refresh rate on-screen display watch it spike from the framerate you capped it at to the monitor's max refresh rate. 5. Test it again with xwayland wine in fullscreen 'MANGOHUD=1 wine game.exe', cap the framerate and actiavte the monitor's refresh rate on-screen display. It will stay at/around the game's capped framerate.
Using KWin Wayland 6.3.4, Kernel 6.14 Mesa 25.0.3, AMDGPU RX 6000 graphics with a 144hz monitor connected via Display Port. Most Unity engine games launch fine in wayland mode for games to test.