fix(linux/pipewire): Add 10-bit RGB formats with 2-bit Alpha to format_map#5088
fix(linux/pipewire): Add 10-bit RGB formats with 2-bit Alpha to format_map#5088flibitijibibo wants to merge 1 commit into
Conversation
|
I'm lacking the necessary HDR hardware but after testing at least I can't see any regressions for SDR with this applied. Maybe @garnacho or someone else can comment on HDR? Otherwise this change is looking good to me. |
|
Bundle ReportBundle size has no change ✅ |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #5088 +/- ##
==========================================
- Coverage 17.86% 17.83% -0.03%
==========================================
Files 111 111
Lines 24005 24005
Branches 10619 10619
==========================================
- Hits 4289 4282 -7
+ Misses 18169 15542 -2627
- Partials 1547 4181 +2634
Flags with carried forward coverage won't be shown. Click here to find out more.
... and 50 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|



Description
The current PipeWire implementation only checks for xBGR2101010 - this isn't always advertised however; KWin for example may only expose formats with alpha:
https://invent.kde.org/plasma/kwin/-/merge_requests/8293/diffs#7390a641bee8f53acd66ba70f27e53b223cfaa18_88_84
With some fixes to the KWin MR, this allows HDR streaming to work with portalgrab:
Screenshot
Issues Fixed or Closed
Roadmap Issues
Type of Change
Checklist
AI Usage