I'm getting a segfault when loading games and have no idea what could be the root cause.
The front end is under development but alrady runs other opengl cores like flycast or mupen64 in Pi4 64 bits.
This is the log:
[INFO] [SYSTEM] RePlay v0.8.0-alpha - Compiled on Mar 23 2023, 20:25:10
[INFO] [SDL] SDL2 loaded (2.0.14)
[INFO] [SYSTEM] Selected core /opt/replay/cores/dolphin_libretro.so
[INFO] [SDL] Loaded controller database
[INFO] [SDL] Initialised keyboard input
[INFO] [SYSTEM] Loading data/cores.cfg file
[INFO] [CORE] Loaded dolphin-emu 0df1b5b
[INFO] [CORE] Supported ROM types: elf|dol|gcm|iso|tgc|wbfs|ciso|gcz|wad|wia|rvz|m3u
[INFO] [GLES] Requested pixel format XRGB8888
[INFO] [CORE] 43:58:498 DolphinLibretro/Boot.cpp:81 I[COMMON]: User Directory set to '/opt/replay/saves/User'
[INFO] [CORE] 43:58:498 DolphinLibretro/Boot.cpp:82 I[COMMON]: System Directory set to '/opt/replay/system/dolphin-emu/Sys'
[INFO] [CORE] SET_HW_RENDER: Requested context: OpenGL ES 3.0
[INFO] [CORE] 43:58:504 DolphinLibretro/Boot.cpp:177 N[Video]: Using GFX backend: OGL
[INFO] [CORE] 43:58:520 Core/ConfigManager.cpp:717 N[CORE]: Active title: Super Mario Sunshine (GMSP01)
[INFO] [CORE] 43:58:528 Core/Core.cpp:1049 N[COMMON]: Want determinism <- false
[INFO] [CORE] 43:58:528 Core/Core.cpp:239 I[BOOT]: Starting core = GameCube mode
[INFO] [CORE] 43:58:528 Core/Core.cpp:240 I[BOOT]: CPU Thread separate = Yes
[INFO] [DRM] Device resolution: Min: 0x0, Max: 7680x7680
[INFO] [DRM] Found 28 connector video modes:
[INFO] [DRM] Mode 0: 1024x768@60
[INFO] [DRM] Mode 1: 1920x1080@60
[INFO] [DRM] Mode 2: 1920x1080@60
[INFO] [DRM] Mode 3: 1920x1080i@60
[INFO] [DRM] Mode 4: 1920x1080i@60
[INFO] [DRM] Mode 5: 1920x1080@50
[INFO] [DRM] Mode 6: 1920x1080i@50
[INFO] [DRM] Mode 7: 1280x720@60
[INFO] [DRM] Mode 8: 1280x720@60
[INFO] [DRM] Mode 9: 1280x720@50
[INFO] [DRM] Mode 10: 1024x768@75
[INFO] [DRM] Mode 11: 1024x768@70
[INFO] [DRM] Mode 12: 832x624@75
[INFO] [DRM] Mode 13: 800x600@75
[INFO] [DRM] Mode 14: 800x600@72
[INFO] [DRM] Mode 15: 800x600@60
[INFO] [DRM] Mode 16: 800x600@56
[INFO] [DRM] Mode 17: 720x576@50
[INFO] [DRM] Mode 18: 720x576i@50
[INFO] [DRM] Mode 19: 720x480@60
[INFO] [DRM] Mode 20: 720x480@60
[INFO] [DRM] Mode 21: 720x480i@60
[INFO] [DRM] Mode 22: 720x480i@60
[INFO] [DRM] Mode 23: 640x480@75
[INFO] [DRM] Mode 24: 640x480@73
[INFO] [DRM] Mode 25: 640x480@60
[INFO] [DRM] Mode 26: 640x480@60
[INFO] [DRM] Mode 27: 720x400@70
[INFO] [DRM] Selected mode: 1024x768@60
[INFO] [EGL] Using EGL v1.4
[INFO] [EGL] Found 40 configurations
[INFO] [EGL] Selected configuration: #16
[INFO] [GLES] Using OpenGL ES v3.1
[INFO] [GLES] Using 24-bits RGB color depth
[INFO] [SYSTEM] Setting aspect ratio Full 4:3: 1024x768 (1.333333)
[INFO] [CORE] Game video info:
[INFO] [CORE] Max Width: 640
[INFO] [CORE] Max Height: 528
[INFO] [CORE] Width: 640
[INFO] [CORE] Height: 528
[INFO] [CORE] Aspect: 1.333333
[INFO] [CORE] FPS(freq): 50.000000
[INFO] [CORE] Frame Time: 20.000000ms
[INFO] [SYSTEM] Monitor system rate won't be adjusted. Video timings deviate too much. (Display = 60.00 Hz, Game = 50.00 Hz)
[INFO] [SYSTEM] Audio sample rate adjusted from 32029 to 32029
[INFO] [SDL] Available playback devices:
[INFO] [SDL] Device 0: bcm2835 Headphones, bcm2835 Headphones
[INFO] [SDL] Device 1: vc4-hdmi-0, MAI PCM i2s-hifi-0
[INFO] [SDL] Device 2: vc4-hdmi-1, MAI PCM i2s-hifi-0
[INFO] [SDL] Selected device: vc4-hdmi-0, MAI PCM i2s-hifi-0
[INFO] [SYSTEM] Audio sample rate adjusted from 32029 to 32029
[INFO] [SDL] Audio info:
[INFO] [SDL] Core freq: 32029
[INFO] [SDL] Deviation: 0.000000%
[INFO] [SDL] New core freq: 32029
[INFO] [SDL] Requested freq: 32029, samples: 1024
[INFO] [SDL] Obtained freq: 32029, samples: 1024
[INFO] [SDL] Obtained buffer size (bytes): 4096
[INFO] [CORE] Loading SRAM file /opt/replay/saves/nintendo_gc_MarioSS.iso.srm
[INFO] [CORE] SRAM file not found. A new one will be created
[WARNING] [CORE] 43:59:167 VideoBackends/OGL/Render.cpp:750 W[Video]: Missing OGL Extensions: DualSourceBlend PinnedMemory ShaderCache SSAA GSInstancing ClipControl CopyImageSubData DepthClamp
[WARNING] [CORE] 43:59:423 VideoCommon/AsyncShaderCompiler.cpp:125 W[Video]: Failed to initialize shader compiler worker thread.
[INFO] [CORE] 43:59:423 VideoCommon/ShaderCache.cpp:794 I[Video]: Read 0 pipeline UIDs from /opt/replay/saves/User/Cache/GMSP01.uidcache
[WARNING] [CORE] 43:59:423 VideoCommon/AsyncShaderCompiler.cpp:125 W[Video]: Failed to initialize shader compiler worker thread.
[INFO] [SDL] Controller 8Bitdo SF30 Pro connected as a Analogue device
[INFO] [CORE] 43:59:712 Core/HW/Memmap.cpp:327 I[MI]: Memory system initialized. RAM at 0x7f68e70000
[INFO] [SYSTEM] FPS: 0
[INFO] [DRM] New framebuffer: 1024x768
[INFO] [CORE] 43:59:785 Core/HW/DSPHLE/UCodes/UCodes.cpp:228 I[DSPHLE]: Switching to ROM ucode
[INFO] [CORE] 43:59:785 Core/HW/DSPHLE/UCodes/ROM.cpp:28 I[DSPHLE]: UCode_Rom - initialized
[INFO] [CORE] 43:59:806 Core/Boot/Boot.cpp:433 N[BOOT]: Booting from disc: roms/nintendo_gc/MarioSS.iso
[INFO] [CORE] 43:59:806 Core/Boot/Boot_BS2Emu.cpp:208 I[BOOT]: Faking GC BS2...
[INFO] [CORE] Core has misidentified device Analogue on player 0 as Joypad
[INFO] [CORE] 43:59:918 Core/HW/DSPHLE/UCodes/UCodes.cpp:228 I[DSPHLE]: Switching to ROM ucode
[INFO] [CORE] 43:59:918 Core/HW/DSPHLE/UCodes/ROM.cpp:28 I[DSPHLE]: UCode_Rom - initialized
[INFO] [CORE] 43:59:919 Core/HW/DSPHLE/UCodes/UCodes.cpp:232 I[DSPHLE]: Switching to INIT ucode
[INFO] [CORE] 43:59:919 Core/HW/DSPHLE/UCodes/INIT.cpp:17 I[DSPHLE]: INITUCode - initialized
[INFO] [CORE] 43:59:919 Core/HW/DSPHLE/UCodes/UCodes.cpp:232 I[DSPHLE]: Switching to INIT ucode
[INFO] [CORE] 43:59:919 Core/HW/DSPHLE/UCodes/INIT.cpp:17 I[DSPHLE]: INITUCode - initialized
[INFO] [CORE] 43:59:919 Core/HW/DSPHLE/UCodes/UCodes.cpp:232 I[DSPHLE]: Switching to INIT ucode
[INFO] [CORE] 43:59:919 Core/HW/DSPHLE/UCodes/INIT.cpp:17 I[DSPHLE]: INITUCode - initialized
[INFO] [CORE] 43:59:919 Core/HW/DSPHLE/UCodes/UCodes.cpp:228 I[DSPHLE]: Switching to ROM ucode
[INFO] [CORE] 43:59:919 Core/HW/DSPHLE/UCodes/ROM.cpp:28 I[DSPHLE]: UCode_Rom - initialized
./gc.sh: line 2: 17287 Segmentation fault ./replay roms/nintendo_gc/MarioSS.iso
Hi,
I'm getting a segfault when loading games and have no idea what could be the root cause. The front end is under development but alrady runs other opengl cores like flycast or mupen64 in Pi4 64 bits.
This is the log: