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

Issue 840010: Text antialiasing lost on Windows (possibly other glitches)

Reported by 93m4qau...@gmail.com, May 4 2018

Issue description

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3419.0 Safari/537.36

Steps to reproduce the problem:
1. Download the latest Chromium build from download-chromium.appspot.com.
2. Extract the ZIP file downloaded.
3. Run Chromium.

What is the expected behavior?
Fonts render normally.

What went wrong?
Font rendering is all messed up. A picture is worth a thousand words; see the attached screenshots.

Did this work before? Yes 68.0.3419.0 (the current canary)

Chrome version: 68.0.3421.0  Channel: n/a
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
Flash Version: 

Also, while on the Chromium site, the tab suddenly crashed. Since Chromium doesn't automatically report its crashes, I have attached the crash report file manually.
 
Font rendering on version page.png
120 KB View Download
Font rendering on chromium.png
118 KB View Download
14ca243e-702a-4d7a-908d-12a51fd9d65a.dmp
705 KB Download

Comment 1 by 93m4qau...@gmail.com, May 4 2018

Another crash, in case it's relevant anyhow.
c9aaadd4-cd0f-4f0c-a067-371078dc4142.dmp
541 KB Download

Comment 2 by woxxom@gmail.com, May 5 2018

Bisect info: 556178 (good) - 556188 (bad)
https://chromium.googlesource.com/chromium/src/+log/9ddd9569..b2243494?pretty=fuller
Suspecting 2f276c3b1588be8db84e1a7f7a3b2617f63ea0e6 "Roll src/third_party/skia/ 05cfcff70..b9a1e688f (15 commits)"
Landed in 68.0.3421.0

Comment 3 by woxxom@gmail.com, May 5 2018

Meanwhile you can "fix" it temporarily by disabling chrome://flags/#enable-gpu-rasterization

Comment 4 by qwer1...@gmail.com, May 5 2018

The "fix" helps just a bit; for example, text in omnibox is still screwed up.

Comment 5 by qgalli...@gmail.com, May 5 2018

I had the same issue, upgrading my Nvidia driver fixed this

Comment 6 by luzar.da...@gmail.com, May 5 2018

Can confirm that disabling gpu rasterization fixes most, but not all rendering issues. Particularly first characters in HTMLElements tend to render incorrectly.

Comment 7 by woxxom@gmail.com, May 5 2018

Updating display drivers didn't change anything for me.
The bug probably manifests differently depending on hardware.

chrome://gpu is different for "Driver Vulkan API version":
r556176: Vulkan API 1.1.0
r556188: Not supported
r556176-gpu-log.txt
10.8 KB View Download
r556188-gpu-log.txt
10.6 KB View Download

Comment 8 by 93m4qau...@gmail.com, May 5 2018

Blanking out.png
1.2 MB View Download
Only some letters displaying.png
10.8 KB View Download
Randomly missing letters.png
20.6 KB View Download
Tab Strip Rendering.png
1001 bytes View Download

Comment 9 by cnardi@chromium.org, May 5 2018

 Issue 840109  has been merged into this issue.

Comment 10 by cnardi@chromium.org, May 5 2018

 Issue 840100  has been merged into this issue.

Comment 11 by cnardi@chromium.org, May 5 2018

Components: -UI Internals>Skia
Labels: -Pri-2 ReleaseBlock-Dev Pri-1
Status: Untriaged (was: Unconfirmed)

Comment 12 by cnardi@chromium.org, May 5 2018

Labels: M-68

Comment 13 by 93m4qau...@gmail.com, May 5 2018

Crashed 3fec50b0dd999869 and 539b8cec4e76dcf8. Not sure if this is relevant.

Comment 14 by 93m4qau...@gmail.com, May 5 2018

With GPU rasterization disabled, pages aren't blanking out anymore, but the fonts are still messed up.
Font rendering.png
3.1 KB View Download
Gmail text.png
7.1 KB View Download

