https://bugs.kde.org/show_bug.cgi?id=519940
Zamundaaa <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|ASSIGNED |RESOLVED Latest Commit| |https://invent.kde.org/plas | |ma/kwin/-/commit/58f3a46457 | |cea7e2b92ee5316aab7ec3a365e | |1da --- Comment #7 from Zamundaaa <[email protected]> --- Git commit 58f3a46457cea7e2b92ee5316aab7ec3a365e1da by Xaver Hugl. Committed on 16/06/2026 at 13:53. Pushed by zamundaaa into branch 'master'. backends/drm: work around implicit sRGB transfer function with legacy gamma According to amdgpu code, there is an implicit and otherwise apparently undocumented assumption made by legacy drm API: The gamma lut is applied in "linear space", iow the driver or hardware applies the piece-wise sRGB (inverse) transfer function before and after the LUT. To work around that legacy API quirk, un-do that transformation in our own LUT. To avoid regressions on i915, which does not seem to follow this rule, this is only done on amdgpu and nouveau. M +9 -0 src/backends/drm/drm_pipeline_legacy.cpp M +12 -0 src/core/drmdevice.cpp M +4 -0 src/core/drmdevice.h https://invent.kde.org/plasma/kwin/-/commit/58f3a46457cea7e2b92ee5316aab7ec3a365e1da -- You are receiving this mail because: You are watching all bug changes.
