Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vulkan Vsync not working in games on recent Mesa drivers #1504

Open
njdom24 opened this issue Dec 10, 2024 · 0 comments
Open

Vulkan Vsync not working in games on recent Mesa drivers #1504

njdom24 opened this issue Dec 10, 2024 · 0 comments

Comments

@njdom24
Copy link

njdom24 commented Dec 10, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant