New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 830545 link

Starred by 6 users

Issue metadata

Status: Assigned
Owner:
Last visit > 30 days ago
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Feature



Sign in to add a comment

Color gradients not smooth as with too low bit depth

Reported by pm.mol...@gmail.com, Apr 9 2018

Issue description

UserAgent: 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.
 
20180409_125858.jpg
1.7 MB View Download
Please assign this to Chromium/Chrome OS. Unfortunately, this cannot be chosen at https://crbug.com.
Labels: -OS-Linux OS-Chrome
Components: Internals>GPU

Comment 4 by woxxom@gmail.com, 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.

Comment 5 by pm.mol...@gmail.com, Apr 10 2018

Is the monitor really a low bit depth device? I wouldn’t think it’s that bad.

Comment 6 by woxxom@gmail.com, 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. 
Cc: dcasta...@chromium.org marc...@chromium.org reve...@chromium.org
Labels: -Type-Bug -Pri-2 Pri-3 Type-Feature
Status: Untriaged (was: Unconfirmed)
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.
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.
Owner: abodenha@chromium.org
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.
Cc: wutao@chromium.org
Owner: reve...@chromium.org
Status: Assigned (was: Untriaged)

Comment 11 by wutao@chromium.org, Apr 13 2018

Issue 769523 has been merged into this issue.
Unfortunately I am unable to access issue 769523. Could it please be made public?

Comment 13 by wutao@chromium.org, 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.
Labels: -Pri-3 Pri-2
This should really be higher than P3

Sign in to add a comment