Revert "linux-pipewire: Fix 10- and 16-bit captures"#12422
Conversation
|
Merging this would break capturing normal SDR 10-bit and 16-bit with pipewire. Why should this be merged? |
#11207 has secondary effect that are considered regressions in 31.1. Unfortunately, I don't think easily fixing with a few lines of code is possible. So revert has to be considered. |
I disagree. Take a look at Next, take a look at From my understanding, an image is non-linear only if it's either using a 10-bit format, or HDR PQ/HLG color space. HDR isn't supported, so the only check that needs to be done is checking for a 10-bit color format.
Have you considered my branch posted in the original issue? On my machine, this fixes all the issues reported and I would like testing on compositors with hardware cursor support (as NVIDIA and hardware cursors don't really do well together). I can open a pull request right away, or wait for you or other people to test this. Just let me know! Of course I totally understand why a revert is appropriate as well. |
This is not used by the ScreenCast portal code, this is for the Camera one. |
I missed it. You should open a PR that as an alternative fix for the mentioned issue to attract more eyes, if you wish to go on that journey. |
RytoEX
left a comment
There was a problem hiding this comment.
Does this chunk not need to be reverted?
4dfd0b3#diff-17471d738678ee9da05aa5f7e85201218d673609366b23cf07ddca571fd28ba7L794-R797
Contemplating if this should just be a clean revert.
bc4c501 to
f4b8b29
Compare
This reverts commit 4dfd0b3. Also adds a FIXME comment.
f4b8b29 to
224ca18
Compare
|
I somehow forgot to keep that part in the revert. |
Description
Fixes #12412
This reverts commit 4dfd0b3.
Also adds a FIXME comment.
Motivation and Context
#11207 generated issues on SDR users.
And the PR itself tries to handle color space the wrong way, the portal implementation should provide a node with PipeWire colorimetry info in its formats for OBS Studio to handle textures correctly.
How Has This Been Tested?
Types of changes
Checklist: