07-06-2021, 01:02 PM
Hello all,
I would like to utilize the video decoding capabilities of the RK3399, but so far I had no success. Many people seem to underestimate how difficult this is and just assume it works without effort.
Here is how to verify whether it works, using mpv, chromium and firefox:
(the pictures are taken on my x86_64 PC)
1. mpv
CTRL + H toggles hardware decoding. If it can't use cuda/vdpau/vaapi then it will just say 'no' all the time.
2. chromium
open the developer panel with F12, open the Media tab
as you can see, VDA is hardware accelerated. Other decoders (Vpx, Dav1d, FFmpeg) are used for the VP9, AV1, and Theora codecs. Neither my Radeon nor the RK3399 have hardware support for these codecs.
3. firefox
run
note: it says VA-API disabled by platform during startup, but when I actually try to open a video it successfully initializes.
As far as I can tell, no distro on the PineBook Pro has support for hardware video decoding. If somebody can get it to work, I'd love to hear about it.
I would like to utilize the video decoding capabilities of the RK3399, but so far I had no success. Many people seem to underestimate how difficult this is and just assume it works without effort.
Here is how to verify whether it works, using mpv, chromium and firefox:
(the pictures are taken on my x86_64 PC)
1. mpv
CTRL + H toggles hardware decoding. If it can't use cuda/vdpau/vaapi then it will just say 'no' all the time.
2. chromium
open the developer panel with F12, open the Media tab
as you can see, VDA is hardware accelerated. Other decoders (Vpx, Dav1d, FFmpeg) are used for the VP9, AV1, and Theora codecs. Neither my Radeon nor the RK3399 have hardware support for these codecs.
3. firefox
run
Code:
MOZ_LOG=PlatformDecoderModule:5 firefox 2>&1| grep VA
note: it says VA-API disabled by platform during startup, but when I actually try to open a video it successfully initializes.
As far as I can tell, no distro on the PineBook Pro has support for hardware video decoding. If somebody can get it to work, I'd love to hear about it.