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

    lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected

    Scheduled Pinned Locked Moved Help and Support
    save statesgenesis plus gxsound problemmaster system
    30 Posts 4 Posters 5.3k 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.
    • U
      uncledisgusting @mitu
      last edited by

      @mitu Removing the lines in the options file didn't change the results

      I must add that in order to reproduce the sound issue with save states you need to save the state then exit the game and reload the save state. Saving and reloading the save state in the current game doesn't cause any sound issues however one needs to be able to restore a save state after playing a different game, playing another day etc.

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

        In my tests I've reloaded the saves after changing the options and restarting the game/going back to EmulationStation. I can't see any issues with the saves.

        Can you upload one of your problematic saves somewhere to see if it loads differently here ? Add a verbose log, as requested previously.

        U 1 Reply Last reply Reply Quote 0
        • U
          uncledisgusting @mitu
          last edited by

          @mitu I deleted the lines starting with genesis_plus_gx from the options file but the strange thing is all the settings I had before remain. Is there a duplicate somewhere else that needs editing too please?

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

            @uncledisgusting said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

            Is there a duplicate somewhere else that needs editing too please?

            If you saved options for the folder/game, these are saved in a separate file and take precedence over the global options. That's why I asked for a verbose log. Note that your issue might not be related to the core's options, but it's something to try just to see if a non-default configuration is responsible.

            1 Reply Last reply Reply Quote 0
            • U
              uncledisgusting
              last edited by

              @mitu my controller won't allow me to select the option run game with verbose log - it works fine for the game and for the front end just not when i get to that blue screen. please can you advise? I cant just plug a new controller in as the pi is in a custom case that it would be very hard to open up

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

                @uncledisgusting said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                please can you advise?

                Add the info requested in https://retropie.org.uk/forum/topic/3/read-this-first to the topic.

                U 1 Reply Last reply Reply Quote 0
                • U
                  uncledisgusting @mitu
                  last edited by

                  @mitu said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                  @uncledisgusting said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                  please can you advise?

                  Add the info requested in https://retropie.org.uk/forum/topic/3/read-this-first to the topic.

                  I'm afraid I cant supply the verbose log because my controller will not respond when it goes to the blue screen with the select verbose log option - the controller works fine in retroarch and with all games. Is there a way I can reproduce the verbose log via SSH? Thank you.

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

                    @uncledisgusting Yes, I understood that and it's why I asked for the system info - even without a log.

                    U 1 Reply Last reply Reply Quote 0
                    • U
                      uncledisgusting @mitu
                      last edited by

                      @mitu
                      Pi Model or other hardware: 4
                      Power Supply used: PWR+
                      RetroPie Version Used : 4.7.1
                      Built From: Pre made SD Image on RetroPie website
                      USB Devices connected:
                      Controller used: 2 original master system controllers connected via 2 atari to usb adapters sold by retrousb.com
                      File: all master system snapshots using NUKED sound
                      Emulator: lr-genesis-plus-gx
                      Attachment of config files: how do I attach this please?
                      How to replicate the problem: Load a master system game using NUKED sound, save a snapshot, restart retropie and when the snapshot is loaded the sound will be totally garbled.

                      Thank you

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

                        Still can't reproduce this - with or without using NUKED option for the Master System's FM core.

                        Attachment of config files: how do I attach this please?

                        You can only attach image files (drag and drop to the textarea or use the image link on top of the post area), if you want to add your config files, post it on pastebin.com and provide the url of the post.

                        U 1 Reply Last reply Reply Quote 0
                        • U
                          uncledisgusting @mitu
                          last edited by

                          @mitu

                          This is my config file - https://pastebin.com/A3pmpZdJ

                          Thank you for your help

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

                            @uncledisgusting this is a non default config. it can be reset if you tell us it’s location? did you change it? delete it

                            eg the following settings are overriding retropie’s defaults and are bad news
                            audio_driver = "alsa"
                            config_save_on_exit = "true"
                            (probably more - the file is massive)

                            U 1 Reply Last reply Reply Quote 0
                            • U
                              uncledisgusting @dankcushions
                              last edited by

                              @dankcushions said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                              @uncledisgusting this is a non default config. it can be reset if you tell us it’s location? did you change it? delete it

                              eg the following settings are overriding retropie’s defaults and are bad news
                              audio_driver = "alsa"
                              config_save_on_exit = "true"
                              (probably more - the file is massive)

                              Thank you for the reply.
                              At no point did I change the audio driver - what should it be to set to please?
                              I did put it to config_save_on_exit but why would that affect save states please?

                              the location of the file is

                              /opt/retropie/configs/all/retroarch/config/

                              Thank you for trying to help

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

                                @uncledisgusting said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                                Thank you for the reply.
                                At no point did I change the audio driver - what should it be to set to please?

                                it shouldn't be set at all. the default if it's not set is alsathread, when using an updated version of retroarch.

                                I did put it to config_save_on_exit but why would that affect save states please?

                                it doesn't directly, but it means you create these massive config files, and break away from the retropie config hierarchy, new defaults, etc. that's fine if you're happy to support and maintain your own configs, but that doesn't appear to be the case :)

                                the location of the file is

                                /opt/retropie/configs/all/retroarch/config/

                                are you sure? because the config files that retropie uses for master system are
                                /opt/retropie/configs/all/retroarch.cfg
                                and
                                /opt/retropie/configs/mastersystem/retroarch.cfg

                                U 1 Reply Last reply Reply Quote 0
                                • U
                                  uncledisgusting @dankcushions
                                  last edited by uncledisgusting

                                  @dankcushions said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                                  @uncledisgusting said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                                  Thank you for the reply.
                                  At no point did I change the audio driver - what should it be to set to please?

                                  it shouldn't be set at all. the default if it's not set is alsathread, when using an updated version of retroarch.

                                  I did put it to config_save_on_exit but why would that affect save states please?

                                  it doesn't directly, but it means you create these massive config files, and break away from the retropie config hierarchy, new defaults, etc. that's fine if you're happy to support and maintain your own configs, but that doesn't appear to be the case :)

                                  the location of the file is

                                  /opt/retropie/configs/all/retroarch/config/

                                  are you sure? because the config files that retropie uses for genesis are
                                  /opt/retropie/configs/all/retroarch.cfg
                                  and
                                  /opt/retropie/configs/megadrive/retroarch.cfg

                                  I am sure - the exact file and its location is:

                                  /opt/retropie/configs/all/retroarch/config/genesis_plus_gx_libreto.cfg

                                  I changed audiodriver from "alsa" to "alsathread" and I am having exactly the same problem. Sound is perfect, I save the state and then restore it and it is totally garbled

                                  I have done many retropie builds using the same setup and have never had this issue before just with this emulator.

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

                                    @uncledisgusting that’s a config override, not the configs. i suppose it’s same difference but it shows that your set up is a bit of a rabbit hole. why did you create an override? if you don’t know, delete that file and then try again. if same issue please upload the files i mentioned.

                                    i think it’s going to be a struggle to diagnose any issue if we can’t recreate it and you aren’t able to provide logs.

                                    U 1 Reply Last reply Reply Quote 0
                                    • U
                                      uncledisgusting @dankcushions
                                      last edited by

                                      @dankcushions said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                                      @uncledisgusting that’s a config override, not the configs. i suppose it’s same difference but it shows that your set up is a bit of a rabbit hole. why did you create an override? if you don’t know, delete that file and then try again. if same issue please upload the files i mentioned.

                                      i think it’s going to be a struggle to diagnose any issue if we can’t recreate it and you aren’t able to provide logs.

                                      I deleted this file and have had some interesting results

                                      I can save and restore snapshots with no problems on games that do not have the FM sound upgrades such as Alex Kidd in Miracle World, Choplifter

                                      However I am still having the garbled sound problems when restoring snapshots on games that utitlise the FM sound upgrades such as Wonderboy in Monster Land and Fantasy Zone II. There are quite a lot of games on the Master System that make use of FM sound and the difference in quality is amazing!

                                      In the retroarch options I have Master system FM set to auto and Master System core set to Nuked.

                                      Please could you try and re-create the issue I am having with those two specific games.

                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        barbudreadmon @uncledisgusting
                                        last edited by barbudreadmon

                                        @uncledisgusting said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                                        Please could you try and re-create the issue I am having with those two specific games.

                                        I couldn't reproduce this issue on my setup (note : i'm not on a pi4). Also, MAME is the default value for the Master System FM (YM2413) Core core option.

                                        Edit : on a sidenote, i'm noticing genplus-gx is quite demanding with those settings (comparatively, cps3 games on FBNeo appear to be less demanding), so maybe you are running into some sort of performance issue ? Is your pi4 overclocked ? Do you have runahead or rewind enabled ?

                                        FBNeo developer - github - forum

                                        U 1 Reply Last reply Reply Quote 0
                                        • U
                                          uncledisgusting @barbudreadmon
                                          last edited by

                                          @barbudreadmon said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                                          @uncledisgusting said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                                          Please could you try and re-create the issue I am having with those two specific games.

                                          I couldn't reproduce this issue on my setup (note : i'm not on a pi4). Also, MAME is the default value for the Master System FM (YM2413) Core core option.

                                          Edit : on a sidenote, i'm noticing genplus-gx is quite demanding with those settings (comparatively, cps3 games on FBNeo appear to be less demanding), so maybe you are running into some sort of performance issue ? Is your pi4 overclocked ? Do you have runahead or rewind enabled ?

                                          Thank you for the reply.
                                          With Mame I notice a considerable decline in sound quality compared to the Nuked option

                                          In terms of performance, it runs perfectly - there is no slowdown or sound issues until the snapshot is restored

                                          Did you try and reproduce this option using the nuked setting? For some strange reason for it to be reproduced one has to play a minute or two of the FM games and progress slightly in the level as opposed to immediately saving and restoring - could you try that please?

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            barbudreadmon @uncledisgusting
                                            last edited by

                                            @uncledisgusting said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                                            Did you try and reproduce this option using the nuked setting?

                                            Obviously since that was in your instructions.

                                            @uncledisgusting said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                                            For some strange reason for it to be reproduced one has to play a minute or two of the FM games and progress slightly in the level as opposed to immediately saving and restoring - could you try that please?

                                            I still can't reproduce this even with those additional instructions.

                                            @uncledisgusting said in lr-genesis-plus-gx master system sound garbled after restoring save states - all games affected:

                                            In terms of performance, it runs perfectly - there is no slowdown or sound issues until the snapshot is restored

                                            You avoided my questions...

                                            FBNeo developer - github - forum

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