Lrps2 dont work in linux?

so the core lrps2 work in my windows , but in linux ubuntu dont work ? the core not show when i “load core” :upside_down_face:

It works for me in linux/ubuntu. Seems to crash on exit sometimes, and i have to set my system directory somewhere user-writeable (I usually keep my ROMs/BIOS on a network drive with no write perms), but other than that… seems okay here.

hello i’m trying LRPS2 but it doesnt work: when i load a game retroarch crashes:

$ retroarch
Can't locate Net/DBus.pm in @INC (you may need to install the Net::DBus module) (@INC entries checked: /usr/lib/perl5/5.40/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/5.40/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/5.40/core_perl /usr/share/perl5/core_perl) at -e line 6.
BEGIN failed--compilation aborted at -e line 6.
Annullato (core dump creato)

retroarch.cfg: https://pastebin.com/0FtwAtDi

$ pacman -Q|grep vulkan
lib32-vulkan-icd-loader 1.4.303-1
lib32-vulkan-radeon 1:24.3.3-1
vulkan-headers 1:1.4.303-1
vulkan-icd-loader 1.4.303-1
vulkan-intel 1:24.3.3-1
vulkan-radeon 1:24.3.3-1
vulkan-tools 1.4.303-2


$ ls ~/.config/retroarch/system/pcsx2/bios/
SCPH-70004_BIOS_V12_PAL_200.BIN  SCPH-70004_BIOS_V12_PAL_200.nvm
SCPH-70004_BIOS_V12_PAL_200.mec


$ ls ~/.config/retroarch/system/
 ATARIBAS.ROM
 ATARIXL.ROM
 CDRomance.url
 Databases
 dc
 EBOOT.PBP
 exec.bin
 fbneo
 grom.bin
 hardwareII.prx
 hardwareI.prx
 kick33192.A500
 kick34005.A500
 kick40060.CD32
 kick40060.CD32.ext
 kick40063.A600
 kick40068.A1200
'Kickstart v3.1 r40.60 (1993)(Commodore)(CD32).rom'
'Kickstart v3.1 r40.68 (1993)(Commodore)(A1200)[!].rom'
 Machines
 mame2000
 mame2003
 mame2003-plus
 mame2010
 mpr-17933.bin
 mpr-18100.bin
'MSX BIOS ROM Image Japanese (19xx)(-).rom'
 Mupen64plus
 pcsx2
 PPSSPP
 recovery.prx
 SCPH1000.BIN
 SCPH1001.BIN
 SCPH-70004_BIOS_V12_PAL_200.BIN
 SCPH-70004_BIOS_V12_PAL_200.mec
 SCPH-70004_BIOS_V12_PAL_200.nvm
 SCPH7003.bin
 scummvm.ini
'Sears Super Video Arcade BIOS (1978) (Sears) [!].int'
 sega1003.bin
 sega_100a.bin
 sega_100.bin
 sega_101.bin
'Sega Saturn BIOS (EUR).bin'
'Sega Saturn BIOS (USA).bin'
'Sega Saturn BIOS v1.00 (JAP).bin'
'Sega Saturn BIOS v1.01 (JAP).bin'
'SS - Boot Disc.ccd'
'SS - Boot Disc.img'
'SS - Boot Disc.sub'
 swanstation
 vice
 WHDLoad.prefs
 WHDLoad.prefs_backup
 whd.zip

i use a PC with CPU AMD Ryzen 5 5600G with integrated GPU.

There are these official instructions:

On platforms where the core is available (that is, Windows, Linux, and MacOS; it is NOT available for Android or iOS), go to the online updater and scroll down to ‘Update Core Info Files.’ This will ensure that the core shows up properly under the correct name in the menu. Then, head over to the online updater’s ‘Core Downloader’ and scroll down to ‘Sony – Playstation 2 (LRPS)’ to download the actual core. Next, go to the online updater’s ‘Core System Files Downloader’ and get the LRPS2.zip bundle. This bundle will automatically create the ‘pcsx2’ directory in your ‘system’ directory and put the GameIndex.yaml–which includes the various per-game hacks/settings the core and gsDx renderer use for compatibility–inside. It will also create the ‘bios’ directory, inside which you will need to place your PS2 BIOS set. Once that’s done, you’re ready to scan and/or load your games, which can be in a variety of formats, including CHD, but make sure they are not in *.7z, *.rar, *.zip, etc. compressed archives.

1 Like

