FS#71888 - [mesa] 21.2.1-1 - Vulkan stops working in Chromium-based browsers

Attached to Project: Arch Linux
Opened by Ivan Bondar (Starwalker) - Saturday, 21 August 2021, 19:25 GMT
Last edited by Sven-Hendrik Haase (Svenstaro) - Monday, 07 February 2022, 07:21 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Evangelos Foutras (foutrelis)
Laurent Carlier (lordheavy)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

After upgrading mesa-21.1.6-1 to mesa-21.2.1-1 Google Chrome, Chromium and all browsers based on Chromium can't activate Vulkan support.
I use 92.0.4515.159 (Official Build) (64-bit). #enable-vulkan flag is enabled.
If I start browser with chrome://gpu page opened by default I see how it starts with 'Vulkan: enabled', but then flickers a couple of times and Vulkan switches off automatically and the page shows 'Vulkan: disable'. Scrolling becomes noticeably slower and choppy.
In order to restore Vulkan support I need just to downgrade mesa to 21.1.6-1 and it starts working

Additional info:
* package version(s)
* config and/or log files etc.
* link to upstream bug report, if any

mesa-21.2.1-1
libva-mesa-driver-21.2.1-1
vulkan-intel-21.2.1-1
vulkan-mesa-layers-21.2.1-1

mesa updates together with libva-mesa-driver, vulkan-intel and vulkan-mesa-layers. But in order to reproduce the issue I can leave those at 21.1.6-1 and just update mesa, the issue can be reproduced this way as well.

I use integrated GPU in Intel(R) Core(TM) i7-8650U:

Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel (0x8086)
Device: Mesa Intel(R) UHD Graphics 620 (KBL GT2) (0x5917)
Version: 21.1.6

$ cat ~/.config/chrome-flags.conf
--use-gl=desktop
--ignore-gpu-blocklist
--enable-gpu-rasterization
--enable-zero-copy
--disable-gpu-driver-bug-workarounds
--enable-oop-rasterization


Steps to reproduce:

1. Use packages mesa, libva-mesa-driver, vulkan-intel and vulkan-mesa-layers version 21.1.6-1. Chrome, Chromium, version 92.
2. Enable Vulkan support in Chrome or Chromium browser using #enable-vulkan flag. Verify Vulkan is enabled on chrome://gpu page.
3. Update mesa-21.1.6-1 to mesa-21.2.1-1. Alone or with libva-mesa-driver, vulkan-intel and vulkan-mesa-layers.
4. Start the browser. You will see 'Vulkan: disabled' despite enabled #enable-vulkan flag. Window may flicker a couple of times.
This task depends upon

Closed by  Sven-Hendrik Haase (Svenstaro)
Monday, 07 February 2022, 07:21 GMT
Reason for closing:  Fixed
Additional comments about closing:  2021-12-28: A task closure has been requested. Reason for request: mesa 21.3.2-1 seems to resolve the issue.
Comment by AlexApps (AlexApps99) - Monday, 01 November 2021, 04:08 GMT
Been plaguing me for months, still around
Comment by Laurent Carlier (lordheavy) - Tuesday, 30 November 2021, 10:22 GMT
Did you file an upstream bug report ? (https://gitlab.freedesktop.org/mesa/mesa/-/issues)

Loading...