ValveSoftware/gamescope
Auf GitHub ansehenMake KMS "rotation" prop optional for non-libliftoff codepath
Open
#252 geöffnet am 3. Sept. 2021
embeddedgood first issue
Repository-Metriken
- Stars
- (4.809 Stars)
- PR-Merge-Metriken
- (PR-Metriken ausstehend)
Beschreibung
Commit https://github.com/Plagman/gamescope/commit/8782dc2cd110ef169e7d5abf5e40c94763bf7a05 made the KMS "rotation" property mandatory. However some drivers don't support it: https://drmdb.emersion.fr/properties/4008636142/rotation
libliftoff can deal with this already: https://github.com/emersion/libliftoff/blob/bc0d0617acdd48e69272771237cad2684c07c901/plane.c#L245
However the "basic" codepath doesn't have this fallback.
- If the "rotation" prop exists, set it.
- If gamescope is rotated but the "rotation" prop doesn't exist, error out.
- If gamescope is not rotated and the "rotation" prop doesn't exist, ignore.