libretro / RetroArch

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

Running a game, closing it and opening a new one often crashes retroarch. (Longstanding problem) #12389

Open spikeyxx opened 3 years ago

spikeyxx commented 3 years ago

Description

This has been a problem for over a year, now when using SLANGV shaders and VULKAN drivers. I am very keen to help solve this and will provide whatever information / logs are required to do so. please just tell me what you need! I've reported this previously and it never gets any comments or feedback, but there is definitely a problem - something is loading/unloading incorrectly!

Expected behavior

Run a game. Open quick menu, close content, return to main menu. Load a new game, have it run successfully.

Actual behavior

Run a game. Open quick menu, close content, return to main menu. Load a new game, Retroarch attempts to run game, then crashes out. Upon reopening game does not appear in history playlist.

ALSO - In the case of mupen64 after running an N64 game and trying to open another, Retroarch refuses and gives an error message saying loading content failed.

Steps to reproduce the bug

  1. Run a game
  2. Close a game
  3. Open another game

Bisect Results

I think this has been happening since SLANGV shaders and Vulkan were implemented.

Version/Commit

1.9.2

Environment information

Windows 10

LibretroAdmin commented 2 years ago

Cannot reproduce this.

LibretroAdmin commented 2 years ago

We would need more info, backtracked, reproducible clear steps. Current info is not enough to go on.

spikeyxx commented 2 years ago

Here's a log

