ParaLLEI N64 (latest build with Vulkan) GFX / RDP Segfaults

I have recently purchased a second hand RX570 AMD GPU supporting Vulkan (Sapphire board) for my Linux in order to give it some boost and mainly my previous NVIDIA board never went to a Vulkan rendering on Linux while it should have on paper.

So fresh RX570 and use of AMDGPU driver (open source driver with AMD guidelines) directly built in kernel - I had read AMDGPU-PRO (proprietary AMD closed source drive) is not needed except your want to scratch your head in order to support for OpenCl and an alternative Vulkan implementation.

Therefore a few tests - a few compiles of retroarch to have vulkan support + ppsspp alone program with Vulkan driver - perfect.

When I run ParraLLEL N64 with vulkan renderer (GFX/RDP) … crash (see below)

I read from announcement there were no test on AMD during early tests - how may I help debug ?

[INFO] Redirection du fichier de sauvegarde instantanée vers “/media/nasHome/lanciaux/Jeux/R_Roms/R_N64/1080 Snowboarding (JU) [!].state”. [INFO] === Build ======================================= [INFO] CPU Model Name: AMD Athlon™ 64 X2 Dual Core Processor 4200+ [INFO] Capacités: MMX MMXEXT SSE SSE2 SSE3 [INFO] Built: May 28 2020 [INFO] Version: 1.8.8 [INFO] Git: dd65d901ee [INFO] ================================================= [INFO] Loading dynamic libretro core from: “/home/lanciaux/.config/retroarch/cores/parallel_n64_libretro.so” [INFO] [Overrides] no core-specific overrides found at /home/lanciaux/.config/retroarch/config/ParaLLEl N64/ParaLLEl N64.cfg. [INFO] [Overrides] no content-dir-specific overrides found at /home/lanciaux/.config/retroarch/config/ParaLLEl N64/R_N64.cfg. [INFO] [Overrides] no game-specific overrides found at /home/lanciaux/.config/retroarch/config/ParaLLEl N64/1080 Snowboarding (JU) [!].cfg. [INFO] [Environ]: SET_VARIABLES. [INFO] [Environ]: SET_CONTROLLER_INFO. [INFO] [Remaps]: remap directory: /home/lanciaux/.config/retroarch/config/remaps [INFO] Redirection du fichier de sauvegarde vers “/media/nasHome/lanciaux/Jeux/R_Roms/R_N64/1080 Snowboarding (JU) [!].srm”. [INFO] Redirection du fichier de sauvegarde instantanée vers “/media/nasHome/lanciaux/Jeux/R_Roms/R_N64/1080 Snowboarding (JU) [!].state”. [INFO] [Environ]: GET_LOG_INTERFACE. [INFO] [Environ]: GET_PERF_INTERFACE. [INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888. [INFO] [Environ]: GET_RUMBLE_INTERFACE. [INFO] Chargement du fichier de contenu: /media/nasHome/lanciaux/Jeux/R_Roms/R_N64/1080 Snowboarding (JU) [!].z64. [INFO] Impossible de trouver un patch valide pour ce contenu. [INFO] [Environ]: SET_HW_RENDER. [INFO] Requesting Vulkan context. [INFO] [Environ]: SET_HW_RENDER_CONTEXT_NEGOTIATION_INTERFACE. [libretro INFO] mupen64plus: No version number in ‘Core’ config section. Setting defaults. [libretro INFO] EmuThread: M64CMD_ROM_OPEN [libretro INFO] mupen64plus: Goodname: 1080 SNOWBOARDING (unknown rom) [libretro INFO] mupen64plus: Headername: 1080 SNOWBOARDING [libretro INFO] mupen64plus: Name: 1080 SNOWBOARDING
[libretro INFO] mupen64plus: MD5: FA27089C425DBAB99F19245C5C997613 [libretro INFO] mupen64plus: CRC: 1fbaf161 2c1c54f1 [libretro INFO] mupen64plus: Imagetype: .z64 (native) [libretro INFO] mupen64plus: Rom size: 16777216 bytes (or 16 Mb or 128 Megabits) [libretro INFO] mupen64plus: ClockRate = f [libretro INFO] mupen64plus: Version: 1449 [libretro INFO] mupen64plus: Manufacturer: Nintendo [libretro INFO] mupen64plus: Cartridge_ID: 4554 [libretro INFO] mupen64plus: Country: USA/Japan [libretro INFO] mupen64plus: PC = 80100400 [libretro INFO] mupen64plus: Save type: 5 [libretro INFO] EmuThread: M64CMD_ROM_GET_HEADER [INFO] Chargement de la SRAM ignoré… [INFO] Version de l’API libretro: 1 [INFO] Compilé avec l’API: 1 [INFO] [Cheats]: Load game-specific cheatfile: /home/lanciaux/.config/retroarch/cheats/ParaLLEl N64/1080 Snowboarding (JU) [!].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]: “glcore” saved as cached driver. [ERROR] [Wayland]: Failed to connect to Wayland server. [INFO] Vulkan dynamic library loaded. [INFO] [Vulkan]: App: paraLLEl-RDP (version 0) [INFO] [Vulkan]: Engine: Granite (version 0) [INFO] [Vulkan]: Found vulkan context: x [INFO] [Vulkan]: Detecting screen resolution 1920x1080. [INFO] [GLX]: Window manager is KWin. [INFO] [GLX]: X = 0, Y = 0, W = 1920, H = 1440. [INFO]: Enabling instance extension: VK_KHR_get_physical_device_properties2. [INFO]: Enabling instance extension: VK_KHR_external_memory_capabilities. [INFO]: Enabling instance extension: VK_KHR_external_semaphore_capabilities. [INFO]: Found Vulkan GPU: AMD RADV POLARIS10 (LLVM 7.0.1) [INFO]: API: 1.1.70 [INFO]: Driver: 18.3.2 [INFO]: Selected Vulkan GPU: AMD RADV POLARIS10 (LLVM 7.0.1) [INFO]: GPU supports Vulkan 1.1. Erreur de segmentation (core dumped)

