[Ohrrpgce] [ohrrpgce/ohrrpgce] Fix screen tearing (#617)

Ralph Versteegen notifications at github.com
Mon Aug 31 05:03:24 PDT 2020


Closing. I'm not sure there was actually ever anything we needed to do to fix this; I think simply running on a window manager that uses compositing is enough to avoid tearing.

I tested flickertest.rpg under gfx_directx, gfx_sdl, gfx_sdl2 and gfx_fb on Win10 and none had any screen tearing while running in a window. IIRC gfx_fb tore while running fullscreen, and gfx_directx tore (at least in fullscreen, can't remember about windowed) if you purposefully disabled vsync. Running to 60fps seemed to work properly too. 

I tried flickertest.rpg under Linux/X11/KDE/radeon (opensource AMD drivers), and vsync and framerate control work properly under gfx_sdl/sdl2, but gfx_fb seems to be dropping half the frames in the backend (not in allmodex; Draw and Display FPS are both 60fps). At least it doesn't tear. I'm filing that as a new bug. Not because we care, but because it might be a FB bug to report. Needs investigation.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/ohrrpgce/ohrrpgce/issues/617#issuecomment-683736580
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.motherhamster.org/pipermail/ohrrpgce-motherhamster.org/attachments/20200831/b7198e5c/attachment.html>


More information about the Ohrrpgce mailing list