libretro / pcsx_rearmed

ARM optimized PCSX fork
GNU General Public License v2.0
167 stars 120 forks source link

[PS Vita] Core crashes when loading a chd .iso .bin on 12fc12797064599dfca2d44043d5c02a949711ef #596

Closed DerinQyu closed 2 years ago

DerinQyu commented 2 years ago

Description

Since #587, on the ps vita the core crashes when trying to load a game.

Same as described here https://github.com/libretro/pcsx_rearmed/issues/592#issue-1092060951

Steps to reproduce

go to load content and then try to open a game, retroarch will crash and send the user to the livearea. Tested using .chd .iso and bin cue files

When did the behavior start?

Latest working build is from Dec 14 2021 on commit 589bd99ba31de8216624dbf0cbbc016f0663ce3d

Your device/OS/platform/architecture

PlayStation Vita 3.60 Enso Henkaku RetroArch 1.10 bacae58ea54af30eb73b9944d76e93b2516ce193

Logs (enable file logging and set log levels to DEBUG for core and frontend)

Screenshots (if needed for visual confirmation)

Others (save states and/or save files nearest to the affected area, compressed)

notaz commented 2 years ago

Reportedly 3DS works again with f8a8da843a019f05530516073c9cb611faa92b93, if Vita is still crashing I'll need logs.

notaz commented 2 years ago

I think I found the missing piece, as of fa5898eb14e4561615423a39dd759e3bb9a1eede it is much more likely to work.

DerinQyu commented 2 years ago

Reportedly 3DS works again with f8a8da8, if Vita is still crashing I'll need logs.

Hello I'm sorry for the late reply, just tested today's nightly build and the core crashes at startup, heres the log

retroarch.log

Also here is a log with commit f8a8da843a019f05530516073c9cb611faa92b93 retroarch2022_01_2223_04_58.log

notaz commented 2 years ago

Could you try the latest nightly? Also with logs if you still get a crash.

DerinQyu commented 2 years ago

Hello, tried the latest nightly available on the buildbot and the core crashed. Here's the log retroarch.log

and the crash dumps the vita made: vita crash dump.zip

DerinQyu commented 2 years ago

Screenshots of the content inside the crash dumps

2022-01-23-185403-799139 2022-01-23-185408-837525

DerinQyu commented 2 years ago

Hello again, just tested the 2022-01-24_RetroArch_piglet.vpk nightly with commit ab51e9e and the core works again. I was able to play Mega Man X4 (as a .chd file) without problem.

here are the logs just in case:

