iris/i965: possible regression in 20.0.5 due to changes in buffer manager sharing across screens (firefox/mozilla#1634213)
Description
Firefox recently introduced dmabuf support in wayland for WebGL applications, greatly improving performance.
With mesa>=20.0.5
, the WebGL context is lost when using that feature, both with the iris and i965 drivers.
Regression
Regression testing identified the following commits in mesa that introduced this behavior:
01bd0481 iris: share buffer managers accross screens (@llandwerlin)
6ae8c93b i965: share buffer managers across screens (@llandwerlin)
Mozilla Bugtracker
Bug 1634213: enabling dmabuf in wayland results in loss of WebGL context
System information
OS: Linux 5.6.7-arch1-1
Window Protocol: wayland
Desktop Environment: gnome
GPU: Mesa Intel(R) HD Graphics 630 (KBL GT2)
Driver Vendor: mesa/iris or mesa/i965
Driver Version: 01bd0481 -> 20.0.5 -> current master (last tested with f8424d3b)