MangoHud icon indicating copy to clipboard operation
MangoHud copied to clipboard

Vulkan Vsync not working in games on recent Mesa drivers

Open njdom24 opened this issue 1 year ago • 0 comments

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:

  1. Set MANGOHUD=1 MANGOHUD_CONFIG="vsync=3" %command% for Steam game
  2. FPS goes above monitor refresh rate, poor pacing
  3. Relaunch game with MESA_VK_WSI_PRESENT_MODE=fifo %command%
  4. 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

njdom24 avatar Dec 10 '24 15:12 njdom24