FS#58657 - [xorg-server-xwayland] Stuttering video playback with up to 30% dropped frames

Attached to Project: Arch Linux
Opened by Tobias Stolzmann (teiesti) - Friday, 18 May 2018, 23:32 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 13 July 2019, 07:46 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jan de Groot (JGC)
Andreas Radke (AndyRTR)
Laurent Carlier (lordheavy)
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 7
Private No

Details

TL;DR

After upgrading xorg-server-xwayland from 1.19.6+13+gd0d1a694f-2 to 1.20.0-2, I experience instabilities in video playback with up to 30% dropped frames.


# Description

When watching a YouTube video in Chromium today, I experienced an unusual stuttering video playback. After using Right Mouse > Statistics for Nerds, YouTube showed a way to high number of dropped frames. Among different videos their relative frequency ranged between 10 and 30 %. (The issue is not limited to YouTube, but they are the only one to provide nice statistics.)

I was repeatedly testing different old packages (including linux, chromium, wayland, wayland-protocols, mesa and xorg-server-xwayland and xorg-server-common) from /var/cache/pacman/pkg until I was able to backtrace the issue to a change made in xorg-server-xwayland between version 1.19.6+13+gd0d1a694f-2 and 1.20.0-2: The stuttering is gone in the old version while present in the newer one.


# Additional information

My hardware configuration includes

Intel Core i5-2500K CPU @ 3.30GHz
16 GB DDR3-1333
Asus P8Z68-V PRO/GEN3
XFX Radeon HD 6870

I have the latest packages installed, including

linux 4.16.9-1
mesa 18.0.3-4
wayland 1.15.0-1
wayland-protocols 1.14-1
xorg-server-common 1.20.0-2
xorg-server-xwayland 1.20.0-2
sway 0.15.2-1 (This is my window manager!)
chromium 66.0.3359.181-1


Thanks for Your help!
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Saturday, 13 July 2019, 07:46 GMT
Reason for closing:  Fixed
Comment by Júlio Dutra (dutrajulio) - Friday, 25 May 2018, 16:29 GMT
Same here.
Comment by Bogdan Darius (BogdanDarius) - Sunday, 03 June 2018, 16:25 GMT
Same here!!!
Also happening in latest update 1.20.0-5 and in 1.20.0-6 testing.
Any fixes?
Comment by rainer (raneon) - Saturday, 07 July 2018, 13:35 GMT
I've seen the stuttering on Plasma Wayland especially at 4k. Several videos and games stutter since xorg 1.20, reducing the resolution is sometimes the only option.
Comment by Andreas Radke (AndyRTR) - Thursday, 11 July 2019, 12:35 GMT
Is this still an issue?
Comment by Tobias Stolzmann (teiesti) - Saturday, 13 July 2019, 00:05 GMT
With the current version of xorg-server-xwayland (1.20.5-2) this seems to be no issue anymore -- at least for me!

Loading...