[INFO] RetroArch 1.9.14 (Git e954a46) [INFO] === Build ======================================= [INFO] CPU Model Name: Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2 [INFO] Built: Dec 6 2021 [INFO] Version: 1.9.14 [INFO] Git: e954a46 [INFO] ================================================= [INFO] [Input]: Found input driver: "dinput". [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Set video size to: fullscreen. [INFO] [GL]: Found GL context: "wgl". [INFO] [GL]: Detecting screen resolution: 3840x2160. [INFO] [Video]: Setting fullscreen to 3840x2160 @ 60Hz on device \.\DISPLAY1. [INFO] [WGL]: Extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_mult[INFO] [WGL]: Adaptive VSync supported. [INFO] [GL]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2. [INFO] [GL]: Version: 4.6.0 NVIDIA 512.15. [INFO] [GL]: Using ARB_sync to reduce latency. [INFO] [GL]: Using resolution 3840x2160. [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shader driver]: Using GLSL shader backend. [INFO] [GLSL]: Checking GLSL shader support ... [WARN] [GL]: Stock GLSL shaders will be used. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GL]: Using 4 textures. [INFO] [GL]: Loaded 1 program(s). [INFO] [GL]: Using GL_RGB565 for texture uploads. [INFO] [XInput]: Found XInput v1.4. [INFO] [Joypad]: Found joypad driver: "xinput". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Video]: Found display server: "win32". [INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency. [INFO] [Display]: Found display driver: "gl". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [SRAM]: SRAM will not be saved. [INFO] [Playlist]: Loading history file: "C:\Program Files (Custom)\RetroArch\content_history.lpl". [INFO] [Playlist]: Loading history file: "C:\Program Files (Custom)\RetroArch\content_music_history.lpl". [INFO] [Playlist]: Loading history file: "C:\Program Files (Custom)\RetroArch\content_video_history.lpl". [INFO] [Playlist]: Loading history file: "C:\Program Files (Custom)\RetroArch\content_image_history.lpl". [INFO] [Playlist]: Loading favorites file: "C:\Program Files (Custom)\RetroArch\content_favorites.lpl". [INFO] [Core]: Using content: "D:\Roms\Sega - Dreamcast\USA\AeroWings (USA).chd". [INFO] [Core]: 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.9.14 (Git e954a46) [INFO] === Build ======================================= [INFO] CPU Model Name: Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2 [INFO] Built: Dec 6 2021 [INFO] Version: 1.9.14 [INFO] Git: e954a46 [INFO] ================================================= [INFO] [Input]: Found input driver: "dinput". [INFO] [Core]: Loading dynamic libretro core from: "C:\Program Files (Custom)\RetroArch\cores\flycast_libretro.dll" [INFO] [Overrides]: Core-specific overrides found at "C:\Program Files (Custom)\RetroArch\config\Flycast\Flycast.cfg". [INFO] [Overrides]: No content-dir-specific overrides found at "C:\Program Files (Custom)\RetroArch\config\Flycast\USA.cfg". [INFO] [Overrides]: No game-specific overrides found at "C:\Program Files (Custom)\RetroArch\config\Flycast\AeroWings (USA).cfg". [INFO] [Config]: Appending config "C:\Program Files (Custom)\RetroArch\config\Flycast\Flycast.cfg".

[INFO] [Environ]: GET_LANGUAGE: "0".

[INFO] [Remaps]: Remap directory: "C:\Program Files (Custom)\RetroArch\config\remaps". [INFO] [Overrides]: Redirecting save file to "C:\Program Files (Custom)\RetroArch\saves\Flycast\AeroWings (USA).srm". [INFO] [Overrides]: Redirecting save state to "C:\Program Files (Custom)\RetroArch\states\Flycast\AeroWings (USA).state".

[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.

[INFO] [Content]: Content loading skipped. Implementation will load it on its own. [libretro INFO] shell/libretro/libretro.cpp:1693 N[BOOT]: retro_load_game: D:\Roms\Sega - Dreamcast\USA\AeroWings (USA).chd

[INFO] [Environ]: SYSTEM_DIRECTORY: "C:\Program Files (Custom)\RetroArch\system".

[INFO] [Environ]: SET_SAVE_STATE_IN_BACKGROUND: yes. [libretro INFO] File extension is: .chd [INFO] [Environ]: GET_PREFERRED_HW_RENDER, video driver name: vulkan. [INFO] [Environ]: GET_PREFERRED_HW_RENDER - Context callback set to RETRO_HW_CONTEXT_VULKAN. [INFO] [Environ]: SET_HW_RENDER, context type: vulkan. [INFO] Requesting Vulkan context. [INFO] Reached end of SET_HW_RENDER.

[libretro INFO] core/hw/mem/_vmem.cpp:483 N[VMEM]: Info: nvmem is enabled, with addr space of size 512MB [libretro INFO] core/hw/mem/_vmem.cpp:572 N[VMEM]: BASE 00007ff4dd5f0000 RAM(16 MB) 00007ff4e95f0000 VRAM64(8 MB) 00007ff4e15f0000 ARAM(2 MB) 00007ff4fd5f0000 [libretro INFO] core/hw/mem/_vmem.cpp:483 N[VMEM]: Info: nvmem is enabled, with addr space of size 512MB [libretro INFO] core/hw/mem/_vmem.cpp:572 N[VMEM]: BASE 00007ff4dd5f0000 RAM(16 MB) 00007ff4e95f0000 VRAM64(8 MB) 00007ff4e15f0000 ARAM(2 MB) 00007ff4fd5f0000 [libretro INFO] core/emulator.cpp:56 N[BOOT]: Game ID is [T40201N] [INFO] [Environ]: SET_ROTATION: 0 [INFO] [RCHEEVOS]: Load started, hardcore not active [INFO] [RCHEEVOS]: Using host: https://retroachievements.org [INFO] [RCHEEVOS]: no hook registered for cdreader_absolute_sector_to_track_sector [INFO] [RCHEEVOS]: no hook registered for cdreader_absolute_sector_to_track_sector [INFO] [RCHEEVOS]: Could not locate primary executable [INFO] [RCHEEVOS]: no hook registered for cdreader_absolute_sector_to_track_sector [INFO] [RCHEEVOS]: Could not locate primary executable [INFO] [RCHEEVOS]: no hook registered for cdreader_absolute_sector_to_track_sector [INFO] [RCHEEVOS]: Could not locate boot executable [INFO] [RCHEEVOS]: no hook registered for cdreader_absolute_sector_to_track_sector [INFO] [RCHEEVOS]: Not a PC Engine CD [INFO] [RCHEEVOS]: Not a 3DO CD [INFO] [RCHEEVOS]: Not a PC-FX CD [INFO] [RCHEEVOS]: Not a Sega CD [INFO] [RCHEEVOS]: no hashes generated [INFO] [SRAM]: Skipping SRAM load. [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [libretro INFO] shell/libretro/libretro.cpp:2018 N[RENDERER]: retro_get_system_av_info: Res=480 [INFO] [Audio]: Set audio input rate to: 44100.00 Hz. [INFO] [Video]: Set video size to: fullscreen. [INFO] [Video]: Using HW render, vulkan driver forced. [INFO] [Vulkan]: Vulkan dynamic library loaded. [INFO] [Vulkan]: App: Flycast (version 1) [INFO] [Vulkan]: Engine: Flycast (version 1) [INFO] [Vulkan]: Found vulkan context: "vk_w". [INFO] [Vulkan]: Detecting screen resolution: 3840x2160. [INFO] [Video]: Setting fullscreen to 3840x2160 @ 60Hz on device \.\DISPLAY1. [INFO] [Vulkan]: Found GPU at index 0: "NVIDIA GeForce GTX 1070 Ti". [INFO] [Vulkan]: Using GPU index 0. [INFO] [Vulkan]: Using GPU: "NVIDIA GeForce GTX 1070 Ti". [INFO] [Vulkan]: Using resolution 3840x2160. [INFO] [Vulkan]: Using BGRA8888 format. [INFO] [Shaders]: Specific shader preset found at "C:\Program Files (Custom)\RetroArch\config\Flycast\Flycast.slangp". [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\ntsc\shaders\ntsc-adaptive\ntsc-pass1.slang". [INFO] [slang]: Using render target format R16G16B16A16_SFLOAT for pass output #0. [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\ntsc\shaders\ntsc-adaptive\ntsc-pass2.slang". [INFO] [slang]: Using render target format R8G8B8A8_UNORM for pass output #1. [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\crt\shaders\crt-royale\src\crt-royale-first-pass-linearize-crt-gamma-bob-fields.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #2. [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\crt\shaders\crt-royale\src\crt-royale-scanlines-vertical-interlacing.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #3. [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\crt\shaders\crt-royale\src\crt-royale-bloom-approx.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #4. [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\blurs\blur9fast-vertical.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #5. [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\blurs\blur9fast-horizontal.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #6. [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\crt\shaders\crt-royale\src\crt-royale-mask-resize-vertical.slang". [INFO] [slang]: Using render target format R8G8B8A8_UNORM for pass output #7. [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\crt\shaders\crt-royale\src\crt-royale-mask-resize-horizontal.slang". [INFO] [slang]: Using render target format R8G8B8A8_UNORM for pass output #8. [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\crt\shaders\crt-royale\src\crt-royale-scanlines-horizontal-apply-mask.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #9. [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\crt\shaders\crt-royale\src\crt-royale-brightpass.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #10. [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\crt\shaders\crt-royale\src\crt-royale-bloom-vertical.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #11. [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\crt\shaders\crt-royale\src\crt-royale-bloom-horizontal-reconstitute.slang". [INFO] [slang]: Using render target format R8G8B8A8_SRGB for pass output #12. [INFO] [slang]: Compiling shader: "C:\Program Files (Custom)\RetroArch\shaders\shaders_slang\crt\shaders\crt-royale\src\crt-royale-geometry-aa-last-pass.slang". [INFO] [slang]: Using render target format R8G8B8A8_UNORM for pass output #13. [INFO] [Vulkan filter chain]: Creating framebuffer 1536x1024 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 768x1024 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 768x1024 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 768x1920 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 320x240 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 320x240 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 320x240 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 64x120 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 160x120 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 4294967295 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 1 level(s)). [INFO] [XInput]: Found XInput v1.4. [INFO] [Joypad]: Found joypad driver: "xinput". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Video]: Found display server: "win32". [libretro INFO] core/rend/vulkan/vk_context_lr.cpp:187 N[RENDERER]: GPU Supports Vulkan API: 1.3.194 [libretro INFO] core/rend/vulkan/vk_context_lr.cpp:193 N[RENDERER]: GPU Supports vkGetPhysicalDeviceProperties2 [libretro INFO] core/rend/vulkan/vk_context_lr.cpp:218 N[RENDERER]: eR5G5B5A1UnormPack16 not supported for optimal tiling [libretro INFO] core/rend/vulkan/vk_context_lr.cpp:232 N[RENDERER]: eR4G4B4A4UnormPack16 not supported for optimal tiling [libretro INFO] core/rend/vulkan/vulkan_context.h:261 N[RENDERER]: Using depth format D32SfloatS8Uint tiling Optimal

[INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency. [INFO] [Display]: Found display driver: "vulkan". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Playlist]: Loading history file: "C:\Program Files (Custom)\RetroArch\content_history.lpl". [INFO] [Playlist]: Loading history file: "C:\Program Files (Custom)\RetroArch\content_music_history.lpl". [INFO] [Playlist]: Loading history file: "C:\Program Files (Custom)\RetroArch\content_video_history.lpl". [INFO] [Playlist]: Loading history file: "C:\Program Files (Custom)\RetroArch\content_image_history.lpl". [INFO] [Playlist]: Loading favorites file: "C:\Program Files (Custom)\RetroArch\content_favorites.lpl". [INFO] [Vulkan filter chain]: Creating framebuffer 1536x1024 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 768x1024 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 768x1024 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 768x1920 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 320x240 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 320x240 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 320x240 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 64x120 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 160x120 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 4294967295 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 1 level(s)). [INFO] [Input]: Game Focus => ON [INFO] [Video]: Frame delay reset to 8.

[INFO] [Vulkan filter chain]: Updating framebuffer size 1536x480 (format: 97). [INFO] [Vulkan filter chain]: Updating framebuffer size 768x480 (format: 37). [INFO] [Vulkan filter chain]: Updating framebuffer size 768x480 (format: 43). [INFO] [Vulkan filter chain]: Creating framebuffer 1536x1024 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 768x1024 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 768x1024 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 768x1920 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 320x240 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 320x240 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 320x240 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 64x120 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 160x120 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 1 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 4294967295 level(s)). [INFO] [Vulkan filter chain]: Creating framebuffer 2560x1920 (max 1 level(s)). [INFO] [Vulkan filter chain]: Updating framebuffer size 1536x480 (format: 97). [INFO] [Vulkan filter chain]: Updating framebuffer size 768x480 (format: 37). [INFO] [Vulkan filter chain]: Updating framebuffer size 768x480 (format: 43). [INFO] [Input]: Game Focus => OFF [INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 01 seconds. [INFO] [Runtime]: Saving runtime log file: "C:\Program Files (Custom)\RetroArch\playlists\logs\Flycast\AeroWings (USA).lrtl". [INFO] [Overrides]: Configuration overrides unloaded, original configuration restored. [INFO] [Core]: No content, starting dummy core. [INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds. [INFO] [RCHEEVOS]: Asked the load tasks to terminate [INFO] [Core]: Unloading game.. [INFO] [Core]: Unloading core.. [INFO] [Core]: Unloading core symbols.. [INFO] [Core]: Saved core options file to "C:\Program Files (Custom)\RetroArch\config\Flycast\Flycast.opt". [INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames. [INFO] RetroArch 1.9.14 (Git e954a46) [INFO] === Build ======================================= [INFO] CPU Model Name: Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2 [INFO] Built: Dec 6 2021 [INFO] Version: 1.9.14 [INFO] Git: e954a46 [INFO] ================================================= [INFO] [Input]: Found input driver: "dinput". [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Set video size to: fullscreen. [INFO] [GL]: Found GL context: "wgl". [INFO] [GL]: Detecting screen resolution: 3840x2160. [INFO] [Video]: Setting fullscreen to 3840x2160 @ 60Hz on device \.\DISPLAY1. [INFO] [WGL]: Extensions: WGL_ARB_buffer_region WGL_ARB_create_context WGL_ARB_create_context_no_error WGL_ARB_create_context_profile WGL_ARB_create_context_robustness WGL_ARB_context_flush_control WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_mult[INFO] [WGL]: Adaptive VSync supported. [INFO] [GL]: Vendor: NVIDIA Corporation, Renderer: NVIDIA GeForce GTX 1070 Ti/PCIe/SSE2. [INFO] [GL]: Version: 4.6.0 NVIDIA 512.15. [INFO] [GL]: Using ARB_sync to reduce latency. [INFO] [GL]: Using resolution 3840x2160. [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shader driver]: Using GLSL shader backend. [INFO] [GLSL]: Checking GLSL shader support ... [WARN] [GL]: Stock GLSL shaders will be used. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] [GLSL]: Found GLSL fragment shader. [INFO] [GLSL]: Linking GLSL program. [INFO] [GL]: Using 4 textures. [INFO] [GL]: Loaded 1 program(s). [INFO] [GL]: Using GL_RGB565 for texture uploads. [INFO] [XInput]: Found XInput v1.4. [INFO] [Joypad]: Found joypad driver: "xinput". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Video]: Found display server: "win32". [INFO] [XAudio2]: Requesting 64 ms latency, using 64 ms latency. [INFO] [Display]: Found display driver: "gl". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [SRAM]: SRAM will not be saved. [INFO] [Playlist]: Loading history file: "C:\Program Files (Custom)\RetroArch\content_history.lpl". [INFO] [Playlist]: Loading history file: "C:\Program Files (Custom)\RetroArch\content_music_history.lpl". [INFO] [Playlist]: Loading history file: "C:\Program Files (Custom)\RetroArch\content_video_history.lpl". [INFO] [Playlist]: Loading history file: "C:\Program Files (Custom)\RetroArch\content_image_history.lpl". [INFO] [Playlist]: Loading favorites file: "C:\Program Files (Custom)\RetroArch\content_favorites.lpl". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Font]: Using font rendering backend: "freetype". [INFO] [Core]: Using content: "D:\Roms\Sega - Dreamcast\Japan\Blue Stinger (Japan).chd". [INFO] [Core]: 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.9.14 (Git e954a46) [INFO] === Build ======================================= [INFO] CPU Model Name: Intel(R) Core(TM) i5-7600 CPU @ 3.50GHz [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2 [INFO] Built: Dec 6 2021 [INFO] Version: 1.9.14 [INFO] Git: e954a46 [INFO] ================================================= [INFO] [Input]: Found input driver: "dinput". [INFO] [Core]: Loading dynamic libretro core from: "C:\Program Files (Custom)\RetroArch\cores\flycast_libretro.dll" [INFO] [Overrides]: Core-specific overrides found at "C:\Program Files (Custom)\RetroArch\config\Flycast\Flycast.cfg". [INFO] [Overrides]: No content-dir-specific overrides found at "C:\Program Files (Custom)\RetroArch\config\Flycast\Japan.cfg". [INFO] [Overrides]: No game-specific overrides found at "C:\Program Files (Custom)\RetroArch\config\Flycast\Blue Stinger (Japan).cfg". [INFO] [Config]: Appending config "C:\Program Files (Custom)\RetroArch\config\Flycast\Flycast.cfg".

[INFO] [Environ]: GET_LANGUAGE: "0".

[INFO] [Core Options]: Folder-specific core options found at C:\Program Files (Custom)\RetroArch\config\Flycast\Japan.opt

[INFO] [Remaps]: Remap directory: "C:\Program Files (Custom)\RetroArch\config\remaps". [INFO] [Overrides]: Redirecting save file to "C:\Program Files (Custom)\RetroArch\saves\Flycast\Blue Stinger (Japan).srm". [INFO] [Overrides]: Redirecting save state to "C:\Program Files (Custom)\RetroArch\states\Flycast\Blue Stinger (Japan).state".

[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.

[INFO] [Content]: Content loading skipped. Implementation will load it on its own. [libretro INFO] shell/libretro/libretro.cpp:1693 N[BOOT]: retro_load_game: D:\Roms\Sega - Dreamcast\Japan\Blue Stinger (Japan).chd

[INFO] [Environ]: SYSTEM_DIRECTORY: "C:\Program Files (Custom)\RetroArch\system".

[INFO] [Environ]: SET_SAVE_STATE_IN_BACKGROUND: yes. [libretro INFO] File extension is: .chd [INFO] [Environ]: GET_PREFERRED_HW_RENDER, video driver name: vulkan. [INFO] [Environ]: GET_PREFERRED_HW_RENDER - Context callback set to RETRO_HW_CONTEXT_VULKAN. [INFO] [Environ]: SET_HW_RENDER, context type: vulkan. [INFO] Requesting Vulkan context. [INFO] Reached end of SET_HW_RENDER.

[libretro ERROR] Verify Failed : state == Init in init -> /builds/libretro/flycast-upstream/core/emulator.cpp : 387