[Bug 110677] Can't invert screen colors by adjusting the gamma ramp

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue May 14 17:29:02 UTC 2019


https://bugs.freedesktop.org/show_bug.cgi?id=110677

--- Comment #7 from Nicholas Kazlauskas <nicholas.kazlauskas at amd.com> ---
The issue is in the display driver.

The driver does an sRGB degamma, CTM, then sRGB regamma + user regamma - which
explains why the screen is mostly white (since the curve is inverse).

If the the degamma block was put into linear bypass and the user regamma was
applied directly to the regamma block that should give the correct result.

Not sure if mapping the legacy gamma to the full LUT would break any IGT color
or standard X11 gamma operations.

I do have some changes that fix this kind of operation for atomic userspace but
I'd have to take a look at the legacy one again to know if this is easy to
support or not.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20190514/607fabd3/attachment.html>


More information about the dri-devel mailing list