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

    Roms Not Loading On Pi 5

    Scheduled Pinned Locked Moved Help and Support
    libretro corerom errorlr-mame2003lr-flycastraspberry pi 5
    14 Posts 2 Posters 620 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.
    • V
      Val_Ainsley @Val_Ainsley
      last edited by

      @Val_Ainsley Okay, I have an update, gang. I did get Killer Instinct working. I realized that lr-mame2003 is only at version 0.78, so I just needed to find that romset (which proved to be more of a chore than I'd hoped, but I found it eventually) and download it from there. However, I still have not found a solution for getting my Naomi/Atomiswave games running on lr-flycast.

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

        Check if you have the required bios (awbios.zip) and the ngbc.zip contains the correct files.

        V 1 Reply Last reply Reply Quote 0
        • V
          Val_Ainsley @mitu
          last edited by Val_Ainsley

          @mitu Yes, I've cross-referenced my roms with the list you have provided, and they all contain their correct files. I also have the proper BIOS files - awbios, naomi, and naomi2 - stored in the /pi/RetroPie/BIOS/dc folder. I'll also clarify that this is not just an issue with Neo Geo Battle Coliseum. It's just the game I chose to use as an example for the purposes of this post.

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

            Are N64 games working for you ? By default the Pi5 linux kernel uses the 16k memory pages, which is incompatible with most emulators that use a dynarec (dynamic code recompiler). This includes the N64 emulators and Flycast also.

            I can't reproduce your error with a valid set of BIOS files and the ngpc.zip rom, using a Pi4 though, which doesn't have the 16k kernel loaded

            ...
            INFO] Requesting OpenGLES2 context.
            [INFO] [Environ]: SAVE_DIRECTORY: "/home/pi/RetroPie/roms/arcade/".
            [libretro INFO] hw/mem/_vmem.cpp:482 N[VMEM]: Info: nvmem is enabled, with addr space of size 4GB
            [libretro WARN] hw/naomi/naomi_cart.cpp:237 W[NAOMI]: Warning: Region 1 bios not found in awbios
            [libretro INFO] hw/naomi/naomi_cart.cpp:375 N[NAOMI]: NAOMI GAME ID [NEOGEO_BATTLE_COLISEUM]
            [libretro INFO] nullDC.cpp:260 N[BOOT]: [LUT]: Naomi ROM name is: NEOGEO_BATTLE_COLISEUM.
            [INFO] [SRAM]: Skipping SRAM load.
            [INFO] [Core]: Version of libretro API: 1, Compiled against API: 1
            [INFO] [Core]: Geometry: 640x480, Aspect: 1.333, FPS: 60.00, Sample rate: 44100.00 Hz.
            [INFO] [Audio]: Set audio input rate to: 44100.00 Hz.
            [INFO] [Video]: Set video size to: fullscreen.
            [INFO] [Video]: Using HW render, OpenGL driver forced.
            [INFO] [Video]: Using configured "gl" driver for GL HW render.
            [WARN] [DRM]: Couldn't get device resources.
            [WARN] [DRM]: Couldn't get device resources.
            [INFO] [DRM]: Found 2 connectors.
            [INFO] [DRM]: Connector 0 connected: no
            
            ....
            # etc
            
            V 1 Reply Last reply Reply Quote 0
            • V
              Val_Ainsley @mitu
              last edited by Val_Ainsley

              @mitu Yeah, N64 works just fine. Also, I installed lr-flycast-dev to see if the roms would work, and they did. However, there are some glitches. A couple Guilty Gear titles (Guilty Gear X and Guilty Gear XX) have missing sounds when pressing start, Neo Geo Battle Coliseum has quite a few glitchy character sprites, and Spawn: In the Demon's Hand has a few small graphical glitches. In addition, the test menu button doesn't work in lr-flycast-dev. I'm glad I have some way to get these roms running, but these glitches didn't exist in lr-flycast on my Pi 4, so I'd still like to get them working there.

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

                @Val_Ainsley said in Roms Not Loading On Pi 5:

                Could it be that it's just a compatibility issue between lr-flycast and the Pi 5 that's preventing my games from running in the original core?

                I doubt that.

                V 1 Reply Last reply Reply Quote 0
                • V
                  Val_Ainsley @mitu
                  last edited by

                  @mitu Weird. Well, I know for sure that the BIOS files are valid, since the roms run in lr-flycast-dev. I'm at a total loss as to why lr-flycast just isn't able to read them. Should I generate a verbose log in lr-flycast-dev to look for any discrepancies?

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

                    @Val_Ainsley said in Roms Not Loading On Pi 5:

                    Should I generate a verbose log in lr-flycast-dev to look for any discrepancies?

                    No. Did you modify config.txt to boot with the 4k memory pages kernel?

                    V 1 Reply Last reply Reply Quote 0
                    • V
                      Val_Ainsley @mitu
                      last edited by

                      @mitu No. Is it the one in /boot/firmware? How do I change that setting? Sorry, I'm not well-versed in the technical side of all this.

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

                        @Val_Ainsley Add a line with kernel=kernel8.img to config.txt and reboot.

                        V 1 Reply Last reply Reply Quote 0
                        • V
                          Val_Ainsley @mitu
                          last edited by Val_Ainsley

                          @mitu Okay, this fixed the problem with lr-flycast, but now, my audio doesn't work running things on kernel 8. No audio from emulationstation, retroarch, or even from running speaker-test in the terminal. Audio only comes back when I comment or remove the kernel line from config.txt. I have my amp and speakers connected by a 3.5mm jack into a USB audio adapter.

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

                            @Val_Ainsley said in Roms Not Loading On Pi 5:

                            my audio doesn't work running things on kernel 8

                            Haven't heard this one yet - but I don't see how that affects the audio output since it's just the same kernel but tuned with a different parameter.

                            V 1 Reply Last reply Reply Quote 0
                            • V
                              Val_Ainsley @mitu
                              last edited by

                              @mitu Yeah, I figured it shouldn't have any effect on audio output. The only audio settings I've changed are in /usr/share/alsa/alsa.conf, where 2 is the number of my audio device:

                              defaults.ctl.card = 2
                              defaults.pcm.card = 2
                              
                              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.