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

    Issue with N64 Emulators on Xubuntu 18.04.1 and RPI 4.4.2

    Scheduled Pinned Locked Moved Help and Support
    ubuntu18.04n64help
    10 Posts 4 Posters 898 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.
    • C
      Casey
      last edited by

      Hello,

      I have a working RetroPie build on a Raspberry Pi 3, but I thought I'd build one on an old PC for the office. Everything is great except I can't get the N64 ROMs to play. Originally it would take me to a very large version of the config (press a button to change emulator) screen, and I'd see the upper left corner of the screen. This showed the taskbar, and an untitled Terminal window. It would just sit there. Now I've updated to a newer version of OpenGL via this guide, and now each of the emulators just returns back to the game list menu screen.

      Here is the log just for the first emulator in the list: https://pastebin.com/FEL2ViHE

      Kind of stumped here, and my Google Fu is only finding other threads with this issue but no solutions.

      Any suggestions? Thanks!

      mituM 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator @Casey
        last edited by

        @Casey From the error, it seems your Mesa OpenGL install does not fully work or the OpenGL version requested by the emulator is not supported. What is your graphics card ?
        You can enable verbose logging in the Runcommand launch menu (https://retropie.org.uk/docs/Runcommand/#runcommand-launch-menu) to see a detailed error log ?

        1 Reply Last reply Reply Quote 0
        • C
          Casey
          last edited by

          @mitu thanks for the reply. My graphics card is just an integrated Intel HD graphics on an old PC. Should I upgrade to a discrete GPU? (Before chasing this down a pointless rabbit hole of troubleshooting!)

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @Casey
            last edited by

            @Casey I would say stick with the distribution packages and check if your card supports hardware accelerated OpenGL. What card is your PC using ?

            Post the complete log for the emulator with verbose logging enabled.

            1 Reply Last reply Reply Quote 0
            • C
              Casey
              last edited by

              @mitu, I am sorry for not getting back sooner. What you said about OpenGL support clicked in my head. I was just using the CPU-integrated graphics, so I threw in an old GeForce GPU, and loaded the nVidia drivers for it and rebooted it. I'm now getting a launch on each of the emulators, but it immediately drops back to the game select menu. Tomorrow I should have time to run each and log the errors they throw and post them up here!

              1 Reply Last reply Reply Quote 0
              • C
                Casey
                last edited by

                @mitu The logs are below.

                I was going through the various emulators, and got one to launch and stay but had a black screen. I moved the mouse, and now I can scroll the screen to where the game is on my monitor, but it looks like it's only taking up a portion of the full image. When I hotkey quit the game, it takes me back to the main game selection screen, but the resolution is still very low, so I only see a portion of the display/menu. I then quit EmulationStation, and it takes me back to the XFCE desktop (I'm on Xubuntu). But the resolution is still "stuck" in the game resolution.

                What's the best emulator to use for N64 games? I feel like I should just focus on that one and get it working properly.

                Here's the logs.

                lr-mupen64plus (runs then crashes):
                Parameters:

                Executing: /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mupen64plus/mupen64plus_libretro.so --config /opt/retropie/configs/n64/retroarch.cfg "/home/pcc/RetroPie/roms/n64/Mario Kart 64 (USA).z64" --appendconfig /dev/shm/retroarch.cfg
                Failed to open /home/pcc/RetroPie/roms/n64/Mario Kart 64 (USA).srm: No such file or directory
                Protocol error: bad 3 (Window); Sequence Number 11
                 Opcode (20, 0) = GetProperty
                 Bad resource 0 (0x0)
                 at -e line 15.
                /opt/retropie/supplementary/runcommand/runcommand.sh: line 1007: 18550 Segmentation fault      (core dumped) /opt/retropie/emulators/retroarch/bin/retroarch -L /opt/retropie/libretrocores/lr-mupen64plus/mupen64plus_libretro.so --config /opt/retropie/configs/n64/retroarch.cfg "/home/pcc/RetroPie/roms/n64/Mario Kart 64 (USA).z64" --appendconfig /dev/shm/retroarch.cfg
                

                Mupen64plus-glide64 (runs, then I get a black screen, have to hotkey quit)

                Parameters:
                Executing: /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-glide64mk2 "/home/pcc/RetroPie/roms/n64/Mario Kart 64 (USA).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 (U) [!]
                Core: Name: MARIOKART64
                Core: MD5: 3A67D9986F54EB282924FCA4CD5F6DFF
                Core: CRC: 3E5055B6 2E92DA52
                Core: Imagetype: .z64 (native)
                Core: Rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
                Core: Version: 1446
                Core: Manufacturer: Nintendo
                Core: Country: USA
                UI-Console Status: Cheat codes disabled.
                UI-Console: using Video plugin: 'Glide64mk2 Video Plugin' v2.5.0
                UI-Console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v2.5.0
                Input Warning: missing 'plugin' parameter from config section Input-SDL-Control1. Setting to 2 (mempak).
                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
                Video: opening /opt/retropie/configs/n64/Glide64mk2.ini
                
                Video: 3DNOW! detected.
                
                Input: 1 SDL joysticks were found.
                Input Warning: missing 'plugin' parameter from config section Input-SDL-Control1. 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 ('PDP Xbox 360 Controller')
                Input: 1 controller(s) found, 1 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 !
                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
                Video: Using TEXUMA extension.
                &ConfigOpenSection is 0x8f2ff91c
                (II) Setting video mode 640x480...
                Core: Setting video mode: 640x480
                Congratulations, you have 4 auxilliary buffers, we'll use them wisely !
                packed pixels extension used
                NPOT extension used
                use_fbo 1
                Video: InitCombine()
                Video: extensions
                Video: initialized.
                Video:
                
                Audio: Using resampler speex
                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
                Audio: Initializing SDL audio subsystem...
                Core Status: Stopping emulation.
                Core: R4300 emulator finished.
                Core Status: Rom closed.
                

                OK, running

                Parameters:
                Executing: /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh mupen64plus-video-GLideN64 "/home/pcc/RetroPie/roms/n64/Mario Kart 64 (USA).z64" 640x480 mupen64plus-rsp-cxd4-sse2
                 __  __                         __   _  _   ____  _
                |  \/  |_   _ _ __   ___ _ __  / /_ | || | |  _ \| |_   _ ___
                | |\/| | | | | '_ \ / _ \ '_ \| '_ \| || |_| |_) | | | | / __|
                | |  | | |_| | |_) |  __/ | | | (_) |__   _|  __/| | |_| \__ \
                |_|  |_|\__,_| .__/ \___|_| |_|\___/   |_| |_|   |_|\__,_|___/
                             |_|         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 (U) [!]
                Core: Name: MARIOKART64
                Core: MD5: 3A67D9986F54EB282924FCA4CD5F6DFF
                Core: CRC: 3E5055B6 2E92DA52
                Core: Imagetype: .z64 (native)
                Core: Rom size: 12582912 bytes (or 12 Mb or 96 Megabits)
                Core: Version: 1446
                Core: Manufacturer: Nintendo
                Core: Country: USA
                UI-Console Status: Cheat codes disabled.
                UI-Console: using Video plugin: 'GLideN64' v2.0.0
                UI-Console: using Audio plugin: 'Mupen64Plus SDL Audio Plugin' v2.5.0
                Input Warning: missing 'plugin' parameter from config section Input-SDL-Control1. Setting to 2 (mempak).
                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: 'Static Interpreter' v0.1.1
                Input: 1 SDL joysticks were found.
                Input Warning: missing 'plugin' parameter from config section Input-SDL-Control1. 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 ('PDP Xbox 360 Controller')
                Input: 1 controller(s) found, 1 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.
                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
                (II) Setting video mode 640x480...
                Core: Setting video mode: 640x480
                Audio: Using resampler speex
                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 Error: VidExt_ResizeWindow() called in fullscreen mode.
                (EE) Error setting videomode 1280x1024 in fullscreen mode
                Audio: Initializing SDL audio subsystem...
                Core Status: Stopping emulation.
                Core: R4300 emulator finished.
                Core Status: Rom closed.
                
                1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator
                  last edited by

                  I can't decide if it's either a bad ROM or your video card doesn't behave properly to video mode switching. Does any other emulator work ? SNES/NES/PSX ?
                  The best emulator for N64 should be Mupen64Plus (standalone) - but it just stops without any obvious error message.

                  1 Reply Last reply Reply Quote 0
                  • C
                    Casey
                    last edited by

                    NES and GameBoy work flawlessly.

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      pjwentink @Casey
                      last edited by

                      @Casey Have you allready found the solution ?

                      BuZzB 1 Reply Last reply Reply Quote -1
                      • BuZzB
                        BuZz administrators @pjwentink
                        last edited by BuZz

                        @pjwentink 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

                        Start a new topic and provide details of your set up and issue.

                        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                        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.