From: bugzilla-daemon@freedesktop.org Subject: [Bug 110677] Can't invert screen colors by adjusting the gamma ramp Date: Tue, 14 May 2019 17:29:02 +0000 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1263899503==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 03661892FD for ; Tue, 14 May 2019 17:29:02 +0000 (UTC) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1263899503== Content-Type: multipart/alternative; boundary="15578549412.d0AF3ec3a.16713" Content-Transfer-Encoding: 7bit --15578549412.d0AF3ec3a.16713 Date: Tue, 14 May 2019 17:29:01 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D110677 --- Comment #7 from Nicholas Kazlauskas --- The issue is in the display driver. The driver does an sRGB degamma, CTM, then sRGB regamma + user regamma - wh= ich 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 co= lor 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. --=20 You are receiving this mail because: You are the assignee for the bug.= --15578549412.d0AF3ec3a.16713 Date: Tue, 14 May 2019 17:29:01 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated


You are receiving this mail because:
  • You are the assignee for the bug.
= --15578549412.d0AF3ec3a.16713-- --===============1263899503== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVs --===============1263899503==--