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

    Horizontal retropie display. HELP

    Scheduled Pinned Locked Moved Help and Support
    helphorizontalxrandrplease helpdont work
    42 Posts 2 Posters 6.6k 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.
    • ?
      A Former User
      last edited by

      I have a raspberry pi 4, I bought a 4-inch screen for precision that of the waveshare https://www.waveshare.com/wiki/4inch_HDMI_LCD, but initially I realized that it gave a black screen by inserting the monitor drivers, but if in the config I inserted fkms it worked but with graphic bugs, if instead I put it vertically there were no bugs and therefore I could not use it. Rotating it with display_rotate did not work because the graphic bugs were returning. After many tests I discovered that the desktop existed, then I started in the desktop and I managed to turn it, but not in retropie, when I start the desktop it starts horizontally, but retropie does not start horizontally, and if I use an xrandr command in desktop it works , if I use it in retropie it does not work and gives the error display can't open display.
      How can I have retropie that can also start horizontally?
      Sorry for my english i'm italian

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

        RetroPie does not use the desktop to run, you should keep it running as it is - from the terminal session, outside of the desktop env.
        Your problem is that the Pi4 does not support the same rotation parameters as previous models - rotating it 90 or 270 deg does not work with the settings in config.txt.
        You can rotate the EmulationStation screen by using the --screenrotate parameter. You should edit the autostart script (see here) and add the rotation parameters there:

        emulationstation --screenrotate 1
        

        Use 1, 2, 3 as possible values to rotate in steps of 90 deg.
        You should also set RetroArch configuration to rotate the display by editing the \\retroarch\configs\all\retroarch.cfg and adding, at the end of the file:

        video_allow_rotate = true
        video_rotation = 1
        

        Replace 1 (90 deg. rotation) with 2 or 3 to rotate again in 90 deg increments.
        This should cover most emulators, but any non-RetroArch emulators will not display correctly.

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User
          last edited by

          I ran what you told me, but as soon as I started the raspberry I found myself with the screen with all the emulators in small under left, how should I do?

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

            You may need to adjust the resolution for EmulationStation, by adding the --screensize W H parameter. What's your screen resolution ?

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @mitu
              last edited by

              @mitu the resolution of my monitor should be 800x480, but since it was vertical I don't know if I have to enter 480x800 or 800x480, and then where should I insert it, near screenrotate in autostart?

              mituM 1 Reply Last reply Reply Quote 0
              • mituM
                mitu Global Moderator @A Former User
                last edited by

                @xTekFede Yes, it should be inserted after the --screenrotate parameter

                --screensize 480 800
                
                ? 2 Replies Last reply Reply Quote 0
                • ?
                  A Former User @mitu
                  last edited by

                  @mitu said in Horizontal retropie display. HELP:

                  --screensize 480 800

                  also in retroarch?

                  1 Reply Last reply Reply Quote 0
                  • ?
                    A Former User @mitu
                    last edited by A Former User

                    @mitu I had to enter --screensize 800 480 and it works, but now I have to do something in retroarch? last thing, if I also wanted to rotate from cmdline.txt as I should do, to start horizontally

                    ? mituM 2 Replies Last reply Reply Quote 0
                    • ?
                      A Former User @A Former User
                      last edited by

                      @xTekFede I have the games that are rotated but they are seen vertically, so I should set the screensize, how should I do it? Then I also have a psp emulator, is it based on retroarch, or do I also have to screensize them in some way?

                      1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator @A Former User
                        last edited by

                        @xTekFede said in Horizontal retropie display. HELP:

                        @mitu I had to enter --screensize 800 480 and it works, but now I have to do something in retroarch? last thing, if I also wanted to rotate from cmdline.txt as I should do, to start horizontally

                        For the terminal to be rotated, you need add a video parameter to rest of the kernel boot parameters in cmdline.txt. Here's an example, you'll have to replace the video mode parameters with the ones for your display.

                        video=HDMI-A-1:1920x1080M@60rotate=90
                        

                        I have the games that are rotated but they are seen vertically, so I should set the screensize, how should I do it

                        Are you referring to libretro emulators (lr-xyz) or other - standalone - emulators ? If you're using a standalone emulator, then it's up to that particular emulator if it supports rotatatio or not, similar to how EmulationStation works.

                        Then I also have a psp emulator, is it based on retroarch, or do I also have to screensize them in some way?

                        For PSP games, you can use ppsspp (standalone) and lr-ppsspp (libretro based) emulators. If you already configured RetroArch for rotate/resolution, you can use lr-ppsspp.

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @mitu
                          last edited by

                          @mitu I started SNES and it started vertically in the center with the horizontal screen and it was also very crushed, then I started ppsspp and it started vertically with vertical screen, do I have to use lr-ppsspp to make it go?

                          mituM 1 Reply Last reply Reply Quote 0
                          • mituM
                            mitu Global Moderator @A Former User
                            last edited by

                            I started SNES and it started vertically in the center with the horizontal screen and it was also very crushed,

                            I don't understand what 'vertically' means in this context - does it obey or not the rotation configuration you've set ?

                            then I started ppsspp and it started vertically with vertical screen, do I have to use lr-ppsspp to make it go?

                            That's exactly what I said previously.

                            ? 1 Reply Last reply Reply Quote 0
                            • ?
                              A Former User @mitu
                              last edited by A Former User

                              @mitu If I start any game it looks like this, I attach a photo, this is an example of gta vice city:
                              Schermo pi.jpeg

                              mituM 1 Reply Last reply Reply Quote 0
                              • mituM
                                mitu Global Moderator @A Former User
                                last edited by

                                Either RetroArch doesn't detect the resolution correctly or there's a scaling issue. Try adding video_fullscreen_x and video_fullscreen_y to your retroarch.cfg and populate it with the correct values for your screen, see if that makes a difference.

                                ? 3 Replies Last reply Reply Quote 0
                                • ?
                                  A Former User @mitu
                                  last edited by

                                  @mitu if I put it this way the game does not change from the previous photo:
                                  video_windowed_position_height = "480" video_windowed_position_width = "800" video_windowed_position_x = "800" video_windowed_position_y = "480"
                                  and:
                                  video_windowed_position_height = "800" video_windowed_position_width = "480" video_windowed_position_x = "800" video_windowed_position_y = "480"
                                  if i put it like this when i open the raspberry, i only see retropie and no emulator:
                                  video_windowed_position_height = "480" video_windowed_position_width = "800" video_windowed_position_x = "480" video_windowed_position_y = "800"
                                  and:
                                  video_windowed_position_height = "800" video_windowed_position_width = "480" video_windowed_position_x = "480" video_windowed_position_y = "800"

                                  ? 1 Reply Last reply Reply Quote 0
                                  • ?
                                    A Former User @A Former User
                                    last edited by

                                    @xTekFede sorry I hadn't seen you meant fullscreen

                                    1 Reply Last reply Reply Quote 0
                                    • ?
                                      A Former User @mitu
                                      last edited by

                                      @mitu if the monitor is 800x480, what should i put in x and what in y?

                                      mituM 1 Reply Last reply Reply Quote 0
                                      • ?
                                        A Former User @mitu
                                        last edited by

                                        @mitu sorry for all the time I'm stealing you

                                        1 Reply Last reply Reply Quote 0
                                        • mituM
                                          mitu Global Moderator @A Former User
                                          last edited by

                                          @xTekFede said in Horizontal retropie display. HELP:

                                          @mitu if the monitor is 800x480, what should i put in x and what in y?

                                          Well, you only have 2 choices here - have you tried them both ?

                                          ? 1 Reply Last reply Reply Quote 1
                                          • ?
                                            A Former User @mitu
                                            last edited by

                                            @mitu I tried 800 in y, and 480 in x, and on the contrary, one makes me lose the emulators and the other does not change the resolution

                                            mituM 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.