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

    Configuring vertical screen in Retroarch

    Scheduled Pinned Locked Moved Help and Support
    retroarchvertical screen
    18 Posts 6 Posters 15.4k 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.
    • thepatchwerkboyT
      thepatchwerkboy @panhead_jim
      last edited by thepatchwerkboy

      Two possible issues:

      1. The rotation settings on the main retropie cfg and each emulator are cumulative. I set 1 and 1 on the system configuration and on the libretro config, and it did a full 180. Set one or the other, not both.

      2. Emulators that aren't part of the libretro build won't follow the rules set forth in the general config - which MAME emulator are you using? I was using an optional build of MAME4All, and it had the same problem. Set the default back to mame-2003 (ROM set 0.78) and all should be well.

      1 Reply Last reply Reply Quote 0
      • rbakerR
        rbaker @panhead_jim
        last edited by

        @panhead_jim said in Configuring vertical screen in Retroarch:

        mame-mame4all

        This. Get the 0.78 set and use lr-mame2003 as advised.

        1 Reply Last reply Reply Quote 0
        • A
          AndrewH
          last edited by

          I’ve been ‘working’ on doing similar over the last couple of days.

          Rotating the display on the pi definitely had a negative impact - primarily flickering shadows in several games.

          It doesn’t seem like it is possible to rotate the EmulationStation UI, so I’m using AttractMode (from the experimental section) as the front end, with a vertical theme called ‘The Invaders’ which I downloaded from a thread in the Attract Mode forum.

          I’m using lr-mame2003, and it worked pretty well in terms of getting the rotation correct without too much experimenting, although I did run into a problem with getting the aspect ratio correct. I eventually had to edit the retroarch.cfg by hand and change aspect_ratio_index from 21 to 22, since it didn’t seem to save correctly through the retroarch menu.

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

            @andrewh said in Configuring vertical screen in Retroarch:

            It doesn’t seem like it is possible to rotate the EmulationStation UI,

            Actually it is supported by ES - see https://github.com/RetroPie/EmulationStation/pull/348/

            A thepatchwerkboyT 2 Replies Last reply Reply Quote 0
            • A
              AndrewH @mitu
              last edited by

              @mitu wow... thanks for that - hadn't seen any reference to it when researching. I'll try it tonight (I prefer ES to Attract Mode, to be honest)

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

                @andrewh At first glance it seems un-documented (neither the wiki or running with --help shows any indication this might be supported), but I remember being being implemented a while ago.
                EDIT: I now realise this is part of the master branch, so I think it's not part of the stable branch and you'd need to use the emulationstation-dev experimental package to make use of it.

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

                  After a lot of fooling around, I switched from using MAME 0.37b5 roms with mame4all to using MAME 0.78 roms with mame-libretro. Then I enabled TATE mode within file:

                  retroarch-core-options.cfg

                  which can be found under /opt/retropie/configs/all/ in the configuration editor. The option I changed is:

                  mame2003-tate_mode = "enabled"

                  Now it works great. No slow down and the entire screen is filled.

                  1 Reply Last reply Reply Quote 1
                  • thepatchwerkboyT
                    thepatchwerkboy @mitu
                    last edited by

                    To all - the stable branches all support screen rotation, but if you want it to happen on a system-by-system basis (leave the menus landscape), you need to use the libretro emulators. exclusively. If you want everything, including the menus to go portrait, as in the case of a proper cocktail cabinet, you can tell the OS to treat the display as permanently vertically oriented, just set display_rotate=3 (or 1, depending on the physical screen's orientation) in /boot/config.txt and give the pi a full reboot.

                    A 1 Reply Last reply Reply Quote 0
                    • A
                      AndrewH @thepatchwerkboy
                      last edited by

                      @thepatchwerkboy said in Configuring vertical screen in Retroarch:

                      you can tell the OS to treat the display as permanently vertically oriented, just set display_rotate=3 (or 1, depending on the physical screen's orientation) in /boot/config.txt and give the pi a full reboot.

                      This is what I started with originally, but as mentioned above, it was less than ideal - the sprite shadows flickered unacceptably. Apparently this is due to the shadows only being displayed every second frame to crate 'pseudo transparency'. it's not an issue with the standard system rotation, only when rotated by 90 degrees.

                      Leaving system rotation at 0 degrees, but rotating the ES menus, and rotating the display in retroarch gives a result with no shadow flickering - that's why I did it that way.

                      thepatchwerkboyT 1 Reply Last reply Reply Quote 0
                      • thepatchwerkboyT
                        thepatchwerkboy @AndrewH
                        last edited by

                        @andrewh - Gotcha. I was unaware you could rotate the menus alone. May I ask which config file has that setting and the syntax? That could be quite useful.

                        A 1 Reply Last reply Reply Quote 0
                        • A
                          AndrewH @thepatchwerkboy
                          last edited by

                          @thepatchwerkboy said in Configuring vertical screen in Retroarch:

                          @andrewh - Gotcha. I was unaware you could rotate the menus alone. May I ask which config file has that setting and the syntax? That could be quite useful.

                          @mitu's comments above contain all the detail, but basically;

                          • Install Emulationstation dev version from the Experimental section of RetroPie Setup
                          • Edit autostart.sh and add --screenrotate 3 (or 1, depending on which way you need it to rotate)
                          • Reboot

                          That gets EmulationStation rotated. It's then necessary to configure Retoarch to also rotate its output.

                          thepatchwerkboyT 1 Reply Last reply Reply Quote 0
                          • thepatchwerkboyT
                            thepatchwerkboy @AndrewH
                            last edited by

                            @andrewh - I am aware of that method, which rotates the system display on an OS resolution level. I thought he was saying he'd found a way to rotate the ES menus independently.

                            mituM A 2 Replies Last reply Reply Quote 0
                            • mituM
                              mitu Global Moderator @thepatchwerkboy
                              last edited by

                              @thepatchwerkboy said in Configuring vertical screen in Retroarch:

                              I thought he was saying he'd found a way to rotate the ES menus independently.

                              You can do that - as @AndrewH said - by using the command line parameter --screenrotate, it will start ES rotated as you like, without messing with config.txt and doing it as the OS level.

                              1 Reply Last reply Reply Quote 1
                              • A
                                AndrewH @thepatchwerkboy
                                last edited by

                                @thepatchwerkboy said in Configuring vertical screen in Retroarch:

                                @andrewh - I am aware of that method, which rotates the system display on an OS resolution level. I thought he was saying he'd found a way to rotate the ES menus independently.

                                The method above doesn’t rotate the system display - that will still be sideways on a vertical display if you exit ES - it only rotates the EmulationStation display.

                                thepatchwerkboyT 1 Reply Last reply Reply Quote 0
                                • thepatchwerkboyT
                                  thepatchwerkboy @AndrewH
                                  last edited by

                                  @andrewh - That is quite acceptable, as I'm always using a wireless keyboard when dropping to command shell.

                                  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.