Summary: | Screen Recordings with HDR Turned On are Washed Out | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Dashon <dashonwwIII> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | dashonwwIII, nate, xaver.hugl |
Priority: | NOR | Keywords: | qt6 |
Version First Reported In: | 5.92.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
Screen recordign with hdr on
Screen recording with hdr off Spectacle Screen Recording |
Description
Dashon
2024-01-30 20:05:17 UTC
Created attachment 165365 [details]
Screen recordign with hdr on
Created attachment 165366 [details]
Screen recording with hdr off
Does the same issue affect Task Manager window thumbnails? (In reply to Nate Graham from comment #3) > Does the same issue affect Task Manager window thumbnails? Yes, they look to be effected too. > I don't know if this problem is supposed to be solved by plasma or if the screen recorders are supposed to take HDR into account or if the video player is supposed to take it into account or what There's no API for screen capture with HDR yet, so KWin converts the frames to sRGB before sending it to the application to make the result be usable. > I tested with both pipewire as well as gpu screen recorder It's expected that this does not work with gpu screen recorder, as it does not use any of our APIs but instead abuses KMS for screen recording, which is not and cannot be supported by us. It should work correctly through the screen casting portal because KWin is doing the mentioned conversions there; and that does work correctly on my PC with OBS. What app did you use to record the videos you attached? (In reply to Zamundaaa from comment #5) > > I don't know if this problem is supposed to be solved by plasma or if the screen recorders are supposed to take HDR into account or if the video player is supposed to take it into account or what > There's no API for screen capture with HDR yet, so KWin converts the frames > to sRGB before sending it to the application to make the result be usable. > > > I tested with both pipewire as well as gpu screen recorder > It's expected that this does not work with gpu screen recorder, as it does > not use any of our APIs but instead abuses KMS for screen recording, which > is not and cannot be supported by us. It should work correctly through the > screen casting portal because KWin is doing the mentioned conversions there; > and that does work correctly on my PC with OBS. > > What app did you use to record the videos you attached? The one's I uploaded were done with gpu screen recorder, but I also took some recordings with spectacle which too my knowledge use pipewire. I will upload that video now. Created attachment 165371 [details]
Spectacle Screen Recording
(In reply to Zamundaaa from comment #5) > > I don't know if this problem is supposed to be solved by plasma or if the screen recorders are supposed to take HDR into account or if the video player is supposed to take it into account or what > There's no API for screen capture with HDR yet, so KWin converts the frames > to sRGB before sending it to the application to make the result be usable. > > > I tested with both pipewire as well as gpu screen recorder > It's expected that this does not work with gpu screen recorder, as it does > not use any of our APIs but instead abuses KMS for screen recording, which > is not and cannot be supported by us. It should work correctly through the > screen casting portal because KWin is doing the mentioned conversions there; > and that does work correctly on my PC with OBS. > > What app did you use to record the videos you attached? I'll download obs and try with that now. Spectacle does go through at least mostly the same APIs as OBS, and it too works correctly on my PC. Do screenshots look correct for you? (In reply to Zamundaaa from comment #9) > Spectacle does go through at least mostly the same APIs as OBS, and it too > works correctly on my PC. > Do screenshots look correct for you? Alright, after playing around with both obs and spectacle for a while. Here is what works. Screenshots work fine. Screen recording with spectacle works fine if I choose rectangular region, but not if I choose full screen. If I choose window, the colors are right, but the video is upside down. That is what gives me the video I attached before. Obs has a similar issue. Trying to choose any specific monitor results in nothing but a black screen, but choosing full workspace works fine. This could be a packaging issue on the arch side though since I am using the kde-unstable repository for my testing. This issue seems to have been resolved after updating to RC2, so I'll close it. That explains why I couldn't reproduce the problem (on git master). Thanks for following up on this! |