Comment 15 by r3wt...@gmail.com, May 6 2018

aw snap
Capture4.PNG
75.4 KB View Download

Comment 16 by qwer1...@gmail.com, May 6 2018

Still broken in Chrome Version 68.0.3422.0 (Official Build) canary (64-bit)

Comment 17 by woxxom@gmail.com, May 6 2018

Duh, of course it's still broken. Developers don't work on weekends. When the fix lands you'll see a message generated by the commit bot. Don't get your hopes high though, it may take a week or two.

Comment 18 by cnardi@chromium.org, May 6 2018

 Issue 840146  has been merged into this issue.

Comment 19 by r3wt...@gmail.com, May 6 2018

please fix this!!!

Comment 20 by kunalkap...@gmail.com, May 6 2018

The problem got much much better once I updated my NVIDIA display driver to the latest version (397.31 release date: 04/25/2018).

I still see flickering fonts when typing though.

Comment 21 by xuhaiyan...@gmail.com, May 6 2018

Can reproduce on Windows 10 1709. 
The font looks really weird and sometimes some characters fail to render. When character fail to render and you try to select the text, the tab crashes.

Comment 22 by jakub.r....@gmail.com, May 6 2018

Can confirm this happens on newest canary. My version:
Version 68.0.3422.0 (Official Build) canary (64-bit)

On newest Chrome everything seems to be working fine. My version:
Version 66.0.3359.139 (Official Build) (64-bit)

Comment 23 by sidboymo...@gmail.com, May 6 2018

That bug happens with Intel HD Graphics and Nvidia.

Comment 24 by tapted@chromium.org, May 7 2018

Cc: herb@google.com brianosman@chromium.org mtklein@chromium.org reed@chromium.org
Owner: bunge...@chromium.org
Summary: Text antialiasing lost on Windows (possibly other glitches) (was: Font rendering is messed up)
bungeman: can you take a look?

An internal bisect confirms this is the Skia roll. And "Avoid drawing BW clipped color glyphs many times." is my best guess.

Revision 556183 is [(g)ood/(b)ad/(r)etry/(u)nknown/(s)tdout/(q)uit]: g
You are probably looking for a change made after 556183 (known good), but no later than 556184 (first known bad).
CHANGELOG URL:
The script might not always return single CL as suspect as some perf builds might get missing due to failure.
  https://chromium.googlesource.com/chromium/src/+log/1e17675341b6296ee83b34c2b4ebe094c7d07907..2f276c3b1588be8db84e1a7f7a3b2617f63ea0e6

Which is https://skia.googlesource.com/skia.git/+log/05cfcff70ced..b9a1e688fd9c

Possibilities
 - herb - https://skia-review.googlesource.com/125341 (removed an initializer for SkGlyph::fForceBW -- https://skia-review.googlesource.com/c/skia/+/125341/4/src/core/SkGlyph.cpp )
 - mtklein - https://skia-review.googlesource.com/126002 ("Don't use getDeviceClipBounds() to bound pic ops." - [proper AA relies on detecting the background properly - maybe some weird interaction is happening])
 - bungeman - https://skia-review.googlesource.com/125868 - "Avoid drawing BW clipped color glyphs many times."

The others in the bisect seem less likely. Full list:

