ValveSoftware/gamescope
在 GitHub 查看Make KMS "rotation" prop optional for non-libliftoff codepath
Open
#252 建立於 2021年9月3日
embeddedgood first issue
倉庫指標
- Star
- (4,809 star)
- PR 合併指標
- (PR 指標待抓取)
描述
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.