Color gradients not smooth as with too low bit depth
Reported by
pm.mol...@gmail.com,
Apr 9 2018
|
|||||||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 Steps to reproduce the problem: 1. Start Chrome OS Medion AKOYA S2013 (Google_Veyron_Jaq.6588.197.0) 2. Look at the background of the login screen (or any other image/movie with a color gradient) What is the expected behavior? The gradient is smooth. What went wrong? The gradient is not smooth as can be seen on the attached picture (blue gradient). Did this work before? No Chrome version: 65.0.3325.209 Channel: n/a OS Version: 3.14.0 Flash Version: 29.0.0.113 This is the behavior as from the very beginning, when getting the device.
,
Apr 9 2018
,
Apr 10 2018
,
Apr 10 2018
To display smooth color gradient on a low bit depth device Chrome needs to apply so-called dithering. One notable example is madVR renderer for video players in Windows. Another one is DitherTools plugin for AviSynth.
,
Apr 10 2018
Is the monitor really a low bit depth device? I wouldn’t think it’s that bad.
,
Apr 10 2018
Indeed, dithering is helpful even on a good display (8+ real bits per RGB channel) as the artifact also depends on how close/similar the start & end colors are. The closer they are, the fewer gradations in each RGB channel would be used over the entire filled area so the banding will be much more obvious as we can observe on the attached photo.
,
Apr 13 2018
This sounds more like a feature request to add dithering for gradients on Chrome OS? cc'ing some CroS graphics people but I'm not sure if this is feasible.
,
Apr 13 2018
I see two possibilities here: - the 8 to 6 dithering that the rockchip display driver does broke at some point. If so we can fix the driver. - the Chrome-side blurring is generating banding, that would be UI's territory So first step is to figure out which one it is, I will make a build and see.
,
Apr 13 2018
Hw dithering is working fine on my jaq, so this is a UI thing. At first glance it seems like the blur effect on the background generates this banding. Over to Albert to triage.
,
Apr 13 2018
,
Apr 13 2018
Issue 769523 has been merged into this issue.
,
Apr 16 2018
Unfortunately I am unable to access issue 769523. Could it please be made public?
,
Apr 16 2018
Hi pm.molgen@, the issue in #11 has the same root cause mentioned in #8 and #9: Chrome-side blurring is generating banding.
,
Apr 16 2018
This should really be higher than P3 |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by pm.mol...@gmail.com
, Apr 9 2018