• 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

Flip Screen (not rotate but flip)

Scheduled Pinned Locked Moved Help and Support
display driverscreen rotation
9 Posts 2 Posters 590 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
    patoperales
    last edited by 5 Jun 2024, 21:03

    Hi guys.
    May be is a simple question for you.
    I need to flip my screen to use my Raspberry with a dedicated arcade cab that uses a mirror to display the image (Atari Race Drivin).
    I found that adding the line "display_rotate 0x10000" to my config.txt do what I need but....only works if I remove the line "dtoverlay=vc4-kms-v3c" ...and then, MAME stops working.
    So my question is, Do we have any alternative to this problem?

    M 1 Reply Last reply 6 Jun 2024, 02:37 Reply Quote 0
    • M
      mitu Global Moderator @patoperales
      last edited by 6 Jun 2024, 02:37

      @patoperales said in Flip Screen (not rotate but flip):

      I found that adding the line "display_rotate 0x10000" to my config.txt do what I need but....only works if I remove the line "dtoverlay=vc4-kms-v3c" ...and then, MAME stops working.

      I assume you have a Pi4 ? If so, then yes, removing the dtoverlay=vc4-kms-v3d like would break the GPU drivers used by the Pi and render emulators unusable.
      The old/previous display_rotate parameters are not applied when the KMS overlay is loaded. Starting the RaspiOS 11 (Bullseye), this is the default and the display_rotate (as well as other similar parameters interpreted by the firmware) are no longer supported.

      So my question is, Do we have any alternative to this problem?

      You can run either use a Pi3 and - with the current RetroPie image - the display_rotate configuration will work, but you have to keep the installed system as is and not update it. Another option is to install the full RaspiOS image (with the default) and run emulators from the desktop environment (i.e. no RetroPIe). The desktop has a screen configuration utility where you can set the resolution and rotation paramters.

      P 1 Reply Last reply 6 Jun 2024, 20:14 Reply Quote 0
      • P
        patoperales @mitu
        last edited by 6 Jun 2024, 20:14

        @mitu Thanks for your response, Your assumption is correct, im running PI4. Do you happend to know if shaders in retroarch may help? I was surfing on retroarch config wit no luck....

        M 1 Reply Last reply 7 Jun 2024, 02:22 Reply Quote 0
        • M
          mitu Global Moderator @patoperales
          last edited by 7 Jun 2024, 02:22

          @patoperales a 'flip' shader could help, but it's active only during gameplay. There's a 'flip horizontal' shader, does it sound like it would work ?

          P 1 Reply Last reply 7 Jun 2024, 11:16 Reply Quote 0
          • P
            patoperales @mitu
            last edited by 7 Jun 2024, 11:16

            @mitu Yes..it could help for me, but I dont have any flip shader available from emulationstation under retropie setup menu. Any way to make it ready? Thank you!!

            M 1 Reply Last reply 7 Jun 2024, 11:20 Reply Quote 0
            • M
              mitu Global Moderator @patoperales
              last edited by 7 Jun 2024, 11:20

              @patoperales said in Flip Screen (not rotate but flip):

              Any way to make it ready? Thank you!!

              Shaders are only applied in RetroArch, there's no similar function available outside of the emulator.

              P 1 Reply Last reply 7 Jun 2024, 11:44 Reply Quote 0
              • P
                patoperales @mitu
                last edited by 7 Jun 2024, 11:44

                @mitu I google and found "flip-horizontal.glslp", Dowloaded and copied to /opt/retropie/emulators/retroarch/shader. Is that the correct way to add a new shader? Because despite I chosse this new flip-horizontal.glslp shader from RetroPie Setup menu ..nothign happend. It does work with other shaders already available in the same directory...but doesnt work with flip-horizontal.glslp

                M 1 Reply Last reply 7 Jun 2024, 12:14 Reply Quote 0
                • M
                  mitu Global Moderator @patoperales
                  last edited by 7 Jun 2024, 12:14

                  @patoperales You need both the .glslp (preset) file and the actual shader referenced in the file - the .glsl file.

                  P 1 Reply Last reply 7 Jun 2024, 13:26 Reply Quote 0
                  • P
                    patoperales @mitu
                    last edited by 7 Jun 2024, 13:26

                    @mitu ooohhhhhh!! That was the key, I only had the reference and was missing the actual -code- . Problem solved. Noy I get the video flipped. Thank you so much for your help.

                    1 Reply Last reply Reply Quote 0
                    9 out of 9
                    • First post
                      9/9
                      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