ValveSoftware / ValveSoftware/Proton

Supporting vertical screen resolutions (GPD Win 2)

Open
#4,133 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
32.8k
Forks
1.6k
PR merge metrics
PR metrics pending

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the linked Gist and the reported GPD Win 2 setup, then reproduce resolution selection in Proton games with the display rotated. The issue names no source file, test, or entry point; done would mean rotated 720x1280 displays expose usable alternate resolutions and games can switch to them without crashing.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, operating-systems
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.