MantisBT - Zandronum
View Issue Details
0002626Zandronum[All Projects] Bugpublic2016-02-10 09:072016-02-11 07:11
throwaway 
Torr Samaho 
normalminorN/A
assignedopen 
 
 
0002626: Implement uncapped framerate sutter fix for OpenGL
'http://forum.zdoom.org/viewtopic.php?f=2&t=46685 [^]'

The stutter is unbearable. Not much to say about this that isn't included in the forum post.
No tags attached.
Issue History
2016-02-10 09:07throwawayNew Issue
2016-02-10 09:41throwawayNote Added: 0014406
2016-02-10 09:42throwawayNote Edited: 0014406bug_revision_view_page.php?bugnote_id=14406#r8703
2016-02-10 09:46throwawayNote Edited: 0014406bug_revision_view_page.php?bugnote_id=14406#r8704
2016-02-10 10:05throwawayNote Edited: 0014406bug_revision_view_page.php?bugnote_id=14406#r8705
2016-02-10 10:47throwawayNote Edited: 0014406bug_revision_view_page.php?bugnote_id=14406#r8709
2016-02-10 10:55throwawayNote Edited: 0014406bug_revision_view_page.php?bugnote_id=14406#r8710
2016-02-10 12:45DuskNote Added: 0014408
2016-02-10 12:46DuskNote Edited: 0014408bug_revision_view_page.php?bugnote_id=14408#r8712
2016-02-10 12:46DuskSeverityfeature => minor
2016-02-10 12:46DuskCategorySuggestion => Bug
2016-02-10 19:39throwawayNote Added: 0014416
2016-02-11 07:11DuskAssigned To => Torr Samaho
2016-02-11 07:11DuskStatusnew => assigned

Notes
(0014406)
throwaway   
2016-02-10 09:41   
(edited on: 2016-02-10 10:55)
Actually, the patch linked there doesn't work. I fixed it.

'https://gist.github.com/anonymous/c5b3e71bf77b5e4f25ab [^]'

Testing this patch - it seems to produce the desired effect.

The only thing I can see causing complications is future merges affecting src/sdl/i_system.cpp.

edit: I assume this doesn't occur on Windows, due to not using SDL.

edit 2: The above patch only works on the zandronum-stable repo - which doesn't need the patch anyway, as the stuttering was introduced in GZDoom's renderer around the time of ZDoom 2.7 if I remember correctly. I'm currently working on making the patch compatible with the zandronum repo. Really shouldn't be hard.

edit 3: The below patch works in the current zandronum repo, and produces the desired results (removing the stutter).

'https://gist.github.com/anonymous/86f8d963dad4fb213a44 [^]'

(95% of the time spent adapting it was dealing with FMod)

(0014408)
Dusk   
2016-02-10 12:45   
(edited on: 2016-02-10 12:46)
The patch seems identical to me, aside from the context. Does this mean we could just transplant'https://bitbucket.org/Torr_Samaho/zandronum-zdoom-sync/commits/af5f4056846562ae1111b5f1b2764755d22e2f66 [^]' to fix this?

(0014416)
throwaway   
2016-02-10 19:39   
Yeah, that should work. It's what I changed, and the stuttering disappeared.