[Bug 203732] www/firefox: High CPU usage when playing HTML5 video when audio/alsa-plugins is built with BUFSZ_P2=off
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 4 19:06:10 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=203732
--- Comment #9 from Jan Beich <jbeich at 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.
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.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-gecko
mailing list