Hardware video decode on Orange Pi 5 / RK3588 with Firefox — working solution

If you have an Orange Pi 5, Orange Pi 5 Plus, Rock 5B or any board with a Rockchip RK3588/RK3588S SoC and Firefox is not using hardware video decode (high CPU on 4K video… (leer más)

If you have an Orange Pi 5, Orange Pi 5 Plus, Rock 5B or any board with a Rockchip RK3588/RK3588S SoC and Firefox is not using hardware video decode (high CPU on 4K video, stuttering), here is a working solution.

The RK3588 has a VPU capable of decoding H.264, HEVC, VP9 and AV1 up to 8K, but there is no vendor VA-API driver for it. I wrote one:

https://github.com/woodyst/rockchip-vaapi

It bridges libva (VA-API) to librockchip-mpp, the official Rockchip hardware codec library. Once installed, Firefox uses the VPU for all video decode.

Supported codecs: H.264, HEVC, VP9, AV1 (including 10-bit HDR content) Tested on: Orange Pi 5 Plus with Ubuntu/Debian aarch64, Firefox 128+

Quick start:

 git clone https://github.com/woodyst/rockchip-vaapi.git
 cd rockchip-vaapi
 make && sudo make install

Then set these environment variables before launching Firefox:

 LIBVA_DRIVER_NAME=rockchip
 LIBVA_DRIVERS_PATH=/usr/lib/aarch64-linux-gnu/dri
 MOZ_DISABLE_RDD_SANDBOX=1
 MOZ_ENABLE_WAYLAND=1   # if using Wayland

Full instructions and Firefox about:config settings in the README.

Hope this helps anyone hitting the same issue.

Open

Independencia de Chatbots de Firefox

Hola, la verdad quizás aun desconozco un poco de las funciones de las herramientas de Firefox, pero de ellas los Chatbots se me han echo bastante interesantes y productiv… (leer más)

Hola, la verdad quizás aun desconozco un poco de las funciones de las herramientas de Firefox, pero de ellas los Chatbots se me han echo bastante interesantes y productivos, ahora bien, en lo personal, no se si se pueda, me gustaría que el chatbot pudiera trabajar independiente de la ventana principal, me refiero a poder poner mi cuenta personal para mi chatbot y que la ventana principal pudiera gestionarse con otra cuenta aparte (por ejemplo: cuenta de trabajo). Anexo la imagen para poder ser mas explicito. Esto me funciona para poder traer a mi IA personal prácticamente en "Mi bolsillo" todo el tiempo.

Open 4 19

Reproduction controls do not hide while watching DAZN

Hello, I have noticed that while watching DAZN online using Firefox, the reproduction controls do not automatically hide after a few seconds, as they should. Tried with o… (leer más)

Hello,

I have noticed that while watching DAZN online using Firefox, the reproduction controls do not automatically hide after a few seconds, as they should. Tried with other browser and do not have this issue.

In the image attached you can see the controls (image black due to DRM content).

Open