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

    Disappearing sprites (possible frameskip issue)

    Scheduled Pinned Locked Moved Help and Support
    issueframeskipgraphical issuesnes9xraspberry pi 4
    21 Posts 5 Posters 4.2k 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.
    • P
      pamput
      last edited by pamput

      We are definitely on the right track, but I got more issues.

      retro-config refuses to change my resolution. Whenever I try to go advanced configs -> resolution, the script crashes and returns me to the first screen.

      Interestingly, the resolution in the emulationstation menu is:
      state 0xa [HDMI CUSTOM RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive

      AND same resolution in every emulator with the exception of RetroArch:
      state 0xa [HDMI CUSTOM RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive

      It seems RetroArch is unhappy in some way and defaults to 4K. I've also checked what's the prefered in my tvservice, and it gives this one:
      CEA: (prefer) mode 16: 1920x1080 @ 60Hz 16:9, clock:148MHz progressive
      Not sure how much this is relevant though.

      Also, changing the resolution via the runcommand doesn't seem to do anything.

      Any ideas?

      dankcushionsD quicksilverQ 2 Replies Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator @pamput
        last edited by

        @pamput hmm, are you able to change your videomode via the runcommand, before launching a lr- emulator ? https://github.com/RetroPie/RetroPie-Setup/wiki/runcommand

        i know we've done some changes recently to the resolution stuff, so it might be worth updating retroarch, runcommand and the retropie-setup script.

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

          tagging @mitu as someone more familiar with this side of things!

          1 Reply Last reply Reply Quote 0
          • quicksilverQ
            quicksilver @pamput
            last edited by

            @pamput you didnt recently run rpi-update did you?

            1 Reply Last reply Reply Quote 0
            • P
              pamput @dankcushions
              last edited by pamput

              @dankcushions said in Disappearing sprites (possible frameskip issue):

              are you able to change your videomode via the runcommand

              I've tried, no luck.

              I've also tried to mess with custom_viewport_width and similar, no luck either.

              @quicksilver said in Disappearing sprites (possible frameskip issue):

              @pamput you didnt recently run rpi-update did you?

              No I didn't, should I give it a go?

              quicksilverQ 1 Reply Last reply Reply Quote 0
              • P
                pamput
                last edited by pamput

                Quick update: changing the video mode in runcommand doesn't solve the problem, BUT changing the render res does! If I set it to 1980x1080 I get:
                state 0xa [HDMI CUSTOM RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive

                Assuming this is the right area, how do I make this the default for retroarch system wise? Also this way I get some black borders around the screen, which is not nice (integer scaling is turned off).

                Quick update 2: ignore the black border issue, somehow the overscan got turned on (maybe when I was fiddling with raspi-config?). Anyway, that's gone.

                1 Reply Last reply Reply Quote 0
                • P
                  pamput
                  last edited by pamput

                  Theoretically I could work around this by changing the video output resolution using the retropie setup script. But this feels like a nasty work around rather than a fix :/ I feel there should be a way to set the default resolution instead system wide. Somewhere in /boot/config.txt?

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

                    @pamput Post your RetroArch log from /dev/shm/runcommand.log, after you've toggled debug/verbose output in the Runcommand launch menu. Use pastebin.com to add the output. Add also your retroarch.cfg file from /opt/retropie/configs/all.
                    The global resolution should work being set via raspi-config (which just modifies /boot/config.txt).

                    1 Reply Last reply Reply Quote 0
                    • P
                      pamput
                      last edited by

                      @mitu said in Disappearing sprites (possible frameskip issue):

                      The global resolution should work being set via raspi-config (which just modifies /boot/config.txt).

                      Ok, this is interesting then. I can't set the resolution via raspi-config. The script dies on me every time I try to change the resolution. Maybe my config.txt is in a bad state? Here is my config.txt: https://pastebin.com/JSeu62Sa

                      Here's my debug logs: https://pastebin.com/Fu6Rxty1

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

                        [INFO] [GL]: Detecting screen resolution 4096x2160.

                        RetroArch sets the resolution to the 1st detected video mode, which is a 4k resolution.
                        Try updating your RetroPie-Setup script and then update RetroArch from source. Settings the resolution via Runcommand launch menu should work also, or you're not running the latest version of RetroPie-Setup.
                        How did you install RetroPie ?

                        1 Reply Last reply Reply Quote 0
                        • quicksilverQ
                          quicksilver @pamput
                          last edited by

                          @pamput said in Disappearing sprites (possible frameskip issue):

                          No I didn't, should I give it a go?

                          I wouldnt, I did earlier when I was testing out retropie on my pi4 and it broke my screen resolution settings and I ended up stuck at 4k.

                          1 Reply Last reply Reply Quote 0
                          • P
                            pamput
                            last edited by pamput

                            @quicksilver said in Disappearing sprites (possible frameskip issue):

                            it broke my screen resolution settings and I ended up stuck at 4k.

                            Does the setup script run rpi-update when you update the packages and you answer yes to the question Would you like to update the underlying packages (Or something similar)? If the answer is yes, then I actually did :/ So we might be having the same problem.

                            @mitu said in Disappearing sprites (possible frameskip issue):

                            or you're not running the latest version of RetroPie-Setup.

                            I'm pretty sure I run a reasonably up to date version. I think I've updated from master around christmas. I'll checkout master again and update retroarch from source. Fingers crossed.

                            Mini Update: I've updated the script and now it runs:

                            RetroPie-Setup version: 4.5.10 (49703399)
                            System: Raspbian GNU/Linux 10 (buster) - Linux raspberrypi 4.19.75-v7l+ #1270 SMP Tue Sep 24 18:51:41 BST 2019 armv7l GNU/Linux
                            

                            @mitu said in Disappearing sprites (possible frameskip issue):

                            Settings the resolution via Runcommand launch menu should work also

                            It kinda does... It only works if I change the rendering res :/ the other one is ignored.

                            @mitu said in Disappearing sprites (possible frameskip issue):

                            How did you install RetroPie ?

                            Manually, in a nutshell:

                            • Got Buster on my rpi4
                            • Checkout fkms_rpi4 (at the time it wasn't merged into master yet)
                            • installed by running the setup script

                            I'm not on fkms_rpi4 anymore, since I noticed it was merged into master at some point before christmas. I'm on master now.

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

                              @pamput said in Disappearing sprites (possible frameskip issue):

                              I'm pretty sure I run a reasonably up to date version. I think I've updated from master around christmas. I'll checkout master again and update retroarch from source. Fingers crossed.

                              You're not really up-to-date, the latest version has a more recent RetroArch and the Runcommand launch menu doesn't have a 'Set Render resolution for RetroArch'. Switch to the master branch, then upgrade all your packages, including RetroArch.

                              You should also restore the default config.txt and try setting your resolution to 1080p from raspi-config.

                              P 1 Reply Last reply Reply Quote 0
                              • P
                                pamput @mitu
                                last edited by pamput

                                @mitu I've pulled master and updated retroarch from source. The problem seems to be fixed now! I've also noticed the notification messages now come in a fancy animated bubble instead of the old style yellow text.

                                Could it be I was stuck on a old version because I did update from binary instead of source? I'd assume the script does download the latest release from github, which doesn't match master necessarily.

                                I'm updating the entire stack now from source. This is going to take a long time...

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

                                  @pamput said in Disappearing sprites (possible frameskip issue):

                                  Could it be I was stuck on a old version because I did update from binary instead of source? I'd assume the script does download the latest release from github, which doesn't match master necessarily.

                                  You were running on the dev branch, some things have changed since you first installed. I'd advise to update from binary for all packages, then check the RetroArch version - if it's not 1.8.4, then update from source again.

                                  P 1 Reply Last reply Reply Quote 0
                                  • P
                                    pamput @mitu
                                    last edited by

                                    @mitu thanks for your help. This helped me a lot. The frameskip issue is now gone, but I'm facing a brand new problem now :(

                                    https://retropie.org.uk/forum/topic/24606/rpi4-freezes-at-boot-after-update

                                    Thanks to everyone else helping me here! :)

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      blackster
                                      last edited by

                                      I had the same issue. The problem is that RetroPie manage default resolution very bad.
                                      To solve this and other performance issues just play with the resolution and set the best that fits your needs.
                                      You have to enter the raspbi-config -> display options.
                                      If the system crashes when you select display options, use this trick:
                                      Enter the menu and before opening display options disconnect the HDMI.
                                      Than open display options (with screen off) and connect HDMI again.
                                      It should solve the problem.

                                      After I changed resolution I experienced a big performance jump!
                                      And all that glitches and sprite problems was solved

                                      1 Reply Last reply Reply Quote -1
                                      • 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.