Closed SupervisedThinking closed 3 years ago
Retroarch crashes once you start any game on ARM based systems with Mesa panfrost driver.
System: RK3399 / RockPro64 Linux: 5.10.25 Mesa: https://github.com/mesa3d/mesa/commit/b416ae2023efc96be894355c1081d0113ca89dbb
Package: https://github.com/SupervisedThinking/LibreELEC-RR/blob/libreelec-10.0-RR/packages/supervisedthinking/emulation/libretro/virtualjaguar/package.mk
Strace:
lstat64("/storage/roms", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 lstat64("/storage/roms/atarijaguar", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 lstat64("/storage/roms/atarijaguar/Rayman (World).zip", {st_mode=S_IFREG|0777, st_size=3423573, ...}) = 0 lstat64("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=320, ...}) = 0 lstat64("/tmp/cores", {st_mode=S_IFDIR|0777, st_size=1024, ...}) = 0 lstat64("/tmp/cores/virtualjaguar_libretro.so", {st_mode=S_IFREG|0775, st_size=718512, ...}) = 0 lstat64("/storage", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 lstat64("/storage/roms", {st_mode=S_IFDIR|0755, st_size=1024, ...}) = 0 lstat64("/storage/roms/atarijaguar", {st_mode=S_IFDIR|0777, st_size=4096, ...}) = 0 lstat64("/storage/roms/atarijaguar/Rayman (World).zip", {st_mode=S_IFREG|0777, st_size=3423573, ...}) = 0 lstat64("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=320, ...}) = 0 lstat64("/tmp/cores", {st_mode=S_IFDIR|0777, st_size=1024, ...}) = 0 lstat64("/tmp/cores/virtualjaguar_libretro.so", {st_mode=S_IFREG|0775, st_size=718512, ...}) = 0 clock_gettime64(CLOCK_MONOTONIC, {tv_sec=2561, tv_nsec=516252273}) = 0 stat64("/tmp/assets/xmb/monochrome/png/Atari - Jaguar.png", {st_mode=S_IFREG|0664, st_size=3228, ...}) = 0 openat(AT_FDCWD, "/tmp/assets/xmb/monochrome/png/Atari - Jaguar.png", O_RDONLY|O_LARGEFILE) = 25 fstat64(25, {st_mode=S_IFREG|0664, st_size=3228, ...}) = 0 fstat64(25, {st_mode=S_IFREG|0664, st_size=3228, ...}) = 0 _llseek(25, 3072, [3072], SEEK_SET) = 0 read(25, "\275\343\30\31\373h^\242\10aB\31\325nO\16T$1\360$UG\312^\22\265\343n\313+\311"..., 156) = 156 _llseek(25, 0, [0], SEEK_SET) = 0 read(25, "\211PNG\r\n\32\n\0\0\0\rIHDR\0\0\1\0\0\0\1\0\10\3\0\0\0k\254X"..., 3072) = 3072 read(25, "\275\343\30\31\373h^\242\10aB\31\325nO\16T$1\360$UG\312^\22\265\343n\313+\311"..., 1024) = 156 brk(0x2c53000) = 0x2c53000 close(25) = 0 ioctl(8, DRM_IOCTL_PANFROST_CREATE_BO, 0xfff04750) = 0 ioctl(8, DRM_IOCTL_ETNAVIV_GEM_INFO or DRM_IOCTL_OMAP_GEM_NEW or DRM_IOCTL_PANFROST_MMAP_BO or DRM_IOCTL_V3D_MMAP_BO or DRM_IOCTL_VC4_CREATE_BO or DRM_IOCTL_VIRTGPU_GETPARAM, 0xfff04740) = 0 mmap2(NULL, 270336, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x105082000) = 0xecb9b000 ioctl(8, DRM_IOCTL_OMAP_SET_PARAM or DRM_IOCTL_PANFROST_WAIT_BO, 0xfff04538) = 1 ioctl(8, DRM_IOCTL_MSM_GEM_MADVISE or DRM_IOCTL_PANFROST_MADVISE, 0xfff04538) = 0 ioctl(8, DRM_IOCTL_ETNAVIV_GEM_INFO or DRM_IOCTL_OMAP_GEM_NEW or DRM_IOCTL_PANFROST_MMAP_BO or DRM_IOCTL_V3D_MMAP_BO or DRM_IOCTL_VC4_CREATE_BO or DRM_IOCTL_VIRTGPU_GETPARAM, 0xfff04610) = 0 mmap2(NULL, 266240, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x102041000) = 0xe9bb7000 ioctl(8, DRM_IOCTL_OMAP_SET_PARAM or DRM_IOCTL_PANFROST_WAIT_BO, 0xfff044a0) = 1 ioctl(8, DRM_IOCTL_MSM_GEM_MADVISE or DRM_IOCTL_PANFROST_MADVISE, 0xfff044a0) = 0 ioctl(8, DRM_IOCTL_ETNAVIV_GEM_INFO or DRM_IOCTL_OMAP_GEM_NEW or DRM_IOCTL_PANFROST_MMAP_BO or DRM_IOCTL_V3D_MMAP_BO or DRM_IOCTL_VC4_CREATE_BO or DRM_IOCTL_VIRTGPU_GETPARAM, 0xfff044c0) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x101a97000) = 0xf3a78000 ioctl(8, DRM_IOCTL_OMAP_SET_PARAM or DRM_IOCTL_PANFROST_WAIT_BO, 0xfff040f8) = 1 ioctl(8, DRM_IOCTL_MSM_GEM_MADVISE or DRM_IOCTL_PANFROST_MADVISE, 0xfff040f8) = 0 ioctl(8, DRM_IOCTL_ETNAVIV_GEM_INFO or DRM_IOCTL_OMAP_GEM_NEW or DRM_IOCTL_PANFROST_MMAP_BO or DRM_IOCTL_V3D_MMAP_BO or DRM_IOCTL_VC4_CREATE_BO or DRM_IOCTL_VIRTGPU_GETPARAM, 0xfff04118) = 0 mmap2(NULL, 65536, PROT_READ|PROT_WRITE, MAP_SHARED, 8, 0x10187d000) = 0xf1fab000 ioctl(8, DRM_IOCTL_OMAP_SET_PARAM or DRM_IOCTL_PANFROST_WAIT_BO, 0xfff03eb0) = 1 ioctl(8, DRM_IOCTL_MSM_GEM_MADVISE or DRM_IOCTL_PANFROST_MADVISE, 0xfff03eb0) = 0 ioctl(8, DRM_IOCTL_OMAP_SET_PARAM or DRM_IOCTL_PANFROST_WAIT_BO, 0xfff044b8) = 1 ioctl(8, DRM_IOCTL_MSM_GEM_MADVISE or DRM_IOCTL_PANFROST_MADVISE, 0xfff044b8) = 0 ioctl(8, DRM_IOCTL_PANFROST_SUBMIT, 0xfff04598) = 0 ioctl(8, DRM_IOCTL_PANFROST_SUBMIT, 0xfff04598) = 0 ioctl(8, DRM_IOCTL_MSM_GEM_MADVISE or DRM_IOCTL_PANFROST_MADVISE, 0xfff045ac) = 0 clock_gettime64(CLOCK_MONOTONIC, {tv_sec=2561, tv_nsec=520736039}) = 0 clock_gettime64(CLOCK_MONOTONIC, {tv_sec=2561, tv_nsec=520837830}) = 0 munmap(0xf3a78000, 4096) = 0 ioctl(8, DRM_IOCTL_MSM_GEM_MADVISE or DRM_IOCTL_PANFROST_MADVISE, 0xfff045ac) = 0 clock_gettime64(CLOCK_MONOTONIC, {tv_sec=2561, tv_nsec=521058037}) = 0 clock_gettime64(CLOCK_MONOTONIC, {tv_sec=2561, tv_nsec=521123078}) = 0 munmap(0xf1fab000, 65536) = 0 ioctl(8, DRM_IOCTL_MSM_GEM_MADVISE or DRM_IOCTL_PANFROST_MADVISE, 0xfff0459c) = 0 clock_gettime64(CLOCK_MONOTONIC, {tv_sec=2561, tv_nsec=521315577}) = 0 clock_gettime64(CLOCK_MONOTONIC, {tv_sec=2561, tv_nsec=521379744}) = 0 ioctl(8, DRM_IOCTL_MSM_GEM_MADVISE or DRM_IOCTL_PANFROST_MADVISE, 0xfff0459c) = 0 clock_gettime64(CLOCK_MONOTONIC, {tv_sec=2561, tv_nsec=521507201}) = 0 clock_gettime64(CLOCK_MONOTONIC, {tv_sec=2561, tv_nsec=521571367}) = 0 munmap(0xe9bb7000, 266240) = 0 ioctl(8, DRM_IOCTL_MSM_GEM_MADVISE or DRM_IOCTL_PANFROST_MADVISE, 0xfff045fc) = 0 clock_gettime64(CLOCK_MONOTONIC, {tv_sec=2561, tv_nsec=521815199}) = 0 clock_gettime64(CLOCK_MONOTONIC, {tv_sec=2561, tv_nsec=521879657}) = 0 poll([{fd=10, events=POLLIN}], 1, 0) = 0 (Timeout) epoll_wait(11, [], 32, 0) = 0 poll([{fd=12, events=POLLIN}], 1, 0) = 0 (Timeout) --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0xf4fe1000} --- +++ killed by SIGSEGV +++ Segmentation fault
virtualjaguar.log.zip
Retroarch log:
[INFO] RetroArch 1.9.0 (Git 5e551dd) [INFO] === Build ======================================= [INFO] Capabilities: NEON ASIMD [INFO] Built: Mar 20 2021 [INFO] Version: 1.9.0 [INFO] Git: 5e551dd [INFO] ================================================= [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] [Overrides]: Redirecting save file to "/storage/.config/retroarch/saves/.srm". [INFO] [Overrides]: Redirecting save state to "/storage/.config/retroarch/states/.state". [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Video @ fullscreen [WARN] [DRM]: Couldn't get device resources. [WARN] [DRM]: Couldn't get device resources. [INFO] [DRM]: Found 1 connectors. [INFO] [DRM]: Connector 0 connected: yes [INFO] [DRM]: Connector 0 has 16 modes. [INFO] [DRM]: Connector 0 assigned to monitor index: #1. [INFO] [DRM]: Mode 0: (1920x1080) 1920 x 1080, 50 Hz [INFO] [DRM]: Mode 1: (1920x1080) 1920 x 1080, 60 Hz [INFO] [DRM]: Mode 2: (1920x1080) 1920 x 1080, 60 Hz [INFO] [DRM]: Mode 3: (1920x1080) 1920 x 1080, 30 Hz [INFO] [DRM]: Mode 4: (1920x1080) 1920 x 1080, 30 Hz [INFO] [DRM]: Mode 5: (1920x1080) 1920 x 1080, 25 Hz [INFO] [DRM]: Mode 6: (1920x1080) 1920 x 1080, 24 Hz [INFO] [DRM]: Mode 7: (1920x1080) 1920 x 1080, 24 Hz [INFO] [DRM]: Mode 8: (1280x720) 1280 x 720, 60 Hz [INFO] [DRM]: Mode 9: (1280x720) 1280 x 720, 60 Hz [INFO] [DRM]: Mode 10: (1280x720) 1280 x 720, 50 Hz [INFO] [DRM]: Mode 11: (1440x576) 1440 x 576, 50 Hz [INFO] [DRM]: Mode 12: (1024x768) 1024 x 768, 60 Hz [INFO] [DRM]: Mode 13: (1440x480) 1440 x 480, 60 Hz [INFO] [DRM]: Mode 14: (1440x480) 1440 x 480, 60 Hz [INFO] [DRM]: Mode 15: (800x600) 800 x 600, 75 Hz [INFO] [GL]: Found GL context: kms [INFO] [GL]: Detecting screen resolution 1920x1080. [INFO] [EGL] Found EGL_EXT_platform_base, trying eglGetPlatformDisplayEXT [INFO] [EGL]: EGL version: 1.4 [INFO] [EGL]: Current context: 0x1fe42c8. [INFO] [KMS]: New FB: 1920x1080 (stride: 7680). [INFO] [GL]: Vendor: Panfrost, Renderer: Mali T860 (Panfrost). [INFO] [GL]: Version: OpenGL ES 3.0 Mesa 21.1.0-devel. [INFO] [GL]: Using resolution 1920x1080 [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] [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] [Font]: Using font rendering backend: bitmap. [INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver. [INFO] [Joypad]: Found joypad driver: "udev". [WARN] [udev]: Full-screen pointer won't be available. [INFO] [Video]: Found display server: null [INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432. [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] [Display]: Found display driver: "gl". [INFO] [Font]: Using font rendering backend: freetype. [INFO] [Font]: Using font rendering backend: freetype. [INFO] [MIDI]: Input disabled. [INFO] [MIDI]: Output disabled. [INFO] [MIDI]: Initialized "null" driver. [INFO] Disconnecting device from port 6. [INFO] Disconnecting device from port 7. [INFO] Disconnecting device from port 8. [INFO] Disconnecting device from port 9. [INFO] Disconnecting device from port 10. [INFO] Disconnecting device from port 11. [INFO] Disconnecting device from port 12. [INFO] Disconnecting device from port 13. [INFO] Disconnecting device from port 14. [INFO] Disconnecting device from port 15. [INFO] Disconnecting device from port 16. [INFO] [SRAM]: SRAM will not be saved. [INFO] [Playlist]: Loading history file: [/storage/.config/retroarch/content_history.lpl]. [INFO] [Playlist]: Loading history file: [/storage/.config/retroarch/content_music_history.lpl]. [INFO] [Playlist]: Loading history file: [/storage/.config/retroarch/content_video_history.lpl]. [INFO] [Playlist]: Loading history file: [/storage/.config/retroarch/content_image_history.lpl]. [INFO] [Playlist]: Loading favorites file: [/storage/.config/retroarch/content_favorites.lpl]. [INFO] [GL]: VSync => on [INFO] [GL]: VSync => on [INFO] [PulseAudio]: Pausing. [INFO] [KMS]: New FB: 1920x1080 (stride: 7680). [INFO] [KMS]: New FB: 1920x1080 (stride: 7680). [INFO] [CORE]: Using content: /storage/roms/atarijaguar/Rayman (World).zip. [INFO] 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] RetroArch 1.9.0 (Git 5e551dd) [INFO] [Overrides]: Redirecting save file to "/storage/.config/retroarch/saves/Rayman (World).srm". [INFO] [Overrides]: Redirecting save state to "/storage/.config/retroarch/states/Rayman (World).state". [INFO] === Build ======================================= [INFO] Capabilities: NEON ASIMD [INFO] Built: Mar 20 2021 [INFO] Version: 1.9.0 [INFO] Git: 5e551dd [INFO] ================================================= [INFO] [CORE]: Loading dynamic libretro core from: "/tmp/cores/virtualjaguar_libretro.so" [INFO] [Overrides]: No core-specific overrides found at /storage/.config/retroarch/config/Virtual Jaguar/Virtual Jaguar.cfg. [INFO] [Overrides]: No content-dir-specific overrides found at /storage/.config/retroarch/config/Virtual Jaguar/atarijaguar.cfg. [INFO] [Overrides]: No game-specific overrides found at /storage/.config/retroarch/config/Virtual Jaguar/Rayman (World).cfg. [INFO] [Environ]: SET_VARIABLES. [INFO] [Remaps]: remap directory: /storage/.config/retroarch/remappings [INFO] [Overrides]: Redirecting save file to "/storage/.config/retroarch/saves/Rayman (World).srm". [INFO] [Overrides]: Redirecting save state to "/storage/.config/retroarch/states/Rayman (World).state". [INFO] [Environ]: PERFORMANCE_LEVEL: 18. [INFO] [CONTENT LOAD]: Loading content file: /tmp/emulation/retroarch/Rayman (World).j64. [INFO] Did not find a valid content patch. [INFO] [Environ]: SET_INPUT_DESCRIPTORS: [INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888. [INFO] [Environ]: GET_SAVE_DIRECTORY. [INFO] [SRAM]: Skipping SRAM load.. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Cheats]: Load game-specific cheatfile: /tmp/database/cht/Virtual Jaguar/Rayman (World).cht [INFO] [Audio]: Set audio input rate to: 48000.00 Hz. [INFO] [Video]: Video @ fullscreen [WARN] [DRM]: Couldn't get device resources. [WARN] [DRM]: Couldn't get device resources. [INFO] [DRM]: Found 1 connectors. [INFO] [DRM]: Connector 0 connected: yes [INFO] [DRM]: Connector 0 has 16 modes. [INFO] [DRM]: Connector 0 assigned to monitor index: #1. [INFO] [DRM]: Mode 0: (1920x1080) 1920 x 1080, 50 Hz [INFO] [DRM]: Mode 1: (1920x1080) 1920 x 1080, 60 Hz [INFO] [DRM]: Mode 2: (1920x1080) 1920 x 1080, 60 Hz [INFO] [DRM]: Mode 3: (1920x1080) 1920 x 1080, 30 Hz [INFO] [DRM]: Mode 4: (1920x1080) 1920 x 1080, 30 Hz [INFO] [DRM]: Mode 5: (1920x1080) 1920 x 1080, 25 Hz [INFO] [DRM]: Mode 6: (1920x1080) 1920 x 1080, 24 Hz [INFO] [DRM]: Mode 7: (1920x1080) 1920 x 1080, 24 Hz [INFO] [DRM]: Mode 8: (1280x720) 1280 x 720, 60 Hz [INFO] [DRM]: Mode 9: (1280x720) 1280 x 720, 60 Hz [INFO] [DRM]: Mode 10: (1280x720) 1280 x 720, 50 Hz [INFO] [DRM]: Mode 11: (1440x576) 1440 x 576, 50 Hz [INFO] [DRM]: Mode 12: (1024x768) 1024 x 768, 60 Hz [INFO] [DRM]: Mode 13: (1440x480) 1440 x 480, 60 Hz [INFO] [DRM]: Mode 14: (1440x480) 1440 x 480, 60 Hz [INFO] [DRM]: Mode 15: (800x600) 800 x 600, 75 Hz [INFO] [GL]: Found GL context: kms [INFO] [GL]: Detecting screen resolution 1920x1080. [INFO] [EGL] Found EGL_EXT_platform_base, trying eglGetPlatformDisplayEXT [INFO] [EGL]: EGL version: 1.4 [INFO] [EGL]: Current context: 0x23c5f78. [INFO] [KMS]: New FB: 1920x1080 (stride: 7680). [INFO] [GL]: Vendor: Panfrost, Renderer: Mali T860 (Panfrost). [INFO] [GL]: Version: OpenGL ES 3.0 Mesa 21.1.0-devel. [INFO] [GL]: Using resolution 1920x1080 [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] [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] [Font]: Using font rendering backend: bitmap. [INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver. [INFO] [Joypad]: Found joypad driver: "udev". [WARN] [udev]: Full-screen pointer won't be available. [INFO] [Video]: Found display server: null [INFO] [PulseAudio]: Requested 24576 bytes buffer, got 18432. [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] [MIDI]: Input disabled. [INFO] [MIDI]: Output disabled. [INFO] [MIDI]: Initialized "null" driver. [INFO] Disconnecting device from port 6. [INFO] Disconnecting device from port 7. [INFO] Disconnecting device from port 8. [INFO] Disconnecting device from port 9. [INFO] Disconnecting device from port 10. [INFO] Disconnecting device from port 11. [INFO] Disconnecting device from port 12. [INFO] Disconnecting device from port 13. [INFO] Disconnecting device from port 14. [INFO] Disconnecting device from port 15. [INFO] Disconnecting device from port 16. [INFO] [Playlist]: Loading history file: [/storage/.config/retroarch/content_history.lpl]. [INFO] [Playlist]: Loading history file: [/storage/.config/retroarch/content_music_history.lpl]. [INFO] [Playlist]: Loading history file: [/storage/.config/retroarch/content_video_history.lpl]. [INFO] [Playlist]: Loading history file: [/storage/.config/retroarch/content_image_history.lpl]. [INFO] [Playlist]: Loading favorites file: [/storage/.config/retroarch/content_favorites.lpl]. [INFO] [GL]: VSync => on Segmentation fault
fixed by disabling lto
lto
Retroarch crashes once you start any game on ARM based systems with Mesa panfrost driver.
System: RK3399 / RockPro64 Linux: 5.10.25 Mesa: https://github.com/mesa3d/mesa/commit/b416ae2023efc96be894355c1081d0113ca89dbb
Package: https://github.com/SupervisedThinking/LibreELEC-RR/blob/libreelec-10.0-RR/packages/supervisedthinking/emulation/libretro/virtualjaguar/package.mk
Strace:
virtualjaguar.log.zip
Retroarch log: