-
-
Notifications
You must be signed in to change notification settings - Fork 950
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Steam Deck Gamingmode fix #711
Steam Deck Gamingmode fix #711
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will also need to update the docs (i.e. Advanced Usage section).
I will try to find how to use a checkbox, but I think it's a bit more complicated.
I'm not sure if this is a suitable fix? There should be properties that can be queried to know the orientation. See |
@psyke83 I have removed the configuration option and instead do the width/height swap based on panel orientation. I have tested this on the steam deck and it works correctly. I can't test it on a regular landscape display because I'm an X11 peasant, but there isn't a reason to believe that would break. I'm not sure what to do with 90 and 270 as they require a flip to happen. Edit: I tested the landscape orientation by connecting the Deck to a monitor. Everything works fine. |
Description
Added a function to check panel orientation in kmsgrab and for the case when the orientation is 270 implemented swapping width and height. This change allows the Steam deck gamingmode to stream correctly.
Type of Change
.github/...
)Checklist
Branch Updates
LizardByte requires that branches be up-to-date before merging. This means that after any PR is merged, this branch
must be updated before it can be merged. You must also
Allow edits from maintainers.