Bug 1214274

Summary: Chromium and Electron fail to render with “Skia shader compilation error” after some Mesa updates due to stale shader cache
Product: [openSUSE] openSUSE Tumbleweed Reporter: Michal Hlavac <miso>
Component: OtherAssignee: Callum Farmer <gmbr3>
Status: RESOLVED INVALID QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: 95kreaninw95, anton.smorodskyi, asn, brunopitrus, cornelis, felix.niederwanger, fkereki, manfred.h, me, sebix+novell.com
Version: Current   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: error log

Description Michal Hlavac 2023-08-14 19:35:31 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
Comment 1 Andreas Schneider 2023-08-16 10:35:22 UTC
This is caused by a Mesa update. It fails to compile some GLSL stuff. Can be fixed with:

rm -rf ~/.config/chromium/Default/GPUCache/
Comment 2 Andreas Schneider 2023-08-16 10:35:45 UTC
Oh, this seems to happen with AMD GPUs ...
Comment 3 Anton Smorodskyi 2023-10-04 06:50:27 UTC
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
Comment 4 Bruno Pitrus 2023-10-13 16:56:30 UTC
*** Bug 1216216 has been marked as a duplicate of this bug. ***
Comment 5 hui 2023-10-14 16:14:35 UTC
*** Bug 1216242 has been marked as a duplicate of this bug. ***
Comment 7 Sebastian Wagner 2023-11-26 20:03:19 UTC
*** Bug 1216242 has been marked as a duplicate of this bug. ***
Comment 8 Anton Smorodskyi 2024-03-06 08:57:34 UTC
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
Comment 9 Callum Farmer 2024-03-08 13:28:47 UTC
It's a Mesa issue, there's nothing to change
Comment 10 hui 2024-03-17 20:15:16 UTC
*** Bug 1221516 has been marked as a duplicate of this bug. ***