Bug 2238198

Summary: mesa-23.1.7 broke image rendering in Google Chrome
Product: [Fedora] Fedora Reporter: Warren Togami <wtogami>
Component: mesaAssignee: Adam Jackson <ajax>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 38CC: ajax, bskeggs, igor.raits, j, kparal, lyude, mail, rhughes, rstrode, tstellar, walter.pete
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-09-11 16:39:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Warren Togami 2023-09-10 03:22:51 UTC
Reproduced on two similar AMD APU's.
AMD Ryzen 7 PRO 6850U with Radeon Graphics
AMD Ryzen 7 PRO 5850U with Radeon Graphics

google-chrome-stable-116.0.5845.179-1.x86_64
kernel-6.4.14-200.fc38.x86_64
mesa-23.1.6-1.fc38.x86_64
Working versions

mesa-23.1.7-1.fc38.x86_64
Problematic version

After upgrading to mesa-23.1.7 then restarting the browser, things appear to be working fine until you browse maps.google.com. The image portion of the screen briefly flashes the map but becomes black. Clicking on the black pops up properly rendered things as if the UI were working but the underlying image is entirely black.

Downgrading mesa then restarting the browser fixes this problem.

Reproducible: Always

Steps to Reproduce:
1. Upgrade to mesa-23.1.7
2. Restart Google Chrome
3. Browse maps.google.com
Actual Results:  
You see only black.

Expected Results:  
You should see a drawn scrollable map.

chromium-116.0.5845.96-1.fc38.x86_64
I haven't been able to reproduce this problem in Fedora's chromium.

There is no difference in the console output of the working vs non-working browser.

Comment 1 Warren Togami 2023-09-11 06:26:16 UTC
https://fedorapeople.org/~wtogami/a/2023/mesa-broke-google-chrome-maps-black.png
This is what google maps looks like while running the problematic mesa.

Comment 2 Kamil Páral 2023-09-11 07:31:19 UTC
I wonder if your problem is this one:
https://discussion.fedoraproject.org/t/chromium-based-browsers-display-garbled-web-pages-after-mesa-is-updated/83438

Can you check if the workarounds work?

Comment 3 Warren Togami 2023-09-11 16:39:45 UTC
Confirmed this is a duplicate of Bug #2193335. Chrome/Chromium with GPU acceleration can be broken after mesa upgrade because its cached objects become incompatible.

*** This bug has been marked as a duplicate of bug 2193335 ***

Comment 4 Warren Togami 2023-09-12 04:19:56 UTC
Running mesa-23.1.7 with a fresh cache with Google Chrome. It worked for a while then I experienced my first hard AMDGPU crash in months. Will keep an eye on this...