https://skia.googlesource.com/skia.git/+/b9a1e68 Respect SkBitmapDeviceFilteredSurfaceProps in SkThreadedBMPDevice by Yuqian Li · 2 days ago
https://skia.googlesource.com/skia.git/+/e99a4b1 [infra] Move GCE tasks to smaller/larger VMs. by Ben Wagner · 2 days ago
https://skia.googlesource.com/skia.git/+/cb13935 Allow finer rotation in Viewer app. by Ben Wagner · 2 days ago
https://skia.googlesource.com/skia.git/+/d4e735a Revert "Fix a bug in SkGpuBlurUtils::GaussianBlur (take 2)" by Robert Phillips · 2 days ago
https://skia.googlesource.com/skia.git/+/91840ab Remove unused SK_DISABLE_ARC_TO_LINE_TO_CHECK build flag by Brian Salomon · 2 days ago
https://skia.googlesource.com/skia.git/+/4ede56b Remove could not invert matrix SkDebugfs by Brian Salomon · 2 days ago
https://skia.googlesource.com/skia.git/+/738b80d Don't use getDeviceClipBounds() to bound pic ops. by Mike Klein · 2 days ago
https://skia.googlesource.com/skia.git/+/5570ea0 Remove android specific code by Herb Derby · 2 days ago
https://skia.googlesource.com/skia.git/+/bba38ee Avoid drawing BW clipped color glyphs many times. by Ben Wagner · 2 days ago
https://skia.googlesource.com/skia.git/+/87ccf33 [skottie] Disable on Android Framework builds by Florin Malita · 2 days ago
https://skia.googlesource.com/skia.git/+/b702316 [recipes] Remove core.setup() by Eric Boren · 2 days ago
https://skia.googlesource.com/skia.git/+/bd66caa Make degenerate kernel in fill_in_2D_gaussian_kernel sum to 1 by Robert Phillips · 2 days ago
https://skia.googlesource.com/skia.git/+/72de745 Fix a bug in SkGpuBlurUtils::GaussianBlur (take 2) by Robert Phillips · 2 days ago
https://skia.googlesource.com/skia.git/+/d286aa7 Revert "Reland "remove obsolete color defines"" by Cary Clark · 2 days ago
https://skia.googlesource.com/skia.git/+/ec54539 Make RenderDoc work automatically with GLX viewer by Brian Salomon · 2 days ago


I suppose bd66caa, 91840ab or b9a1e68 are remote possibilities.

Comment 25 by wudichao.cn@gmail.com, May 7 2018

revert nvidia driver to early version fixed the problem for a while but after restart, it comes back

Comment 26 by tapted@chromium.org, May 7 2018

 Issue 840210  has been merged into this issue.

Comment 27 by tapted@chromium.org, May 7 2018

Cc: robertph...@google.com
Labels: -Pri-1 Pri-0
Note the text in the profile menu is glitching in a slightly different way. That text uses a blur/shadow, which also suggests https://skia.googlesource.com/skia.git/+/bd66caa
profile_text.png
1.0 KB View Download

Comment 28 by tapted@chromium.org, May 7 2018

Cc: bunge...@chromium.org
Owner: herb@chromium.org
Status: Assigned (was: Untriaged)
Reverting
 https://skia.googlesource.com/skia.git/+/5570ea0 Remove android specific code by Herb Derby · 2 days ago

fixes this for me.

So I guess it's that initializer...

Comment 29 by ksakamoto@chromium.org, May 7 2018

Chromium sheriff here.
That skia roll also caused a lot of layout test failures on windows:

https://ci.chromium.org/buildbot/chromium.webkit/WebKit%20Win7/63854
https://ci.chromium.org/buildbot/chromium.webkit/WebKit%20Win10/34481
https://ci.chromium.org/p/chromium/builders/luci.chromium.ci/Win7%20Tests%20%28dbg%29%281%29/68856
(see "layout_test_results" link)

I'm going to revert the skia roll.

Comment 30 by bugdroid1@chromium.org, May 7 2018

Project Member
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/672cc57f93fb23198daf242d123fb4686f47dbe9

commit 672cc57f93fb23198daf242d123fb4686f47dbe9
Author: Kunihiko Sakamoto <ksakamoto@chromium.org>
Date: Mon May 07 06:06:24 2018

Revert "Roll src/third_party/skia/ 05cfcff70..b9a1e688f (15 commits)"

This reverts commit 2f276c3b1588be8db84e1a7f7a3b2617f63ea0e6.

