Retroarch crashes but only sometimes

Hi Team,

I recently moved my PC and now Retroarch only sometimes opens. I’ve tried chaging video drivers (currently on d3d12) and both xmb and rgui. It flashes to the home screen and then nothing and no games that use Retroarch will open either.

When I restart the computer, it sometimes opens for a few seconds and sometimes it works perfectly.

Any insight?

We would need a log of a crash/failure to even guess.

I’ve been travelling so I just saw your response hunterk. Sorry about that. Here is the log:

[INFO] RetroArch 1.7.7 (Git 52dd39f98a)
[INFO] Redirecting save file to "E:\LaunchBox\Emulators\RetroArch\saves\Activision Decathlon, The (USA).srm".
[INFO] Redirecting savestate to "E:\LaunchBox\Emulators\RetroArch\states\Activision Decathlon, The (USA).state".
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz
[INFO] Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES 
[INFO] Built: May 10 2019
[INFO] Version: 1.7.7
[INFO] Git: 52dd39f98a
[INFO] =================================================
[INFO] Loading dynamic libretro core from: "E:\LaunchBox\Emulators\RetroArch\cores\stella_libretro.dll"
[INFO] [Overrides] no core-specific overrides found at E:\LaunchBox\Emulators\RetroArch\config\Stella\Stella.cfg.
[INFO] [Overrides] no content-dir-specific overrides found at E:\LaunchBox\Emulators\RetroArch\config\Stella\No-Intro - Atari - 2600 (2017-01-23).cfg.
[INFO] [Overrides] no game-specific overrides found at E:\LaunchBox\Emulators\RetroArch\config\Stella\Activision Decathlon, The (USA).cfg.
[INFO] [Shaders]: preset directory: E:\LaunchBox\Emulators\RetroArch\shaders\presets
[INFO] Environ SET_VARIABLES.
[INFO] [Remaps]: remap directory: E:\LaunchBox\Emulators\RetroArch\config\remaps
[INFO] [Remaps]: no game-specific remap found at E:\LaunchBox\Emulators\RetroArch\config\remaps\Stella\Activision Decathlon, The (USA).rmp.
[INFO] [Remaps]: no content-dir-specific remap found at E:\LaunchBox\Emulators\RetroArch\config\remaps\Stella\No-Intro - Atari - 2600 (2017-01-23).rmp.
[INFO] [Remaps]: no core-specific remap found at E:\LaunchBox\Emulators\RetroArch\config\remaps\Stella\Stella.rmp.
[INFO] Redirecting save file to "E:\LaunchBox\Emulators\RetroArch\saves\Activision Decathlon, The (USA).srm".
[INFO] Redirecting savestate to "E:\LaunchBox\Emulators\RetroArch\states\Activision Decathlon, The (USA).state".
[INFO] Environ GET_LOG_INTERFACE.
[INFO] Environ PERFORMANCE_LEVEL: 4.
[INFO] Loading content file: E:\LaunchBox\Roms\No-Intro - Atari - 2600 (2017-01-23)\Activision Decathlon, The (USA).a26.
[INFO] Did not find a valid content patch.
[INFO] CRC32: 0x3feb39b1 .
[INFO] Environ SET_INPUT_DESCRIPTORS:
[INFO] Environ SET_PIXEL_FORMAT: XRGB8888.
[INFO] Environ SET_GEOMETRY.
[INFO] SET_GEOMETRY: 320x212, aspect: 1.294.
[INFO] [RCHEEVOS]: Load task finished
[INFO] Skipping SRAM load..
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 31408.59 Hz.
[INFO] [Video]: Video @ fullscreen
[INFO] [XInput]: Found XInput v1.4.
[INFO] [DINPUT]: Enumerating joypads ...
[INFO] [DINPUT]: Device #0 PID: {09CC} VID:{054C}
[WARN] [DINPUT]: Strong rumble unavailable.
[WARN] [DINPUT]: Weak rumble unavailable.
[INFO] [Autoconf]: 1 profiles found.
[INFO] [Autoconf]: selected configuration: E:\LaunchBox\Emulators\RetroArch\autoconfig\Wireless Controller.cfg
[INFO] [DINPUT]: Device #1 PID: {09CC} VID:{054C}
[WARN] [DINPUT]: Strong rumble unavailable.
[WARN] [DINPUT]: Weak rumble unavailable.
[INFO] [Autoconf]: 1 profiles found.
[INFO] [Autoconf]: selected configuration: E:\LaunchBox\Emulators\RetroArch\autoconfig\Wireless Controller.cfg
[INFO] [DINPUT]: Done enumerating joypads ...
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [D3D12]: Using GPU: Radeon RX Vega M GH Graphics
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Menu]: Found menu display driver: "d3d12".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Menu]: Found menu display driver: "d3d12".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [LED]: LED driver = 'null' 0000000000AB03C0
[INFO] [MIDI]: Initializing ...
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "winmm" driver.
[WARN] Input device ID 5 is unknown to this libretro implementation. Using RETRO_DEVICE_JOYPAD.
[INFO] Loading history file: [E:\LaunchBox\Emulators\RetroArch\content_history.lpl].
[INFO] Loading history file: [E:\LaunchBox\Emulators\RetroArch\content_favorites.lpl].
[INFO] Loading history file: [E:\LaunchBox\Emulators\RetroArch\content_music_history.lpl].
[INFO] Loading history file: [E:\LaunchBox\Emulators\RetroArch\content_video_history.lpl].
[INFO] Loading history file: [E:\LaunchBox\Emulators\RetroArch\content_image_history.lpl].
[INFO] Written to playlist file: E:\LaunchBox\Emulators\RetroArch\content_history.lpl
[INFO] Environ SET_GEOMETRY.
[INFO] [config] Saved new config to "E:\LaunchBox\Emulators\RetroArch\retroarch.cfg".
[INFO] Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] Unloading game..
[INFO] Unloading core..
[INFO] Unloading core symbols..
[INFO] Saved core options file to "E:\LaunchBox\Emulators\RetroArch\retroarch-core-options.cfg"
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] Removing temporary content file: E:\LaunchBox\Roms\No-Intro - Atari - 2600 (2017-01-23)\Activision Decathlon, The (USA).a26.
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.

