flyinghead / flycast

Flycast is a multiplatform Sega Dreamcast, Naomi, Naomi 2 and Atomiswave emulator
GNU General Public License v2.0
1.45k stars 174 forks source link

When using Full Framebuffer Emulation, pausing and resuming in flycast causes temporary screen corruption #1079

Open kihato opened 1 year ago

kihato commented 1 year ago

Platform / OS / Hardware: Windows11 / i7-10700F / GTX 1660 SUPER

Github hash: e94babe

Occurs with graphics APIs except Vulkan for the following games.

D2: loaded photo Densya de Go 2 3000-Bandai: Screen display during play Sweet Season: OMAKE - CG Mode - transition effect

It happens just by pausing it, but it's not permanent and seems to return to normal over time.

flyinghead commented 1 year ago

Yes, this is a known issue. It's intermittent and depends on the GPU and API used. It's due to a synchronization problem between the renderer and the emulator threads when handling vblank.

Switching to single-thread mode fixes the issue (obviously).