https://bugs.kde.org/show_bug.cgi?id=499934

--- Comment #38 from Zamundaaa <xaver.h...@gmail.com> ---
(In reply to evea from comment #35)
> I would be interested in how the mapping / Luminance curve adjustment is
> done, if you could point me to the relevant code and it isn't too much
> hassle.
For content that ends up in the capabilities of the screen, it's here:
https://invent.kde.org/plasma/kwin/-/blob/c188f5da7011a0380f846423c81686d3d9cbbe18/src/core/colorspace.cpp#L575

For when tone mapping is required, this algorithm is used:
https://invent.kde.org/plasma/kwin/-/blob/c188f5da7011a0380f846423c81686d3d9cbbe18/src/core/colorpipeline.cpp#L273
Don't necessarily take it as a reference of anything though, it's not the best
tone mapping curve and just what I got after a day or two of experimentation.

(In reply to Kitsuna from comment #36)
> So let me start off by saying that I am by no means a developer or a color
> expert, what I do know is that I had been using HDR quite happily on plasma
> for quite a few months on my OLED TV. I had not updated my KDE in a while
> just due to lack of time the computer would only come on for me to play some
> games with friends and then go right back off for another week or more. I
> finally decided to do updates today and now my HDR that was working
> perfectly and looked absolutely amazing suddenly makes my entire desktop
> look like the saturation has been turned down and everything is way too
> bright and washed out. No matter what I do to the sliders I cannot make it
> look good again, I can make it look less bad but no combination of the
> sliders has been able to return me to the absolute gorgeous and at least
> according to my cheap color calibrator quite accurate colors that I had.
That sounds in no way related to this bug report. Please create a separate bug
report about your issue, with measurements (follow the verification bit in
https://zamundaaa.github.io/wayland/2024/07/16/how-to-profile.html while HDR
mode is enabled vs. disabled to get some hopefully useful data)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to