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

Pi4 - 4.7.1x after recent update audio little glitch/struttering or miss some frame on some libretro core... it's fixable ?

Scheduled Pinned Locked Moved Help and Support
update issueaudio issuesaudio problemsretropie 4.7.13
43 Posts 5 Posters 3.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.
  • D
    dankcushions Global Moderator @DjDiabolik
    last edited by 11 Jun 2021, 09:53

    @djdiabolik great :)

    even though I didn't create it myself

    there are a number of possibilities:

    • you changed a setting in the retroarch menu and saved config - this will create a large config file like you've seen (and make it virtually impossible to locate any risky settings).
    • you deleted the files at any point - this will create a default retroarch config that is massive (like you've got) and not set up with retropie's defaults.

    gb and gamegear games are pretty light for a pi4 so i don't think alsathread should make a difference, but it's still worth setting.

    D 1 Reply Last reply 11 Jun 2021, 10:39 Reply Quote 1
    • D
      DjDiabolik @dankcushions
      last edited by 11 Jun 2021, 10:39

      @dankcushions said in Pi4 - 4.7.1x after recent update audio little glitch/struttering or miss some frame on some libretro core... it's fixable ?:

      @djdiabolik great :)

      even though I didn't create it myself

      there are a number of possibilities:

      • you changed a setting in the retroarch menu and saved config - this will create a large config file like you've seen (and make it virtually impossible to locate any risky settings).
      • you deleted the files at any point - this will create a default retroarch config that is massive (like you've got) and not set up with retropie's defaults.

      gb and gamegear games are pretty light for a pi4 so i don't think alsathread should make a difference, but it's still worth setting.

      the second point is possible... if i remember in the pass i have deleted the retroarch.cfg on config/all for a mess up joypad/joystick configuration.

      Anyway now i i put back my previous cfg (the non-standard cfg) and i have try to play the same gamegear games used as test (it's on my favorites).
      the oddity is that sometimes the problem seems to be more present and sometimes less....

      last night, reading other threads here in the forum, there were also rumors of any hardware problems related to the raspberry itself or even to its power supply (although I should see lightning on the screen if the power supply is damaged... or i can see the status led on board blink or somethings similar).

      You speak about GB and GAMEGEAR are pretty light....... you can suggest somethings we can test better to maybe accentuate the problem ?
      on my Pi4 i have gb, gamegear, snes, nes, linx, mastersystem, megadrive.... a massive retrogame collection :)

      but the strange thing is that until a few days ago I had never had these problems.....

      as it is so, that you can not get to the top of a problem, it takes me the grief of giving up and setting everything aside :(

      D 1 Reply Last reply 11 Jun 2021, 13:48 Reply Quote 0
      • D
        DjDiabolik @DjDiabolik
        last edited by 11 Jun 2021, 13:48

        @dankcushions @nemo93 sorry for double consecutive post.

        I made this mainly to thank you till now :)

        For today for this afternoon and tomorrow I should be a little busy and i can come back for further tests, perhaps, next Monday :)

        I think to show you the "problem" it would be the best if I could make a small video example..... you thinks it's a good idea ?
        I'll try to place a camera in front of the TV in my room :)

        Also because I actually hope, for now, to be able to rule out hardware damage (like at raspberry board or the power supply) and the only thing i did is update my system usually i do every one or two weeks.
        Maybe it's a small problem/issue (even if in theory the same problems should also be replicable by you) that will be fixed with the next updates as they are almost daily.......

        Thanks again for support in this little trouble :)

        D 1 Reply Last reply 11 Jun 2021, 23:04 Reply Quote 0
        • D
          dankcushions Global Moderator @DjDiabolik
          last edited by dankcushions 6 Dec 2021, 00:04 11 Jun 2021, 23:04

          @djdiabolik perhaps a video would help. it does sound like it might be the nebulous tearing issue as discussed here:
          https://retropie.org.uk/forum/topic/26819/jittery-stuttering-graphics
          do these videos seem similar to what you're seeing?

          if so, the fix is here: https://retropie.org.uk/forum/topic/27632/fixing-screen-tearing-issues-on-rpi4/15?_=1623452515918

          however it has some drawbacks if you use videos on your build, or certain emulators that rely on fkms features.

          D 1 Reply Last reply 12 Jun 2021, 10:32 Reply Quote 0
          • D
            DjDiabolik @dankcushions
            last edited by DjDiabolik 6 Dec 2021, 11:35 12 Jun 2021, 10:32

            @dankcushions lol by a google result i had noticed the first thread you linked.

            I have watched closely the three video and for absurd i don't see any problems :)
            For example i have right now rewatch the "Stutter1" video... it's only about 9 seconds but where's the issue/trouble ?

            Lol... My situation looks a little different......

            I have a OT question... instead a using a camera put in front of my tv. It's possible for example catch the video stream from my pi4 for example registering a video on my pendrive (how i stored all my roms) ?
            or anyway it is advisable to use the camera for a do a complete catch of my entire retrogame postation :)
            Meanwhile, I also tried to make a request thread in that of reddit..... an user as suggest to me to check if i have the eeprom firmware updated but i thinks yes because i thinks this is updated when you make updates from retropie-setup and you choose to update OS componets right ?

            D 1 Reply Last reply 12 Jun 2021, 13:23 Reply Quote 0
            • D
              dankcushions Global Moderator @DjDiabolik
              last edited by dankcushions 6 Dec 2021, 14:24 12 Jun 2021, 13:23

              @djdiabolik said in Pi4 - 4.7.1x after recent update audio little glitch/struttering or miss some frame on some libretro core... it's fixable ?:

              @dankcushions lol by a google result i had noticed the first thread you linked.

              I have watched closely the three video and for absurd i don't see any problems :)
              For example i have right now rewatch the "Stutter1" video... it's only about 9 seconds but where's the issue/trouble ?

              it’s probably difficult to catch on video and street fighter probably too busy to see it, but it looks like horrible tearing and stutter and happens occasionally rather than constantly. try the fix there to see if it makes a difference?

              I have a OT question... instead a using a camera put in front of my tv. It's possible for example catch the video stream from my pi4 for example registering a video on my pendrive (how i stored all my roms) ?
              or anyway it is advisable to use the camera for a do a complete catch of my entire retrogame postation :)

              you’re overcomplicating it. just use a phone camera/camera to record it when it happens, and upload to youtube or wherever.

              Meanwhile, I also tried to make a request thread in that of reddit..... an user as suggest to me to check if i have the eeprom firmware updated but i thinks yes because i thinks this is updated when you make updates from retropie-setup and you choose to update OS componets right ?

              yes.

              D 1 Reply Last reply 15 Jun 2021, 12:51 Reply Quote 0
              • D
                DjDiabolik @dankcushions
                last edited by DjDiabolik 15 Jun 2021, 12:51

                @dankcushions and @nemo93 (i cited both only because you have already partecipad in thread).

                I have right now put my Android Smartphone near my TV.... you can see (partially) my Retrogames setup whit my Pi4 (remember 4GB kit in a Labist KIT buyed from amazon).

                You can see i have played the same games used as example for verbose log... it's "CATRAP (USA).zip" using current (and problably latest) version of lr-gambatte.

                If you can watch entire video :) After i have set my phone near my TV you can listen, clearly the audio of games..... you can see i'm stay to solve a level and at about 3minutes and 10 seconds you can clearly listen the issue i have descripted here.
                You can clearly listen a very little interruption on audio tracks... and there's append about every 3 or 4 minutes. Sometime i can listen a single and little interruption and other time two or three different interruption consecutive.

                As I said at the beginning ... I had never noticed such problems before a few weeks ago issues that popped up right after the update.
                This last update problably it's not the main cause of the problem...... anyway now i have set audio as "alsathread" also on both retroarch.cfg (on all and on gb folder) and on the same page how i have set alsathread i see a value setted at 64 which should be relative to the audio buffer. It's the correct value 64 ??
                I have look this value for any other and for all i have set this value........ it's ok ?

                And.... finally.... youtube as ended to elaborate my video example...... i can share whit you.. here we go :)

                EDIT number 1
                I will try to add the exact timeline when it's present the issue... otherwise at about 3:11 of video.

                D 1 Reply Last reply 15 Jun 2021, 13:06 Reply Quote 0
                • D
                  dankcushions Global Moderator @DjDiabolik
                  last edited by 15 Jun 2021, 13:06

                  @djdiabolik
                  it's not a great example as gameboy has a very simple sound chip that has limited channels and so on. also we can barely see the screen and it isn't scrolling to indicate if this is a framedrop and so on. does this happen with every libretro core? can you not use a faster, scrolling game so it's more obvious?

                  if only GB, can you try with lr-mgba (also supports GB games)? it's a developed core. lr-gambette seems abandoned.

                  all that said, this doesn't seem like any of the known issues i talked about before. so disregard those.

                  finally:

                  This last update problably it's not the main cause of the problem...... anyway now i have set audio as "alsathread" also on both retroarch.cfg (on all and on gb folder) and on the same page how i have set alsathread i see a value setted at 64 which should be relative to the audio buffer. It's the correct value 64 ??

                  did you not reset your retroarch.cfgs as you were instructed to earlier? in which case you only need to set it once in /all/ and you don't (I think) see any audio buffer settings. please show us the files after you've done.

                  D 1 Reply Last reply 15 Jun 2021, 14:34 Reply Quote 0
                  • D
                    DjDiabolik @dankcushions
                    last edited by DjDiabolik 15 Jun 2021, 14:34

                    @dankcushions said in Pi4 - 4.7.1x after recent update audio little glitch/struttering or miss some frame on some libretro core... it's fixable ?:

                    @djdiabolik
                    it's not a great example as gameboy has a very simple sound chip that has limited channels and so on. also we can barely see the screen and it isn't scrolling to indicate if this is a framedrop and so on. does this happen with every libretro core? can you not use a faster, scrolling game so it's more obvious?

                    if only GB, can you try with lr-mgba (also supports GB games)? it's a developed core. lr-gambette seems abandoned.

                    all that said, this doesn't seem like any of the known issues i talked about before. so disregard those.

                    finally:

                    This last update problably it's not the main cause of the problem...... anyway now i have set audio as "alsathread" also on both retroarch.cfg (on all and on gb folder) and on the same page how i have set alsathread i see a value setted at 64 which should be relative to the audio buffer. It's the correct value 64 ??

                    did you not reset your retroarch.cfgs as you were instructed to earlier? in which case you only need to set it once in /all/ and you don't (I think) see any audio buffer settings. please show us the files after you've done.

                    Lol... for try to center the TV screen i need to put my phone in a higher position :). Somethings like a stand or selfie stick or similar. I don't have it or i need to call my mother to maintain my phone on your hands and register another video :)

                    Otherwise i can try to change.... if i remember i can change the main emulator for GB system from menù A when i launch a roms exactly ? After i have made some test i can reselect lr-gamebatte :)
                    I never changed the GB default system because apparently lr-gamebatte it's selected by default ?

                    About reset my retroarch.cfg on opt/config/all and all core i have some question to do:
                    How i can do it ? For example... for "all" folder i can use retroarch.cfg.rp-dist.... and for all my current system ?
                    There's a download for all default retroarch.cfg ? Because currently, as we have seen I have all those non-standard cfg :)

                    Thanks in advance.......

                    D 1 Reply Last reply 15 Jun 2021, 14:42 Reply Quote 0
                    • D
                      dankcushions Global Moderator @DjDiabolik
                      last edited by 15 Jun 2021, 14:42

                      @djdiabolik

                      Lol... for try to center the TV screen i need to put my phone in a higher position :). Somethings like a stand or selfie stick or similar. I don't have it or i need to call my mother to maintain my phone on your hands and register another video :)

                      or just have a game with an attract mode (sonic 1, etc) and you can hold your own phone.

                      Otherwise i can try to change.... if i remember i can change the main emulator for GB system from menù A when i launch a roms exactly

                      https://retropie.org.uk/docs/Runcommand/#runcommand-launch-menu option 1 - select default emulator for (in your case, gb)

                      About reset my retroarch.cfg on opt/config/all and all core i have some question to do:

                      I explained how here:
                      https://retropie.org.uk/forum/topic/30747/pi4-4-7-1x-after-recent-update-audio-little-glitch-struttering-or-miss-some-frame-on-some-libretro-core-it-s-fixable/10?_=1623767907943

                      D 1 Reply Last reply 15 Jun 2021, 18:57 Reply Quote 0
                      • D
                        DjDiabolik @dankcushions
                        last edited by 15 Jun 2021, 18:57

                        @dankcushions said in Pi4 - 4.7.1x after recent update audio little glitch/struttering or miss some frame on some libretro core... it's fixable ?:

                        I explained how here:
                        https://retropie.org.uk/forum/topic/30747/pi4-4-7-1x-after-recent-update-audio-little-glitch-struttering-or-miss-some-frame-on-some-libretro-core-it-s-fixable/10?_=1623767907943

                        Yes I had read this.... so i have to re-install all my system core to obtain the retroarch.cfg.rp-dist for all system ?
                        If i understand correctly from retropie-setup i have to reinstall retroarch and all system core for obtain the default rp-dist files ?

                        D 1 Reply Last reply 15 Jun 2021, 20:01 Reply Quote 0
                        • D
                          dankcushions Global Moderator @DjDiabolik
                          last edited by 15 Jun 2021, 20:01

                          @djdiabolik you’ve only shown me configs for gb and retroarch so i only instructed how to reset for the configs for the same. i don’t know how to explain it any clearer.

                          D 1 Reply Last reply 15 Jun 2021, 20:59 Reply Quote 0
                          • D
                            DjDiabolik @dankcushions
                            last edited by DjDiabolik 15 Jun 2021, 20:59

                            @dankcushions said in Pi4 - 4.7.1x after recent update audio little glitch/struttering or miss some frame on some libretro core... it's fixable ?:

                            @djdiabolik you’ve only shown me configs for gb and retroarch so i only instructed how to reset for the configs for the same. i don’t know how to explain it any clearer.

                            Yes exactly.... but if right now i want to extend the same solution for all other my system how you suggest to do ?

                            Anyway if lr-gambatte it's this here:
                            https://github.com/libretro/gambatte-libretro

                            Has last commit 5 days ago..... how it's possible this is abandoned ?

                            EDIT
                            Meinwhile i have try to play CATRAP after setted lr-mgba........ whit this different core apparently i can't restore my lr-gambatte savestate. It's not multicompatible the savestate from different core ?

                            EDiT 2nd Part
                            After read some other thread/blog found by google i have problably found one things.
                            The savestate made by lr-gambatte it's not compatible whit the lr-mgba. At this point it could be an idea to storage/usage the savestate on 2 different paths depending on the GB core I'm going to use.
                            This will be another thing to do in the future in my setup.

                            Meinwhile whit lr-gambatte i have tryed to reset both retroarch.cfg....... i do this:

                            1. I backup the current retroarch.cfg from "all" and from "gb" folder (the current non stardard).
                            2. From retropie-setup i have re-install the both componet....retroarch and lr-gambatte from the respective sections. This made me possibility to obtain the both retroarch.cfg.rp-dist
                            3. After that i have delete the both retroarch.cfg from "all" and "gb" folder.
                            4. Rename both retroarch.cfg.rp-dist to retroarch.cfg on "all" and "gb"

                            At this point... i thinks for GB i have reset both configuration to default.
                            Using lr-gambatte try to launch same game.. catrap...... same issue whit audio it's persistent.

                            At this point after doing this test and checking that resetting to default the both retroarch.cfg does not lead to solutions i have reput my usually non-standard configuration.
                            honestly if it's not the bad configuration that's causing this little trouble whit audio it's only need to test the same games whit lr-mgba but i need to found a workaround for use/load the old savestate maded previously when i use lr-gambatte (because i have a lot of games where i have saved game progress :)).

                            Do you have some suggestion ?

                            EDIT 3rd part
                            The other test need to do it's try to set the "vc4-kms-v3d-pi4,noaudio" on config.txt.
                            But i could be wrong but i don't seem to have screen tearing issues :)

                            D 1 Reply Last reply 16 Jun 2021, 03:42 Reply Quote 0
                            • D
                              dankcushions Global Moderator @DjDiabolik
                              last edited by 16 Jun 2021, 03:42

                              @djdiabolik said in Pi4 - 4.7.1x after recent update audio little glitch/struttering or miss some frame on some libretro core... it's fixable ?:

                              @dankcushions said in Pi4 - 4.7.1x after recent update audio little glitch/struttering or miss some frame on some libretro core... it's fixable ?:

                              @djdiabolik you’ve only shown me configs for gb and retroarch so i only instructed how to reset for the configs for the same. i don’t know how to explain it any clearer.

                              Yes exactly.... but if right now i want to extend the same solution for all other my system how you suggest to do ?

                              yes, to reset other lr- emulators you repeat the process for their config folders.

                              Anyway if lr-gambatte it's this here:
                              https://github.com/libretro/gambatte-libretro

                              Has last commit 5 days ago..... how it's possible this is abandoned ?

                              because it’s a fork of https://sourceforge.net/projects/gambatte/ which hasn’t been updated since 2019. the changes since then are maintenance, really, not to do with emulator function. can’t you just test in lr-mgba to see if it fixes the issue?!

                              EDIT
                              Meinwhile i have try to play CATRAP after setted lr-mgba........ whit this different core apparently i can't restore my lr-gambatte savestate. It's not multicompatible the savestate from different core ?

                              EDiT 2nd Part
                              After read some other thread/blog found by google i have problably found one things.
                              The savestate made by lr-gambatte it's not compatible whit the lr-mgba. At this point it could be an idea to storage/usage the savestate on 2 different paths depending on the GB core I'm going to use.
                              This will be another thing to do in the future in my setup.

                              but does it have the issue?!

                              Meinwhile whit lr-gambatte i have tryed to reset both retroarch.cfg....... i do this:

                              1. I backup the current retroarch.cfg from "all" and from "gb" folder (the current non stardard).
                              2. From retropie-setup i have re-install the both componet....retroarch and lr-gambatte from the respective sections. This made me possibility to obtain the both retroarch.cfg.rp-dist
                              3. After that i have delete the both retroarch.cfg from "all" and "gb" folder.
                              4. Rename both retroarch.cfg.rp-dist to retroarch.cfg on "all" and "gb"

                              At this point... i thinks for GB i have reset both configuration to default.
                              Using lr-gambatte try to launch same game.. catrap...... same issue whit audio it's persistent.

                              At this point after doing this test and checking that resetting to default the both retroarch.cfg does not lead to solutions i have reput my usually non-standard configuration.

                              ok, but it’s good it’s fixed. we cannot diagnose easily by staring at a massive customised configuration file.

                              honestly if it's not the bad configuration that's causing this little trouble whit audio it's only need to test the same games whit lr-mgba but i need to found a workaround for use/load the old savestate maded previously when i use lr-gambatte (because i have a lot of games where i have saved game progress :)).

                              Do you have some suggestion ?

                              no

                              EDIT 3rd part
                              The other test need to do it's try to set the "vc4-kms-v3d-pi4,noaudio" on config.txt.
                              But i could be wrong but i don't seem to have screen tearing issues :)

                              as i said:

                              all that said, this doesn't seem like any of the known issues i talked about before. so disregard those.

                              D 1 Reply Last reply 16 Jun 2021, 09:55 Reply Quote 0
                              • S
                                supernalle
                                last edited by 16 Jun 2021, 06:38

                                Just wanted to chime in here and say that I have exactly the same audio problem.
                                This occurs on all emulators after updating to the latest retropie version, enabling cheevos and updating the os library as well.
                                Pi4 4GB Model B.

                                No problems whatsoever before I added cheevos. Cheevos didnt work correctly with the retropie version I had installed then so therefore I updated and then the audio started "stuttering" from time to time.

                                Will try to reinstall some day soon when I have time and NOT updating OS libraries.

                                D 1 Reply Last reply 16 Jun 2021, 09:49 Reply Quote 0
                                • D
                                  dankcushions Global Moderator @supernalle
                                  last edited by 16 Jun 2021, 09:49

                                  @supernalle said in Pi4 - 4.7.1x after recent update audio little glitch/struttering or miss some frame on some libretro core... it's fixable ?:

                                  Just wanted to chime in here and say that I have exactly the same audio problem.
                                  This occurs on all emulators after updating to the latest retropie version, enabling cheevos and updating the os library as well.
                                  Pi4 4GB Model B.

                                  No problems whatsoever before I added cheevos. Cheevos didnt work correctly with the retropie version I had installed then so therefore I updated and then the audio started "stuttering" from time to time.

                                  Will try to reinstall some day soon when I have time and NOT updating OS libraries.

                                  are you saying it doesn't happen with updated retropie/retroarch when cheevos are turned OFF? that would make an interesting test.

                                  S 1 Reply Last reply 17 Jun 2021, 06:28 Reply Quote 0
                                  • D
                                    DjDiabolik @dankcushions
                                    last edited by 16 Jun 2021, 09:55

                                    @dankcushions I just turned on my pi4 and before lunch I try the lr-mgba whit CATRAP :)

                                    For my previously savestate created whit lr-gambatte for now I will try not to use them.

                                    Wait a my feedback immediatelly after lunch in this afternoon :)

                                    Thanks again anyway for all the advice :)

                                    @supernalle mmmmmm.... interesting how i can check if on my retropie it's enabled or not this cheevos ? what is that ?

                                    D 1 Reply Last reply 16 Jun 2021, 10:03 Reply Quote 0
                                    • D
                                      dankcushions Global Moderator @DjDiabolik
                                      last edited by 16 Jun 2021, 10:03

                                      @djdiabolik said in Pi4 - 4.7.1x after recent update audio little glitch/struttering or miss some frame on some libretro core... it's fixable ?:

                                      @supernalle mmmmmm.... interesting how i can check if on my retropie it's enabled or not this cheevos ? what is that ?

                                      in your previous configs they were not enabled

                                      cheevos_enable = "false"
                                      

                                      and they are not enabled by default either, so probably a red herring.

                                      D 1 Reply Last reply 16 Jun 2021, 11:38 Reply Quote 0
                                      • D
                                        DjDiabolik @dankcushions
                                        last edited by DjDiabolik 16 Jun 2021, 11:38

                                        @dankcushions said in Pi4 - 4.7.1x after recent update audio little glitch/struttering or miss some frame on some libretro core... it's fixable ?:

                                        @djdiabolik said in Pi4 - 4.7.1x after recent update audio little glitch/struttering or miss some frame on some libretro core... it's fixable ?:

                                        @supernalle mmmmmm.... interesting how i can check if on my retropie it's enabled or not this cheevos ? what is that ?

                                        in your previous configs they were not enabled

                                        cheevos_enable = "false"
                                        

                                        and they are not enabled by default either, so probably a red herring.

                                        mmmmmmm...... otherwise just for confirmation.
                                        The same "issue" it's also present when i usage lr-mgba ever tested whit same game CATRAP :)

                                        the next step it's try to made a better video whit ALL screen captured :) so that you can possibly check if it is tearing or not................ in the next few days I will try to buy something like that:
                                        alt text

                                        EDIT num.1
                                        Using lr-gambatte right now, only for fun, i have tryed I played a game of the super classic TETRIS for GB.
                                        The problably most famous BACKGROUND music/loop over the world...... it's be emulated perfectly without the slightest sound problem.

                                        a part from CATRAP ever using gambatte I will start testing the weirdest titles to see if there is any other game that has the same problem with the audio.

                                        For absurdly I could try like Super Mario Bros for GB that contain vertical scrool and horizotal scrool..... i post other feedback later in same thread :)

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          supernalle @dankcushions
                                          last edited by 17 Jun 2021, 06:28

                                          are you saying it doesn't happen with updated retropie/retroarch when cheevos are turned OFF? that would make an interesting test.

                                          no, i dont think so, will try to disable cheevos before I try to reinstall an older version. The stuttering/glitching started when I updated the retropie + underlying os packages because cheevos wasn't working with my old version of retropie.

                                          D 1 Reply Last reply 17 Jun 2021, 08:14 Reply Quote 0
                                          33 out of 43
                                          • First post
                                            33/43
                                            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.

                                            This community forum collects and processes your personal information.
                                            consent.not_received