libretro / RetroArch

Cross-platform, sophisticated frontend for the libretro API. Licensed GPLv3.
http://www.libretro.com
GNU General Public License v3.0
10.08k stars 1.81k forks source link

RetroArch hangs when loading cores from a different monitor other than primary. #15476

Open Argos-Rho opened 1 year ago

Argos-Rho commented 1 year ago

Description

RetroArch hangs when loading cores from a different monitor other than primary. It doesn't matter the content or the core.

Expected behavior

The expected behavior is that RetroArch will load the core and content on any screen regardless of full screen or windowed mode.

Actual behavior

The actual behavior is that RetroArch will load the core and content on the Primary screen and work, it remains playable if you drag it to any other monitor. However if you load RetroArch on any other screen in windowed or full screen and attempt to load the core and content, RetroArch will hang and needs to be forcibly closed. When in full screen Retroarch will become windowed immediately and hang.

Steps to reproduce the bug

  1. Load RetroArch in full screen or windowed.
  2. Drag or change where RetroArch is displaying.
  3. Load Core
  4. Load Content
  5. Crash

Bisect Results

This started immediately after installing the RetroArch and installing cores.

Other Info

I do have three monitors.

I tried changing the Display driver from GL to Vulkan and glcore. But it doesn't seem to affect anything regarding the loading of cores and content. The only affect this had was preventing crashing of RetroArch when attempting to enter full screen mode on a secondary display before the loading of any core or content.

As far as the Logs go, they wont log any information pertaining to why it crashes. The log stops right before it. At least when I analyzed it.

Please let me know of any additional information you would like me to share for further troubleshooting.

Version/Commit

Environment information

Temporary Fix

  1. Start content windowed on primary display.
  2. Drag RetroArch to secondary display.
Argos-Rho commented 1 year ago

Update: This actually only appears to now be affecting any N64 Cores only. As Parallel installs RetroArch automatically, I will be looking into testing it with Mupen64 independently and seeing if the issue is resolved.

ryanchauvin commented 1 year ago

I have this problem with just starting RetroArch with the gl driver. I change it to vulkan and I can start it on any of my 3 monitors, but when I try to run something using gl it locks up. If I load the same on my main monitor is runs fine. It I change my main monitor to another it runs fine, very weird.