Separate scaling settings for landscape and portrait

On mobile device it could be handy, and I certainly would make use of, the facility of specifying, for instance, of using integer scaling on landscape only, while willing to use most possible space on portrait.

Hence my kind feature request.

Secondarily, I remember it was possible to specify the number of times a pixel should have been scaled. I can’t find it any more, and now integer scaling just scales the screen at the biggest possible size (or over is the overscan option is specified).

Is it possible to actually select the scaling factor? This could be useful in landscape to limit the screen size, also to make use of certain bezel that would otherwise overlap with the screen.

Thanks,

1 Like

To scale at a custom factor go to

Settings -> Video -> Scaling

then set:

Aspect Ratio -> Custom

then

Integer scaling -> ON

now you can change Custom Aspect Ratio Width/Height to a custom value.

1 Like

Do you really need this to be automatic for orientation? It’s already possible to achieve this on game or directory basis via overrides.

Well, I asked because I would find it handy and helpful, yes.

To me GBA is best emulated with integer scaling in landscape and “full stretch” in portrait. But I have to switch manually every time I change the way I play (for comfort) so if it were configurable per orientation it’d be the best.

Thanks.

Thank you very much!

Unfortunately I’m afraid I stumbled upon a bug.

I choose “custom” so to enable the width and height entries as you taught me. I realized it was set at “4” by default.

I then set it as 3 to reduce it, and the screen got reduced to a single pixel.

Using vulkan for what it’s worth it.

Ok, got it. Those width and height are actually the number of pixels, not a multiplier, or scaling factor.

This does not make much sense alongside with the “integer scaling” tho :thinking:

By trial and error I managed to do it. Look how beautiful it is.

The problem is, it gets totally messed up when I flip the phone:

That is why I’m really convinced that portrait and landscape settings should be separated for retroarch to be really flexible on mobile devices.

Thanks,

1 Like

I’m honestly shocked this isn’t already in Retroarch mobile. And it’s like, Retroarch already has separate viewport anchor bias settings for landscape vs. portrait, so someone on the team knew that landscape and portrait mode needed to have separate settings to some degree, but did not extend that thinking to consider why someone might want independent custom resolution and viewport positions for landscape and portrait.

I do not understand why this isn’t already in Retroarch. It seems very basic. I will lay out a use-case to justify my point:

I want to play GBA games on my phone, 4x integer scaled. I want the viewport pushed to the top of screen. Additionally, in landscape mode I want the viewport pushed slightly to the right since the dpad takes up more room than the A and B buttons. All is well and good so far. I can do all these things. Then I flip my phone to portrait, and the content gets cut off because it doesn’t fit within the viewport, because I cannot set a custom resolution and viewport position that only applies to portrait mode. Is the issue apparent?