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

    Sudden change of resolution Pi4

    Scheduled Pinned Locked Moved Help and Support
    pi4resolution
    19 Posts 2 Posters 958 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.
    • mituM
      mitu Global Moderator @Stuffu
      last edited by mitu

      @stuffu said in Sudden change of resolution Pi4:

      Could there have been any OS updates that changed the behaviour? They are up to date as per yesterday.

      Possibly, but I haven't seen any similar reports in the forums. Can you post your entire config.txt ?

      EDIT: what version of the Linux kernel do you have installed (uname -a) ?

      S 1 Reply Last reply Reply Quote 0
      • S
        Stuffu @mitu
        last edited by

        @mitu Not sure how many actually updates os...?

        Anyway, uname output:

        Linux retropie 5.4.72-v7l+ #1356 SMP Thu Oct 22 13:57:51 BST 2020 armv7l GNU/Linux
        

        config.txt:
        https://pastebin.com/TGxExYxa

        Let me know if I should look into something more.

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

          The config.txt file looks fine, there's no issue with it. Can you run

          tvservice -m CEA
          

          and see if 1080p is listed there ?

          S 1 Reply Last reply Reply Quote 0
          • S
            Stuffu @mitu
            last edited by

            @mitu It is, but I noticed something odd, this line:

              (prefer) mode 95: 3840x2160 @ 30Hz 16:9, clock:297MHz progressive
            

            Where do you "prefer" a resolution?! :)

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

              @stuffu said in Sudden change of resolution Pi4:

              Where do you "prefer" a resolution?! :)

              You set it from the configuration file or is read from the EDID sent by your display (TV).

              S 1 Reply Last reply Reply Quote 0
              • S
                Stuffu @mitu
                last edited by Stuffu

                @mitu Hmm... since I didn't change anything manually it's strange the change occurred at all.

                Is there anyway to revert it? From the TV I can't do any changes to preferred resolution and the config is set to 1080p... Am I missing something obvious? :)

                edit: during boot the pi4 switches resolution three times. First from a really low resolution, like vga, the characters are really big, then it changes to 1080p, then again changes to 3840x2160.

                edit 2: I added video=HDMI-A-1:1920x1080M@60 to cmdline.txt and it works. Problem solved I guess!

                Thanks for pointing out the solution, just curious how it happened...

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

                  Just tested it myself and the config.txt configurations are taken into account, so nothing changed here. Are you booting into the desktop environment by any chance ?

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    Stuffu @mitu
                    last edited by

                    @mitu nope, I’m using the official retropie image, nothing else added. If it doesn’t cause any problems elsewhere I’m fine using the current solution. But if you want me to investigate it further I’m happy to do so.

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

                      We can try debugging the bootloader. Add start_debug=1 at the end of the config.txt file, then re-boot (removing the cmdline.txt resolution setup, but leaving the config.txt settings for 1080p as they were initially).
                      After the boot, run

                      sudo vcdbg log msg
                      

                      and post the output on pastebin.com. It should show the bootloader debug messages.

                      S 1 Reply Last reply Reply Quote 0
                      • S
                        Stuffu @mitu
                        last edited by

                        @mitu Here's the output https://pastebin.com/V2GygV9G

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

                          Add

                          gpu_mem=256
                          

                          to config.txt and retry.

                          S 1 Reply Last reply Reply Quote 0
                          • S
                            Stuffu @mitu
                            last edited by

                            @mitu Sorry, retry with logging or try to run it as "default"?

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

                              Logging doesn't really matter - you can leave it on, just add the extra line and see if the PI starts in 1080p.

                              S 1 Reply Last reply Reply Quote 0
                              • S
                                Stuffu @mitu
                                last edited by Stuffu

                                @mitu It still 4k with gpu_mem=256

                                If we can't find a reason for this happening, is there a reason not the use the cmdline alternative? Or even using the hdmi1?

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

                                  If it works via HDMI1 - with the same settings as before - then that's ok. The 1st HDMI port is the only one able to do 4k@60Hz, other than that they're identical.

                                  S 1 Reply Last reply Reply Quote 1
                                  • S
                                    Stuffu @mitu
                                    last edited by

                                    @mitu I haven't noticed anything strange with hdmi1 so I'll stick with that. Thanks for the effort :)

                                    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.