Hendricks266, on 07 December 2019 - 05:54 PM, said:
Did you try the different values of the setting mentioned in the r8031 commit message?
------------------------------------------------------------------------
r8031 | terminx | 2019-08-16 04:11:22 -0500 (Fri, 16 Aug 2019) | 6 lines
Add r_swapcomplete cvar to control what happens after SDL_GL_SwapWindow()
0: do nothing
1: glFinish()
2: busy loop until currentVBlankInterval
3: glFlush()
------------------------------------------------------------------------
Nope, I just tried all of those and they make no difference, I still have horrendous stuttering
Also, for some reason "r_swapcomplete 3" doesn't register for me, it just shows "r_swapcomplete 2" when I press enter.
Here's my original bug report that I made for this issue:
https://forums.duke4...-vsync-enabled/
Like I said there, it only seems to get really bad when enemies are on screen or I enter a new area, almost as if it's a streaming issue. But if I set the frame rate limiter to the same value as my refresh rate, then make the offset -1 it's totally smooth!
Starting with 8031 is where the problem shows up. When I play with the FPS displayed I can see that the frames jump wildly above & below my refresh rate when the stuttering occurs. 8030 is completely smooth and never hitches or stutters w/ vsync enabled.