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

    [Solved] Sound issue through HDMI with lr-px68x (X68000 Emulator)

    Scheduled Pinned Locked Moved Help and Support
    lr-px68ksound issuex68000
    26 Posts 2 Posters 6.7k 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.
    • A
      AdamBeGood
      last edited by AdamBeGood

      Pi Model or other hardware: Pi4
      Power Supply used: Pi Standard
      RetroPie Version Used: 4.6
      Built From: RetroPie website image
      Emulator: lr-px68x from Source

      I do not have any music on the opening screen for Cho Ren Sha 86k on the X68000, and music gets louder and quieter within the game. It also doesn't sound right when I use the BGM Test option in the main menu.

      Here is a video:

      I have all the BIOS with correct check-sum (v easy in this case):

      iplrom.dat 72BDF532 7FD4CAABAC1D9169E289F0F7BBF71D8E BIOS file
      cgrom.dat 9F3195F1 CB0A5CFCF7247A7EAB74BB2716260269 Font file
      iplrom30.dat E8F8FDAD F373003710AB4322642F527F567E020A BIOS file
      iplromco.dat 6C7EF608 CC78D4F4900F622BD6DE1AED7F52592F BIOS file
      iplromxv.dat 00EEB408 0617321DAA182C3F3D6F41FD02FB3275 BIOS file
      I installed lr-np2kai from Source, and I've never been able to load .hdi files.

      I use HDMI Output, but @Folly uses the Analog out and has similar issues. @Zering has this running fine on HDMI and we can't see why there is a difference. Folly has said sound is better via Bluetooth on his system also.

      All other emulators seem fine, and most games on X68000 also - the only other one with sound issues I found is "Buster".

      "Chourensha 68K v1.01 (1995)(Famibe No Yosshin).dim" is the ROM I am using.

      Let me know if you need more info, thank you.

      Z 1 Reply Last reply Reply Quote 0
      • Z
        Zering @AdamBeGood
        last edited by

        @adambegood Just to let you know, the opening screen is not supposed to have any music.
        I'll look into the issue on my end as soon as I can sort out my drive issue.

        A 1 Reply Last reply Reply Quote 1
        • A
          AdamBeGood @Zering
          last edited by

          @zering said in Sound issue with lr-px68x (X68000 Emulator):

          @adambegood Just to let you know, the opening screen is not supposed to have any music.
          I'll look into the issue on my end as soon as I can sort out my drive issue.

          I'm sure mine was trying to make some kind of noise at that point... Maybe it is part of my issue. Good to know though, thank you!

          Z 1 Reply Last reply Reply Quote 0
          • Z
            Zering @AdamBeGood
            last edited by

            @adambegood Here are my settings for comparison with yours :

            Menu font size normal
            CPU Speed 10 Mhz
            RAM Size 2MB
            Use Analog OFF
            Joypads Default
            ADPCM Volume 15
            OPM Volume 12
            Swap Disks on Drive FDD1
            Save Disk Paths ON

            A 1 Reply Last reply Reply Quote 1
            • A
              AdamBeGood @Zering
              last edited by

              @zering Thank you, mine are the same....

              Z 1 Reply Last reply Reply Quote 0
              • Z
                Zering @AdamBeGood
                last edited by

                @adambegood As it turns out my Bios files are different.

                I have cgrom.dat
                iplrom.dat
                sram.dat

                That could be the issue.
                I can't provide sums at this time.

                A 1 Reply Last reply Reply Quote 1
                • A
                  AdamBeGood @Zering
                  last edited by

                  @zering said in Sound issue with lr-px68x (X68000 Emulator):

                  @adambegood As it turns out my Bios files are different.

                  I have cgrom.dat
                  iplrom.dat
                  sram.dat

                  That could be the issue.
                  I can't provide sums at this time.

                  The Docs do say to have one BIOS and the font so maybe I could get rid of the others... I do have sram.dat also

                  Z 1 Reply Last reply Reply Quote 0
                  • Z
                    Zering @AdamBeGood
                    last edited by

                    @adambegood I would start by reproducing my setup, then we can narrow down the issue.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      AdamBeGood @Zering
                      last edited by

                      @zering Makes sense - I took out the other BIOS, no joy.

                      Does the emulator generate sram.dat? I am sure I didn't add it, it's not in the Docs.

                      Here's a verbose log, but I can't see anything obvious. https://pastebin.com/04Tnea0e

                      Z 1 Reply Last reply Reply Quote 0
                      • Z
                        Zering @AdamBeGood
                        last edited by

                        @adambegood Now that you mentiin it, it's possible but I can't confirm either way. I've had the bios set up for something like two years.
                        So are we thinking that the issue is with the way you're outputting sound?

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          AdamBeGood @Zering
                          last edited by AdamBeGood

                          @zering said in Sound issue with lr-px68x (X68000 Emulator):

                          @adambegood Now that you mentiin it, it's possible but I can't confirm either way. I've had the bios set up for something like two years.
                          So are we thinking that the issue is with the way you're outputting sound?

                          100% - I just tried it through the headphone jack, went into Audio to change the output, and it all worked fine. Then changed back to HDMI and the issue is still there. Not sure how to remedy that though...

                          On the upside, I can listen to it through headphones without any bother, which is good!

                          Z 1 Reply Last reply Reply Quote 1
                          • Z
                            Zering @AdamBeGood
                            last edited by

                            @adambegood Well glad you've found some sort of fix at least!

                            A 1 Reply Last reply Reply Quote 0
                            • A
                              AdamBeGood @Zering
                              last edited by

                              @zering said in Sound issue through HDMI with lr-px68x (X68000 Emulator):

                              @adambegood Well glad you've found some sort of fix at least!

                              I think I will still leave this open though. If anyone has any thoughts on how to fix it, that would be good. My worry is that maybe it has something to do with my config for RetroPie, which works for everything else! I don't really want to change it. Maybe I will post it to see if anyone thinks it looks weird (or different to yours, Zering - as yours work with HDMI output).

                              But good to have the headphones option, yeah!

                              A 1 Reply Last reply Reply Quote 0
                              • A
                                AdamBeGood @AdamBeGood
                                last edited by AdamBeGood

                                @adambegood

                                These are the Config lines that may be relevant, I am unsure which may be the issue though.

                                disable_overscan=1
                                hdmi_force_hotplug=1
                                hdmi_drive=2
                                dtparam=audio=on
                                dtoverlay=vc4-fkms-v3d
                                max_framebuffers=2
                                overscan_scale=1
                                

                                @Zering - I am sorry you are my eternal guinea pig, but could you let me know what you have so I can see where we differ please?

                                Z 1 Reply Last reply Reply Quote 0
                                • Z
                                  Zering @AdamBeGood
                                  last edited by

                                  @adambegood No problem. Where would I find the relevant file?

                                  A 1 Reply Last reply Reply Quote 0
                                  • A
                                    AdamBeGood @Zering
                                    last edited by AdamBeGood

                                    @zering said in Sound issue through HDMI with lr-px68x (X68000 Emulator):

                                    @adambegood No problem. Where would I find the relevant file?

                                    There are two things I am interested in seeing actually - one is the above, which is in boot/config.txt. You can do "sudo edit config.txt" from the terminal in Emulation Station as well, I believe - or just SCP into it as normal.

                                    There is also a config in BIOS/keropi that is created when the emulator is run, here is mine: https://pastebin.com/tFiaAUn8

                                    There are some MIDI settings in there that I can't see in RetroArch, so I wonder if those are different for you also?

                                    Take your time with this, there is no hurry - and thank you.

                                    I am trying out each of the individual BIOSes to see if any of them makes an impact, but all are the same so far as I can tell.

                                    Edit: Actually, ipmrom30.dat has a different BIOS graphic to the other ones and then doesn't load for me. But that isn't really helpful anyway.

                                    Further edit: Actually, it's:

                                    sudo nano /boot/config.txt
                                    
                                    Z 1 Reply Last reply Reply Quote 0
                                    • Z
                                      Zering @AdamBeGood
                                      last edited by

                                      @adambegood Here are my settings :

                                      #disable_overscan=1
                                      hdmi_force_hotplug=1
                                      #hdmi_drive=2
                                      dtparam=audio=on
                                      dtoverlay=vc4-fkms-v3d
                                      max_framebuffers=2
                                      overscan_scale=1

                                      I don't see any difference, so my guess is the problem isn't related to those settings.

                                      Here is my config file from keropi : https://paste.ubuntu.com/p/zj82RbQ5Kp/

                                      Let me know if any of this helps.

                                      A 1 Reply Last reply Reply Quote 0
                                      • A
                                        AdamBeGood @Zering
                                        last edited by AdamBeGood

                                        @zering said in Sound issue through HDMI with lr-px68x (X68000 Emulator):

                                        @adambegood Here are my settings :

                                        #disable_overscan=1
                                        hdmi_force_hotplug=1
                                        #hdmi_drive=2
                                        dtparam=audio=on
                                        dtoverlay=vc4-fkms-v3d
                                        max_framebuffers=2
                                        overscan_scale=1

                                        I don't see any difference, so my guess is the problem isn't related to those settings.

                                        Here is my config file from keropi : https://paste.ubuntu.com/p/zj82RbQ5Kp/

                                        Let me know if any of this helps.

                                        Thanks so much, @Zering ! I'm out all day today but when I get back I'll have a look at this. Cheers!

                                        Edit: A couple of your config.txt settings are commented out where mine aren't but I've tried getting rid of those and it makes no difference.

                                        I'm going for a run but I'll see if the keropi config can help after.

                                        Further Edit: My "framerate" parameter was set to 7 rather than 1. It seems to change it back by default every time also, which is interesting but doesn't fix anything!

                                        A 1 Reply Last reply Reply Quote 0
                                        • A
                                          AdamBeGood @AdamBeGood
                                          last edited by AdamBeGood

                                          I'll leave this open - it is solved in that if I switch Output to Headphones then everything is fine. If anyone can think of anything else I can test to get HDMI sound working, I'd be interested! Thanks.

                                          Edit: I'm just playing it through with Headphones - the music is so good! Would be nice to be able to play it through my normal speakers also.

                                          Z 1 Reply Last reply Reply Quote 0
                                          • Z
                                            Zering @AdamBeGood
                                            last edited by

                                            @adambegood How far did you get? The stage 3 music is so awesome.

                                            A 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.