4 ms·
Maybe get 2D right before dabbling with VR? Firefox still does not support hardware encoding of videos on Linux. So when I watch Youtube videos my CPU usage go
by TekMol 8y ago
Maybe get 2D right before dabbling with VR?
Firefox still does not support hardware encoding of videos on Linux. So when I watch Youtube videos my CPU usage goes through the roof and I cannot watch HD.
xkcd even made a comic about it: https://xkcd.com/619/ https://xkcd.com/619/
- pjmlp 8y agoOn my case it works when I force enable it, but it leads to occasional X crashes.
- TekMol 8y agoYou can force enable hardware accelerated video encoding? How? And what difference do you notice when you watch Youtube videos?
- pjmlp 8y agoIf your GPU driver supports it yes. Check "How to force-enable blocked graphics features". https://support.mozilla.org/en-US/kb/upgrade-graphics-drivers-use-hardware-acceleration https://support.mozilla.org/en-US/kb/upgrade-graphics-driver... https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drivers https://wiki.mozilla.org/Blocklisting/Blocked_Graphics_Drive... The difference is that my tiny netbook APU doesn't get bogged at 100% while playing videos, on an otherwise DX 11 class GPU.
- TekMol 8y agoAre you sure you are talking about Linux? Those pages mention mostly Windows and say nothing about video at all. When I go to about:support I see "AzureCanvasAccelerated: 0" and "HW_COMPOSITING: Acceleration blocked by platform". Setting layers.acceleration.force-enabled to true and restarting FF does not change that. I tried it on 3 different machines with different graphic cards and different drivers and see the same behaviour on all 3.
- floatboth 8y agolayers.acceleration.force-enabled overrides "Acceleration blocked by platform" (you should see "Force-enabled by pref" right under it). But this indeed has nothing to do with video! This is layer compositing.
- pjmlp 8y agoSure it does, because it is part of the GPU hardware acceleration stack. https://askubuntu.com/questions/491750/force-enable-hardware-acceleration-in-firefox https://askubuntu.com/questions/491750/force-enable-hardware... On my case for the EEPC 1215B Brazos APU it worked, like everything in Linux there isn't a solution that makes all desktop users happy.
- floatboth 8y agoGPU hardware acceleration has nothing to do with video decode. (Okay, the hardware is often on the same physical silicon die, but they're separate things in software.) There is literally no support yet for any unix video decode APIs in Firefox. No VA-API, no VDPAU, no V4L2, no nothing. Here's the bug for VAAPI: https://bugzilla.mozilla.org/show_bug.cgi?id=1210727 https://bugzilla.mozilla.org/show_bug.cgi?id=1210727 There's a bounty for it: https://www.bountysource.com/issues/55506502-add-va-api-hardware-decoding-support-on-linux https://www.bountysource.com/issues/55506502-add-va-api-hard...
- 8y ago
- izym 8y agoI don't think the same teams are working on video decoding and VR browsing.
- shady-lady 8y agoNo but they're pulling funds from the same pot.