ValveSoftware / Proton

Compatibility tool for Steam Play based on Wine and additional components
Other
23.92k stars 1.05k forks source link

Supporting vertical screen resolutions (GPD Win 2) #4133

Open yoyossef opened 4 years ago

yoyossef commented 4 years ago

Report

System Information

Symptoms

I've got a very specific issue that's due to the nature of my device I think. I'm playing proton games on my GPD Win 2 (a handheld gaming PC) and the display mounted horizontally is a vertical phone screen, so the true resolution is 720x1280 and not 1280x720 so I had to rotate the display under gnome settings so I can use the device comfortably.

The issue though is that on Proton games I can almost never change my resolution in-game, because I guess the resolutions with inverted dimensions are not whitelisted or something.

Somehow playing games in native res is not an issue (everything is rendered perfectly horizontally and the resolution shown is 1280x720 and not 720x1280), it's just that I can't switch resolution in games (it either doesn't offer any other resolution or it sometimes even crashes when I try to).

There are some exceptions like in games like Cuphead, where changing the resolution is done nicely though still reporting an inverted resolution compared to what the display actually uses (reporting 960x540 instead of 540x960 for example).

Why is it important?

Changing resolution is interesting especially on ultra mobile devices like the GPD Win 2 because lowering it can make drastic performance improvements. I was only able to do that on games offering changes with percentage resolution sliders (or by changing values on .ini config files).

I don't know if it's a trvial change to make or not but it would dramatically enhance my experience.

zzhiyi commented 4 years ago

Confirmed. It's on my todo-list.