FS#77478 - [chromium] WebGL not working starting version 110.0.5481.77-1

Attached to Project: Arch Linux
Opened by Fabien Dubosson (StreakyCobra) - Monday, 13 February 2023, 10:24 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 15 March 2023, 20:10 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
============

After upgrading `chromium` to version 110.0.5481.77-1 WebGL is not supported/working any more. Downgrading to version 109.0.5414.119-1 makes it work again.


Additional info:
================

* Graphic card:
- `lspci`: "[AMD/ATI] Rembrandt [Radeon 680M] (rev 01)"
- `glxinfo`: "AMD Radeon Graphics (rembrandt, LLVM 15.0.7, DRM 3.49, 6.1.11-arch1-1)"

* The computer has a second dedicated graphic card through PRIME, but it is not used here:
- `lspci`: "NVIDIA Corporation GA107BM [GeForce RTX 3050 Mobile] (rev a1)"
- `glxinfo`: "NVIDIA GeForce RTX 3050 Laptop GPU/PCIe/SSE2"

* Tested `chromium` versions:
- 109.0.5414.119-1 → "✓ This browser supports WebGL 2"
- 110.0.5481.77-1 → "× This browser supports WebGL 2, but it is disabled or unavailable."
- 110.0.5481.77-2 → "× This browser supports WebGL 2, but it is disabled or unavailable."

* Firefox/qutebrowser in their latest versions have WebGL working


Steps to reproduce:
===================

1. Open chromium
2. Visit https://webglreport.com/?v=2
This task depends upon

Closed by  Toolybird (Toolybird)
Wednesday, 15 March 2023, 20:10 GMT
Reason for closing:  Not a bug
Additional comments about closing:  See comments
Comment by Toolybird (Toolybird) - Thursday, 16 February 2023, 04:05 GMT
Works fine here on chromium 110.0.5481.100-1 (but different AMD card - Radeon RX 570 Series). I'd guess something is up with your "opengl-driver" i.e. mesa. Please try latest chromium then check what is reported in:

chrome://gpu/
Comment by Fabien Dubosson (StreakyCobra) - Thursday, 16 February 2023, 08:23 GMT
Thanks for looking at it. You will find the output of chrome://gpu/ in attachment. This was done right after a full system upgrade and reboot. I have also attached the output of the last working chromium version if useful.

There are indeed error messages in there but this is out of range for my debugging skills.
Comment by Fabien Dubosson (StreakyCobra) - Wednesday, 15 March 2023, 13:56 GMT
I tried the latest version of chromium through flatpak and it was working, so I started to investigate what were the differences in the chrome:// pages and I noticed I had a `chromium-flags.conf` file with several lines in it. Turns out the issue was the `--use-gl=desktop` flag.

This flag was recommended on the Chromium wiki page in the past but was removed last month exactly for this reason: «--use-gl=desktop no longer seems to activate GPU acceleration on Chrome 110» https://wiki.archlinux.org/index.php?title=Chromium&diff=768004&oldid=767301

This issue can be closed.

Loading...