systemshock icon indicating copy to clipboard operation
systemshock copied to clipboard

Flicker issues in OpenGL mode

Open mrikola opened this issue 5 years ago • 2 comments

See for example https://www.youtube.com/watch?v=EEFMLmsVhr8

mrikola avatar Mar 26 '20 18:03 mrikola

Actually, IMO, something has gone wrong with both the OpenGL and Software rendering frame handling. It is like it is showing a newer rendered frame, then an older frame after that, etc. As if moving forward, moving back a little, then forward again. I would be curious about playing ingame recorded footage at like quarter speed, to better determine what is happening.

The original game is more easy for the eyes.

Edit: Seems the thing I am describing is not always happening, but occasionally.

Gerwin2k avatar Jan 03 '21 00:01 Gerwin2k

Two years later: The issue on my WIN32 system was caused by SDL_RENDERER_PRESENTVSYNC. When I disable that it finally became playable/enjoyable. The issue was both with plain SDL rendering and OpenGL. I added an option to toggle it in my local build: MacSrc\Shock.c, line 220

    if (gShockPrefs.vsync) renderer = SDL_CreateRenderer(window, -1, SDL_RENDERER_PRESENTVSYNC); // GB 2023 vsync option
    else                   renderer = SDL_CreateRenderer(window, -1, 0);

Gerwin2k avatar May 31 '23 00:05 Gerwin2k