lr-flycast save / load state issues
-
Great work on retropie btw.
I have one outstanding issue. Save states for lr-flycast only work around 50% of the time. Sometimes it will exit out of flycast during saving., other times it will save state successfully, but when you attempt to load the state later it crashes flycast. I'd say this happens around 50% of every save state. It seems that some corruption is occurring during saving the state. Oddly I've had the same issues with redream.
I've had no such issues on other consoles, so it appears to be dreamcast emulation specific.
Has anybody else suffered this? This is on an RPi4. I thought I'd just solved it by setting per game VMU files, but apparently not. Getting segfaults.
[libretro INFO] 00:45:005 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).A1.bin" [libretro INFO] 00:45:009 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).B1.bin" [libretro INFO] 00:45:014 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).C1.bin" [libretro INFO] 00:45:018 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).D1.bin" [INFO] [GL]: VSync => on [INFO] [GL]: VSync => on [INFO] File already exists. Saving to backup buffer ... [INFO] [INFO] Loading state: "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).state18". [INFO] State size: 28120679 bytes. [INFO] State size: 28392967 bytes. [INFO] File already exists. Saving to backup buffer ... [INFO] [INFO] Loading state: "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).state19". [INFO] State size: 28121575 bytes. [INFO] State size: 28120679 bytes. [INFO] [INFO] State size: 28120679 bytes. [INFO] [INFO] Loading state: "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).state20". [INFO] State size: 28120679 bytes. [INFO] State size: 28242247 bytes. [libretro ERROR] 09:17:136 libretro/common.cpp:376 E[COMMON]: SIGSEGV @ adbc9b6c ... 0xc000c0c8 -> was not in vram (dyna code 0) [libretro ERROR] Fatal error : segfault in signal_handler -> core/libretro/common.cpp : 383 [libretro ERROR] 09:17:136 libretro/libretro.cpp:3250 E[COMMON]: DEBUGBREAK! [libretro ERROR] 09:17:136 libretro/common.cpp:376 E[COMMON]: SIGSEGV @ adbe1720 ... 0xadbe1720 -> was not in vram (dyna code 0) [libretro ERROR] Fatal error : segfault in signal_handler -> core/libretro/common.cpp : 383 [libretro ERROR] 09:17:136 libretro/libretro.cpp:3250 E[COMMON]: DEBUGBREAK! /opt/retropie/supplementary/runcommand/runcommand.sh: line 1264: 5069 Illegal instruction /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-flycast/flycast_libretro.so --config /opt/retropie/configs/dreamcast/retroarch.cfg "/home/pi/RetroPie/roms/dreamcast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es)/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).chd" --verbose --appendconfig /dev/shm/retroarch.cfg < /dev/null
-
@domb84 said in lr-flycast save / load state issues:
libretro/common.cpp:376 E[COMMON]: SIGSEGV @ adbe1720 ... 0xadbe1720 -> was not in vram
I'm not sure if it's relevant or not, but it seems to be much more reliable when saving during a menu screen or some such. If I save 'mid-game' when there's lots going on, it seems to have more chance of a corrupt save state. Menu screens seem to be more reliable. I assume that's going to make some sense as it appears vram related.
Full log...
root@retropie:/home/pi# tail -f /dev/shm/runcommand.log Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-flycast/flycast_libretro.so </dev/null --config /opt/retropie/configs/dreamcast/retroarch.cfg "/home/pi/RetroPie/roms/dreamcast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es)/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).chd" --verbose --appendconfig /dev/shm/retroarch.cfg [INFO] RetroArch 1.8.8 (Git 9552f87) [INFO] Redirecting save file to "/home/pi/RetroPie/saves/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).srm". [INFO] Redirecting save state to "/home/pi/RetroPie/saves/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).state". [INFO] === Build ======================================= [INFO] Capabilities: NEON VFPv3 VFPv4 [INFO] Built: Jun 9 2020 [INFO] Version: 1.8.8 [INFO] Git: 9552f87 [INFO] ================================================= [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-flycast/flycast_libretro.so" [INFO] [Overrides] no core-specific overrides found at /home/pi/.config/retroarch/config/Flycast/Flycast.cfg. [INFO] [Overrides] no content-dir-specific overrides found at /home/pi/.config/retroarch/config/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).cfg. [INFO] [Overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).cfg. [INFO] [Environ]: GET_LANGUAGE: "0". [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_INTL. [INFO] [Environ]: SET_CONTROLLER_INFO. [INFO] [Remaps]: remap directory: /opt/retropie/configs/dreamcast/ [INFO] Redirecting save file to "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).srm". [INFO] Redirecting save state to "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).state". [INFO] [Environ]: GET_LOG_INTERFACE. [INFO] [Environ]: GET_PERF_INTERFACE. [INFO] [Environ]: SET_PIXEL_FORMAT: XRGB8888. [INFO] [Environ]: SET_KEYBOARD_CALLBACK. [INFO] [Environ]: SET_DISK_CONTROL_EXT_INTERFACE. [INFO] Content loading skipped. Implementation will load it on its own. [INFO] [Environ]: GET_RUMBLE_INTERFACE. [INFO] [Environ]: SYSTEM_DIRECTORY: "/home/pi/RetroPie/BIOS". [INFO] [Environ]: SET_SAVE_STATE_IN_BACKGROUND: yes. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [libretro INFO] File extension is: .chd [INFO] [Environ]: GET_PREFERRED_HW_RENDER. [INFO] [Environ]: SET_HW_RENDER. [INFO] Requesting OpenGLES2 context. [libretro INFO] 00:00:340 hw/mem/_vmem.cpp:556 N[VMEM]: Info: nvmem is enabled, with addr space of size 512MB [libretro INFO] 00:00:597 nullDC.cpp:152 N[BOOT]: [LUT]: Product number: HDR-0128 . [libretro INFO] 00:00:601 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).A1.bin" [libretro INFO] 00:00:605 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).B1.bin" [libretro INFO] 00:00:609 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).C1.bin" [libretro INFO] 00:00:613 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).D1.bin" [INFO] [Environ]: SET_ROTATION: 0 [INFO] found_last_state_slot: #20 [INFO] Skipping SRAM load.. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] [Cheats]: Load game-specific cheatfile: /home/pi/.config/retroarch/cheats/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).cht [INFO] [Audio]: Set audio input rate to: 44100.00 Hz. [INFO] [Video]: Video @ 1280x720 [INFO] [Video]: Using HW render, OpenGL driver forced. [INFO] [Video]: Using configured "gl" driver for GL HW render. [INFO] [DRM]: Found 1 connectors. [INFO] [DRM]: Connector 0 connected: yes [INFO] [DRM]: Connector 0 has 35 modes. [INFO] [DRM]: Connector 0 assigned to monitor index: #1. [INFO] [DRM]: Mode 0: (3840x2160) 3840 x 2160, 60 Hz [INFO] [DRM]: Mode 1: (4096x2160) 4096 x 2160, 60 Hz [INFO] [DRM]: Mode 2: (4096x2160) 4096 x 2160, 60 Hz [INFO] [DRM]: Mode 3: (4096x2160) 4096 x 2160, 50 Hz [INFO] [DRM]: Mode 4: (4096x2160) 4096 x 2160, 30 Hz [INFO] [DRM]: Mode 5: (4096x2160) 4096 x 2160, 30 Hz [INFO] [DRM]: Mode 6: (4096x2160) 4096 x 2160, 25 Hz [INFO] [DRM]: Mode 7: (4096x2160) 4096 x 2160, 24 Hz [INFO] [DRM]: Mode 8: (4096x2160) 4096 x 2160, 24 Hz [INFO] [DRM]: Mode 9: (3840x2160) 3840 x 2160, 60 Hz [INFO] [DRM]: Mode 10: (3840x2160) 3840 x 2160, 50 Hz [INFO] [DRM]: Mode 11: (3840x2160) 3840 x 2160, 30 Hz [INFO] [DRM]: Mode 12: (3840x2160) 3840 x 2160, 30 Hz [INFO] [DRM]: Mode 13: (3840x2160) 3840 x 2160, 25 Hz [INFO] [DRM]: Mode 14: (3840x2160) 3840 x 2160, 24 Hz [INFO] [DRM]: Mode 15: (3840x2160) 3840 x 2160, 24 Hz [INFO] [DRM]: Mode 16: (2560x1440) 2560 x 1440, 60 Hz [INFO] [DRM]: Mode 17: (1920x1080) 1920 x 1080, 60 Hz [INFO] [DRM]: Mode 18: (1920x1080) 1920 x 1080, 60 Hz [INFO] [DRM]: Mode 19: (1920x1080) 1920 x 1080, 50 Hz [INFO] [DRM]: Mode 20: (1920x1080) 1920 x 1080, 30 Hz [INFO] [DRM]: Mode 21: (1920x1080) 1920 x 1080, 30 Hz [INFO] [DRM]: Mode 22: (1920x1080) 1920 x 1080, 25 Hz [INFO] [DRM]: Mode 23: (1920x1080) 1920 x 1080, 24 Hz [INFO] [DRM]: Mode 24: (1920x1080) 1920 x 1080, 24 Hz [INFO] [DRM]: Mode 25: (1366x768) 1366 x 768, 60 Hz [INFO] [DRM]: Mode 26: (1280x720) 1280 x 720, 60 Hz [INFO] [DRM]: Mode 27: (1280x720) 1280 x 720, 60 Hz [INFO] [DRM]: Mode 28: (1280x720) 1280 x 720, 50 Hz [INFO] [DRM]: Mode 29: (1024x768) 1024 x 768, 60 Hz [INFO] [DRM]: Mode 30: (720x576) 720 x 576, 50 Hz [INFO] [DRM]: Mode 31: (720x480) 720 x 480, 60 Hz [INFO] [DRM]: Mode 32: (720x480) 720 x 480, 60 Hz [INFO] [DRM]: Mode 33: (640x480) 640 x 480, 60 Hz [INFO] [DRM]: Mode 34: (640x480) 640 x 480, 60 Hz [INFO] [GL]: Found GL context: kms [INFO] [GL]: Detecting screen resolution 1280x720. [INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay [INFO] [EGL]: EGL version: 1.4 [INFO] [EGL]: Current context: 0x1fb1c30. [INFO] [KMS]: New FB: 1280x720 (stride: 5120). [INFO] [GL]: Vendor: Broadcom, Renderer: V3D 4.2. [INFO] [GL]: Version: OpenGL ES 3.1 Mesa 19.3.2. [INFO] [GL]: Using resolution 1280x720 [INFO] [GL]: Default shader backend found: glsl. [INFO] [Shaders]: preset directory: /home/pi/.config/retroarch/config [INFO] [Shaders]: preset directory: /opt/retropie/configs/dreamcast/ [INFO] [Shaders]: preset directory: /home/pi/.config/retroarch/shaders/presets [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] [GL]: Using 1 textures. [INFO] [GL]: Loaded 1 program(s). [INFO] [GL]: Initializing HW render (1024 x 1024). [INFO] [GL]: Max texture size: 4096 px, renderbuffer size: 4096 px. [INFO] [GL]: Supports FBO (render-to-texture). [INFO] [udev]: Mouse #0 (/dev/input/event0). [INFO] [udev]: Mouse #1 (/dev/input/mouse0). [INFO] [udev]: Plugged pad: Sony Interactive Entertainment Wireless Controller (1356:2508) on port #0. [INFO] [udev]: Pad #0 (/dev/input/event2) supports force feedback. [INFO] [udev]: Pad #0 (/dev/input/event2) supports 16 force feedback effects. [INFO] [Joypad]: Found joypad driver: "udev". [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Video]: Found display server: null [INFO] Found shader "/home/pi/.config/retroarch/shaders/2xsal-level2-crt.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/2xsal.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/2xScaleHQ.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_lanczos4.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_phosphor.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/barrel-distortion_snes.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/Brighter-with_Contrast.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/bsnes_gamma_ramp.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-curvature-vertical.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-curvature.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi-vertical.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/crt-pi.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy-screen-grid.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/gameboy2.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/gba-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x&lcd3x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x2.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x_lcd3x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2x_phosphor.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2xwaterpaint.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq2xwaterpaintscanline.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq4x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/hq4x_lcd3x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/nds-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/nds.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/nedi.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/palm-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/phosphor.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/psp-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-2x-prescale.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-scanlines.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/sharp-bilinear-simple.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes2.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpaint.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpainthicontrast.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_hq2xwaterpaintscanline.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_lcd3x.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_phosphor.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_scanline.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/snes_waterpaint.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/stock.glsl" [INFO] Found shader "/home/pi/.config/retroarch/shaders/super-2xsai.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/super-eagle.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/vba-color.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/xbr-lv1-noblend.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_curve.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_curve_vertical.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_standard.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_crt_standard_vertical.glslp" [INFO] Found shader "/home/pi/.config/retroarch/shaders/zfast_lcd_standard.glslp" [INFO] [ALSA]: Using signed 16-bit format. [INFO] [ALSA]: Period size: 768 frames [INFO] [ALSA]: Buffer size: 3072 frames [INFO] [ALSA]: Can pause: no. [INFO] [Menu]: Found menu display driver: "gl". [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Font]: Using font rendering backend: stb-unicode. [INFO] [Menu]: Found menu display driver: "gl". [INFO] [LED]: LED driver = 'null' 0x4b48ac [INFO] [MIDI]: Initializing ... [INFO] [MIDI]: Input disabled. [INFO] [MIDI]: Output disabled. [INFO] [MIDI]: Initialized "alsa" driver. [INFO] Loading history file: [/opt/retropie/configs/dreamcast/content_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/dreamcast/content_music_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/dreamcast/content_video_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/dreamcast/content_image_history.lpl]. [INFO] Loading favorites file: [/opt/retropie/configs/dreamcast/content_favorites.lpl]. [INFO] [GL]: VSync => on [INFO] [Environ]: SET_INPUT_DESCRIPTORS: [INFO] [KMS]: New FB: 1280x720 (stride: 5120). [INFO] [KMS]: New FB: 1280x720 (stride: 5120). [libretro INFO] 00:02:375 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).A1.bin" [libretro INFO] 00:02:380 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).B1.bin" [libretro INFO] 00:02:385 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).C1.bin" [libretro INFO] 00:02:390 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).D1.bin" [libretro INFO] 00:03:239 hw/pvr/Renderer_if.cpp:102 N[PVR]: Creating Open GL per-triangle/strip renderer [libretro INFO] 00:03:239 rend/gles/gles.cpp:414 N[RENDERER]: OpenGL version: OpenGL ES 3.1 Mesa 19.3.2 [INFO] [GL]: VSync => on [INFO] [INFO] [GL]: VSync => on [INFO] Loading state: "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).state18". [INFO] State size: 28392967 bytes. [INFO] State size: 28120679 bytes. [libretro INFO] 00:19:568 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).A1.bin" [libretro INFO] 00:19:572 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).B1.bin" [libretro INFO] 00:19:576 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).C1.bin" [libretro INFO] 00:19:580 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).D1.bin" [INFO] [GL]: VSync => on [INFO] Reset. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [Environ]: RETRO_ENVIRONMENT_SET_CORE_OPTIONS_DISPLAY. [INFO] [GL]: VSync => on [INFO] [GL]: VSync => on [INFO] [INFO] [GL]: VSync => on [INFO] Loading state: "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).state18". [INFO] State size: 28392967 bytes. [INFO] State size: 28218631 bytes. [libretro INFO] 02:51:647 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).A1.bin" [libretro INFO] 02:51:651 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).B1.bin" [libretro INFO] 02:51:655 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).C1.bin" [libretro INFO] 02:51:659 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).D1.bin" [INFO] File already exists. Saving to backup buffer ... [INFO] [INFO] Loading state: "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).state19". [INFO] State size: 28120679 bytes. [INFO] State size: 28751783 bytes. [INFO] File already exists. Saving to backup buffer ... [INFO] [INFO] Loading state: "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).state20". [INFO] State size: 28120679 bytes. [INFO] State size: 28393415 bytes. [INFO] [INFO] State size: 28391079 bytes. [INFO] [INFO] Loading state: "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).state21". [INFO] State size: 28391079 bytes. [INFO] State size: 28120679 bytes. [libretro INFO] 07:51:419 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).A1.bin" [libretro INFO] 07:51:423 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).B1.bin" [libretro INFO] 07:51:426 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).C1.bin" [libretro INFO] 07:51:430 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).D1.bin" [INFO] [INFO] State size: 28737511 bytes. [INFO] [INFO] Loading state: "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).state22". [INFO] State size: 28737511 bytes. [INFO] State size: 28720135 bytes. [libretro INFO] 08:24:721 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).A1.bin" [libretro INFO] 08:24:724 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).B1.bin" [libretro INFO] 08:24:728 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).C1.bin" [libretro INFO] 08:24:732 hw/maple/maple_devs.cpp:596 N[MAPLE]: Loaded VMU from file "/home/pi/RetroPie/saves/Flycast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).D1.bin" [libretro ERROR] 08:24:754 libretro/common.cpp:376 E[COMMON]: SIGSEGV @ aca73d58 ... 0x1 -> was not in vram (dyna code 0) [libretro ERROR] Fatal error : segfault in signal_handler -> core/libretro/common.cpp : 383 [libretro ERROR] 08:24:754 libretro/libretro.cpp:3250 E[COMMON]: DEBUGBREAK! [libretro ERROR] 08:24:754 libretro/common.cpp:376 E[COMMON]: SIGSEGV @ adbf0720 ... 0xadbf0720 -> was not in vram (dyna code 0) [libretro ERROR] Fatal error : segfault in signal_handler -> core/libretro/common.cpp : 383 [libretro ERROR] 08:24:754 libretro/libretro.cpp:3250 E[COMMON]: DEBUGBREAK! /opt/retropie/supplementary/runcommand/runcommand.sh: line 1264: 10237 Illegal instruction /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-flycast/flycast_libretro.so --config /opt/retropie/configs/dreamcast/retroarch.cfg "/home/pi/RetroPie/roms/dreamcast/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es)/De La Jet Set Radio (Japan) (En,Ja,Fr,De,Es).chd" --verbose --appendconfig /dev/shm/retroarch.cfg < /dev/null
-
Am I the only person that's having save state issues with lr-flycast? Seems odd seeing that I've replicated it on at least 3 different installs of retropie on a pi4? Or am i the only person using save states?
-
From the log you posted, it looks like you have Increment Save State Index Automatically turned on - each save is saved to a different file.
How often do you save the state ?
The save files are quite large for Dreamcast (almost 29Mb), so RetroArch might not have enough time to save the file, especially since it has to write a new file each time. The next RetroArch version has an option to turn on compression for save states - is that option set ?
EDIT: please add some more info about your setup, as detailed in https://retropie.org.uk/forum/topic/3/read-this-first.
-
@mitu I turned that on because every time i was loading a save state it was corrupted. the only way to solve that was to save multiple, then I could pick one that had actually worked in the event the last one was corrupt. info below...
Pi Model or other hardware: 4b
Power Supply used: Official
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.6.7
Built From: Prebuilt image (4.6)
USB Devices connected: Xbox USB / PS4 USB
Controller used: Xbox USB / PS4 USB
Error messages received: [libretro ERROR] 09:17:136 libretro/common.cpp:376 E[COMMON]: SIGSEGV @ adbc9b6c ... 0xc000c0c8 -> was not in vram (dyna code 0)
[libretro ERROR] Fatal error : segfault
Verbose log (if relevant): [libretro ERROR] 09:17:136 libretro/common.cpp:376 E[COMMON]: SIGSEGV @ adbc9b6c ... 0xc000c0c8 -> was not in vram (dyna code 0)
[libretro ERROR] Fatal error : segfault
Guide used: n/a
File: n/a
Emulator: lr-flaycast
Attachment of config files: Supplied above
How to replicate the problem:save state - appears successful (although sometimes crashes lr-flycast during save)
load previously saved state - lr-flycast exists with segfaultsave states are corrupt around 3 out of every 5 at an estimate.
Does not occur with other emaulators - psx re-armed etc.
-
Looks like a core issue. Try updating the package from source. If the problem persists, open an issue on https://github.com/libretro/flycast/.
-
@mitu have tried source and binary packages. Will raise with libretro.
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.