LRPS2 does not work for me. It only shows black screen and the menus are all garbled up when you press F1 to go into menu. I have BIOS setup and the game was Vice City Stories.

1 Like

i have installed Core System Files LRPS2.zip but still doesnt’work. I tried different bios but it always crashes when starting any game (even ps1)

Do you know how to generate a log? It’s the only way to shed some light on the issue.

today with vulkan it works (maybe the core has been updated?).

while with gl it still doesn’t work:

[INFO] [Config]: Looking for config in: "/home/topo/.config/retroarch/retroarch.cfg".
[INFO] RetroArch 1.19.1 (Git 0792144fe3)
[INFO] === Build =======================================
[INFO] CPU Model Name: AMD Ryzen 5 5600G with Radeon Graphics         
[INFO] Funzionalità: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.19.1
[INFO] Git: 0792144fe3
[INFO] Built: Oct  3 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[ERROR] Couldn't find any cloud sync driver named ""
[INFO] Available cloud sync drivers are:
[INFO] 	webdav
[INFO] 	null
[WARN] Going to default to first cloud sync driver...
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Versione delle API di libretro: 1, Compilato contro API: 1
[INFO] [Core]: Geometry: 320x240, Aspect: 1.333, FPS: 60.00, Sample rate: 48000.00 Hz.
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[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: 1920x1080.
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 1.
[INFO] [GLX]: Using Xinerama on screen #0.
[INFO] [GLX]: X = 0, Y = 0, W = 1920, H = 1080.
[INFO] [GLX]: Using windowed fullscreen.
[INFO] [GLX]: Found swap function: glXSwapIntervalEXT.
[INFO] [GL]: Vendor: AMD, Renderer: AMD Radeon Graphics (radeonsi, renoir, LLVM 18.1.8, DRM 3.59, 6.12.8-arch1-1).
[INFO] [GL]: Version: 4.6 (Compatibility Profile) Mesa 24.3.3-arch1.1.
[INFO] [GL]: Using resolution 1920x1080.
[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] Setting up menu pipeline shaders for XMB ...
[INFO] [GLSL]: Compiling ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling simple ribbon shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling modern snow shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling bokeh shader..
[INFO] [GLSL]: Found GLSL vertex shader.
[INFO] [GLSL]: Found GLSL fragment shader.
[INFO] [GLSL]: Linking GLSL program.
[INFO] [GLSL]: Compiling snowflake shader..
[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] [udev]: Pad #0 (/dev/input/event9) supports force feedback.
[INFO] [udev]: Pad #0 (/dev/input/event9) supports 16 force feedback effects.
[INFO] [Autoconf]: Microsoft X-Box pad v2 (US) configurato nella porta 1.
[INFO] [Joypad]: Found joypad driver: "udev".
[ERROR] [DBus]: Failed to suspend screensaver via DBus.
[INFO] [X11]: Suspending screensaver (X11, xdg-screensaver).
[INFO] [Video]: Found display server: "x11".
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Audio]: Started synchronous audio driver.
[INFO] [ALSA] Using ALSA version 1.2.13
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [Display]: Found display driver: "gl".
[INFO] [Playlist]: Caricamento dei file della cronologia: "/home/topo/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Caricamento dei file della cronologia: "/home/topo/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Caricamento dei file della cronologia: "/home/topo/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Caricamento dei file della cronologia: "/home/topo/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Caricamento file preferiti: "/home/topo/.config/retroarch/content_favorites.lpl".
[INFO] [PulseAudio]: Pausing.
[INFO] [GLX]: Resized fullscreen resolution to 1920x1080.
[INFO] [Content]: Updating firmware status for: "/home/topo/.config/retroarch/cores/pcsx2_libretro.so" on "/home/topo/.config/retroarch/system".
[INFO] [Core]: Using content: "/media/DATI/EMU/PSX/Ridge Racer V (Europe) (En,Fr,De,Es,It).bin".
[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: 1.
[INFO] [XINERAMA]: Saved monitor #0.

with Vulkan (it works):

[INFO] [Config]: Looking for config in: "/home/topo/.config/retroarch/retroarch.cfg".
[INFO] RetroArch 1.19.1 (Git 0792144fe3)
[INFO] === Build =======================================
[INFO] CPU Model Name: AMD Ryzen 5 5600G with Radeon Graphics         
[INFO] Funzionalità: MMX MMXEXT SSE SSE2 SSE3 SSSE3 SSE4 SSE42 AES AVX AVX2 
[INFO] Version: 1.19.1
[INFO] Git: 0792144fe3
[INFO] Built: Oct  3 2024
[INFO] =================================================
[INFO] [Input]: Found input driver: "x".
[ERROR] Couldn't find any cloud sync driver named ""
[INFO] Available cloud sync drivers are:
[INFO] 	webdav
[INFO] 	null
[WARN] Going to default to first cloud sync driver...
[INFO] [Environ]: SET_PIXEL_FORMAT: RGB565.
[INFO] [Core]: Versione delle API di libretro: 1, Compilato contro API: 1
[INFO] [Core]: Geometry: 320x240, Aspect: 1.333, FPS: 60.00, Sample rate: 48000.00 Hz.
[INFO] [Audio]: Set audio input rate to: 48000.00 Hz.
[INFO] [Video]: Set video size to: fullscreen.
[ERROR] [Wayland]: Failed to connect to Wayland server.
[INFO] [Vulkan]: Vulkan dynamic library loaded.
[INFO] [Vulkan]: Found vulkan context: "vk_x".
[INFO] [Vulkan]: Detecting screen resolution: 1920x1080.
[INFO] [XINERAMA]: Xinerama version: 1.1.
[INFO] [XINERAMA]: Xinerama screens: 1.
[INFO] [X/Vulkan]: Using Xinerama on screen #0.
[INFO] [X/Vulkan]: X = 0, Y = 0, W = 1920, H = 1080.
[INFO] [X/Vulkan]: Using windowed fullscreen.
[INFO] [Vulkan]: Found GPU at index 0: "AMD Radeon Graphics (RADV RENOIR)".
[INFO] [Vulkan]: Using GPU index 0.
[INFO] [Vulkan]: Using semaphores for WSI acquire.
[INFO] [Vulkan]: Using GPU: "AMD Radeon Graphics (RADV RENOIR)".
[INFO] [Vulkan]: Queue family 0 supports 1 sub-queues.
[INFO] [Vulkan]: Got 3 swapchain images.
[INFO] [Vulkan]: Using resolution 1918x1035.
[INFO] [Vulkan]: Using RGB565 format.
[INFO] [Vulkan]: Loading stock shader.
[INFO] [udev]: Pad #0 (/dev/input/event9) supports force feedback.
[INFO] [udev]: Pad #0 (/dev/input/event9) supports 16 force feedback effects.
[INFO] [Autoconf]: Microsoft X-Box pad v2 (US) configurato nella porta 1.
[INFO] [Joypad]: Found joypad driver: "udev".
[ERROR] [DBus]: Failed to suspend screensaver via DBus.
[INFO] [X11]: Suspending screensaver (X11, xdg-screensaver).
[INFO] [Video]: Found display server: "x11".
[INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432.
[INFO] [Audio]: Started synchronous audio driver.
[INFO] [ALSA] Using ALSA version 1.2.13
[INFO] [Microphone]: Initialized microphone driver.
[INFO] [Display]: Found display driver: "vulkan".
[INFO] [Playlist]: Caricamento dei file della cronologia: "/home/topo/.config/retroarch/content_history.lpl".
[INFO] [Playlist]: Caricamento dei file della cronologia: "/home/topo/.config/retroarch/content_music_history.lpl".
[INFO] [Playlist]: Caricamento dei file della cronologia: "/home/topo/.config/retroarch/content_video_history.lpl".
[INFO] [Playlist]: Caricamento dei file della cronologia: "/home/topo/.config/retroarch/content_image_history.lpl".
[INFO] [Playlist]: Caricamento file preferiti: "/home/topo/.config/retroarch/content_favorites.lpl".
[INFO] [PulseAudio]: Pausing.
[INFO] [X/Vulkan]: Resized fullscreen resolution to 1918x1035.
[INFO] [X/Vulkan]: Resized fullscreen resolution to 1920x1080.
[INFO] [Content]: Updating firmware status for: "/home/topo/.config/retroarch/cores/pcsx2_libretro.so" on "/home/topo/.config/retroarch/system".
[INFO] [Core]: Using content: "/media/DATI/EMU/PSX/Ridge Racer V (Europe) (En,Fr,De,Es,It).bin".
[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: 1.
[INFO] [XINERAMA]: Saved monitor #0.

EDIT: with video driver set to “glcore” it works. what is the difference between gl and glcore? i noticed that with glcore i cant use video shaders

“glcore” is a much newer version of OpenGL than just “gl”. Slang-Shaders (for Vulkan) should work fine with it.

2 Likes