Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 04 Mar 2016 19:06:10 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 203732] www/firefox: High CPU usage when playing HTML5 video when audio/alsa-plugins is built with BUFSZ_P2=off
Message-ID:  <bug-203732-21738-RJlbtrepO4@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-203732-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-203732-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D203732

--- Comment #9 from Jan Beich <jbeich@FreeBSD.org> ---
(In reply to Arto Pekkanen from comment #8)
> ... when I play video via Firefox, X.org uses around 50% CPU. This means =
that there is a LOT of data copying going on between Firefox and X.org.=20

What window resolution, video resolution, whether fullscreen or not? Better
open a new bug and try various rendering toggles:
- run a compositing manager (e.g., x11-wm/compton)
- x11 driver (i915 vs. generic kms vs. vesa) or its options
- gfx.xrender.enabled -> false
- gfx.canvas.azure.backends -> skia
- gfx.content.azure.backends -> skia (maybe buggy)
- layers.offmainthreadcomposition.enabled -> false
- layers.acceleration.force-enabled -> true (uses OpenGL)
- BUNDLED_CAIRO -> off
- GTK2 vs. GTK3

Firefox doesn't offload video decoding/scaling via VAAPI/XVideo unlike
mpv/mplayer yet. However, OpenGL layers are scaled on hardware if available.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-203732-21738-RJlbtrepO4>