Reason for revert: Caused text rendering regression in Windows.  crbug.com/840010 

Original change's description:
> Roll src/third_party/skia/ 05cfcff70..b9a1e688f (15 commits)
> 
> https://skia.googlesource.com/skia.git/+log/05cfcff70ced..b9a1e688fd9c
> 
> $ git log 05cfcff70..b9a1e688f --date=short --no-merges --format='%ad %ae %s'
> 2018-05-04 liyuqian Respect SkBitmapDeviceFilteredSurfaceProps in SkThreadedBMPDevice
> 2018-05-04 benjaminwagner [infra] Move GCE tasks to smaller/larger VMs.
> 2018-05-04 bungeman Allow finer rotation in Viewer app.
> 2018-05-04 robertphillips Revert "Fix a bug in SkGpuBlurUtils::GaussianBlur (take 2)"
> 2018-05-04 bsalomon Remove unused SK_DISABLE_ARC_TO_LINE_TO_CHECK build flag
> 2018-05-04 bsalomon Remove could not invert matrix SkDebugfs
> 2018-05-04 mtklein Don't use getDeviceClipBounds() to bound pic ops.
> 2018-05-02 herb Remove android specific code
> 2018-05-04 bungeman Avoid drawing BW clipped color glyphs many times.
> 2018-05-04 fmalita [skottie] Disable on Android Framework builds
> 2018-05-04 borenet [recipes] Remove core.setup()
> 2018-05-04 robertphillips Make degenerate kernel in fill_in_2D_gaussian_kernel sum to 1
> 2018-05-04 robertphillips Fix a bug in SkGpuBlurUtils::GaussianBlur (take 2)
> 2018-05-04 caryclark Revert "Reland "remove obsolete color defines""
> 2018-05-04 bsalomon Make RenderDoc work automatically with GLX viewer
> 
> Created with:
>   roll-dep src/third_party/skia
> BUG= chromium:836113 
> 
> 
> The AutoRoll server is located here: https://autoroll.skia.org
> 
> Documentation for the AutoRoller is here:
> https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
> 
> If the roll is causing failures, please contact the current sheriff, who should
> be CC'd on the roll, and stop the roller if necessary.
> 
> 
> CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
> TBR=brianosman@chromium.org
> 
> Change-Id: Ia3664eaddce0f59e7cb22413152bbe6375884eec
> Reviewed-on: https://chromium-review.googlesource.com/1044782
> Commit-Queue: skia-chromium-autoroll <skia-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
> Reviewed-by: skia-chromium-autoroll <skia-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
> Cr-Commit-Position: refs/heads/master@{#556184}

TBR=brianosman@google.com,skia-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug:  chromium:836113 , chromium:840010 
Change-Id: Id9ab44b4ffe8b7bc3f3b267d2f27a732d97f5161
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Reviewed-on: https://chromium-review.googlesource.com/1046286
Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Commit-Position: refs/heads/master@{#556381}
[modify] https://crrev.com/672cc57f93fb23198daf242d123fb4686f47dbe9/DEPS

Comment 31 by rp...@etouch.net, May 7 2018

Update :
Rechecked the above issue on Windows (7,8,8.1,10) OS using latest Canary #68.0.3423.0 and the issue is still reproducible. Kindly refer the attached screen cast for reference.

Thank you.
Actual_canary_behavior_68.0.3423.0.mp4
519 KB View Download

Comment 32 by ajha@chromium.org, May 7 2018

Cc: abdulsyed@chromium.org ligim...@chromium.org
Labels: RegressedIn-68 FoundIn-68 Target-68

Comment 33 by woxxom@gmail.com, May 7 2018

3423 is based on r556364 so it doesn't have the fix. I guess it'll be released in Canary 68.0.3424.0

Comment 34 by melodychu@chromium.org, May 7 2018

Labels: Hotlist-ConOps

Comment 35 by easyride...@gmail.com, May 7 2018

Started yesterday for me, bug only on CANARY version. 

Standard chrome works fine.
Canary1.PNG
9.8 KB View Download
Canary2.PNG
7.5 KB View Download
Canary3.PNG
57.2 KB View Download

Comment 36 by bokan@chromium.org, May 7 2018

Cc: bokan@chromium.org
 Issue 840237  has been merged into this issue.

Comment 37 by nyerramilli@chromium.org, May 7 2018

Cc: nyerramilli@chromium.org borenet@chromium.org rbasuvula@chromium.org
 Issue 840232  has been merged into this issue.

Comment 38 by nyerramilli@chromium.org, May 7 2018

 Issue 840233  has been merged into this issue.

Comment 39 by waff...@chromium.org, May 7 2018

 Issue 840296  has been merged into this issue.

Comment 40 by bugdroid1@chromium.org, May 7 2018

Project Member
Labels: merge-merged-3423
The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/b5ee938a5cf9359aadec8f88353b0d838b7c495b

commit b5ee938a5cf9359aadec8f88353b0d838b7c495b
Author: Kunihiko Sakamoto <ksakamoto@chromium.org>
Date: Mon May 07 15:43:27 2018

Revert "Roll src/third_party/skia/ 05cfcff70..b9a1e688f (15 commits)"

This reverts commit 2f276c3b1588be8db84e1a7f7a3b2617f63ea0e6.

Reason for revert: Caused text rendering regression in Windows.  crbug.com/840010 

Original change's description:
> Roll src/third_party/skia/ 05cfcff70..b9a1e688f (15 commits)
> 
> https://skia.googlesource.com/skia.git/+log/05cfcff70ced..b9a1e688fd9c
> 
> $ git log 05cfcff70..b9a1e688f --date=short --no-merges --format='%ad %ae %s'
> 2018-05-04 liyuqian Respect SkBitmapDeviceFilteredSurfaceProps in SkThreadedBMPDevice
> 2018-05-04 benjaminwagner [infra] Move GCE tasks to smaller/larger VMs.
> 2018-05-04 bungeman Allow finer rotation in Viewer app.
> 2018-05-04 robertphillips Revert "Fix a bug in SkGpuBlurUtils::GaussianBlur (take 2)"
> 2018-05-04 bsalomon Remove unused SK_DISABLE_ARC_TO_LINE_TO_CHECK build flag
> 2018-05-04 bsalomon Remove could not invert matrix SkDebugfs
> 2018-05-04 mtklein Don't use getDeviceClipBounds() to bound pic ops.
> 2018-05-02 herb Remove android specific code
> 2018-05-04 bungeman Avoid drawing BW clipped color glyphs many times.
> 2018-05-04 fmalita [skottie] Disable on Android Framework builds
> 2018-05-04 borenet [recipes] Remove core.setup()
> 2018-05-04 robertphillips Make degenerate kernel in fill_in_2D_gaussian_kernel sum to 1
> 2018-05-04 robertphillips Fix a bug in SkGpuBlurUtils::GaussianBlur (take 2)
> 2018-05-04 caryclark Revert "Reland "remove obsolete color defines""
> 2018-05-04 bsalomon Make RenderDoc work automatically with GLX viewer
> 
> Created with:
>   roll-dep src/third_party/skia
> BUG= chromium:836113 
> 
> 
> The AutoRoll server is located here: https://autoroll.skia.org
> 
> Documentation for the AutoRoller is here:
> https://skia.googlesource.com/buildbot/+/master/autoroll/README.md
> 
> If the roll is causing failures, please contact the current sheriff, who should
> be CC'd on the roll, and stop the roller if necessary.
> 
> 
> CQ_INCLUDE_TRYBOTS=master.tryserver.blink:linux_trusty_blink_rel;luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
> TBR=brianosman@chromium.org
> 
> Change-Id: Ia3664eaddce0f59e7cb22413152bbe6375884eec
> Reviewed-on: https://chromium-review.googlesource.com/1044782
> Commit-Queue: skia-chromium-autoroll <skia-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
> Reviewed-by: skia-chromium-autoroll <skia-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com>
> Cr-Commit-Position: refs/heads/master@{#556184}

TBR=brianosman@google.com,skia-chromium-autoroll@skia-buildbots.google.com.iam.gserviceaccount.com

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug:  chromium:836113 , chromium:840010 
Change-Id: Id9ab44b4ffe8b7bc3f3b267d2f27a732d97f5161
Cq-Include-Trybots: master.tryserver.blink:linux_trusty_blink_rel;luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Reviewed-on: https://chromium-review.googlesource.com/1046286
Commit-Queue: Kunihiko Sakamoto <ksakamoto@chromium.org>
Reviewed-by: Kunihiko Sakamoto <ksakamoto@chromium.org>
Cr-Original-Commit-Position: refs/heads/master@{#556381}(cherry picked from commit 672cc57f93fb23198daf242d123fb4686f47dbe9)
Reviewed-on: https://chromium-review.googlesource.com/1047485
Reviewed-by: Abdul Syed <abdulsyed@google.com>
Cr-Commit-Position: refs/branch-heads/3423@{#3}
Cr-Branched-From: 1ffee34835ac6f797de3d6e7f2160006059252c0-refs/heads/master@{#556364}
[modify] https://crrev.com/b5ee938a5cf9359aadec8f88353b0d838b7c495b/DEPS

Comment 41 by kojii@chromium.org, May 7 2018

Cc: e...@chromium.org drott@chromium.org
 Issue 840228  has been merged into this issue.

Comment 42 by ligim...@chromium.org, May 7 2018

 Issue 840392  has been merged into this issue.

Comment 43 by joe8...@gmail.com, May 7 2018

Issue resolved in Chromium 68.0.3424.0 (#556381).

Comment 44 by luca.federico@gmail.com, May 7 2018

Issue not solved in Chromium 68.0.3424.0

Issue solved in Chromium 68.0.3423.2

Comment 45 by rpop@chromium.org, May 7 2018

Cc: bsep@chromium.org kylixrd@chromium.org markchang@chromium.org pkasting@chromium.org
 Issue 840438  has been merged into this issue.

Comment 46 by abdulsyed@chromium.org, May 7 2018

This should be now fixed in 68.0.3423.2.

Comment 47 by brianosman@chromium.org, May 7 2018

Cc: -brianosman@chromium.org

Comment 48 by ligim...@chromium.org, May 7 2018

Labels: TE-Verified-68.0.3423.2
Fixed in latest canary- 68.0.3423.2 (Official Build) canary (64-bit)

Comment 49 by 93m4qau...@gmail.com, May 7 2018

Can confirm that this is fixed in 68.0.3423.2 canary.

Comment 50 by kunalkap...@gmail.com, May 8 2018

Can confirm fixed in 3423.2.

Comment 51 by susan.boorgula@chromium.org, May 8 2018

 Issue 840291  has been merged into this issue.

Comment 52 by krajshree@chromium.org, May 8 2018

 Issue 840430  has been merged into this issue.

Comment 53 by drott@chromium.org, May 9 2018

Cc: cnardi@chromium.org sandeepkumars@chromium.org pnangunoori@chromium.org
 Issue 829163  has been merged into this issue.

Comment 54 by hcm@chromium.org, May 10 2018

Status: Fixed (was: Assigned)
Change was reverted and we've had several tests verify.

Comment 55 by r3wt...@gmail.com, May 10 2018

thank you chromium team. fix is working good

Comment 56 by e...@chromium.org, May 10 2018

Status: Verified (was: Fixed)
Thanks for verifying r3wt777.

Sign in to add a comment