RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    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

    Mupen64Plus problems (audio + video)

    Scheduled Pinned Locked Moved Help and Support
    mupen64plusmupen64plus sdlresolutionretropie 4.7.3
    3 Posts 2 Posters 1.4k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      RetroChip
      last edited by RetroChip

      Hello together,

      I recently installed Retropie 4.7.3 (Raspbian Buster) on my Raspberry 3B via PINN. The installation seemed to be successfull but when I want to start a N64 game (i.e. Mario Kart 64) I get massive problems with the sound output and my video. The sound stutters and the video resolution is too slow. As told in the starting screen of the emulator I looked in the /dev/shm/runcommand.log to see any issues.
      Fortunately I made a backup of my old version Retropie version 4.7.2 (Raspbian Jessie) before I started the new installation to compare the results. In the old version everything was working.

      The log of old Retropie 4.7.2 (Raspbian Jessie) :


      Parameters:
      Executing: /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh AUTO "/home/pi/RetroPie/roms/n64/Mario Kart 64 (Europe).z64"


      | / |_ _ _ __ ___ _ __ / /_ | || | | _ | |_ _ ___
      | |/| | | | | '_ \ / _ \ '_ | '_ | || || |) | | | | / |
      | | | | || | |) | / | | | (_) | | __/| | || _
      \
      || ||_,| .
      / _|| ||_/ || || ||_,|/
      |
      | https://mupen64plus.org/
      Mupen64Plus Console User-Interface Version 2.5.0

      UI-Console: attached to core library 'Mupen64Plus Core' version 2.5.1
      UI-Console: Includes support for Dynamic Recompiler.
      Core: Using full mem base
      Core: Goodname: Mario Kart 64 (E) (V1.0) [!]
      Core: Name: MARIOKART64
      Core: MD5: 8FAD1E4FA7BAF1443B7F21AD1947B429
      Core: CRC: C3B6DE9D 65D2DE76
      Core: Imagetype: .z64 (native)
      Core: Rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
      Core: Version: 1446
      Core: Manufacturer: Nintendo
      Core: Country: Europe (0x50)
      UI-Console Status: Cheat codes disabled.
      UI-Console: using Video plugin: 'gles2n64' v0.0.5
      UI-Console: using Audio plugin: 'Mupen64Plus OMX Audio Plugin' v2.0.0
      Input Warning: missing 'plugin' parameter from config section Input-SDL-Control1. Setting to 2 (mempak).
      Input Warning: missing 'plugin' parameter from config section Input-SDL-Control2. Setting to 2 (mempak).
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input Warning: missing config key 'DPad R' for controller 2 button 0
      Input Warning: missing config key 'DPad L' for controller 2 button 1
      Input Warning: missing config key 'DPad D' for controller 2 button 2
      Input Warning: missing config key 'DPad U' for controller 2 button 3
      Input Warning: missing config key 'C Button R' for controller 2 button 8
      Input Warning: missing config key 'C Button L' for controller 2 button 9
      Input Warning: missing config key 'R Trig' for controller 2 button 12
      Input Warning: missing config key 'L Trig' for controller 2 button 13
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      UI-Console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v2.5.0
      UI-Console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v2.5.0
      Core: Setting 32-bit video mode: 1920x1080
      Video: Using OpenGL: Broadcom - VideoCore IV HW : OpenGL ES 2.0
      Input: 3 SDL joysticks were found.
      Input Warning: missing 'plugin' parameter from config section Input-SDL-Control1. Setting to 2 (mempak).
      Input Warning: missing 'plugin' parameter from config section Input-SDL-Control2. Setting to 2 (mempak).
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input: N64 Controller #1: Using auto-config with SDL joystick 0 ('Generic X-Box pad')
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input Warning: missing config key 'DPad R' for controller 2 button 0
      Input Warning: missing config key 'DPad L' for controller 2 button 1
      Input Warning: missing config key 'DPad D' for controller 2 button 2
      Input Warning: missing config key 'DPad U' for controller 2 button 3
      Input Warning: missing config key 'C Button R' for controller 2 button 8
      Input Warning: missing config key 'C Button L' for controller 2 button 9
      Input Warning: missing config key 'R Trig' for controller 2 button 12
      Input Warning: missing config key 'L Trig' for controller 2 button 13
      Input: N64 Controller #2: Using auto-config with SDL joystick 1 ('Microsoft SideWinder Game Pad Pro USB version 1.0')
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input Error: No auto-config found for joystick named 'Xbox Gamepad (userspace driver)' in InputAutoConfig.ini
      Input: 2 controller(s) found, 2 plugged in and usable in the emulator
      Input: Rumble activated on N64 joystick #1
      Input Warning: Couldn't open rumble support for joystick #2
      Input Warning: Couldn't open rumble support for joystick #3
      Input Warning: Couldn't open rumble support for joystick #4
      Input: Mupen64Plus SDL Input Plugin version 2.5.0 initialized.
      RSP: RSP Fallback disabled !
      Co/opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh: line 446: 1973 Segmentation fault SDL_VIDEO_RPI_SCALE_MODE=1 "$rootdir/emulators/mupen64plus/bin/mupen64plus" --noosd --windowed $RES --rsp ${RSP_PLUGIN}.so --gfx ${VIDEO_PLUGIN}.so --audio ${AUDIO_PLUGIN}.so --configdir "$configdir/n64" --datadir "$configdir/n64" "$ROM"


      The log of the new Retropie 4.7.3 (Raspbian Buster) :


      Parameters:
      Executing: /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh AUTO "/home/pi/RetroPie/roms/n64/Mario Kart 64 (Europe).z64"


      | / |_ _ _ __ ___ _ __ / /_ | || | | _ | |_ _ ___
      | |/| | | | | '_ \ / _ \ '_ | '_ | || || |) | | | | / |
      | | | | || | |) | / | | | (_) | | __/| | || _
      \
      || ||_,| .
      / _|| ||_/ || || ||_,|/
      |
      | https://mupen64plus.org/
      Mupen64Plus Console User-Interface Version 2.5.9

      UI-Console: attached to core library 'Mupen64Plus Core' version 2.5.9
      UI-Console: Includes support for Dynamic Recompiler.
      Core: Using full mem base
      Core: Goodname: Mario Kart 64 (E) (V1.0) [!]
      Core: Name: MARIOKART64
      Core: MD5: 8FAD1E4FA7BAF1443B7F21AD1947B429
      Core: CRC: C3B6DE9D 65D2DE76
      Core: Imagetype: .z64 (native)
      Core: Rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
      Core: Version: 1446
      Core: Manufacturer: Nintendo
      Core: Country: Europe (0x50)
      UI-Console Status: Cheat codes disabled.
      UI-Console: using Video plugin: 'gles2n64' v0.0.5
      UI-Console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v2.5.9
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input Warning: missing config key 'DPad R' for controller 2 button 0
      Input Warning: missing config key 'DPad L' for controller 2 button 1
      Input Warning: missing config key 'DPad D' for controller 2 button 2
      Input Warning: missing config key 'DPad U' for controller 2 button 3
      Input Warning: missing config key 'C Button R' for controller 2 button 8
      Input Warning: missing config key 'C Button L' for controller 2 button 9
      Input Warning: missing config key 'R Trig' for controller 2 button 12
      Input Warning: missing config key 'L Trig' for controller 2 button 13
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      UI-Console: using Input plugin: 'Mupen64Plus SDL Input Plugin' v2.5.9
      UI-Console: using RSP plugin: 'Hacktarux/Azimer High-Level Emulation RSP Plugin' v2.5.9
      Core: Setting 32-bit video mode: 400x240
      Video: Using OpenGL: Broadcom - VideoCore IV HW : OpenGL ES 2.0
      Core: input plugin did not specify a render callback; there will be no on screen display by the input plugin.
      Input: 4 SDL joysticks were found.
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input: N64 Controller #1: Using auto-config with SDL joystick 0 ('Generic X-Box pad')
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input Warning: missing config key 'DPad R' for controller 2 button 0
      Input Warning: missing config key 'DPad L' for controller 2 button 1
      Input Warning: missing config key 'DPad D' for controller 2 button 2
      Input Warning: missing config key 'DPad U' for controller 2 button 3
      Input Warning: missing config key 'C Button R' for controller 2 button 8
      Input Warning: missing config key 'C Button L' for controller 2 button 9
      Input Warning: missing config key 'R Trig' for controller 2 button 12
      Input Warning: missing config key 'L Trig' for controller 2 button 13
      Input: N64 Controller #2: Using auto-config with SDL joystick 1 ('Microsoft SideWinder Game Pad Pro USB version 1.0')
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input Error: No auto-config found for joystick named 'Xbox Gamepad (userspace driver)' in InputAutoConfig.ini
      Input: Using auto-config file at: '/opt/retropie/configs/n64/InputAutoCfg.ini'
      Input Error: No auto-config found for joystick named 'Xbox Gamepad (userspace driver) #2' in InputAutoConfig.ini
      Input: 2 controller(s) found, 2 plugged in and usable in the emulator
      Input: Rumble activated on N64 joystick #1
      Input Warning: Couldn't open rumble support for joystick #2
      Input Warning: Couldn't open rumble support for joystick #3
      Input Warning: Couldn't open rumble support for joystick #4
      Input: Mupen64Plus SDL Input Plugin version 2.5.9 initialized.
      RSP: RSP Fallback disabled !
      Core: Using video capture backend: dummy
      Core: Game controller 0 (Standard controller) has a Memory pak plugged in
      Core: Game controller 1 (Standard controller) has a Memory pak plugged in
      Core: Game controller 2 (Standard controller) has a Memory pak plugged in
      Core: Game controller 3 (Standard controller) has a Memory pak plugged in
      Core: Using CIC type X102
      Audio: Using resampler src
      Audio: Initializing SDL audio subsystem...
      Input: Rumble activated on N64 joystick #1
      Input Warning: Couldn't open rumble support for joystick #2
      Input Warning: Couldn't open rumble support for joystick #3
      Input Warning: Couldn't open rumble support for joystick #4
      Core: Initializing 4 RDRAM modules for a total of 8 MB
      Core: Starting R4300 emulator: Dynamic Recompiler
      Core: Init new dynarec
      Core: ARM CPU Features:, Half, Thumb, FastMult, VFP, ESDP, NEON, VFPv3, TLS, VFPv4, IDIVa, IDIVt
      Audio: Initializing SDL audio subsystem...
      Core Status: Stopping emulation.
      Core: R4300 emulator finished.
      Core Status: Rom closed.


      The new Retropie version uses audio plugin 'Mupen64Plus SDL Audio Plugin' v2.5.9 and the video plugin 'gles2n64' v0.0.5 with a resolution of 400x240.
      These are the differences to my old version which uses 'Mupen64Plus OMX Audio Plugin' v2.0.0 and the video plugin 'gles2n64' v0.0.5 with a resolution of 1920x1080.

      So these settings seem to be the cause to my problems. The audio plugin does not seem to be compatible and video plugin thats the wrong resolution. But since this is the most recent Retropie version, I ask myself: Has anyone the same issues with the audio and video plugins? I have these with other N64 games as well.
      As far as I know the development of SDL plugin is more recent than the OMX audio plugin, but why have it such problems?

      The only option I see so far is to use the 'Mupen64Plus SDL Audio Plugin' v2.5.9 plugin, but how do I do it? The script mupen64plus.sh should set it (am I wrong?), but if use the old one, it does not change anything and the 'Mupen64Plus SDL Audio Plugin' v2.5.9 plugin is still used.

      For video settings, I change them directly after the starting screen in the menu where I set the video mode and the frame buffer, but it does not change anything as well. The resolution (400x240) stays the same.

      Perhaps, I have a general problem, but I don't know.

      Thanks for your help!

      R dankcushionsD 2 Replies Last reply Reply Quote 0
      • R
        RetroChip @RetroChip
        last edited by

        Nobody has an idea?

        1 Reply Last reply Reply Quote 0
        • dankcushionsD
          dankcushions Global Moderator @RetroChip
          last edited by

          @retrochip said in Mupen64Plus problems (audio + video):

          The only option I see so far is to use the 'Mupen64Plus SDL Audio Plugin' v2.5.9 plugin, but how do I do it? The script mupen64plus.sh should set it (am I wrong?), but if use the old one, it does not change anything and the 'Mupen64Plus SDL Audio Plugin' v2.5.9 plugin is still used.

          it should. after a launch, what is the contents of /dev/shm/runcommand.info please?

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          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.