MangoHud
MangoHud copied to clipboard
Vulkan Vsync not working in games on recent Mesa drivers
Do not report issue for old MangoHud versions
Describe the bug
Upon upgrading my OS install and going from Mesa 24.0.7 to 24.2.6, MangoHud's vsync option no longer does anything in games (tested with Like a Dragon Gaiden, but seemingly working with vkcube), and I need to use MESA_VK_WSI_PRESENT_MODE instead.
List relevant hardware/software information
- Linux Distribution NixOS 24.11
- MangoHud version 0.7.2
- GPU AMD RX 5700 XT
To Reproduce Steps to reproduce the behavior:
- Set
MANGOHUD=1 MANGOHUD_CONFIG="vsync=3" %command%for Steam game - FPS goes above monitor refresh rate, poor pacing
- Relaunch game with
MESA_VK_WSI_PRESENT_MODE=fifo %command% - Vsync works as expected
Expected behavior Vsync option should be respected globally, regardless of game settings. Vsync being disabled in game settings shouldn't impact it, if that's what is happening here.
Screenshots N/A
Additional context I dug up this Mesa issue, which has some potentially-relevant discussion