I don’t see any obvious errors in there. Does it happen with all cores? Or just Stella? Have you tried the Stella 2014 core?

All cores. Here’s the log for a game that worked last night but now does not.

[INFO] RetroArch 1.7.7 (Git 52dd39f98a)
[INFO] Redirecting save file to "E:\LaunchBox\Emulators\RetroArch\saves\Addams Family, The (USA).srm".
[INFO] Redirecting savestate to "E:\LaunchBox\Emulators\RetroArch\states\Addams Family, The (USA).state".
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i7-8809G CPU @ 3.10GHz
[INFO] Capabilities: MMX MMXEXT SSE1 SSE2 SSE3 SSSE3 SSE4 SSE4.2 AVX AES 
[INFO] Built: May 10 2019
[INFO] Version: 1.7.7
[INFO] Git: 52dd39f98a
[INFO] =================================================
[INFO] Loading dynamic libretro core from: "E:\LaunchBox\Emulators\RetroArch\cores\sameboy_libretro.dll"
[INFO] [Overrides] no core-specific overrides found at E:\LaunchBox\Emulators\RetroArch\config\SameBoy\SameBoy.cfg.
[INFO] [Overrides] no content-dir-specific overrides found at E:\LaunchBox\Emulators\RetroArch\config\SameBoy\Addams Family, The (USA).cfg.
[INFO] [Overrides] no game-specific overrides found at E:\LaunchBox\Emulators\RetroArch\config\SameBoy\Addams Family, The (USA).cfg.
[INFO] [Shaders]: preset directory: E:\LaunchBox\Emulators\RetroArch\shaders\presets
[INFO] [Remaps]: remap directory: E:\LaunchBox\Emulators\RetroArch\config\remaps
[INFO] [Remaps]: no game-specific remap found at E:\LaunchBox\Emulators\RetroArch\config\remaps\SameBoy\Addams Family, The (USA).rmp.
[INFO] [Remaps]: no content-dir-specific remap found at E:\LaunchBox\Emulators\RetroArch\config\remaps\SameBoy\Addams Family, The (USA).rmp.
[INFO] [Remaps]: no core-specific remap found at E:\LaunchBox\Emulators\RetroArch\config\remaps\SameBoy\SameBoy.rmp.
[INFO] Redirecting save file to "E:\LaunchBox\Emulators\RetroArch\saves\Addams Family, The (USA).srm".
[INFO] Redirecting savestate to "E:\LaunchBox\Emulators\RetroArch\states\Addams Family, The (USA).state".
[INFO] Environ SYSTEM_DIRECTORY: "E:\LaunchBox\Emulators\RetroArch\system".
[INFO] Environ GET_LOG_INTERFACE.
[INFO] Content loading skipped. Implementation will load it on its own.
[INFO] CRC32: 0xc170a732 .
[INFO] Environ SET_VARIABLES.
[libretro INFO] Initializing as model: cgb
[libretro INFO] Loading boot image: E:\LaunchBox\Emulators\RetroArch\system\cgb_boot.bin
[INFO] Environ SET_MEMORY_MAPS.
[INFO]    ndx flags  ptr              offset   start    select   disconn  len      addrspace
[INFO]    001 M1A1bc 000000006CF64DB5 00000000 0000FFFF 0001FFFF 00000000 00000001 
[INFO]    002 M1A1bc 000000006CF6CE30 00000000 0000FF80 0001FF80 00000000 00000080 
[INFO]    003 M1A1bc 00000000073B1580 00000000 0000C000 0001F000 00000000 00001000 
[INFO]    004 M1A1bc 00000000073B2580 00000000 0000D000 0001F000 00000000 00001000 
[INFO]    005 M1A1bc 0000000000000000 00000000 0000A000 0001E000 00000000 00002000 
[INFO]    006 M1A1bc 0000000008F38C00 00000000 00008000 0001E000 00000000 00002000 
[INFO]    007 M1A1bC 0000000000000000 00000000 00000000 0001C000 00000000 00004000 
[INFO]    008 M1A1bC 0000000000004000 00000000 00004000 0001C000 00000000 00004000 
[INFO]    009 M1A1bc 000000006CF6CFE5 00000000 0000FE00 00000000 00000000 000000A0 
[INFO]    010 M1A1bc 00000000073B3580 00000000 00010000 00000000 00000000 00006000 
[INFO] Environ SET_CONTROLLER_INFO.
[INFO] Environ SET_INPUT_DESCRIPTORS:
[INFO] Environ SET_PIXEL_FORMAT: XRGB8888.
[libretro INFO] Initializing as model: dmg
[libretro INFO] Loading boot image: E:\LaunchBox\Emulators\RetroArch\system\dmg_boot.bin
[INFO] Environ SET_MEMORY_MAPS.
[INFO]    ndx flags  ptr              offset   start    select   disconn  len      addrspace
[INFO]    001 M1A1bc 000000006CF64DB5 00000000 0000FFFF 0000FFFF 00000000 00000001 
[INFO]    002 M1A1bc 000000006CF6CE30 00000000 0000FF80 0000FF80 00000000 00000080 
[INFO]    003 M1A1bc 00000000073B1580 00000000 0000C000 0000F000 00000000 00001000 
[INFO]    004 M1A1bc 00000000073B2580 00000000 0000D000 0000F000 00000000 00001000 
[INFO]    005 M1A1bc 0000000000000000 00000000 0000A000 0000E000 00000000 00002000 
[INFO]    006 M1A1bc 0000000008F38C00 00000000 00008000 0000E000 00000000 00002000 
[INFO]    007 M1A1bC 0000000000000000 00000000 00000000 0000C000 00000000 00004000 
[INFO]    008 M1A1bC 0000000000004000 00000000 00004000 0000C000 00000000 00004000 
[INFO]    009 M1A1bc 000000006CF6CFE5 00000000 0000FE00 00000000 00000000 000000A0 
[INFO]    010 M1A1bc 00000000073B3580 00000000 00010000 00000000 00000000 00000000 
[INFO] Environ SET_CONTROLLER_INFO.
[INFO] Environ SET_INPUT_DESCRIPTORS:
[INFO] Environ SET_SUPPORT_ACHIEVEMENTS: yes.
[INFO] Environ GET_RUMBLE_INTERFACE.
[libretro INFO] Rumble environment supported
[INFO] [RCHEEVOS]: Load task finished
[INFO] Skipping SRAM load..
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 385366.59 Hz.
[INFO] [Video]: Video @ fullscreen
[INFO] [XInput]: Found XInput v1.4.
[INFO] [DINPUT]: Enumerating joypads ...
[INFO] [DINPUT]: Device #0 PID: {09CC} VID:{054C}
[WARN] [DINPUT]: Strong rumble unavailable.
[WARN] [DINPUT]: Weak rumble unavailable.
[INFO] [Autoconf]: 1 profiles found.
[INFO] [Autoconf]: selected configuration: E:\LaunchBox\Emulators\RetroArch\autoconfig\Wireless Controller.cfg
[INFO] [DINPUT]: Device #1 PID: {09CC} VID:{054C}
[WARN] [DINPUT]: Strong rumble unavailable.
[WARN] [DINPUT]: Weak rumble unavailable.
[INFO] [Autoconf]: 1 profiles found.
[INFO] [Autoconf]: selected configuration: E:\LaunchBox\Emulators\RetroArch\autoconfig\Wireless Controller.cfg
[INFO] [DINPUT]: Done enumerating joypads ...
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [D3D12]: Using GPU: Radeon RX Vega M GH Graphics
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency.
[INFO] [Menu]: Found menu display driver: "d3d12".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] Environ SET_SUBSYSTEM_INFO.
[INFO] [Menu]: Found menu display driver: "d3d12".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [LED]: LED driver = 'null' 0000000000AB03C0
[INFO] [MIDI]: Initializing ...
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "winmm" driver.
[WARN] Input device ID 5 is unknown to this libretro implementation. Using RETRO_DEVICE_JOYPAD.
[libretro INFO] Connecting device 1 into port 0
[INFO] Loading history file: [E:\LaunchBox\Emulators\RetroArch\content_history.lpl].
[INFO] Loading history file: [E:\LaunchBox\Emulators\RetroArch\content_favorites.lpl].
[INFO] Loading history file: [E:\LaunchBox\Emulators\RetroArch\content_music_history.lpl].
[INFO] Loading history file: [E:\LaunchBox\Emulators\RetroArch\content_video_history.lpl].
[INFO] Loading history file: [E:\LaunchBox\Emulators\RetroArch\content_image_history.lpl].
[INFO] Written to playlist file: E:\LaunchBox\Emulators\RetroArch\content_history.lpl
[INFO] [config] Saved new config to "E:\LaunchBox\Emulators\RetroArch\retroarch.cfg".
[INFO] Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] Unloading game..
[libretro INFO] Unloading GB: 1
[INFO] Unloading core..
[INFO] Unloading core symbols..
[INFO] Saved core options file to "E:\LaunchBox\Emulators\RetroArch\retroarch-core-options.cfg"
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.

Hmm, I’m not seeing any errors there, either. It looks like it’s just closing down normally.

Does it do the same thing if you launch from RetroArch and not via Launchbox?

Yup. I can’t even launch Retroarch. It does the same thing; flashes on screen real quick then closes

Ok, just double-clicking on RetroArch instantly closes? Can you get a log of that? (that is, try launching from a command line with --menu --verbose and paste the resulting output here)