Hello! Title says it all. I have reported this issue before but wasn't (and am still not exactly) able to nail down a cause of what it could be. Simply put, turning on vsync causes some very noticeable frame stuttering at any frame rate and well under what my Mac can max out at. In DOOM II, I usually get about 400 FPS at the beginning stage on my monitor, but locking it to my monitor's refresh rate of 100 causes stutters. Now, just limiting the frame rate to 100 and turning vsync off eliminates the stutters, but introduces some distracting tearing. My solution for playing right now is simply letting the frames run wild and dealing with the occasional screen tearing, but I would love to be able to play with vsync enabled.
I'm running GZDoom 4.9 using MacOS 13 on an M1 Max Mac Studio.
Thank you.
Vsync in MacOS Causes Frame Stutter
Moderator: GZDoom Developers
Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.
If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.
Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.
If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.
Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
-
- Posts: 14
- Joined: Thu Jun 23, 2022 1:14 am
- Graphics Processor: Apple M1
-
-
- Posts: 3797
- Joined: Sun Aug 07, 2011 4:32 am
Re: Vsync in MacOS Causes Frame Stutter
Apple broke VSync again. Early versions of Monterey had exactly the same bug. Nothing we can do about it.
-
- Admin
- Posts: 13256
- Joined: Tue Jan 13, 2004 1:31 pm
- Preferred Pronouns: She/Her
Re: Vsync in MacOS Causes Frame Stutter
Things were great in Monterey at the end, I wish they hadn't moved forward with Ventura.
-
- Posts: 14
- Joined: Thu Jun 23, 2022 1:14 am
- Graphics Processor: Apple M1
Re: Vsync in MacOS Causes Frame Stutter
This stutter was still occurring in Monterey, even late version. Vsync does not have this issue in VKQuake. I’m really just curious as to what’s causing it, because the new Resident Evil 8 port runs smooth as butter on my Mac.
-
-
- Posts: 3797
- Joined: Sun Aug 07, 2011 4:32 am
Re: Vsync in MacOS Causes Frame Stutter
What renderer are you using, OpenGL or Vulkan?
-
- Posts: 14
- Joined: Thu Jun 23, 2022 1:14 am
- Graphics Processor: Apple M1
-
-
- Posts: 3797
- Joined: Sun Aug 07, 2011 4:32 am
Re: Vsync in MacOS Causes Frame Stutter
It seems to be this issue. Although, I have no idea why VKQuake works fine.
Can you set vid_nativefullscreen CVAR to true and restart GZDoom to check if it changes something?
Can you set vid_nativefullscreen CVAR to true and restart GZDoom to check if it changes something?
-
- Posts: 14
- Joined: Thu Jun 23, 2022 1:14 am
- Graphics Processor: Apple M1
Re: Vsync in MacOS Causes Frame Stutter
Hmm that didn't seem to affect it at all. Here's a clip of what it looks like for me, in slow motion though so it comes across clearer. I spotted about 9 stutters/hitches in this clip. You'll notice the frame time graph doesn't actually reflect these stutters, which is very odd to me. https://imgur.com/a/UaQXINd_mental_ wrote: ↑Tue Nov 15, 2022 1:54 am It seems to be this issue. Although, I have no idea why VKQuake works fine.
Can you set vid_nativefullscreen CVAR to true and restart GZDoom to check if it changes something?