Mame 2016 Compiles on RPI4 - Hits assertion error booting games
-
Successfully compiled/installed mame 2016 using RetroPie-Setup. Took ~3 hours.
RetroArch starts okay.
There are some concerning messages. However the seg fault due to hitting a failed assertion seems most relevant.
Parameters: Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2016/mamearcade2016_libretro.so --config /opt/retropie/configs/mame-libretro/retroarch.cfg "/home/pi/RetroPie/roms/mame-libretro/bbhcotw.zip" --verbose --appendconfig /dev/shm/retroarch.c fg [INFO] RetroArch 1.7.6 (Git 9750719) [INFO] Redirecting save file to "/home/pi/RetroPie/roms/mame-libretro/bbhcotw.srm". [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/mame-libretro/bbhcotw.state". [INFO] === Build ======================================= Capabilities: NEON VFPv3 VFPv4 Built: Dec 3 2019 [INFO] Version: 1.7.6 [INFO] Git: 9750719 [INFO] ================================================= [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-mame2016/mame2016_libretro.so" [INFO] [overrides] no core-specific overrides found at /home/pi/.config/retroarch/config/MAME 2016/MAME 2016.cfg. [INFO] [overrides] no content-dir-specific overrides found at /home/pi/.config/retroarch/config/MAME 2016/mame-libretro.cfg. [INFO] [overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/MAME 2016/bbhcotw.cfg. [INFO] Shaders: preset directory: /home/pi/.config/retroarch/shaders/presets [INFO] Shaders: no game-specific preset found at /home/pi/.config/retroarch/shaders/presets/MAME 2016/bbhcotw.cgp. [INFO] Shaders: no game-specific preset found at /home/pi/.config/retroarch/shaders/presets/MAME 2016/bbhcotw.glslp. [INFO] Shaders: no content-dir-specific preset found at /home/pi/.config/retroarch/shaders/presets/MAME 2016/mame-libretro.cgp. [INFO] Shaders: no content-dir-specific preset found at /home/pi/.config/retroarch/shaders/presets/MAME 2016/mame-libretro.glslp. [INFO] Shaders: no core-specific preset found at /home/pi/.config/retroarch/shaders/presets/MAME 2016/MAME 2016.cgp. [INFO] Shaders: no core-specific preset found at /home/pi/.config/retroarch/shaders/presets/MAME 2016/MAME 2016.glslp. [INFO] Environ SET_VARIABLES. [INFO] Remaps: remap directory: /opt/retropie/configs/mame-libretro/ [INFO] Remaps: no game-specific remap found at /opt/retropie/configs/mame-libretro/MAME 2016/bbhcotw.rmp. [INFO] Remaps: no content-dir-specific remap found at /opt/retropie/configs/mame-libretro/MAME 2016/mame-libretro.rmp. [INFO] Remaps: no core-specific remap found at /opt/retropie/configs/mame-libretro/MAME 2016/MAME 2016.rmp. [INFO] Redirecting save file to "/home/pi/RetroPie/roms/mame-libretro/bbhcotw.srm". [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/mame-libretro/bbhcotw.state". [INFO] Environ GET_LOG_INTERFACE. [INFO] Environ SYSTEM_DIRECTORY: "/home/pi/RetroPie/BIOS". [libretro INFO] SYSTEM_DIRECTORY: /home/pi/RetroPie/BIOS[INFO] Environ CORE_ASSETS_DIRECTORY: "/home/pi/.config/retroarch/downloads". [libretro INFO] CONTENT_DIRECTORY: /home/pi/.config/retroarch/downloads[libretro INFO] SAVE_DIRECTORY: /home/pi/RetroPie/roms/mame-libretro/[INFO] Environ SET_PIXEL_FORMAT: RGB565. [INFO] Content loading skipped. Implementation will load it on its own. [INFO] CRC32: 0x99c251d5 . [INFO] Environ GET_VARIABLE mame2016_boot_from_cli: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_mouse_enable: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_throttle: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_nobuffer: [INFO] N/A [INFO] Environ GET_VARIABLE mame2016_cheats_enable: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_hide_nagscreen: [INFO] N/A [INFO] Environ GET_VARIABLE mame2016_hide_infoscreen: [INFO] N/A [INFO] Environ GET_VARIABLE mame2016_hide_warnings: [INFO] N/A [INFO] Environ GET_VARIABLE mame2016_alternate_renderer: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_boot_to_osd: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_read_config: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_auto_save: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_saves: [INFO] game [INFO] Environ GET_VARIABLE mame2016_media_type: [INFO] rom [INFO] Environ GET_VARIABLE mame2016_softlists_enable: [INFO] enabled [INFO] Environ GET_VARIABLE mame2016_softlists_auto_media: [INFO] enabled [INFO] Environ GET_VARIABLE mame2016_boot_to_bios: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_write_config: [INFO] disabled [INFO] Skipping SRAM load.. [INFO] Version of libretro API: 1 [INFO] Compiled against API: 1 [INFO] Environ GET_VARIABLE mame2016_boot_from_cli: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_mouse_enable: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_throttle: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_nobuffer: [INFO] N/A [INFO] Environ GET_VARIABLE mame2016_cheats_enable: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_hide_nagscreen: [INFO] N/A [INFO] Environ GET_VARIABLE mame2016_hide_infoscreen: [INFO] N/A [INFO] Environ GET_VARIABLE mame2016_hide_warnings: [INFO] N/A [INFO] Environ GET_VARIABLE mame2016_alternate_renderer: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_boot_to_osd: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_read_config: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_auto_save: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_saves: [INFO] game [INFO] Environ GET_VARIABLE mame2016_media_type: [INFO] rom [INFO] Environ GET_VARIABLE mame2016_softlists_enable: [INFO] enabled [INFO] Environ GET_VARIABLE mame2016_softlists_auto_media: [INFO] enabled [INFO] Environ GET_VARIABLE mame2016_boot_to_bios: [INFO] disabled [INFO] Environ GET_VARIABLE mame2016_write_config: [INFO] disabled [libretro INFO] AV_INFO: width=640 height=480 [libretro INFO] AV_INFO: max_width=640 max_height=480 [libretro INFO] AV_INFO: aspect_ratio = 1.333333 [libretro INFO] AV_INFO: fps = 60.000000 sample_rate = 48000.000000 [INFO] [Audio]: Set audio input rate to: 47952.05 Hz. [INFO] [Video]: Video @ fullscreen [INFO] [Video]: Starting threaded video driver ... [INFO] [DRM]: Found 1 connectors. [INFO] [DRM]: Connector 0 connected: yes [INFO] [DRM]: Connector 0 has 22 modes. [INFO] [DRM]: Connector 0 assigned to monitor index: #1. [INFO] [DRM]: Mode 0: (1920x1080) 1920 x 1080, 60 Hz [INFO] [DRM]: Mode 1: (1680x1050) 1680 x 1050, 60 Hz [INFO] [DRM]: Mode 2: (1280x1024) 1280 x 1024, 75 Hz [INFO] [DRM]: Mode 3: (1280x1024) 1280 x 1024, 60 Hz [INFO] [DRM]: Mode 4: (1440x900) 1440 x 900, 75 Hz [INFO] [DRM]: Mode 5: (1440x900) 1440 x 900, 60 Hz [INFO] [DRM]: Mode 6: (1280x960) 1280 x 960, 60 Hz [INFO] [DRM]: Mode 7: (1152x864) 1152 x 864, 75 Hz [INFO] [DRM]: Mode 8: (1280x720) 1280 x 720, 60 Hz [INFO] [DRM]: Mode 9: (1024x768) 1024 x 768, 75 Hz [INFO] [DRM]: Mode 10: (1024x768) 1024 x 768, 70 Hz [INFO] [DRM]: Mode 11: (1024x768) 1024 x 768, 60 Hz [INFO] [DRM]: Mode 12: (832x624) 832 x 624, 75 Hz [INFO] [DRM]: Mode 13: (800x600) 800 x 600, 75 Hz [INFO] [DRM]: Mode 14: (800x600) 800 x 600, 72 Hz [INFO] [DRM]: Mode 15: (800x600) 800 x 600, 60 Hz [INFO] [DRM]: Mode 16: (800x600) 800 x 600, 56 Hz [INFO] [DRM]: Mode 17: (640x480) 640 x 480, 75 Hz [INFO] [DRM]: Mode 18: (640x480) 640 x 480, 73 Hz [INFO] [DRM]: Mode 19: (640x480) 640 x 480, 67 Hz [INFO] [DRM]: Mode 20: (640x480) 640 x 480, 60 Hz [INFO] [DRM]: Mode 21: (720x400) 720 x 400, 70 Hz [INFO] [GL]: Found GL context: kms [INFO] [GL]: Detecting screen resolution 1920x1080. [INFO] [EGL] Found EGL client version >= 1.5, trying eglGetPlatformDisplay [INFO] [EGL]: EGL version: 1.4 [INFO] [EGL]: Current context: 0xa8b313a8. [INFO] [KMS]: New FB: 1920x1080 (stride: 7680). [INFO] [GL]: Vendor: Broadcom, Renderer: V3D 4.2. [INFO] [GL]: Version: OpenGL ES 3.0 Mesa 19.2.0-rc1. [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] Resetting shader to defaults ... [INFO] [GL]: Using 4 textures. [INFO] [GL]: Loaded 1 program(s). [INFO] [udev]: Keyboard #0 (/dev/input/event0). [INFO] [Joypad]: Found joypad driver: "udev". [INFO] [Font]: Using font rendering backend: freetype. [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] [LED]: LED driver = 'null' 0x22c0c4 [INFO] [MIDI]: Initializing ... [INFO] [MIDI]: Input disabled. [INFO] [MIDI]: Output disabled. [INFO] [MIDI]: Initialized "alsa" driver. [INFO] Loading history file: [/opt/retropie/configs/mame-libretro/content_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/mame-libretro/content_favorites.lpl]. [INFO] Loading history file: [/opt/retropie/configs/mame-libretro/content_music_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/mame-libretro/content_video_history.lpl]. [INFO] Loading history file: [/opt/retropie/configs/mame-libretro/content_image_history.lpl]. [INFO] Written to playlist file: /opt/retropie/configs/mame-libretro/content_history.lpl [libretro INFO] Starting game:/home/pi/RetroPie/roms/mame-libretro/bbhcotw.zip [libretro INFO] Game name: bbhcotw, Game description: Big Buck Hunter Call of the Wild (v3.02.5) [libretro ERROR] System not found: mame-libretro [libretro WARN] Driver mame-libretro not found -1 [libretro INFO] Creating frontend for game: bbhcotw [libretro INFO] Softlists: 1 SOURCE FILE: ../../../../../src/mame/drivers/iteagle.cpp PARENT: iteagle NAME: bbhcotw DESCRIPTION: Big Buck Hunter Call of the Wild (v3.02.5) YEAR: 2006 MANUFACTURER: Incredible Technologies [libretro INFO] Screen orientation: HORIZONTAL Value not supported for option netdevprovider - falling back to auto [libretro INFO] OSD initialization complete [INFO] Environ SET_GEOMETRY. [INFO] SET_GEOMETRY: 100x100, aspect: 1.333. [INFO] [KMS]: New FB: 1920x1080 (stride: 7680). retroarch: ../../../../../src/emu/schedule.cpp:494: void device_scheduler::timeslice(): Assertion `deltatime >= attotime::zero' failed. /opt/retropie/supplementary/runcommand/runcommand.sh: line 1012: 2979 Aborted /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame2016/mamearcade2016_libretro.so --config /opt/retropie/configs/mame-libretro/retroarch.cfg "/home/pi/RetroPie/roms/mame-libretro/bbhcotw.zip" --verbose --appendconfig /dev/shm/retroarch.cfg
Assertion is here: https://github.com/mamedev/mame/blob/master/src/emu/schedule.cpp
Any ideas?
-
lr-mame2016 worked OK for me when playing games. I can't tell from your message whether it's working for you but throwing an error which you are investigating or not working at all due to the error. I did the standard Pi 4 build instructions. I couldn't get bbhcotw to run though so I'll be interested if you solve the error for this particular game.
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.