最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Canvas in Google Chrome 61.0.3163.79 are too slow on Linux - Stack Overflow

programmeradmin2浏览0评论

I recently updated Google Chrome to the 61.0.3163.79 version and it was suddenly very slow with canvas. This issue only appears on Linux.

For exemple, .js/ was 60 FPS before the Chrome update, and now it run at 2 FPS.

What's wrong with the new Google Chrome update ?

P.S: Chromium 61.0.3163.79 works fine on my computer.

I recently updated Google Chrome to the 61.0.3163.79 version and it was suddenly very slow with canvas. This issue only appears on Linux.

For exemple, http://vincentgarreau.com/particles.js/ was 60 FPS before the Chrome update, and now it run at 2 FPS.

What's wrong with the new Google Chrome update ?

P.S: Chromium 61.0.3163.79 works fine on my computer.

Share Improve this question asked Sep 8, 2017 at 11:30 B. BranchardB. Branchard 8551 gold badge11 silver badges21 bronze badges 3
  • "Linux" is a very broad term. I think it would help a lot if you specify the Distributions and their Versions. – Filnor Commented Sep 8, 2017 at 11:59
  • Works for me ;-) Have you tried restarting Chrome, and/or your machine? Does about:gpu indicate anything's wrong? Have there been any other package updates at the same time? – jmrk Commented Sep 8, 2017 at 17:51
  • This issue also appears on Windows to me. And the accepted answer also worked. – rodrigocfd Commented Oct 8, 2017 at 13:35
Add a comment  | 

4 Answers 4

Reset to default 14

I found workaround. After upgrade Chrome to 61 version I faced same experience with you.

Try adjust following chrome flag to Disabled.

chrome://flags/#enable-color-correct-rendering

I expect Default flag have different means with before 61 version. Below the result is in my case on attached url from you.

  • Default - 5 fps

  • Disabled - 35 fps

I wish this help you.

The enable-color-correct-rendering flag does not exist after upgrade to Chromium 62.

Fortunately the slowness disappeared after setting flag chrome://flags/#force-color-profile to sRGB as mentioned on google forums

Tested on Chromium 62.0.3202.75, 64-bit, Linux

The solution for me was disabling Use hardware acceleration when available setting:

Chrome menu > Settings > Show advanced settings > Scroll down to "System" > Uncheck "Use hardware acceleration when available"

Source


I had the same problem with Version 69.0.3497.81 (Official Build) (64-bit).

I tried all already proposed combinations of enabling/disabling features from chrome://flags. But they didn't work for me.

To me helped enabling of these 2 flags:

  • chrome://flags/#ignore-gpu-blacklist
  • chrome://flags/#enable-draw-occlusion

Improved performance of canvas 2D renderings dramatically

发布评论

评论列表(0)

  1. 暂无评论