Bugzilla – Bug 1214274
Chromium and Electron fail to render with “Skia shader compilation error” after some Mesa updates due to stale shader cache
Last modified: 2024-03-17 20:15:16 UTC
Created attachment 868797 [details] error log After upgrade to snapshots 20230812, 20230813 Google Chrome and Chromium stops render properly web pages. Started to blink and console log shows errors. Attachned error.txt It looks similar to: https://bugs.chromium.org/p/chromium/issues/detail?id=1442633 Can confirm that workaround is: google-chrome --disable-gpu-driver-bug-workarounds
This is caused by a Mesa update. It fails to compile some GLSL stuff. Can be fixed with: rm -rf ~/.config/chromium/Default/GPUCache/
Oh, this seems to happen with AMD GPUs ...
this issue happens to me on regular basis . Unfortunately suggested workaround not easily achievable when we speaking not about chromium itself but about all Zoo of apps which using Electron . For example together with chromium rendering is broken for me in Slack . I found this upstream bug https://bugs.chromium.org/p/chromium/issues/detail?id=1442633
*** Bug 1216216 has been marked as a duplicate of this bug. ***
*** Bug 1216242 has been marked as a duplicate of this bug. ***
Upstream fix: https://chromium-review.googlesource.com/c/chromium/src/+/4988290 https://github.com/electron/electron/pull/40450
I am keep facing this problems in latest TW , just got it again with latest snapshot . To workaround the problem I wrote small bash script maybe it will help someone Note: script was written for single computer in the world my laptop :) but I think it is easy to tweak it to cover other setups https://github.com/asmorodskyi/scripts/blob/master/clean_GPUCache.sh
It's a Mesa issue, there's nothing to change
*** Bug 1221516 has been marked as a duplicate of this bug. ***