Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

GBA not working with any rom (already have bios)



  • I am using a Raspberry 0 W
    Retropie version 4.3
    GBA emulator

    Does anyone know how to get a gba emulator to work on retro pie 4.3, I already have the bios downloaded in the correct folder but whenever I launch a rom it just takes me back to the menu.


  • Global Moderator

    @enzotiso If you're fairly certain you copied the correct BIOS, then it might be a bad ROM file. Enable verbose logging for Retroarch from the runcommand launch menu and see if you spot any errors in the /dev/shm/runcommand.log file.



  • Ok this is going to sound stupid but where do I find the /dev/shm/runcommand.log file? I've enabled verbose logging from the menu but I just don't know where to find the log.


  • Global Moderator

    @enzotiso Exit Emulationstation after you played your ROM, then run

    cp /dev/shm/runcommand.log ~/RetroPie/roms
    

    This will copy the log file to your ROM folder, from where you can look at it from your PC. Alternatively, you can use WinSCP from your PC to connect to the Pi and open the file directly.



  • When ever I type that in it just tells me this

    0_1517951970710_IMG_1995.jpg


  • Global Moderator

    @enzotiso You mis-typed one char - the ~ (tilde) key. Try this:

    cp /dev/shm/runcommand.log /home/pi/RetroPie/roms
    

    it should have the same effect - copying the log file to your ROM folder.



  • Ok iv'e read through the entire log and found out that i was using an incorrect bios and after re launching it with a correct bios it still did not work so if you feel like it you can take a look or at least tell me some errors that are easy to miss.

    Parameters: 
    Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-gpsp/gpsp_libretro.so --config /opt/retropie/configs/gba/retroarch.cfg "/home/pi/RetroPie/roms/gba/Pokemon - Emerald Version (U).zip" --verbose --appendconfig /dev/shm/retroarch.cfg
    [INFO] RetroArch 1.6.7 (Git 8e8bdaa)
    [INFO] Redirecting save file to "/home/pi/RetroPie/roms/gba/Pokemon - Emerald Version (U).srm".
    [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/gba/Pokemon - Emerald Version (U).state".
    [INFO] === Build =======================================
    Capabilities: 
    Built: Sep 10 2017
    [INFO] Version: 1.6.7
    [INFO] Git: 8e8bdaa
    [INFO] =================================================
    [INFO] [Config]: loading config from: /opt/retropie/configs/gba/retroarch.cfg.
    [INFO] Config: appending config "/dev/shm/retroarch.cfg"
    [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-gpsp/gpsp_libretro.so"
    [INFO] [overrides] no core-specific overrides found at /home/pi/.config/retroarch/config/gpSP/gpSP.cfg.
    [INFO] [overrides] no game-specific overrides found at /home/pi/.config/retroarch/config/gpSP/Pokemon - Emerald Version (U).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/gpSP/Pokemon - Emerald Version (U).cgp.
    [INFO] Shaders: no game-specific preset found at /home/pi/.config/retroarch/shaders/presets/gpSP/Pokemon - Emerald Version (U).glslp.
    [INFO] Shaders: no core-specific preset found at /home/pi/.config/retroarch/shaders/presets/gpSP/gpSP.cgp.
    [INFO] Shaders: no core-specific preset found at /home/pi/.config/retroarch/shaders/presets/gpSP/gpSP.glslp.
    [INFO] Environ GET_LOG_INTERFACE.
    [INFO] Environ GET_PERF_INTERFACE.
    [INFO] Environ SET_VARIABLES.
    [INFO] Remaps: remap directory: /opt/retropie/configs/gba/
    [INFO] Remaps: no game-specific remap found at /opt/retropie/configs/gba/gpSP/Pokemon - Emerald Version (U).rmp.
    [INFO] Remaps: no core-specific remap found at /opt/retropie/configs/gba/gpSP/gpSP.rmp.
    [INFO] Redirecting save file to "/home/pi/RetroPie/roms/gba/Pokemon - Emerald Version (U).srm".
    [INFO] Redirecting savestate to "/home/pi/RetroPie/roms/gba/Pokemon - Emerald Version (U).state".
    [INFO] Content loading skipped. Implementation will load it on its own.
    [INFO] Environ GET_VARIABLE gpsp_drc:
    [INFO] 	enabled
    [INFO] Environ SET_INPUT_DESCRIPTORS:
    [INFO] 	RetroPad, User 1, Button "B (bottom)" => "B"
    [INFO] 	RetroPad, User 1, Button "Select" => "Select"
    [INFO] 	RetroPad, User 1, Button "Start" => "Start"
    [INFO] 	RetroPad, User 1, Button "D-Pad Up" => "D-Pad Up"
    [INFO] 	RetroPad, User 1, Button "D-Pad Down" => "D-Pad Down"
    [INFO] 	RetroPad, User 1, Button "D-Pad Left" => "D-Pad Left"
    [INFO] 	RetroPad, User 1, Button "D-Pad Right" => "D-Pad Right"
    [INFO] 	RetroPad, User 1, Button "A (right)" => "A"
    [INFO] Environ SET_PIXEL_FORMAT: RGB565.
    [INFO] Environ SYSTEM_DIRECTORY: "/home/pi/RetroPie/BIOS".
    [INFO] CHEEVOS system RAM: (nil) 0
    [INFO] CHEEVOS save RAM:   (nil) 0
    [INFO] CHEEVOS video RAM:  (nil) 0
    [INFO] CHEEVOS RTC:        (nil) 0
    [INFO] Skipping SRAM load..
    [INFO] Version of libretro API: 1
    [INFO] Compiled against API: 1
    [INFO] [Audio]: Set audio input rate to: 65835.00 Hz.
    [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] [Video]: Video @ 720x480
    [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: videocore
    [INFO] [GL]: Detecting screen resolution 853x480.
    [INFO] [EGL]: eglSwapInterval(1)
    [INFO] [EGL]: eglSwapInterval(1)
    [INFO] [GL]: Vendor: Broadcom, Renderer: VideoCore IV HW.
    [INFO] [GL]: Version: OpenGL ES 2.0.
    [WARN] [GL]: GLES implementation does not have BGRA8888 extension.
    32-bit path will require conversion.
    [INFO] [GL]: Using resolution 853x480
    [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] 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] [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] [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] Querying EGL extension: KHR_image => exists
    [INFO] [Font]: Using font rendering backend: freetype.
    [INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
    [WARN] [udev]: Couldn't open any keyboard, mouse or touchpad. Are permissions set correctly for /dev/input/event*?
    [INFO] [udev]: Plugged pad: Xbox 360 Wireless Receiver (XBOX) (1118:657) on port #0.
    [INFO] [Autoconf]: 1 profiles found.
    [INFO] [Autoconf]: selected configuration: /home/pi/.config/retroarch/autoconfig/Xbox 360 Wireless Receiver (XBOX).cfg
    [INFO] [udev]: Pad #0 (/dev/input/event0) supports force feedback.
    [INFO] [udev]: Pad #0 (/dev/input/event0) supports 16 force feedback effects.
    [INFO] [Joypad]: Found joypad driver: "udev".
    [WARN] [udev]: Full-screen pointer won't be available.
    [INFO] ALSA: Using signed 16-bit format.
    [INFO] ALSA: Period size: 384 frames
    [INFO] ALSA: Buffer size: 1536 frames
    [INFO] Loading history file: [/opt/retropie/configs/gba/content_history.lpl].
    [INFO] Loading history file: [/opt/retropie/configs/gba/content_favorites.lpl].
    [INFO] Loading history file: [/opt/retropie/configs/gba/content_music_history.lpl].
    [INFO] Loading history file: [/opt/retropie/configs/gba/content_image_history.lpl].
    [INFO] Trying to write to playlist file: /opt/retropie/configs/gba/content_history.lpl
    /opt/retropie/supplementary/runcommand/runcommand.sh: line 1006:  1627 Segmentation fault      /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-gpsp/gpsp_libretro.so --config /opt/retropie/configs/gba/retroarch.cfg "/home/pi/RetroPie/roms/gba/Pokemon - Emerald Version (U).zip" --verbose --appendconfig /dev/shm/retroarch.cfg
    

  • Global Moderator

    @enzotiso If you're sure it's a good ROM, you could try with another emulator - lr-mgba or lr-vba-next. Use the runcommand launch menu to choose another emulator.



  • Thank you so much for all your help I just changed the emulator it used and got a new rom and it worked.



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.