libretro / RetroArch

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

RetroArch Crash Pararell #14449

Open ybucci opened 2 years ago

ybucci commented 2 years ago

First and foremost consider this:

Description

RetroArch crash when select GFX Plugin: Pararell and RSP Plugin: Pararell

Expected behavior

Works

Actual behavior

RetroArch crash when select GFX Plugin: Pararell and RSP Plugin: Pararell

Steps to reproduce the bug

  1. Select Core Pararell
  2. Open Game
  3. Open Core config
  4. Set GFX Plugin: Pararell and RSP Plugin: Pararell
  5. Close ROM
  6. Open ROM Again

Bisect Results

[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[INFO] [Core]: Using content: "/home/yuri/.config/retroarch/playlists/N64/San Francisco Rush - Extreme Racing (USA) (En,Fr,De) (Rev A).n64".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 2.
[INFO] [XINERAMA]: Saved monitor #0.
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] RetroArch 1.10.3 (Git 9b282aa742)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i5-9300H CPU @ 2.40GHz
[INFO] Capacidades:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2
[INFO] Built: Apr 22 2022
[INFO] Version: 1.10.3
[INFO] Git: 9b282aa742
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[INFO] [Core]: Loading dynamic libretro core from: "/home/yuri/.config/retroarch/cores/parallel_n64_libretro.so"
[INFO] [Overrides]: No core-specific overrides found at "/home/yuri/.config/retroarch/config/ParaLLEl N64/ParaLLEl N64.cfg".
[INFO] [Overrides]: No content-dir-specific overrides found at "/home/yuri/.config/retroarch/config/ParaLLEl N64/N64.cfg".
[INFO] [Overrides]: No game-specific overrides found at "/home/yuri/.config/retroarch/config/ParaLLEl N64/San Francisco Rush - Extreme Racing (USA) (En,Fr,De) (Rev A).cfg".
[INFO] [Environ]: SET_VARIABLES.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[INFO] [Remaps]: Remap directory: "/home/yuri/.config/retroarch/config/remaps".
[INFO] [Overrides]: Redirecionando arquivo dados da memória do jogo em "/home/yuri/.config/retroarch/saves/San Francisco Rush - Extreme Racing (USA) (En,Fr,De) (Rev A).srm".
[INFO] [Overrides]: Redirecionando o jogo salvo em "/home/yuri/.config/retroarch/states/San Francisco Rush - Extreme Racing (USA) (En,Fr,De) (Rev A).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]: Carregando arquivo de conteúdo: "/home/yuri/.config/retroarch/playlists/N64/San Francisco Rush - Extreme Racing (USA) (En,Fr,De) (Rev A).n64".
[INFO] [Content]: Não encontrou uma modificação de conteúdo válido.
[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: S.F. RUSH (unknown rom)
[libretro INFO] mupen64plus: Headername: S.F. RUSH
[libretro INFO] mupen64plus: Name: S.F. RUSH           
[libretro INFO] mupen64plus: MD5: 5B127E6B090A0B3F68A114D4D89323D4
[libretro INFO] mupen64plus: CRC: ac9f7da7 a8c029d8
[libretro INFO] mupen64plus: Imagetype: .v64 (byteswapped)
[libretro INFO] mupen64plus: Rom size: 8388608 bytes (or 8 Mb or 64 Megabits)
[libretro INFO] mupen64plus: Version: 1448
[libretro INFO] mupen64plus: Manufacturer: Nintendo
[libretro INFO] mupen64plus: Country: USA
[libretro INFO] EmuThread: M64CMD_ROM_GET_HEADER
[INFO] [Core]: Versão da API libretro: 1, Compilado contra a API: 1
[INFO] [Audio]: Set audio input rate to: 44004.66 Hz.
[INFO] [Video]: Set video size to: 1440x1080.
[INFO] [Video]: Using HW render, vulkan driver forced.
[INFO] [Video]: "vulkan" saved as cached driver.
[ERROR] [Wayland]: Failed to connect to Wayland server.
[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_x".
[INFO] [Vulkan]: Detecting screen resolution: 4480x1080.
[INFO] [X/Vulkan]: Window manager is GNOME Shell.
[INFO] [X/Vulkan]: X = 0, Y = 0, W = 1440, H = 1080.
[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]: Enabling instance extension: VK_EXT_debug_utils.
MESA-INTEL: warning: Performance support disabled, consider sysctl dev.i915.perf_stream_paranoid=0

[INFO]: Found Vulkan GPU: Intel(R) UHD Graphics 630 (CFL GT2)
[INFO]:     API: 1.3.204
[INFO]:     Driver: 22.0.5
[INFO]: Found Vulkan GPU: llvmpipe (LLVM 13.0.1, 256 bits)
[INFO]:     API: 1.2.204
[INFO]:     Driver: 0.0.1
[INFO]: Found Vulkan GPU: NVIDIA GeForce GTX 1650
[INFO]:     API: 1.3.205
[INFO]:     Driver: 515.304.0
[INFO]: Selected Vulkan GPU: Intel(R) UHD Graphics 630 (CFL GT2)
[INFO]: GPU supports Vulkan 1.1.
[ERROR]: Failed to create Vulkan device.
[WARN] [Vulkan]: Failed to create device with negotiation interface. Falling back to default path.
[INFO] [Vulkan]: Found GPU at index 0: "Intel(R) UHD Graphics 630 (CFL GT2)".
[INFO] [Vulkan]: Found GPU at index 1: "llvmpipe (LLVM 13.0.1, 256 bits)".
[INFO] [Vulkan]: Found GPU at index 2: "NVIDIA GeForce GTX 1650".
[INFO] [Vulkan]: Using GPU index 2.
[INFO] [Vulkan]: Using fences for WSI acquire.
[INFO] [Vulkan]: Using GPU: "NVIDIA GeForce GTX 1650".
[INFO] [Vulkan]: Queue family 0 supports 16 sub-queues.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Using resolution 1440x1004.
[INFO] [Vulkan]: Using BGRA8888 format.
[INFO] [Vulkan]: Loading stock shader.
[INFO] [udev]: Pad #0 (/dev/input/event5) supports force feedback.
[INFO] [udev]: Pad #0 (/dev/input/event5) supports 16 force feedback effects.
[INFO] [Joypad]: Found joypad driver: "udev".
[INFO] [Font]: Using font rendering backend: "freetype".
[INFO] [DBus]: Suspended screensaver via DBus.
[INFO] [Video]: Found display server: "x11".
plugin_start_gfx success.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[libretro INFO] EmuThread: M64CMD_EXECUTE.
Gfx RomOpen.
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Display]: Found display driver: "vulkan".
[INFO] [Environ]: SET_SUBSYSTEM_INFO.
[INFO] [Playlist]: Carregando arquivo de histórico: "/home/yuri/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Carregando arquivo de histórico: "/home/yuri/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Carregando arquivo de histórico: "/home/yuri/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Carregando arquivo de histórico: "/home/yuri/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Carregando o arquivo de favoritos: "/home/yuri/.config/retroarch/content_favorites.lpl".
fish: Tarefa 1, 'retroarch --verbose' encerrada pelo sinal SIGSEGV (Erro de fronteira de endereço (Falha de segmentação))

Version/Commit

All Versions - APP Image, PPA, Flatpak

Environment information

LibretroAdmin commented 2 years ago

This is not a RetroArch-related issue, but a core issue most likely.

[ERROR]: Failed to create Vulkan device.

Looks like it couldn't create the Vulkan device for whatever reason.

@Themaister Any thoughts?

i30817 commented 2 years ago

Looks like a mixed gpu intel/nvidia linux laptop system being stupid. I have one too - try to set the 'gpu index' on settings->video->output to your nvidia card.

Not that it should crash with the intel inbuilt card of course (only way not to have the fan full blast).

ybucci commented 2 years ago

@i30817 I already set GPU Vulkan Index in retroarch.cfg but the error is the same, I tried a lot of configurations....