FS#67035 - [mesa] Fix Chromium choppiness on XWayland with EGL backend

Attached to Project: Arch Linux
Opened by KJ Liew (liewkj) - Thursday, 18 June 2020, 08:00 GMT
Last edited by Toolybird (Toolybird) - Friday, 02 December 2022, 04:19 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Laurent Carlier (lordheavy)
Felix Yan (felixonmars)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 8
Private No


Description: Fix Chromium choppiness on XWayland with EGL backend

Additional info:
* package version(s)
mesa 20.1.1
* config and/or log files etc.
Error log from chrome://gpu
[83611:83611:1016/001304.080118:ERROR:sync_control_vsync_provider.cc(140)] Calculated bogus refresh interval=1.00016 s, last_timebase_=93179083446 bogo-microseconds, timebase=93180083604 bogo-microseconds, last_media_stream_counter_=504, media_stream_counter=505
* link to upstream bug report, if any

Steps to reproduce:
See Chromium bug link above.

Intel GPUs VAAPI drivers (i965 & iHD) require EGL interop on Wayland session.
This task depends upon

Closed by  Toolybird (Toolybird)
Friday, 02 December 2022, 04:19 GMT
Reason for closing:  Fixed
Additional comments about closing:  mesa 22.3.0-1
Comment by Svito (chpii) - Saturday, 04 July 2020, 07:07 GMT
Disregard my closure request, there merge request upstream for needed extension (only missing tests): https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5139
Comment by KJ Liew (liewkj) - Saturday, 27 November 2021, 23:52 GMT
Chromium 96.0.4664.45 now supports VA-API on Wayland perfectly with `--use-gl=egl` and no LIBVA_DRIVER_NAME env override. The only missing link now is MESA with ANGLE sync control to provide predictable VSYNC for EGL application.

Highly recommended that ArchLinux MESA package maintainers include the patch available from the MR.
Comment by Giusy (digitalone) - Monday, 29 November 2021, 21:59 GMT
Supports vaapi on XWayland, not native Wayland.
Comment by KJ Liew (liewkj) - Sunday, 21 August 2022, 16:17 GMT
ANGLE_sync_control_rate was merged upstream https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17815

Please consider pulling in this MR for significant improvement in Wayland usability.