1 Like

Does it treat you any differently if your video driver is set to vulkan before launching the core?

What do you mean ? Was I OpenGl as defaut driver on retroarch ? No : I had forced vulkan for retroarch.

I was referring to this line:

[INFO] [Video]: “glcore” saved as cached driver.

which suggests that you had glcore as your driver before launching, and when I try to use ParaLLEl-RDP from glcore, it segfaults, as well. But when I set my video driver to vulkan before launching, it goes fine (though it does drop me to an ERR screen, suggesting my driver doesn’t have the required extensions).

Here is with glcore as default video driver :

[INFO] [Audio]: Set audio input rate to: 44004.66 Hz.
[INFO] [Video]: Video @ 1920x1440
[INFO] [Video]: Using HW render, Vulkan driver forced.
[INFO] [Video]: "glcore" saved as cached driver.
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] Vulkan dynamic library loaded.
[INFO] [Vulkan]: App: paraLLEl-RDP (version 0)
[INFO] [Vulkan]: Engine: Granite (version 0)
[INFO] [Vulkan]: Found vulkan context: x
[INFO] [Vulkan]: Detecting screen resolution 1920x1080.
[INFO] [GLX]: Window manager is KWin.
[INFO] [GLX]: X = 0, Y = 0, W = 1920, H = 1440.
[INFO]: Enabling instance extension: VK_KHR_get_physical_device_properties2.
[INFO]: Enabling instance extension: VK_KHR_external_memory_capabilities.
[INFO]: Enabling instance extension: VK_KHR_external_semaphore_capabilities.
[INFO]: Found Vulkan GPU: AMD RADV POLARIS10 (LLVM 7.0.1)
[INFO]:     API: 1.1.70
[INFO]:     Driver: 18.3.2
[INFO]: Selected Vulkan GPU: AMD RADV POLARIS10 (LLVM 7.0.1)
[INFO]: GPU supports Vulkan 1.1.
Erreur de segmentation (core dumped)

and with Vulkan forced as defaut video driver :

[INFO] [Audio]: Set audio input rate to: 44004.66 Hz.
[INFO] [Video]: Video @ 1920x1440
[INFO] [Video]: Using HW render, Vulkan driver forced.
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] Vulkan dynamic library loaded.
[INFO] [Vulkan]: App: paraLLEl-RDP (version 0)
[INFO] [Vulkan]: Engine: Granite (version 0)
[INFO] [Vulkan]: Found vulkan context: x
[INFO] [Vulkan]: Detecting screen resolution 1920x1080.
[INFO] [GLX]: Window manager is KWin.
[INFO] [GLX]: X = 0, Y = 0, W = 1920, H = 1440.
[INFO]: Enabling instance extension: VK_KHR_get_physical_device_properties2.
[INFO]: Enabling instance extension: VK_KHR_external_memory_capabilities.
[INFO]: Enabling instance extension: VK_KHR_external_semaphore_capabilities.
[INFO]: Found Vulkan GPU: AMD RADV POLARIS10 (LLVM 7.0.1)
[INFO]:     API: 1.1.70
[INFO]:     Driver: 18.3.2
[INFO]: Selected Vulkan GPU: AMD RADV POLARIS10 (LLVM 7.0.1)
[INFO]: GPU supports Vulkan 1.1.
Erreur de segmentation (core dumped)

Hmm, dunno what to tell you then, sorry. I’ll keep an eye out for a solution and let you know if I come across anything.

What would be interesting would be to have more log information than ‘retroarch -v’ when it crashes but i do not know how (if available also) ?

Hi, I’m new here so I can’t create a topic for my question unfortunately:

I tried paraLLEl N64 RDP in combination with CRTSwitchRes (Native) and it results in a black screen with ‘No Sync’ on my sony PVM. Is CRTSwitchRes supposed to work with pareLLEl N64 RDP? I changed both settings to ‘parallel’.

Hello. I wanted to sign my issue has gone since yesterday i have updated mesa 18.x to 19.x (Suse Leap 15.1 to 15.2). No more crash.

Yours

1 Like