Squashed screen when it's rotated
-
System : Pi4B (4GB)
Retropie version : 4.8.6
Display: Vertically rotated4.3inch DSI Display, (800 × 480 pixels)
System being used : MAME 2010Hello,
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 = 1I 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
-
@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. -
@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 ?
-
@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". -
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.
-
@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. - use a recent version of retroarch with the "Core provided" aspect ratio (
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.