libretro / parallel-n64

Optimized/rewritten Nintendo 64 emulator made specifically for Libretro. Originally based on Mupen64 Plus.
327 stars 128 forks source link

Dummy window created when entering fullscreen #246

Open James-E-A opened 9 years ago

James-E-A commented 9 years ago

Every time the core enters fullscreen (not counting instances where the game was started initially fullscreened), a dummy window is created. Entering and leaving fullscreen multiple times will create multiple dummy windows.

These windows do not respond to keyboard shortcuts, and cannot be closed. They usually statically display the last frame that was on the window prior to entering fullscreen. They can only be disposed of by completely closing RetroArch - unloading the core, switching to a different core, and even loading a different ROM do not destroy the dead windows.

The current workarounds are:

heuripedes commented 9 years ago

I can reproduce this on X, this is related to the context sharing setting. RetroArch does tell X to close the window but my guess is that X refuses to because one (both maybe) GLX context is not destroyed when the viewport is reconfigured. The glx context driver code has been mostly the same for the last 6months+ so this behavior might have been introduced in a somewhat recent change to either X11 or GLX itself.

James-E-A commented 9 years ago

The "HW Shared Context Enable" (video_shared_context) option had no effect on this bug (in case this information is relevant.)

GPDP2 commented 9 years ago

This is not happening on my end, at least on Windows 7 and Xubuntu. Can someone verify?