libretro / libretro/parallel-n64

Crash When Entering/Starting In Exclusive Full Screen Mode

Open
#712 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
407
Forks
151
Avg merge
11h 53m
Merged PRs (30d)
11

Description

When using parallel-n64 with parallel-n64-gfxplugin = "parallel" and parallel-n64-rspplugin = "parallel" retroarch crashes when loading any game. It works fine (and looks fantastic with 2x upscaling) if I start a game with retroarch in a window but it crashes as soon as I toggle to exclusive fullscreen. It works fine with both plugins set to auto. I've tried both the stable and nightly versions of retroarch and have the same behavior. I've tried updating and rolling back to various graphics driver versions with no effect. I've also tried deleting and reinstalling the core (as well as the associated lines in the config file) with no effect. I've also tried changing the retroarch display driver from gl to vulkan and it makes no difference.

Processor: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
Graphics Card: Intel(R) HD Graphics 530
System: Windows 10 Pro

log file [INFO] RetroArch 1.9.0 (Git 3a0c5cc666) [INFO] === Build ======================================= [INFO] CPU Model Name: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz [INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX [INFO] Built: Nov 17 2020 [INFO] Version: 1.9.0 [INFO] Git: 3a0c5cc666 [INFO] ================================================= [INFO] [Input]: Found input driver: "dinput". [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] [Overrides]: Redirecting save file to "C:\RetroArch\saves\.srm". [INFO] [Overrides]: Redirecting save state to "C:\RetroArch\states\.state". [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Video @ 960x720 [INFO] [GL]: Found GL context: wgl [INFO] [GL]: Detecting screen resolution 1920x1080. [INFO] [WGL] extensions: WGL_EXT_depth_float WGL_ARB_buffer_region WGL_ARB_extensions_string WGL_ARB_make_current_read WGL_ARB_pixel_format WGL_ARB_pbuffer WGL_EXT_extensions_string WGL_EXT_swap_control WGL_ARB_multisample WGL_ARB_pixel_format_float WGL_ARB_fra [INFO] [WGL]: wglSwapInterval(1) [INFO] [GL]: Vendor: Intel, Renderer: Intel(R) HD Graphics 530. [INFO] [GL]: Version: 4.6.0 - Build 27.20.100.9126. [INFO] [GL]: Using ARB_sync to reduce latency. [INFO] [GL]: Using resolution 960x720 [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] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Linking GLSL program.
[INFO] Setting up menu pipeline shaders for XMB ...
[INFO] [GLSL]: Compiling ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: WARNING: 1:2: '' : #version directive missing

[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] [Joypad]: Found joypad driver: "dinput".
[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] [Display]: Found display driver: "gl".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[WARN] [XMB] Asset missing: C:\RetroArch\assets\xmb\flatui\png\disc.png
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "winmm" driver.
[INFO] Disconnecting device from port 5.
[INFO] Disconnecting device from port 6.
[INFO] Disconnecting device from port 7.
[INFO] Disconnecting device from port 8.
[INFO] Disconnecting device from port 9.
[INFO] Disconnecting device from port 10.
[INFO] Disconnecting device from port 11.
[INFO] Disconnecting device from port 12.
[INFO] Disconnecting device from port 13.
[INFO] Disconnecting device from port 14.
[INFO] Disconnecting device from port 15.
[INFO] Disconnecting device from port 16.
[INFO] [SRAM]: SRAM will not be saved.
[INFO] [Playlist]: Loading history file: [C:\RetroArch\content_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\RetroArch\content_music_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\RetroArch\content_video_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\RetroArch\content_image_history.lpl].
[INFO] [Playlist]: Loading favorites file: [C:\RetroArch\content_favorites.lpl].
[INFO] [GL]: VSync => on
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [GL]: VSync => on
[INFO] [WGL]: wglSwapInterval(1)
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[INFO] [CORE]: Using content: roms/n64/007 - GoldenEye (USA).n64.
[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.9.0 (Git 3a0c5cc666)
[INFO] [Overrides]: Redirecting save file to "C:\RetroArch\saves\007 - GoldenEye (USA).srm".
[INFO] [Overrides]: Redirecting save state to "C:\RetroArch\states\007 - GoldenEye (USA).state".
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i7-6700 CPU @ 3.40GHz
[INFO] Capabilities: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX
[INFO] Built: Nov 17 2020
[INFO] Version: 1.9.0
[INFO] Git: 3a0c5cc666
[INFO] =================================================
[INFO] [Input]: Found input driver: "dinput".
[INFO] [CORE]: Loading dynamic libretro core from: "C:\RetroArch\cores\parallel_n64_libretro.dll"
[INFO] [Overrides]: No core-specific overrides found at C:\RetroArch\config\ParaLLEl N64\ParaLLEl N64.cfg.
[INFO] [Overrides]: No content-dir-specific overrides found at C:\RetroArch\config\ParaLLEl N64\n64.cfg.
[INFO] [Overrides]: No game-specific overrides found at C:\RetroArch\config\ParaLLEl N64\007 - GoldenEye (USA).cfg.
[INFO] [Environ]: SET_VARIABLES.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[INFO] [Remaps]: remap directory: C:\RetroArch\config\remaps
[INFO] [Remaps]: core-specific remap found at C:\RetroArch\config\remaps\ParaLLEl N64\ParaLLEl N64.rmp.
[INFO] [Overrides]: Redirecting save file to "C:\RetroArch\saves\007 - GoldenEye (USA).srm".
[INFO] [Overrides]: Redirecting save state to "C:\RetroArch\states\007 - GoldenEye (USA).state".
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: GET_PERF_INTERFACE.
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[INFO] [Environ]: GET_RUMBLE_INTERFACE.
[INFO] [Environ]: SET_SERIALIZATION_QUIRKS.
[INFO] [CONTENT LOAD]: Loading content file: roms/n64/007 - GoldenEye (USA).n64.
[INFO] Did not find a valid content patch.
[INFO] [Environ]: SET_HW_RENDER, context type: vulkan.
[INFO] Requesting Vulkan context.
[INFO] Reached end of SET_HW_RENDER.
[INFO] [Environ]: SET_HW_RENDER_CONTEXT_NEGOTIATION_INTERFACE.
[libretro WARN] mupen64plus: No version number in 'Core' config section. Setting defaults.
[libretro INFO] EmuThread: M64CMD_ROM_OPEN
[libretro INFO] mupen64plus: Goodname: GOLDENEYE (unknown rom)
[libretro INFO] mupen64plus: Headername: GOLDENEYE
[libretro INFO] mupen64plus: Name: GOLDENEYE
[libretro INFO] mupen64plus: MD5: 70C525880240C1E838B8B1BE35666C3B
[libretro INFO] mupen64plus: CRC: dcbc50d1 9fd1aa3
[libretro INFO] mupen64plus: Imagetype: .v64 (byteswapped)
[libretro INFO] mupen64plus: Rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
[libretro INFO] mupen64plus: Version: 1447
[libretro INFO] mupen64plus: Manufacturer: Nintendo
[libretro INFO] mupen64plus: Country: USA
[libretro INFO] EmuThread: M64CMD_ROM_GET_HEADER
[INFO] [SRAM]: Skipping SRAM load..
[INFO] Version of libretro API: 1
[INFO] Compiled against API: 1
[INFO] [Cheats]: Load game-specific cheatfile: C:\RetroArch\cheats\ParaLLEl N64\007 - GoldenEye (USA).cht
[INFO] [Audio]: Set audio input rate to: 44004.66 Hz.
[INFO] [Video]: Video @ 1920x1440
[INFO] [Video]: Using HW render, vulkan driver forced.
[INFO] [Video]: "gl" saved as cached driver.
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[INFO] [Vulkan]: App: paraLLEl-RDP (version 0)
[INFO] [Vulkan]: Engine: Granite (version 0)
[INFO] [Vulkan]: Found vulkan context: vk_w
[INFO] [Vulkan]: Detecting screen resolution 1920x1080.
[INFO] [Vulkan]: Found GPU at index 0: Intel(R) HD Graphics 530
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Using semaphores for WSI acquire.
[INFO] [Vulkan]: Using GPU: Intel(R) HD Graphics 530
[INFO] [Vulkan]: Swapchain supports present mode: 0.
[INFO] [Vulkan]: Swapchain supports present mode: 2.
[INFO] [Vulkan]: Creating swapchain with present mode: 2
[INFO] [Vulkan]: Using swapchain size 1920 x 1055.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Using resolution 1920x1030
[INFO] [Vulkan]: Using BGRA8888 format.
[INFO] [Vulkan]: Loading stock shader.
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[libretro INFO] EmuThread: M64CMD_EXECUTE.
[libretro INFO] Using 3 sync frames for parallel-RDP.
[libretro INFO] Using 2x upscaling!
[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] [Environ]: SET_SUBSYSTEM_INFO.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[WARN] [XMB] Asset missing: C:\RetroArch\assets\xmb\flatui\png\disc.png
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "winmm" driver.
[INFO] Disconnecting device from port 5.
[INFO] Disconnecting device from port 6.
[INFO] Disconnecting device from port 7.
[INFO] Disconnecting device from port 8.
[INFO] Disconnecting device from port 9.
[INFO] Disconnecting device from port 10.
[INFO] Disconnecting device from port 11.
[INFO] Disconnecting device from port 12.
[INFO] Disconnecting device from port 13.
[INFO] Disconnecting device from port 14.
[INFO] Disconnecting device from port 15.
[INFO] Disconnecting device from port 16.
[INFO] [Playlist]: Loading history file: [C:\RetroArch\content_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\RetroArch\content_music_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\RetroArch\content_video_history.lpl].
[INFO] [Playlist]: Loading history file: [C:\RetroArch\content_image_history.lpl].
[INFO] [Playlist]: Loading favorites file: [C:\RetroArch\content_favorites.lpl].
[INFO] [Vulkan]: VSync => on
[INFO] [Playlist]: Written to playlist file: C:\RetroArch\content_history.lpl
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[libretro INFO] mupen64plus: Starting R4300 emulator: Dynamic Recompiler
[ERROR] [Vulkan]: Swapchain is out of date, trying to create new one.
[INFO] [Vulkan]: Swapchain supports present mode: 0.
[INFO] [Vulkan]: Swapchain supports present mode: 2.
[INFO] [Vulkan]: Creating swapchain with present mode: 2
[INFO] [Vulkan]: Using swapchain size 1920 x 1030.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Swapchain supports present mode: 0.
[INFO] [Vulkan]: Swapchain supports present mode: 2.
[INFO] [Vulkan]: Creating swapchain with present mode: 2
[INFO] [Vulkan]: Using swapchain size 1920 x 1030.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Destroying stale acquire semaphore.
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] [Audio]: Set audio input rate to: 44004.66 Hz.
[INFO] [Video]: Video @ fullscreen
[INFO] [Video]: Using HW render, vulkan driver forced.
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[INFO] [Vulkan]: App: paraLLEl-RDP (version 0)
[INFO] [Vulkan]: Engine: Granite (version 0)
[INFO] [Vulkan]: Found vulkan context: vk_w
[INFO] [Vulkan]: Detecting screen resolution 1920x1080.
[INFO] [Vulkan]: Found GPU at index 0: Intel(R) HD Graphics 530
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Using GPU: Intel(R) HD Graphics 530
[INFO] [Vulkan]: Swapchain supports present mode: 0.
[INFO] [Vulkan]: Swapchain supports present mode: 2.
[INFO] [Vulkan]: Creating swapchain with present mode: 2
[INFO] [Vulkan]: Using swapchain size 1920 x 1080.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Using resolution 1920x1080
[INFO] [Vulkan]: Using BGRA8888 format.
[INFO] [Vulkan]: Loading stock shader.
[INFO] [Joypad]: Found joypad driver: "dinput".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: win32
[libretro INFO] Using 3 sync frames for parallel-RDP.
[libretro INFO] Using 2x upscaling!
[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] [Environ]: SET_SUBSYSTEM_INFO.
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Font]: Using font rendering backend: freetype.
[WARN] [XMB] Asset missing: C:\RetroArch\assets\xmb\flatui\png\disc.png
[INFO] [MIDI]: Input disabled.
[INFO] [MIDI]: Output disabled.
[INFO] [MIDI]: Initialized "winmm" driver.
[INFO] Game focus => off

I don't have this problem on my laptop which is configured like this:

Intel i7-7Y75
Intel HD650 Graphic
Windows 10 Home

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the crash on Windows 10 with parallel-n64-gfxplugin and parallel-n64-rspplugin set to "parallel", then compare windowed and exclusive-fullscreen behavior. Start with the Vulkan hardware-rendering setup shown in the log, including SET_HW_RENDER and the parallel-RDP path. Done means games load without crashing when exclusive fullscreen is enabled.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.