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

Help with iPac Ultimate, trackball & spinner, RetroPie ORA edition



  • Hello all. I really have researched this. I've tried everything I can find, or could think of. I'd appreciate some help.

    My setup:

    • ODroid XU4
    • RetroPie 4.3.8 ORA edition (for the ODroid)
    • iPac Ultimate with the spinner, trackball, 3 joysticks (two linked), 20 buttons
    • 15 amp power supply
    • lr-mame (truck; I believe it's 0.191)
    • verified /dev/input/mouse0 show input for both devices

    When I build my controller I hooked it up to my Mac to test out all of the controls. They all worked. Each button produced the expected key code, and the spinner & trackball moved the mouse cursor. When I then hook it up to my ODroid, everything but the trackball and spinner work.

    I've tried editing the retroarch.cfg to add 'input_player1_mouse_index = "0"' where I've tried 0 and 1 for index. I've tried to edit name.ini, a.though only lr-mame2010 seems to have one. I've tried going into the tetrarch menu to edit the controller. I've gotten nowhere.

    Here is a verbose run command.log output. It shows that udev sees the mouse.

    I'd really appreciate any advice.

    Parameters:
    Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mame/mamearcade_libretro.so --config /opt/retropie/configs/mame-libretro/retroarch.cfg "/home/pigaming/RetroPie/roms/mame-libretro/centiped.7z" --verbose --appendconfig /dev/shm/retroarch.cfg
    [INFO] RetroArch 1.6.9 (Git e8b10d3)
    [INFO] Redirecting save file to "/home/pigaming/RetroPie/roms/mame-libretro/centiped.srm".
    [INFO] Redirecting savestate to "/home/pigaming/RetroPie/roms/mame-libretro/centiped.state".
    [INFO] === Build =======================================
    Capabilities: NEON VFPv3 VFPv4
    Built: Jan 18 2018
    [INFO] Version: 1.6.9
    [INFO] Git: e8b10d3
    [INFO] =================================================
    [INFO] [Config]: loading config from: /opt/retropie/configs/mame-libretro/retroarch.cfg.
    [INFO] Config: appending config "/dev/shm/retroarch.cfg"
    [INFO] Loading dynamic libretro core from: "/opt/retropie/libretrocores/lr-mame/mamearcade_libretro.so"
    [INFO] [overrides] no core-specific overrides found at /home/pigaming/.config/retroarch/config/MAME/MAME.cfg.
    [INFO] [overrides] no game-specific overrides found at /home/pigaming/.config/retroarch/config/MAME/centiped.cfg.
    [INFO] Shaders: preset directory: /home/pigaming/.config/retroarch/shaders/presets
    [INFO] Shaders: no game-specific preset found at /home/pigaming/.config/retroarch/shaders/presets/MAME/centiped.cgp.
    [INFO] Shaders: no game-specific preset found at /home/pigaming/.config/retroarch/shaders/presets/MAME/centiped.glslp.
    [INFO] Shaders: no core-specific preset found at /home/pigaming/.config/retroarch/shaders/presets/MAME/MAME.cgp.
    [INFO] Shaders: no core-specific preset found at /home/pigaming/.config/retroarch/shaders/presets/MAME/MAME.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/centiped.rmp.
    [INFO] Remaps: no core-specific remap found at /opt/retropie/configs/mame-libretro/MAME/MAME.rmp.
    [INFO] Redirecting save file to "/home/pigaming/RetroPie/roms/mame-libretro/centiped.srm".
    [INFO] Redirecting savestate to "/home/pigaming/RetroPie/roms/mame-libretro/centiped.state".
    [INFO] Environ GET_LOG_INTERFACE.
    [INFO] Environ SYSTEM_DIRECTORY: "/home/pigaming/RetroPie/BIOS".
    [libretro INFO] SYSTEM_DIRECTORY: /home/pigaming/RetroPie/BIOS
    [INFO] Environ CORE_ASSETS_DIRECTORY: "/home/pigaming/.config/retroarch/downloads".
    [libretro INFO] CONTENT_DIRECTORY: /home/pigaming/.config/retroarch/downloads
    [libretro INFO] SAVE_DIRECTORY: /home/pigaming/RetroPie/roms/mame-libretro/
    [INFO] Environ SET_PIXEL_FORMAT: XRGB8888.
    [INFO] Content loading skipped. Implementation will load it on its own.
    [INFO] Environ GET_VARIABLE mame_boot_from_cli:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_mouse_enable:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_throttle:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_altres:
    [INFO] 640x480
    [INFO] Environ GET_VARIABLE mame_nobuffer:
    [INFO] N/A
    [INFO] Environ GET_VARIABLE mame_cheats_enable:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_alternate_renderer:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_boot_to_osd:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_read_config:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_auto_save:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_saves:
    [INFO] game
    [INFO] Environ GET_VARIABLE mame_media_type:
    [INFO] rom
    [INFO] Environ GET_VARIABLE mame_softlists_enable:
    [INFO] enabled
    [INFO] Environ GET_VARIABLE mame_softlists_auto_media:
    [INFO] enabled
    [INFO] Environ GET_VARIABLE mame_boot_to_bios:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_write_config:
    [INFO] disabled
    [INFO] Skipping SRAM load..
    [INFO] Version of libretro API: 1
    [INFO] Compiled against API: 1
    [INFO] Environ GET_VARIABLE mame_boot_from_cli:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_mouse_enable:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_throttle:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_altres:
    [INFO] 640x480
    [INFO] Environ GET_VARIABLE mame_nobuffer:
    [INFO] N/A
    [INFO] [INFO] [CHEEVOS]: system RAM: (nil) 0
    [INFO] [CHEEVOS]: save RAM: (nil) 0
    [INFO] [CHEEVOS]: video RAM: (nil) 0
    [INFO] [CHEEVOS]: RTC: (nil) 0
    Environ GET_VARIABLE mame_cheats_enable:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_alternate_renderer:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_boot_to_osd:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_read_config:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_auto_save:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_saves:
    [INFO] game
    [INFO] Environ GET_VARIABLE mame_media_type:
    [INFO] rom
    [INFO] Environ GET_VARIABLE mame_softlists_enable:
    [INFO] enabled
    [INFO] Environ GET_VARIABLE mame_softlists_auto_media:
    [INFO] enabled
    [INFO] Environ GET_VARIABLE mame_boot_to_bios:
    [INFO] disabled
    [INFO] Environ GET_VARIABLE mame_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] Found shader "/home/pigaming/.config/retroarch/shaders/retroarch.glslp"
    [INFO] [Video]: Video @ 640x480
    [INFO] [Video]: Starting threaded video driver ...
    [INFO] [EGL] Falling back to eglGetDisplay
    [INFO] [EGL]: EGL version: 1.4
    [INFO] [GL]: Found GL context: mali-fbdev
    [INFO] [GL]: Detecting screen resolution 0x0.
    [INFO] [EGL]: Current context: 0xaa82a2d0.
    [INFO] [GL]: Vendor: ARM, Renderer: Mali-T628.
    [INFO] [GL]: Version: OpenGL ES 3.1 v1.r12p0-04rel0.03af15950392f3702b248717f4938b82.
    [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] [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] [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 4 textures.
    [INFO] [GL]: Loaded 1 program(s).
    [INFO] [Font]: Using font rendering backend: stb.
    [INFO] [Video]: Graphics driver did not initialize an input driver. Attempting to pick a suitable driver.
    [INFO] [udev]: Keyboard #0 (/dev/input/event0).
    [INFO] [udev]: Keyboard #1 (/dev/input/event4).
    [INFO] [udev]: Mouse #0 (/dev/input/event1).
    [INFO] [udev]: Mouse #1 (/dev/input/mouse0).
    [INFO] [Joypad]: Found joypad driver: "udev".
    [WARN] [udev]: Full-screen pointer won't be available.
    [INFO] [PulseAudio]: Requested 22576 bytes buffer, got 19056.
    [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_image_history.lpl].
    [INFO] [PulseAudio]: Unpausing.
    [libretro INFO] Starting game:/home/pigaming/RetroPie/roms/mame-libretro/centiped.7z
    [libretro INFO] Game name: centiped, Game description: Centipede (revision 4)
    [libretro ERROR] System not found: mame-libretro
    [libretro WARN] Driver mame-libretro not found -1
    [libretro INFO] Creating frontend for game: centiped
    [libretro INFO] Softlists: 1
    Adding monitor screen0 (640 x 480) a:1.333333
    SOURCE FILE: ../../../../../src/mame/drivers/centiped.cpp
    PARENT: 0
    NAME: centiped
    DESCRIPTION: Centipede (revision 4)
    YEAR: 1980
    MANUFACTURER: Atari
    [libretro INFO] RES:1
    [libretro INFO] MAIN FIRST
    [INFO] Environ SET_GEOMETRY.
    [INFO] SET_GEOMETRY: 240x256, aspect: 0.750.
    w:240 h:256 a:0.750000
    [INFO] [PulseAudio]: Unpausing.
    [INFO] [PulseAudio]: Unpausing.
    [INFO] [PulseAudio]: Pausing.
    RETRO DEINIT
    retro_finish begin
    Average speed: 100.24% (10 seconds)
    retro exit machine
    retro_finish end
    [INFO] Saved core options file to "/opt/retropie/configs/all/retroarch-core-options.cfg"
    [?25h[?0c[INFO] Threaded video stats: Frames pushed: 652, Frames dropped: 7.
    [INFO] [Audio]: Average audio buffer saturation: 83.11 %, standard deviation (percentage points): 10.29 %.
    [INFO] [Audio]: Amount of time spent close to underrun: 0.00 %. Close to blocking: 76.23 %.
    [INFO] [Audio]: Average audio buffer saturation: 83.11 %, standard deviation (percentage points): 10.29 %.
    [INFO] [Audio]: Amount of time spent close to underrun: 0.00 %. Close to blocking: 76.23 %.



  • I was able to finally figure this out.

    In the file
    /opt/retropie/configs/all/retroarch-core-options.cfg
    the line
    mame_trackball_enabled = "disabled"
    needed to change to
    mame_trackball_enabled = "enabled"

    There are (may be?) more than one mame*_trackball_enabled entry for the various MAME installs. Mine had one for mame2003 and mame2014. Not the others that were installed (like mame2010).

    This is really hidden.



  • @treaves Thanks for sharing your solution. 😊 A word of advice though, please put logs etc. either in a code block or in a pastebin service like https://paste.ubuntu.com/ or https://pastebin.com/ and put a link to it in your post instead of a wall of text.



  • Heya Clyde. I didn't realize markdown was supported. Thanks for pointing that out.

    I wonder if we can get the pinned post to be more specific on what a 'large log' is. I was on the fence about this one.

    Thanks.



  • @treaves Thanks for your consideration. As a rule of thumb, I would say that anything that requires scrolling may be too long. :)


  • Global Moderator

    @treaves said in Help with iPac Ultimate, trackball & spinner, RetroPie ORA edition:

    I wonder if we can get the pinned post to be more specific on what a 'large log' is. I was on the fence about this one.

    If you need to scroll more than 2 screens, then it's large (considering a normal 720p resolution).



Suggested Topics

  • 1
  • 13
  • 52
  • 1
  • 25
  • 3
  • 3
  • 13

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.