Video playback in Google Chrome or Mozilla Firefox with Wayland drops too many frames
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
chromium-browser (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
firefox (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
1) Description: Ubuntu Cosmic Cuttlefish (development branch)
Release: 18.10
2)xwayland:
Instalado: 2:1.20.1-3ubuntu2
Candidato: 2:1.20.1-3ubuntu2
Tabela de versão:
*** 2:1.20.1-3ubuntu2 500
500 http://
100 /var/lib/
3)While the video plays, it shouldn't drop a single frame, but Ubuntu with Wayland (selected on login screen) is dropping way too many.
4)When watching videos on Google Chrome, or Mozilla Firefox, or any other web browser (using Wayland on login screen), with the hardware acceleration option on, the video drops around 15 to 20 frames for every 100 frames at 60FPS videos (half of that on 30FPS). I know that my iGPU (Intel HD Graphics 2000 is old, but on Win8.1 or Win10 it didn't drop any frames, 60FPS without drops).
ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: xwayland 2:1.20.1-3ubuntu2
ProcVersionSign
Uname: Linux 4.18.0-8-generic x86_64
ApportVersion: 2.20.10-0ubuntu11
Architecture: amd64
BootLog: Error: [Errno 13] Permissão negada: '/var/log/boot.log'
CompositorRunning: None
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct 4 00:00:22 2018
DistUpgraded: Fresh install
DistroCodename: cosmic
DistroVariant: ubuntu
ExecutablePath: /usr/bin/Xwayland
ExtraDebuggingI
GraphicsCard:
Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller [8086:0126] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Acer Incorporated [ALI] 2nd Generation Core Processor Family Integrated Graphics Controller [1025:0649]
InstallationDate: Installed on 2018-09-25 (8 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Beta amd64 (20180925.1)
MachineType: Acer Aspire E1-571
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg-server
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 12/16/2013
dmi.bios.vendor: Acer
dmi.bios.version: V2.21
dmi.board.
dmi.board.name: EA50_HC_HR
dmi.board.vendor: Acer
dmi.board.version: Type2 - Board Version
dmi.chassis.type: 10
dmi.chassis.vendor: Acer
dmi.chassis.
dmi.modalias: dmi:bvnAcer:
dmi.product.family: Type1Family
dmi.product.name: Aspire E1-571
dmi.product.sku: Aspire E1-571_0649_V2.21
dmi.product.
dmi.sys.vendor: Acer
version.compiz: compiz N/A
version.libdrm2: libdrm2 2.4.94-1
version.
version.
version.
version.
version.
version.
version.
affects: | xorg-server (Ubuntu) → firefox (Ubuntu) |
Firefox and Chrome/Chromium use software video decoding by default. They might also have "hardware acceleration" options for you to try, but to the best of my knowledge they don't do properly efficient hardware decoding. So this is a bug (two bugs) in the web browsers.
For a proper future solution see: /chromium- review. googlesource. com/c/chromium/ src/+/532294
https:/
For a simple workaround that works today, see: /wiki.ubuntu. com/IntelQuickS yncVideo# YouTube
https:/
Another issue you will find is that Gnome Shell (especially Wayland sessions) stutters and drops frames more than it should. And this problem will be visible in your videos too. I have a list of causes for that: /trello. com/c/Q6JYXPPs
https:/
Many people report better performance using Xorg sessions, for now.