4 ms·
>Video playback on browsers is not really nice. Youtube works in the default size, but fullscreen causes a massive frame rate drop. Fullscreen video playback in
by mrob 6y ago
>Video playback on browsers is not really nice. Youtube works in the default size, but fullscreen causes a massive frame rate drop. Fullscreen video playback in e.g. VLC is smooth.
On Linux, Firefox uses CPU for video scaling by default. You can enable GPU acceleration by enabling layers.acceleration.force-enabled in about:config
- stefan_ 6y agoLast I checked, there wasn't a single official browser release on Linux that did GPU accelerated video decode, which is the norm on Windows of course. So expect playing a 1080p video to hog two CPUs of a real laptop, or all and then some of this mobile chip. It's not even the scaling, if you are full screen the compositor should do that.
- DCKing 6y agoCheck again: Firefox will do this for you now using VAAPI on Wayland since a couple of weeks. If you have an AMD or Intel GPU it should just work on e.g. Fedora and (not sure about if this is explictly needed) setting a Firefox feature flag. Of course the problem here is that this Rockchip's video decoder has no VAAPI driver.
- pantalaimon 6y ago> Of course the problem here is that this Rockchip's video decoder has no VAAPI driver. That’s also not true, according to [1] it should work with Firefox 76 on Wayland [1] https://forum.pine64.org/showthread.php?tid=9171 https://forum.pine64.org/showthread.php?tid=9171
- DCKing 6y agoAlthough it's great news this is being worked on, that thread strongly suggests that this is still very much in WIP status? The only thing they state is that Firefox supports VAAPI in general since 75/76 (which is what I said), not that the RK3399 can actually use that functionality. > 06-07 libva and libva-v4l2-request are basically broken except fro mpeg2.
- DCKing 6y agoDon't recommend this old setting. If you need GPU acceleration, force enable WebRender support in Firefox (gfx.webrender.all=1). Making web pages render with GPU support will barely help video decoding if at all though. For this to work well you need to tap into your hardware video decoder, which none of these settings achieve.
- floatboth 6y agoWebRender won't work on a GLES2-only system! The Pinebook Pro is one for now.. GLES3 support in Panfrost is experimental, wait for it to mature.