Sometimes Gsync doesn't work until Mutter is restarted
Affected version
- Arch Linux
- Mutter 42.2-1
- Nvidia 515.48.07-7
- XOrg 21.1.3-7
Bug summary
I've noticed with recent updates that sometimes Gsync does not work properly until I restart Mutter using Alt-F2, r. I've usually noticed this after a weird glitch where pressing the Meta key to go into the overlay gets stuck on a gray screen that only contains the top panel bar. After that, I'll launch a game, check my monitors reported refresh rate and see that its running at the full 120Hz instead of being lock-step with the game's refresh rate. When I restart Mutter, Gsync immediately starts working again and the monitor reports the game's refresh rate.
Hardware:
- Samsung CRG9 connected via DisplayPort, Gsync-compatible enabled in Nvidia Settings
- Nvidia 3090
Steps to reproduce
- Not sure how to trigger bug, but usually occurs after the above-mentioned glitch
- Start a game
- Use your monitor's built-in refresh rate reporter to see what VRR refresh rate your monitor is currently at. If the bug is triggered, it will report the full refresh rate of your monitor instead of the game's refresh rate.
- Restart Mutter using Alt-F2, r. Notice that monitor is now reporting the game's refresh rate.
What happened
Mutter sometimes seems to block VRR from working until it is restarted.
What did you expect to happen
Gsync should work all the time.
Relevant logs, screenshots, screencasts etc.
Edited by Benjamin Xiao