Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • EDuke32 EDuke32
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 96
    • Issues 96
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Richard Gobeille
  • EDuke32EDuke32
  • Issues
  • #161

Closed
Open
Created Jul 04, 2021 by Jordon Moss@StrikerTheHedgefoxDeveloper

Engine: Possible stutter fix

For some time, I know we've been trying to figure out a way to resolve stuttering/frame pacing issues in Windows 10 (seems related to desktop composition, which gets disabled by eduke32 in Windows 7).

About a month ago, I tried to resolve this by calling dwmapi_DwmFlush() after calling SDL_GL_SwapWindow, and lo and behold, it worked very nicely. However, this has the effect of preventing the framerate from ever going above your refresh rate, regardless of the setting of r_maxfps.

I suggest giving this a try, and sending builds out to people experiencing frame stuttering, see if it works out.

Assignee
Assign to
Time tracking