script: Lenovo Legion Go display configuration #1573
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Add support for the Lenovo Legion Go handheld, which features a rotated 1600x2560 panel that reports 60hz and 144hz in the EDID. VRR and HDR are not supported, and only one panel model is known to be in use.
Starting with every integer between 60hz and 144hz, valid refresh rates for the panel were tested one-by-one in two games:
With dynamic modegen, the range of valid refresh rates can be expanded to 60hz + 125hz -> 144hz, offering more frame limit notches in the lower range of the Steam UI unified slider. This new range is what was used for further validation across several units.
Linux setups tested include:
Games tested with the new range include:
All games tested were able to run with the slider behaving like SteamOS on a Steam Deck LCD when modesetting and maintaining a frame limit.
At this point further validation would be welcome on additional machines, but the configuration has proven stable thus far.
To read up on the new config system that makes all this possible, as well as some general words of warning, you can refer to the readme in the scripts folder and the existing display configurations:
https://github.com/ValveSoftware/gamescope/blob/master/scripts/README.md
A full Steam System Report from gamescope-session on my unit is available for reference:
https://gist.github.com/matte-schwartz/e7723214478de5122216874621bc22d2