• 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

Squashed screen when it's rotated

Scheduled Pinned Locked Moved Help and Support
mame2010retropieraspberry pi4
6 Posts 3 Posters 467 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.
  • D
    drog1998
    last edited by drog1998 17 Jan 2024, 08:42

    System : Pi4B (4GB)
    Retropie version : 4.8.6
    Display: Vertically rotated4.3inch DSI Display, (800 × 480 pixels)
    System being used : MAME 2010

    Hello,

    I'm hoping somebody can help.

    I've rotated my screen so ti runs vertically, which I have done by adding the following code to a cfg file saved next to my ROM. (romname.zip.cfg)

    video_allow_rotate = true
    video_rotation = 3
    aspect_ratio_index = "19"
    video_aspect_ratio_auto = false
    video_aspect_ratio = 1

    I have got it the correct way round but as you can see it only fills 50% of the screen and is squashed horizontally. I'm not sure what I should add to the ratio seeting in order to get it filling the screen

    I'd appreciate any advice.

    Thanks

    thumbnail.jpeg

    B 2 Replies Last reply 17 Jan 2024, 11:53 Reply Quote 0
    • B
      barbudreadmon @drog1998
      last edited by barbudreadmon 17 Jan 2024, 11:53

      @drog1998 retroarch used to not handle aspect ratio rotation when using the Setting > Video > Output > Video Rotation setting. I think the issue was addressed recently so you might solve this by updating to the latest retroarch version (which might or might not be available on retropie).

      Alternatives would be to either set aspect ratio manually to 3:4 in retroarch's settings (Setting > Video > Scaling > Aspect Ratio), or check if the core has a core option that might handle both rotation & aspect ratio properly for you (i believe the mame cores have something called "TATE mode" ?) instead of using retroarch settings. It could be that mame2010 doesn't have that kind of core option since it's mostly an unmaintained and poorly implemented libretro core you should probably avoid using.

      FBNeo developer - github - forum

      M 1 Reply Last reply 17 Jan 2024, 12:04 Reply Quote 0
      • M
        mitu Global Moderator @barbudreadmon
        last edited by 17 Jan 2024, 12:04

        @barbudreadmon said in Squashed screen when it's rotated:

        . I think the issue was addressed recently so you might solve this by updating to the latest retroarch version (which might or might not be available on retropie).

        We have the latest stable (at this time 1.16.0.3), but not the latest development version available. I think @drog1998 should have it installed, judging by the updated RetroPie version.

        @drog1998 can you try without specifying the 'aspect_ratio' parameters and see if RetroArch figures it out itself ?

        1 Reply Last reply Reply Quote 1
        • B
          barbudreadmon @drog1998
          last edited by barbudreadmon 17 Jan 2024, 12:11

          @drog1998 said in Squashed screen when it's rotated:

          aspect_ratio_index = "19"

          I didn't notice previously, but this is apparently the "32:9" aspect ratio, not the "core provided" ratio. It might be your actual problem here. Except if you know exactly what you are doing (which doesn't seem to be the case here), you should always let your core decide the aspect ratio by letting Setting > Video > Scaling > Aspect Ratio to "core provided".

          FBNeo developer - github - forum

          1 Reply Last reply Reply Quote 0
          • D
            drog1998
            last edited by 18 Jan 2024, 02:18

            HI @mitu and @barbudreadmon ,

            Thanks for you suggestions, I tried setting the aspect menu manually in Retroarch settings but that had no effect.

            I found an old post from you that suggested putting in actual screen size and that seems to have worked keeping the 3:4 ratio

            video_allow_rotate = true
            video_rotation = 3
            custom_viewport_height = 480
            custom_viewport_width = 640
            aspect_ratio_index = 23 
            

            This perfect as I can controll each ROM indivually.

            Thanks again fro the help.

            B 1 Reply Last reply 18 Jan 2024, 11:32 Reply Quote 0
            • B
              barbudreadmon @drog1998
              last edited by barbudreadmon 18 Jan 2024, 11:32

              @drog1998 There might have been a misunderstanding about my suggestions, they were to either :

              • use a recent version of retroarch with the "Core provided" aspect ratio (aspect_ratio_index = 22) which is the default and recommended value
              • if you are stuck with an older version of retroarch, use mame's TATE mode if it's available in mame2010 (instead of manually rotating through Setting > Video > Output > Video Rotation)
              • if you are stuck with an older version of retroarch and TATE mode is not available, set the aspect ratio manually to 3:4 (alongside the manual rotation from Setting > Video > Output > Video Rotation)

              If setting the aspect ratio manually to 640:480 (which is equal to 4:3) ends up with retroarch displaying it as 3:4, then you are using a recent version of retroarch (older retroarch wouldn't rotate it to 3:4 automatically, which is the bug i mentioned).
              In that case, my recommendation is to let the core decide the correct aspect ratio by using "Core provided". The problem with enforcing an aspect ratio as you are doing is that some games are not meant to be played with a 4:3 (rotated to 3:4 or not) aspect ratio.

              FBNeo developer - github - forum

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