libretro / LRPS2

GNU General Public License v2.0
165 stars 48 forks source link

Launching without BIOS file present causes core to crash without error #149

Closed obbardc closed 3 years ago

obbardc commented 3 years ago

PCSX2 version:

latest development HEAD 9ebb8710e749a63d68b0651278b41efdb171f332 with retroarch 1.9.9

PCSX2 options:

none

Plugins used:

none

Description of the issue:

Launching without BIOS file present causes core to crash without error. Should an error should be shown to the user about putting the BIOS in the right place?

$ flatpak run org.libretro.RetroArch
[INFO] RetroArch 1.9.9 (Git 3688861)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2
[INFO] Built: Sep  6 2021
[INFO] Version: 1.9.9
[INFO] Git: 3688861
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[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
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] [GLX]: GLX_EXT_swap_control_tear supported.
[INFO] [GL]: Found GL context: x
[INFO] [GL]: Detecting screen resolution 3840x2160.
[INFO] [GLX]: Window manager is Xfwm4.
[INFO] [GLX]: X = 0, Y = 0, W = 960, H = 720.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GL]: Vendor: Intel Open Source Technology Center, Renderer: Mesa DRI Intel(R) UHD Graphics 620 (WHL GT2).
[INFO] [GL]: Version: 3.0 Mesa 21.1.4 (git-ac105a8e6e).
[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] [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] [Joypad]: Found joypad driver: "sdl2".
[INFO] [Font]: Using font rendering backend: freetype.
[INFO] [Video]: Found display server: x11
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 24576.
[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: [/home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/content_history.lpl].
[INFO] [Playlist]: Loading history file: [/home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/content_music_history.lpl].
[INFO] [Playlist]: Loading history file: [/home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/content_video_history.lpl].
[INFO] [Playlist]: Loading history file: [/home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/content_image_history.lpl].
[INFO] [Playlist]: Loading favorites file: [/home/obbardc/.var/app/org.libretro.RetroArch/config/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] [PulseAudio]: Pausing.
[INFO] [CONTENT LOAD]: Updating firmware status for: /home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/cores/pcsx2_libretro.so on /home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/system
[INFO] [CORE]: Using content: /home/obbardc/Downloads/Gran Turismo 4 (USA).7z.
[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: 3.
[INFO] [XINERAMA]: Saved monitor #2.
[INFO] [Video]: Does not have enough samples for monitor refresh rate estimation. Requires to run for at least 4096 frames.
[INFO] RetroArch 1.9.9 (Git 3688861)
[INFO] === Build =======================================
[INFO] CPU Model Name: Intel(R) Core(TM) i7-8565U CPU @ 1.80GHz
[INFO] Capabilities:  MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE4.2 AES AVX AVX2
[INFO] Built: Sep  6 2021
[INFO] Version: 1.9.9
[INFO] Git: 3688861
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[INFO] [Core]: Loading dynamic libretro core from: "/home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/cores/pcsx2_libretro.so"
[INFO] [Overrides]: No core-specific overrides found at "/home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/config/pcsx2 (alpha)/pcsx2 (alpha).cfg".
[INFO] [Overrides]: No content-dir-specific overrides found at "/home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/config/pcsx2 (alpha)/Downloads.cfg".
[INFO] [Overrides]: No game-specific overrides found at "/home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/config/pcsx2 (alpha)/Gran Turismo 4 (USA).cfg".
[INFO] [Environ]: SET_SUPPORT_NO_GAME: yes.
[INFO] [Remaps]: Remap directory: "/home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/config/remaps".
[INFO] [Overrides]: Redirecting save file to "/home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/saves/Gran Turismo 4 (USA).srm".
[INFO] [Overrides]: Redirecting save state to "/home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/states/Gran Turismo 4 (USA).state".
[INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888.
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: SYSTEM_DIRECTORY: "/home/obbardc/.var/app/org.libretro.RetroArch/config/retroarch/system".
[INFO] [Environ]: GET_SAVE_DIRECTORY.
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: SET_CORE_OPTIONS.
[INFO] [Environ]: GET_VARIABLE pcsx2_upscale_multiplier: not implemented.

How to reproduce the issue:

Launch the core with out BIOS files present.

Last known version to work:

none

PC specifications:

see log

GABO1423 commented 3 years ago

No shit lol. PCSX2 needs BIOS files in order to work at all, same deal with standalone PCSX2.

obbardc commented 3 years ago

No shit lol. PCSX2 needs BIOS files in order to work at all, same deal with standalone PCSX2.

Yeah, but my point is it'd be nice to show an error why the core didn't start. Maybe someone put the bios in the wrong place or something.