libretro / flycast

Flycast is a multiplatform Sega Dreamcast emulator. NOTE: No longer actively developed, use upstream repo for libretro from now on - https://github.com/flyinghead/flycast
http://reicast.com
GNU General Public License v2.0
152 stars 77 forks source link

Problems when changing games in RetroArch #1085

Open Time-Pare opened 3 years ago

Time-Pare commented 3 years ago

(Sorry if my english is bad, i'm not a native english speaker) My system Softwares : Windows 10 Pro, RetroArch 1.9.5 (64), Core - Flycast 0.1 8e4fa54 Hardwares : I7 2600, 14 GB, GTX 1050 2GB

Hi everyone, since the last retroarch update, i have problems when changing games on flycast with Naomi and Atomiswave games (i didn't try with dreamcast games because i don't own any of them). When i put the game A, it will launch the game perfectly. If i close the game A with the retroarch menu and chose a game B, i will see some shadows of the game A and the boot logo will say the romset isn't acceptable by mainboard or the boot logo will be okay but i only see a black screen after. If i close the game B and i want to try with a game C, the boot logo will have a crackling sound and it will launch the game A instead of the game C also with crackling sound.

This is the log : https://pastebin.com/2JL4c4iM

I've tried a lot of things, reinstalling retroarch, trying to remove bios from others systems to see if there was a conflict, upgrading my graphic drivers, removing the core and everything related and reinstalling it but nothing works except restarting retroarch each time i want to play another flycast game.

afjara commented 3 years ago

Same as #1083

Hari-82 commented 2 years ago

Same issue here, when I try to open a second game the first one starts again and with frame pacing problems. and to be able to play another game I'm forced to restart retroarch.

something wrong when closing content.

afjara commented 2 years ago

@Hari-82 Best solution is to replace the libretro buildbot flycast core, with the new flycast core from flyinghead:

https://github.com/flyinghead/flycast/actions?query=branch%3Alibretro

You need to select a build under the C/C++ tag and download flycast-libretro-x86_64-w64-mingw32 under the Artifacts section.

After that, you may need to delete a registry value left by the older core as suggested by BsLeNuL in reddit:

https://www.reddit.com/r/RetroArch/comments/oyeaq6/flycast_core_windows_10_game_loading_problem/

Ok so:

Close RetroArch.

In the Windows search bar type regedit and open the registry editor. Alternatively you can press Windows key + R to open the "Execute" box then type regedit and press Enter.

Navigate to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers.

If you see a key with $ IgnoreFreeLibrary, just delete it. It should look like this if you have it: https://i.imgur.com/lwBJslV.png

And now it should work properly, if you don't have that registry key however, I have no idea what's causing the crashes, and a log might help in this case.

For me, everything is working OK in my desktop and laptop, both featuring nvidia cards.

Hyatt-05 commented 2 years ago

@Hari-82 Best solution is to replace the libretro buildbot flycast core, with the new flycast core from flyinghead:

https://github.com/flyinghead/flycast/actions?query=branch%3Alibretro

You need to select a build under the C/C++ tag and download flycast-libretro-x86_64-w64-mingw32 under the Artifacts section.

After that, you may need to delete a registry value left by the older core as suggested by BsLeNuL in reddit:

https://www.reddit.com/r/RetroArch/comments/oyeaq6/flycast_core_windows_10_game_loading_problem/

Ok so: Close RetroArch. In the Windows search bar type regedit and open the registry editor. Alternatively you can press Windows key + R to open the "Execute" box then type regedit and press Enter. Navigate to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers. If you see a key with $ IgnoreFreeLibrary, just delete it. It should look like this if you have it: https://i.imgur.com/lwBJslV.png And now it should work properly, if you don't have that registry key however, I have no idea what's causing the crashes, and a log might help in this case.

For me, everything is working OK in my desktop and laptop, both featuring nvidia cards.

This resolved my crash issue with Flycast/Retroarch, thank you for sharing

ner00 commented 2 years ago

Navigate to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers. If you see a key with $ IgnoreFreeLibrary, just delete it. It should look like this if you have it: https://i.imgur.com/lwBJslV.png

This solved it for me. Both the crash issue and the the "loading previous game" bug.