[INFO] RetroArch 1.10.0 (Git 6ee3c14)
[INFO] === Build =======================================
[INFO] Capabilities:  NEON
[INFO] Built: Jan 24 2022
[INFO] Version: 1.10.0
[INFO] Git: 6ee3c14
[INFO] =================================================
[INFO] [Input]: Found input driver: "vita".
[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: 1080x720.
[INFO] [EGL] Falling back to eglGetDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [GL]: Found GL context: "vita".
[INFO] [GL]: Detecting screen resolution: 960x544.
[INFO] [EGL]: Current context: 0x94e136b4.
[INFO] [GL]: Vendor: CBPS Labs, Renderer: PIB.
[INFO] [GL]: Version: OpenGL ES 2.0 PIB(1.00).
[INFO] [GL]: Using resolution 960x544.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: °c
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °c
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: °c
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °c
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: °c
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °c
[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: °c
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °c
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: °c
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °c
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [Font]: Using font rendering backend: "stb-unicode".
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[INFO] [Joypad]: Found joypad driver: "vita".
[INFO] [Video]: Found display server: "null".
[INFO] [Display]: Found display driver: "gl".
[INFO] [SRAM]: SRAM will not be saved.
[INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading favorites file: "ux0:/data/retroarch/content_favorites.lpl".
[INFO] FRONTEND_FORK_CORE_WITH_ARGS
[INFO] [Config]: Saving salamander config to: "ux0:/data/retroarch/retroarch-salamander.cfg".
[INFO] [Config]: Saved new config to "ux0:/data/retroarch/retroarch.cfg".
[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] Attempt to load executable: [app0:/pcsx_rearmed_libretro.self].
[INFO] Attempt to load executable: 52 [ux0:/data/retroarch/downloads/Mega Man X4 (USA).chd]
[INFO] RetroArch 1.10.0 (Git 6ee3c14)
[INFO] === Build =======================================
[INFO] Capabilities:  NEON
[INFO] Built: Jan 24 2022
[INFO] Version: 1.10.0
[INFO] Git: 6ee3c14
[INFO] =================================================
[INFO] [Input]: Found input driver: "vita".
[INFO] [Overrides]: No core-specific overrides found at "ur0:/vitaroms/system_data/config/PCSX-ReARMed/PCSX-ReARMed.cfg".
[INFO] [Overrides]: No content-dir-specific overrides found at "ur0:/vitaroms/system_data/config/PCSX-ReARMed/downloads.cfg".
[INFO] [Overrides]: No game-specific overrides found at "ur0:/vitaroms/system_data/config/PCSX-ReARMed/Mega Man X4 (USA).cfg".
[INFO] [Environ]: GET_LOG_INTERFACE.
[INFO] [Environ]: SET_CONTROLLER_INFO.
[INFO]    Controller port: 1
[INFO]       standard (ID: 1)
[INFO]       analog (ID: 261)
[INFO]       dualshock (ID: 517)
[INFO]       negcon (ID: 773)
[INFO]       guncon (ID: 260)
[INFO]       mouse (ID: 258)
[INFO]       (null) (ID: 0)
[INFO]    Controller port: 2
[INFO]       standard (ID: 1)
[INFO]       analog (ID: 261)
[INFO]       dualshock (ID: 517)
[INFO]       negcon (ID: 773)
[INFO]       guncon (ID: 260)
[INFO]       mouse (ID: 258)
[INFO]       (null) (ID: 0)
[INFO]    Controller port: 3
[INFO]       standard (ID: 1)
[INFO]       analog (ID: 261)
[INFO]       dualshock (ID: 517)
[INFO]       negcon (ID: 773)
[INFO]       guncon (ID: 260)
[INFO]       mouse (ID: 258)
[INFO]       (null) (ID: 0)
[INFO]    Controller port: 4
[INFO]       standard (ID: 1)
[INFO]       analog (ID: 261)
[INFO]       dualshock (ID: 517)
[INFO]       negcon (ID: 773)
[INFO]       guncon (ID: 260)
[INFO]       mouse (ID: 258)
[INFO]       (null) (ID: 0)
[INFO]    Controller port: 5
[INFO]       standard (ID: 1)
[INFO]       analog (ID: 261)
[INFO]       dualshock (ID: 517)
[INFO]       negcon (ID: 773)
[INFO]       guncon (ID: 260)
[INFO]       mouse (ID: 258)
[INFO]       (null) (ID: 0)
[INFO]    Controller port: 6
[INFO]       standard (ID: 1)
[INFO]       analog (ID: 261)
[INFO]       dualshock (ID: 517)
[INFO]       negcon (ID: 773)
[INFO]       guncon (ID: 260)
[INFO]       mouse (ID: 258)
[INFO]       (null) (ID: 0)
[INFO]    Controller port: 7
[INFO]       standard (ID: 1)
[INFO]       analog (ID: 261)
[INFO]       dualshock (ID: 517)
[INFO]       negcon (ID: 773)
[INFO]       guncon (ID: 260)
[INFO]       mouse (ID: 258)
[INFO]       (null) (ID: 0)
[INFO]    Controller port: 8
[INFO]       standard (ID: 1)
[INFO]       analog (ID: 261)
[INFO]       dualshock (ID: 517)
[INFO]       negcon (ID: 773)
[INFO]       guncon (ID: 260)
[INFO]       mouse (ID: 258)
[INFO]       (null) (ID: 0)
[INFO] [Environ]: GET_CORE_OPTIONS_VERSION.
[INFO] [Environ]: GET_LANGUAGE: "0".
[INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL.
[INFO] [Remaps]: Remap directory: "ur0:/vitaroms/system_data/remaps".
[INFO] [Remaps]: Game-specific remap found at "ur0:/vitaroms/system_data/remaps/PCSX-ReARMed/Mega Man X4 (USA).rmp".
[INFO] [Overrides]: Redirecting save file to "ur0:/vitaroms/system_data/savefiles/Mega Man X4 (USA).srm".
[INFO] [Overrides]: Redirecting save state to "ur0:/vitaroms/system_data/savestates/Mega Man X4 (USA).state".
[INFO] [Environ]: GET_MESSAGE_INTERFACE_VERSION.
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_memcard2 = "disabled"
[libretro INFO] Memcard 2: disabled
[libretro INFO] Starting PCSX-ReARMed ab51e9e
[libretro INFO] Running PCSX Version 1.9 (Jan 24 2022).
[libretro INFO] psxMap: warning: wanted to map @80000000, got 0x86000000
[libretro INFO] psxMap: warning: wanted to map @77000000, got 0x86000000
[libretro INFO] psxMap: warning: wanted to map @1f800000, got 0x85800000
[libretro INFO] psxMap: warning: wanted to map @1fc00000, got 0x85c00000
[libretro INFO] Init new dynarec, ndrc size 1000000
[libretro INFO] testing if we can run recompiled code @0x82200000...
[libretro INFO] test passed.
[libretro INFO] warning: RAM is not directly mapped, performance will suffer
[libretro INFO] psxMap: warning: wanted to map @08000000, got 0x84000000
[libretro INFO] Mapped (RAM/scrp/ROM/LUTs/TC):
[libretro INFO] 0x86000000/0x85800000/0x85c00000/0x84000000/0x82200000
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_bios = "auto"
[INFO] [Environ]: SYSTEM_DIRECTORY: "ur0:/vitaroms/system_data/BIOS".
[libretro INFO] found BIOS file: PSXONPSP660.bin
[INFO] [Environ]: GET_CAN_DUPE: true
[INFO] [Environ]: GET_DISK_CONTROL_INTERFACE_VERSION.
[INFO] [Environ]: SET_DISK_CONTROL_EXT_INTERFACE.
[INFO] [Environ]: GET_RUMBLE_INTERFACE.
[INFO] [Environ]: PERFORMANCE_LEVEL: 6.
[INFO] [Content]: Content loading skipped. Implementation will load it on its own.
[INFO] [Environ]: SET_INPUT_DESCRIPTORS:
[INFO]    RetroPad, Port 1, Button "B (bottom)" => "Cross"
[INFO]    RetroPad, Port 1, Button "Y (left)" => "Square"
[INFO]    RetroPad, Port 1, Button "Select" => "Select"
[INFO]    RetroPad, Port 1, Button "Start" => "Start"
[INFO]    RetroPad, Port 1, Button "D-Pad Up" => "D-Pad Up"
[INFO]    RetroPad, Port 1, Button "D-Pad Down" => "D-Pad Down"
[INFO]    RetroPad, Port 1, Button "D-Pad Left" => "D-Pad Left"
[INFO]    RetroPad, Port 1, Button "D-Pad Right" => "D-Pad Right"
[INFO]    RetroPad, Port 1, Button "A (right)" => "Circle"
[INFO]    RetroPad, Port 1, Button "X (up)" => "Triangle"
[INFO]    RetroPad, Port 1, Button "L" => "L1"
[INFO]    RetroPad, Port 1, Button "R" => "R1"
[INFO]    RetroPad, Port 1, Button "L2" => "L2"
[INFO]    RetroPad, Port 1, Button "R2" => "R2"
[INFO]    RetroPad, Port 1, Button "L3" => "L3"
[INFO]    RetroPad, Port 1, Button "R3" => "R3"
[INFO]    RetroPad, Port 2, Button "B (bottom)" => "Cross"
[INFO]    RetroPad, Port 2, Button "Y (left)" => "Square"
[INFO]    RetroPad, Port 2, Button "Select" => "Select"
[INFO]    RetroPad, Port 2, Button "Start" => "Start"
[INFO]    RetroPad, Port 2, Button "D-Pad Up" => "D-Pad Up"
[INFO]    RetroPad, Port 2, Button "D-Pad Down" => "D-Pad Down"
[INFO]    RetroPad, Port 2, Button "D-Pad Left" => "D-Pad Left"
[INFO]    RetroPad, Port 2, Button "D-Pad Right" => "D-Pad Right"
[INFO]    RetroPad, Port 2, Button "A (right)" => "Circle"
[INFO]    RetroPad, Port 2, Button "X (up)" => "Triangle"
[INFO]    RetroPad, Port 2, Button "L" => "L1"
[INFO]    RetroPad, Port 2, Button "R" => "R1"
[INFO]    RetroPad, Port 2, Button "L2" => "L2"
[INFO]    RetroPad, Port 2, Button "R2" => "R2"
[INFO]    RetroPad, Port 2, Button "L3" => "L3"
[INFO]    RetroPad, Port 2, Button "R3" => "R3"
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[libretro INFO] RGB565 supported, using it
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_frameskip = "0"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_region = "auto"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_multitap = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_negcon_deadzone = "0"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_negcon_response = "linear"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_analog_axis_modifier = "circle"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_vibration = "enabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_dithering = "enabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_neon_interlace_enable = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_neon_enhancement_enable = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_neon_enhancement_no_main = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_duping_enable = "enabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_display_internal_fps = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_drc = "enabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_spu_reverb = "enabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_spu_interpolation = "simple"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_pe2_fix = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_icache_emulation = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_inuyasha_fix = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_async_cd = "sync"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_noxadecoding = "enabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_nocdaudio = "enabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_spuirq = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_gunconadjustx = "0"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_gunconadjusty = "0"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_gunconadjustratiox = "1"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_gunconadjustratioy = "1"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_nosmccheck = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_gteregsunneeded = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_nogteflags = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_psxclock = "57"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_nocompathacks = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_nostalls = "disabled"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_input_sensitivity = "1.00"
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_show_other_input_settings = "disabled"
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[DEBUG] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY.
[INFO] [Environ]: GET_VARIABLE: pcsx_rearmed_show_bios_bootlogo = "disabled"
[libretro INFO] plugin: plugins/builtin_gpu
[libretro INFO] plugin: plugins/builtin_spu
[libretro INFO] plugin: plugins/builtin_pad
[libretro INFO] plugin: plugins/builtin_pad
[libretro INFO] Plugins loaded.
[libretro INFO] Loaded CD Image: ux0:/data/retroarch/downloads/Mega Man X4 (USA).chd[+chd].
[libretro INFO] Track 01 (DATA) - Start 00:02:00, Length 55:57:18
[libretro INFO] CD-ROM Label: MEGAMAN_X4                      
[libretro INFO] CD-ROM ID: SLUS00561
[libretro INFO] CD-ROM EXE Name: SLUS_005.61;1
[INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
[INFO] [Audio]: Set audio input rate to: 44100.00 Hz.
[INFO] [Video]: Set video size to: 1080x720.
[INFO] [EGL] Falling back to eglGetDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [GL]: Found GL context: "vita".
[INFO] [GL]: Detecting screen resolution: 960x544.
[INFO] [EGL]: Current context: 0x94e136b4.
[INFO] [GL]: Vendor: CBPS Labs, Renderer: PIB.
[INFO] [GL]: Version: OpenGL ES 2.0 PIB(1.00).
[INFO] [GL]: Using resolution 960x544.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shaders]: Specific shader preset found at "ur0:/vitaroms/system_data/config/global.glslp".
[INFO] [Shader driver]: Using GLSL shader backend.
[DEBUG] [Shaders]:  Finding Parameters in Shader Passes (#pragma parameter)
[DEBUG] [Shaders]:     Found #pragma parameter Scanline Thickness (SCANTHICK) 2.000000 2.000000 4.000000 2.000000 in pass 0
[DEBUG] [Shaders]:     Found #pragma parameter Scanline Intensity (INTENSITY) 0.150000 0.000000 1.000000 0.010000 in pass 0
[DEBUG] [Shaders]:     Found #pragma parameter Luminance Boost (BRIGHTBOOST) 0.150000 0.000000 1.000000 0.010000 in pass 0
[DEBUG] [Shaders]:     Found #pragma parameter Screen curvature - horizontal (CURVATURE_X) 0.100000 0.000000 1.000000 0.010000 in pass 0
[DEBUG] [Shaders]:     Found #pragma parameter Screen curvature - vertical (CURVATURE_Y) 0.150000 0.000000 1.000000 0.010000 in pass 0
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °_
[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: °_
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [Font]: Using font rendering backend: "stb-unicode".
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[INFO] [Joypad]: Found joypad driver: "vita".
[INFO] [Video]: Found display server: "null".
[INFO] [Display]: Found display driver: "gl".
[DEBUG] [Shaders]:  Finding Parameters in Shader Passes (#pragma parameter)
[DEBUG] [Shaders]:     Found #pragma parameter Scanline Thickness (SCANTHICK) 2.000000 2.000000 4.000000 2.000000 in pass 0
[DEBUG] [Shaders]:     Found #pragma parameter Scanline Intensity (INTENSITY) 0.150000 0.000000 1.000000 0.010000 in pass 0
[DEBUG] [Shaders]:     Found #pragma parameter Luminance Boost (BRIGHTBOOST) 0.150000 0.000000 1.000000 0.010000 in pass 0
[DEBUG] [Shaders]:     Found #pragma parameter Screen curvature - horizontal (CURVATURE_X) 0.100000 0.000000 1.000000 0.010000 in pass 0
[DEBUG] [Shaders]:     Found #pragma parameter Screen curvature - vertical (CURVATURE_Y) 0.150000 0.000000 1.000000 0.010000 in pass 0
[libretro INFO] port: 1  device: standard
[libretro INFO] port: 2  device: standard
[libretro INFO] port: 3  device: none
[libretro INFO] port: 4  device: none
[libretro INFO] port: 5  device: none
[libretro INFO] port: 6  device: none
[libretro INFO] port: 7  device: none
[libretro INFO] port: 8  device: none
[DEBUG] [Shaders]:  Finding Parameters in Shader Passes (#pragma parameter)
[DEBUG] [Shaders]:     Found #pragma parameter Scanline Thickness (SCANTHICK) 2.000000 2.000000 4.000000 2.000000 in pass 0
[DEBUG] [Shaders]:     Found #pragma parameter Scanline Intensity (INTENSITY) 0.150000 0.000000 1.000000 0.010000 in pass 0
[DEBUG] [Shaders]:     Found #pragma parameter Luminance Boost (BRIGHTBOOST) 0.150000 0.000000 1.000000 0.010000 in pass 0
[DEBUG] [Shaders]:     Found #pragma parameter Screen curvature - horizontal (CURVATURE_X) 0.100000 0.000000 1.000000 0.010000 in pass 0
[DEBUG] [Shaders]:     Found #pragma parameter Screen curvature - vertical (CURVATURE_Y) 0.150000 0.000000 1.000000 0.010000 in pass 0
[INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading favorites file: "ux0:/data/retroarch/content_favorites.lpl".
[INFO] [Playlist]: Written to playlist file: ux0:/data/retroarch/content_history.lpl
[INFO] [Environ]: SET_GEOMETRY: 640x478, Aspect: 1.333.
[INFO] [Environ]: SET_GEOMETRY: 256x240, Aspect: 1.333.
[INFO] [Environ]: SET_GEOMETRY: 320x240, Aspect: 1.333.
[INFO] [Environ]: SET_GEOMETRY: 256x240, Aspect: 1.333.
[INFO] [Environ]: SET_GEOMETRY: 320x240, Aspect: 1.333.
[INFO] [Environ]: SET_GEOMETRY: 256x240, Aspect: 1.333.
[INFO] [Environ]: SET_GEOMETRY: 320x240, Aspect: 1.333.
[INFO] [Environ]: SET_GEOMETRY: 256x240, Aspect: 1.333.
[INFO] [Environ]: SET_GEOMETRY: 320x240, Aspect: 1.333.
[INFO] [Core]: Content ran for a total of: 00 hours, 10 minutes, 41 seconds.
[INFO] [Runtime]: Saving runtime log file: "ur0:/vitaroms/system_data/playlists/logs/PCSX-ReARMed/Mega Man X4 (USA).lrtl".
[INFO] [Core]: No content, starting dummy core.
[INFO] [SRAM]: Saving RAM type #0 to "ur0:/vitaroms/system_data/savefiles/Mega Man X4 (USA).srm".
[INFO] [SRAM]: Saved successfully to "ur0:/vitaroms/system_data/savefiles/Mega Man X4 (USA).srm".
[INFO] [Core]: Content ran for a total of: 00 hours, 00 minutes, 00 seconds.
[INFO] [Core]: Unloading game..
[INFO] [Core]: Unloading core..
[INFO] [Core]: Unloading core symbols..
[INFO] [Core]: Saved core options file to "ur0:/vitaroms/system_data/config/PCSX-ReARMed/PCSX-ReARMed.opt".
[INFO] [Video]: Average monitor Hz: 59.916117 Hz. (58.228 % frame time deviation, based on 2048 last samples).
[INFO] RetroArch 1.10.0 (Git 6ee3c14)
[INFO] === Build =======================================
[INFO] Capabilities:  NEON
[INFO] Built: Jan 24 2022
[INFO] Version: 1.10.0
[INFO] Git: 6ee3c14
[INFO] =================================================
[INFO] [Input]: Found input driver: "vita".
[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: 1080x720.
[INFO] [EGL] Falling back to eglGetDisplay
[INFO] [EGL]: EGL version: 1.4
[INFO] [GL]: Found GL context: "vita".
[INFO] [GL]: Detecting screen resolution: 960x544.
[INFO] [EGL]: Current context: 0x94e136b4.
[INFO] [GL]: Vendor: CBPS Labs, Renderer: PIB.
[INFO] [GL]: Version: OpenGL ES 2.0 PIB(1.00).
[INFO] [GL]: Using resolution 960x544.
[INFO] [GL]: Default shader backend found: glsl.
[INFO] [Shader driver]: Using GLSL shader backend.
[WARN] [GL]: Stock GLSL shaders will be used.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °_
[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: °_
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] Shader log: °_
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GL]: Using 4 textures.
[INFO] [GL]: Loaded 1 program(s).
[INFO] [Font]: Using font rendering backend: "stb-unicode".
[INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
[INFO] [Joypad]: Found joypad driver: "vita".
[INFO] [Video]: Found display server: "null".
[INFO] [Display]: Found display driver: "gl".
[INFO] [SRAM]: SRAM will not be saved.
[INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_history.lpl".
[INFO] [Playlist]: Loading history file: "ux0:/data/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Loading favorites file: "ux0:/data/retroarch/content_favorites.lpl".
[INFO] [Config]: Saving salamander config to: "ux0:/data/retroarch/retroarch-salamander.cfg".
[INFO] [Config]: Saved new config to "ux0:/data/retroarch/retroarch.cfg".
[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.

Thank you so much for your hard work @notaz