[Solved] Vulkan + CRT-Guest

Some cores are crashing (RetroArch closes) when opening with vulkan driver + crt-guest.

I tried: bsnes_balanced, dolphin, genesis_plus_gx, mame, mupen64plus_next and picodrive.

Log mupen64plus_next

[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[INFO] [CONTENT LOAD]: Updating firmware status for: E:\Emuladores\RetroArch\n64\cores\mupen64plus_next_libretro.dll on E:\Emuladores\RetroArch\n64\system
[INFO] [CORE]: Using content: E:\Emuladores\2 - ROMs\Nintendo - Nintendo 64\Mario Kart 64 (USA).zip.
[INFO] [CORE]: Arg #0: retroarch
[INFO] [CORE]: Arg #1: E:\Emuladores\2 - ROMs\Nintendo - Nintendo 64\Mario Kart 64 (USA).zip
[INFO] [CORE]: Arg #2: -s
[INFO] [CORE]: Arg #3: C:\Users\Luiz Felipe\OneDrive\RetroArch\saves
[INFO] [CORE]: Arg #4: -S
[INFO] [CORE]: Arg #5: C:\Users\Luiz Felipe\OneDrive\RetroArch\states
[INFO] [CORE]: Arg #6: -c
[INFO] [CORE]: Arg #7: E:\Emuladores\RetroArch\n64\retroarch.cfg
[INFO] [CORE]: Arg #8: -L
[INFO] [CORE]: Arg #9: E:\Emuladores\RetroArch\n64\cores\mupen64plus_next_libretro.dll
[INFO] [CORE]: Arg #10: -v
[INFO] Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [CORE]: Unloading core..
[INFO] [CORE]: Unloading core symbols..
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] RetroArch 1.8.9 (Git 3dafbb8487)
[INFO] [Overrides]: Redirecting save file to "C:\Users\Luiz Felipe\OneDrive\RetroArch\saves\Mario Kart 64 (USA).srm".
[INFO] [Overrides]: Redirecting save state to "C:\Users\Luiz Felipe\OneDrive\RetroArch\states\Mario Kart 64 (USA).state".
[INFO] === Build =======================================
[INFO] CPU Model Name: AMD Ryzen 5 3600 6-Core Processor              
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
[INFO] Built: Jun 28 2020
[INFO] Version: 1.8.9
[INFO] Git: 3dafbb8487
[INFO] =================================================
[INFO] [CORE]: Loading dynamic libretro core from: "E:\Emuladores\RetroArch\n64\cores\mupen64plus_next_libretro.dll"
[INFO] [Overrides]: Core-specific overrides found at E:\Emuladores\RetroArch\n64\config\Mupen64Plus-Next\Mupen64Plus-Next.cfg.
[INFO] [Overrides]: No content-dir-specific overrides found at E:\Emuladores\RetroArch\n64\config\Mupen64Plus-Next\Nintendo - Nintendo 64.cfg.
[INFO] [Overrides]: No game-specific overrides found at E:\Emuladores\RetroArch\n64\config\Mupen64Plus-Next\Mario Kart 64 (USA).cfg.
[INFO] Config: appending config "E:\Emuladores\RetroArch\n64\config\Mupen64Plus-Next\Mupen64Plus-Next.cfg"

My video card is Gigabyte AMD Radeon RX 5500 XT. Everything updated.

What “Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames” means?

Thanks.

That error is a red herring. It’s just saying that it can’t estimate the framerate because it hasn’t run for enough frames to make a good calculation.

There’s nothing useful in that log, unfortunately. Are your logging verbosity options set to ‘debug’?

Hi, @hunterk.

Log - debug

[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[INFO] Subsystem ID: 0
Special game type: N64 Disk Drive
  Ident: ndd
  ID: 1
  Content:
[INFO]     Disk (required)
[INFO]     Cartridge (required)
[INFO] Subsystems: 1
[INFO] [CONTENT LOAD]: Updating firmware status for: E:\Emuladores\RetroArch\n64\cores\mupen64plus_next_libretro.dll on E:\Emuladores\RetroArch\n64\system
[INFO] [CORE]: Using content: E:\Emuladores\2 - ROMs\Nintendo - Nintendo 64\Mario Kart 64 (USA).zip.
[INFO] [CORE]: Arg #0: retroarch
[INFO] [CORE]: Arg #1: E:\Emuladores\2 - ROMs\Nintendo - Nintendo 64\Mario Kart 64 (USA).zip
[INFO] [CORE]: Arg #2: -s
[INFO] [CORE]: Arg #3: C:\Users\Luiz Felipe\OneDrive\RetroArch\saves
[INFO] [CORE]: Arg #4: -S
[INFO] [CORE]: Arg #5: C:\Users\Luiz Felipe\OneDrive\RetroArch\states
[INFO] [CORE]: Arg #6: -c
[INFO] [CORE]: Arg #7: E:\Emuladores\RetroArch\n64\retroarch.cfg
[INFO] [CORE]: Arg #8: -L
[INFO] [CORE]: Arg #9: E:\Emuladores\RetroArch\n64\cores\mupen64plus_next_libretro.dll
[INFO] [CORE]: Arg #10: -v
[INFO] Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [CORE]: Unloading core..
[INFO] [CORE]: Unloading core symbols..
[INFO] [Video]: Average monitor Hz: 71.592211 Hz. (46.423 % frame time deviation, based on 2048 last samples).
[INFO] RetroArch 1.8.9 (Git 3dafbb8487)
[INFO] [Overrides]: Redirecting save file to "C:\Users\Luiz Felipe\OneDrive\RetroArch\saves\Mario Kart 64 (USA).srm".
[INFO] [Overrides]: Redirecting save state to "C:\Users\Luiz Felipe\OneDrive\RetroArch\states\Mario Kart 64 (USA).state".
[INFO] === Build =======================================
[INFO] CPU Model Name: AMD Ryzen 5 3600 6-Core Processor              
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
[INFO] Built: Jun 28 2020
[INFO] Version: 1.8.9
[INFO] Git: 3dafbb8487
[INFO] =================================================
[INFO] [CORE]: Loading dynamic libretro core from: "E:\Emuladores\RetroArch\n64\cores\mupen64plus_next_libretro.dll"
[INFO] [Overrides]: Core-specific overrides found at E:\Emuladores\RetroArch\n64\config\Mupen64Plus-Next\Mupen64Plus-Next.cfg.
[INFO] [Overrides]: No content-dir-specific overrides found at E:\Emuladores\RetroArch\n64\config\Mupen64Plus-Next\Nintendo - Nintendo 64.cfg.
[INFO] [Overrides]: No game-specific overrides found at E:\Emuladores\RetroArch\n64\config\Mupen64Plus-Next\Mario Kart 64 (USA).cfg.
[INFO] Config: appending config "E:\Emuladores\RetroArch\n64\config\Mupen64Plus-Next\Mupen64Plus-Next.cfg"

When I insist a few times, I can run the game.

That log still looks fine. I don’t know what to tell you :confused:

Very strange… I deleted the shader preset and loaded the game. When I apply the shader, RetroArch closes.

I was able to apply the following shaders without RetroArch failing:

  • CRT Geom
  • CRT Lottes
  • CRT Hyllian
  • CRT Guest-Fast
  • CRT Guest-SM

But CRT-Guest and CRT-Guest-Composite aren’t possible.

:thinking:

If anyone with an AMD RX 5000 series card can test it, I appreciate it.

I deleted the RetroArch and setted everything again. Now I will install only stable versions, no more “nightly”.

@hunterk, thanks for the help.

:grinning:

2 Likes