lr-puae crash after runcommand
-
@mitu will try and report
-
@mitu same error like on binary
-
(gdb) set args -L /opt/retropie/libretrocores/lr-puae/puae_libretro.so --config /opt/retropie/configs/amiga/retroarch.cfg "/home/pi/RetroPie/roms/amiga/Boulderdash II (1987)(Laser)[h Skippy].adf" --appendconfig /dev/shm/retroarch.cfg (gdb) r Starting program: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-puae/puae_libretro.so --config /opt/retropie/configs/amiga/retroarch.cfg "/home/pi/RetroPie/roms/amiga/Boulderdash II (1987)(Laser)[h Skippy].adf" --appendconfig /dev/shm/retroarch.cfg [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1". [New Thread 0x70523f00 (LWP 2253)] [New Thread 0x6c221f00 (LWP 2254)] [New Thread 0x6a88df00 (LWP 2255)] [New Thread 0x69efef00 (LWP 2256)] [New Thread 0x694fef00 (LWP 2257)] [New Thread 0x68cfdf00 (LWP 2258)] [New Thread 0x684fcf00 (LWP 2259)] [New Thread 0x65afef00 (LWP 2260)] [Thread 0x65afef00 (LWP 2260) exited] [New Thread 0x65afef00 (LWP 2261)] Thread 4 "retroarch" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x6a88df00 (LWP 2255)] 0x001f5010 in gl_raster_font_draw_vertices () (gdb) info threads Id Target Id Frame 1 Thread 0x70567040 (LWP 2250) "retroarch" 0x76e8ba3c in __GI___pthread_timedjoin_ex (threadid=1706028800, thread_return=0x0, abstime=<optimized out>, block=<optimized out>) at pthread_join_common.c:89 2 Thread 0x70523f00 (LWP 2253) "retroarch" futex_wait_cancelable (private=0, expected=0, futex_word=0x8e6770) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 3 Thread 0x6c221f00 (LWP 2254) "retroarch" 0x76e94088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x86a280) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 * 4 Thread 0x6a88df00 (LWP 2255) "retroarch" 0x001f5010 in gl_raster_font_draw_vertices () 5 Thread 0x69efef00 (LWP 2256) "VCHIQ completio" 0x7526a50c in ioctl () at ../sysdeps/unix/syscall-template.S:78 6 Thread 0x694fef00 (LWP 2257) "HDispmanx Notif" 0x76e94088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x76d84f80 <dispmanx_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 7 Thread 0x68cfdf00 (LWP 2258) "HTV Notify" 0x76e94088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x76d840f4 <tvservice_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 8 Thread 0x684fcf00 (LWP 2259) "HCEC Notify" 0x76e94088 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=1, futex_word=0x76d84e84 <cecservice_notify_available_event+24>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 10 Thread 0x65afef00 (LWP 2261) "retroarch" __GI___poll (timeout=-1, nfds=1, fds=0x65afe840) at ../sysdeps/unix/sysv/linux/poll.c:29 (gdb) where #0 0x001f5010 in gl_raster_font_draw_vertices () #1 0x001f58f0 in gl_raster_font_flush_block () #2 0x001d21e0 in gfx_widgets_flush_text.part () #3 0x001d32ec in gfx_widgets_frame () #4 0x69f005b8 in () (gdb)
But solution is here:
menu_enable_widgets = false
-
@uzi18 Are you using the
dispmanx
video driver by any chance ? -
@mitu how to check it?
lr-puae from sources has one con - HDFs works even with "insertion failed" information -
@uzi18 said in lr-puae crash after runcommand:
@mitu how to check it?
A verbose log should show it - https://retropie.org.uk/docs/Runcommand/#launch-with-verbose-logging.
-
[INFO] RetroArch 1.9.7 (Git 8373ac6) [INFO] === Build ======================================= [INFO] Capabilities: NEON VFPv3 VFPv4 [INFO] Built: Sep 8 2021 [INFO] Version: 1.9.7 [INFO] Git: 8373ac6 [INFO] ================================================= [INFO] [Input]: Found input driver: "udev". [INFO] [Core]: Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-puae/puae_libretro.so" [INFO] [Overrides]: No core-specific overrides found at "/home/pi/.config/retroarch/config/PUAE/PUAE.cfg". [INFO] [Overrides]: No content-dir-specific overrides found at "/home/pi/.config/retroarch/config/PUAE/amiga.cfg". [INFO] [Overrides]: No game-specific overrides found at "/home/pi/.config/retroarch/config/PUAE/Miecze Valdgira II (1993)(ASF)(Pl).cfg". [INFO] [Environ]: GET_CORE_OPTIONS_VERSION. [INFO] [Environ]: SET_CORE_OPTIONS. [INFO] [Core Options]: Folder-specific core options found at /home/pi/.config/retroarch/config/PUAE/amiga.opt [INFO] [Environ]: SET_CONTROLLER_INFO. [INFO] [Environ]: SET_SUPPORT_NO_GAME: yes. [INFO] Core requested VFS version >= v1, providing v3 [INFO] [Remaps]: Remap directory: "/opt/retropie/configs/amiga/". [INFO] [Overrides]: Redirecting save file to "/home/pi/RetroPie/roms/amiga/Miecze Valdgira II (1993)(ASF)(Pl).srm". [INFO] [Overrides]: Redirecting save state to "/home/pi/RetroPie/roms/amiga/Miecze Valdgira II (1993)(ASF)(Pl).state". [INFO] [Environ]: GET_LOG_INTERFACE. [INFO] [Environ]: GET_PERF_INTERFACE. [INFO] [Environ]: SYSTEM_DIRECTORY: "/home/pi/RetroPie/BIOS". [INFO] [Environ]: CORE_ASSETS_DIRECTORY: "/home/pi/.config/retroarch/downloads". [INFO] [Environ]: GET_SAVE_DIRECTORY. [INFO] [Environ]: GET_DISK_CONTROL_INTERFACE_VERSION. [INFO] [Environ]: SET_DISK_CONTROL_EXT_INTERFACE. [INFO] [Environ]: SET_SERIALIZATION_QUIRKS. [INFO] [Environ]: SET_INPUT_DESCRIPTORS: [INFO] [Environ]: SET_KEYBOARD_CALLBACK. [INFO] [Environ]: SET_PIXEL_FORMAT: RGB565. [INFO] [Environ]: SET_SUPPORT_ACHIEVEMENTS: yes. [INFO] [CONTENT LOAD]: Content loading skipped. Implementation will load it on its own. [libretro INFO] Model: 'A1200OG' [libretro INFO] Kickstart: 'kick40068.A1200' [libretro INFO] Disk (1) inserted in drive DF0: '/home/pi/RetroPie/roms/amiga/Miecze Valdgira II (1993)(ASF)(Pl).adf' [libretro INFO] -------------------------------------------------------------------------------- [libretro INFO] PUAE 2.6.1 (0186c1b16f7181ffa02d73e6920d3180ce457c46) [libretro INFO] Git commit: dcb3a6d [libretro INFO] Build date: Jan 11 2022 02:49:32 [libretro INFO] [libretro INFO] See the source for a full list of contributors. [libretro INFO] This is free software; see the file COPYING for copying conditions. There is NO [libretro INFO] warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. [libretro INFO] -------------------------------------------------------------------------------- [libretro INFO] Known ROM 'KS ROM v3.1 (A500,A600,A2000)' loaded [libretro INFO] Building CPU table for configuration: 68020 24-bit [libretro INFO] 1883 CPU functions [libretro INFO] Building CPU, 45954 opcodes (2 0 1) [libretro INFO] CPU=68020, FPU=0, MMU=0, JIT=CPU=0. [libretro INFO] Reset at 00000000. Chipset mask = 00000007 [libretro INFO] PAL mode V=50.0804Hz H=15625.0879Hz (227x312+0) IDX=10 (PAL) D=0 RTG=0/0 [libretro INFO] hardreset, memory cleared [libretro INFO] SNDRATE 312.0*227.0*50.080410=3546894.958099 [libretro INFO] SNDRATE 312.0*227.0*50.080410=3546894.958099 [libretro INFO] PAL mode V=50.0804Hz H=15625.0879Hz (227x312+0) IDX=10 (PAL) D=0 RTG=0/0 [INFO] [Environ]: SET_MEMORY_MAPS. [INFO] ndx flags ptr offset start select disconn len addrspace [INFO] 001 M1A1bc 0x6c209008 00000000 00000000 00000000 00000000 00200000 [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888. [INFO] [Audio]: Set audio input rate to: 44100.00 Hz. [INFO] [Video]: Timings deviate too much. Will not adjust. (Display = 60.00 Hz, Game = 49.92 Hz) [INFO] [Video]: Video @ 2160x864 [INFO] [Video]: Starting threaded video driver ... [INFO] [EGL] Falling back to eglGetDisplay [INFO] [EGL]: EGL version: 1.4 [INFO] [EGL]: Current context: 0x1. [INFO] [GL]: Found GL context: egl_videocore [INFO] [GL]: Detecting screen resolution 1920x1080. [INFO] [GL]: Vendor: Broadcom, Renderer: VideoCore IV HW. [INFO] [GL]: Version: OpenGL ES 2.0. [INFO] Querying EGL extension: KHR_image => exists [INFO] [GL]: Using resolution 1920x1080 [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shaders]: Configuration file shader set to . [INFO] [Shaders]: Configuration file shader set to . [INFO] [Shaders]: Configuration file shader set to . [INFO] [Shader driver]: Using GLSL shader backend. [WARN] [GL]: Stock GLSL shaders will be used. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Linking GLSL program. [INFO] [GLSL]: Found GLSL vertex shader. [INFO] Shader log: Compiled [INFO] [GLSL]: Found GLSL fragment shader. [INFO] Shader log: Compiled [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] [udev]: Added Device Keyboard#0 2.4G 2.4G Wireless Device Keyboard (/dev/input/event2) . [INFO] [udev]: Added Device mouse#0 2.4G 2.4G Wireless Device (/dev/input/event3) . [WARN] [udev]: Full-screen pointer won't be available. [INFO] [udev]: Pad #0 (/dev/input/event6) supports force feedback. [INFO] [udev]: Pad #0 (/dev/input/event6) supports 16 force feedback effects. [INFO] [udev]: Pad #1 (/dev/input/event4) supports 0 force feedback effects. [INFO] [Joypad]: Found joypad driver: "udev". [INFO] [Video]: Found display server: null [INFO] ALSA: Using floating point format. [INFO] ALSA: Period size: 480 frames [INFO] ALSA: Buffer size: 1536 frames [INFO] [Display]: Found display driver: "gl". [INFO] [SRAM]: SRAM will not be saved. [INFO] [Playlist]: Loading history file: [/opt/retropie/configs/amiga/content_history.lpl]. [INFO] [Playlist]: Loading history file: [/opt/retropie/configs/amiga/content_music_history.lpl]. [INFO] [Playlist]: Loading history file: [/opt/retropie/configs/amiga/content_video_history.lpl]. [INFO] [Playlist]: Loading history file: [/opt/retropie/configs/amiga/content_image_history.lpl]. [INFO] [Playlist]: Loading favorites file: [/opt/retropie/configs/amiga/content_favorites.lpl]. [INFO] [Environ]: SET_SYSTEM_AV_INFO: 640x200, aspect: 1.600, fps: 50.080, sample rate: 44100.00 Hz. [INFO] [Audio]: Set audio input rate to: 44100.00 Hz. [INFO] [Video]: Timings deviate too much. Will not adjust. (Display = 60.00 Hz, Game = 50.08 Hz) [INFO] ALSA: Using floating point format. [INFO] ALSA: Period size: 480 frames [INFO] ALSA: Buffer size: 1536 frames [INFO] [Display]: Found display driver: "gl". [WARN] [udev]: Mouse grab/ungrab feature unavailable. [INFO] [Input]: Game Focus => OFF [libretro INFO] 6888x no FPU: f201 00009000 PC=00f80ca0 [libretro INFO] B-Trap f201 at f80ca0 (0x6c40aca8) [libretro INFO] SNDRATE 313.0*227.0*49.920410=3546895.062012 [libretro INFO] PAL mode V=49.9204Hz H=15625.0879Hz (227x312+1) IDX=10 (PAL) D=0 RTG=0/0 [INFO] [Environ]: SET_SYSTEM_AV_INFO: 720x200, aspect: 1.800, fps: 49.920, sample rate: 44100.00 Hz. [INFO] [Audio]: Set audio input rate to: 44100.00 Hz. [INFO] [Video]: Timings deviate too much. Will not adjust. (Display = 60.00 Hz, Game = 49.92 Hz) [INFO] ALSA: Using floating point format. [INFO] ALSA: Period size: 480 frames [INFO] ALSA: Buffer size: 1536 frames [INFO] [Display]: Found display driver: "gl". [WARN] [udev]: Mouse grab/ungrab feature unavailable. [INFO] [Input]: Game Focus => OFF [INFO] [Environ]: SET_GEOMETRY: 640x256, aspect: 1.250.
-
@uzi18 You're not using the
dispmanx
driver, so that's not the cause here. I wonder if it's not a issue triggered by the PI's GPU driver (VC4), will have to test on a Pi3.EDIT: I've run this on a Pi3 and didn't get to crash (I get the spinning cube from the intro on Forrest Dumb). Can you try renaming the
/home/pi/.config/retroarch/config/PUAE/amiga.opt
core options and see if you still get the crash ? -
@mitu disabled menu widgets fixed every launch crash with gl_raster_font_draw_vertices (this problem was on every rom)
but also have some crashes of EmuStation - still don't know how to debug this one
and also occasional crash of lr-puae - will investigate laterBy the way with enabled menu widgets - with lr-puae (Reset trick just before notification shows) after some time had malformed notifications - like filled blocks instead of fonts.
-
@mitu amiga.opt removed and looks like it works with menu widgets enabled,will test it
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.