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

    Can no longer select video mode after update

    Scheduled Pinned Locked Moved Help and Support
    pi4video moderuncommand
    6 Posts 3 Posters 459 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.
    • quicksilverQ
      quicksilver
      last edited by

      Pi 4 running official retropie 4.5.11. I updated the retropie setup script and then updated runcommand to make sure I was getting the recent commit titled "runcommand: fix rare default kms mode detection problem" However, now I am unable to select any video modes for any emulator. When I try to select a video mode a message pops up quickly at the bottom that says

      sed: -e expression #1, char 93: undetermined `s' command
      awk: run time error: negative field index $-1
      FILENAME='-' FNR=1 NR=1
      awk: run time error: negative value assigned to NF
      FILENAME='-' FNR=1 NR=1
      

      My apologies if I am jumping the gun in reporting this but I would rather be safe then sorry. If this is a known issue or something work in progress then please disregard.

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

        Can you run

        /opt/retropie/supplementary/mesa-drm/modetest -r
        

        and post the output on pastebin.com ?

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

          @mitu https://pastebin.com/jHCYK8sC

          P 1 Reply Last reply Reply Quote 0
          • P
            psyke83 Global Moderator @quicksilver
            last edited by

            @quicksilver

            The issue should be resolved. Please update the RetroPie-Setup script and try again.

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

              @psyke83 thanks it looks like it's working again. Something I've noticed in general though is that I have multiple listings for the same resolution/refresh rate. On previous pi models there were usually just the different CEA modes listed. Is this difference because of the different drivers/hardware that the pi 4 utilizes?

              P 1 Reply Last reply Reply Quote 0
              • P
                psyke83 Global Moderator @quicksilver
                last edited by

                @quicksilver said in Can no longer select video mode after update:

                @psyke83 thanks it looks like it's working again. Something I've noticed in general though is that I have multiple listings for the same resolution/refresh rate. On previous pi models there were usually just the different CEA modes listed. Is this difference because of the different drivers/hardware that the pi 4 utilizes?

                Yes, we query the available modes via the kernel modesetting API, which doesn't distinguish between CEA or DMT modes. If you look carefully at the duplicates in your list, however, you'll see that there are differences beyond the resolution and refresh rate, such as the aspect ratio encoding, horizontal/vertical sync polarity, etc.

                Technically it's still possible to use tvservice for querying and changing modes on RPI4, but if you do change the mode, the underlying KMS framebuffer subsystem will not be aware of the change. This would mean that your monitor would be set to the correct mode, but the applications themselves would detect the framebuffer/refresh to still be set to the original resolution and thus show a cropped image, etc.

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