Rockchip RK3588 and RK3576 video decoders gain mainline Linux support

Collabora has announced mainline Linux support for H.264 and H.265 hardware video decoding on Rockchip RK3588 and RK3576 systems-on-chip. This development ends reliance on vendor-specific BSP kernels for these features. The update includes new API controls and fixes for hardware issues.

The Rockchip RK3588 and RK3576 SoCs, along with variants such as the RK3588S and RK3576J, incorporate VDPU381 and VDPU383 video decoders respectively. Until now, hardware decoding of H.264 (AVC) and H.265 (HEVC) formats required the Rockchip BSP kernel. Collabora's recent work introduces upstream Linux support through a 17-patch series that adds decoder functionality, device tree bindings, and nodes.

Key enhancements include new V4L2 HEVC user-space API controls for handling short-term and long-term Reference Picture Sets (RPS). These controls are essential for the VDPU381 and VDPU383 decoders, unlike some others that can bypass them. Userspace applications must now provide complete RPS tables to the kernel. Support for these controls has been added to GStreamer 1.28, with preliminary integration in FFmpeg, and it facilitates compatibility with Vulkan Video Decode. The Virtual Stateless Decoder (visl) driver has also been updated to trace all control parameters.

A notable fix addresses an IOMMU restore problem: since the IOMMU is embedded in the decoders, resets clear address mappings, but the kernel previously treated them as valid. The patch restores cached mappings post-reset, affecting other Rockchip IP blocks like the RGA 2D graphics accelerator.

For register programming, engineers adopted a C struct-based model over ad-hoc writes to ensure all registers are set in the correct order, preventing inconsistencies even with default values. This approach promotes completeness and prepares for multi-core use.

The patches are expected to merge into Linux 7.1, roughly three months after Linux 6.19's February release. Future efforts by Collabora include multi-core decoding on the RK3588, AV1 support for the RK3576, VP9 for the RK3588, and VDPU346 compatibility for RK356X SoCs. A detailed summary is available on the Collabora website.

Related Articles

Realistic illustration of Linus Torvalds announcing Linux kernel 6.19 release, featuring Intel/AMD hardware, GPU, storage, and performance upgrade icons.
Image generated by AI

Linux kernel 6.19 released: end of 6.x series with major Intel/AMD/Arm hardware, GPU, storage, networking, and cloud upgrades

Reported by AI Image generated by AI

Linus Torvalds announced the stable release of Linux kernel 6.19 on February 9, 2026, following an eight-week development cycle with a one-week delay. Marking the end of the 6.x series—like 3.x to 4.0 and 5.x to 6.0—this non-LTS version (6.18 LTS until December 2027) brings extensive enhancements for Intel/AMD/Arm hardware, older GPUs, file systems, peripherals, HDR graphics, networking, virtualization, and cloud environments. Torvalds timed it with a major U.S. sporting event, joking, "6.19 is out as expected -- just as the US prepares to come to a complete standstill later today, watching the latest batch of televised commercials," and noted the next kernel will be 7.0 as he's "running out of fingers and toes."

The upcoming Linux 7.0 kernel will introduce mainline support for the SpacemiT K3 RVA23 system-on-chip and the Qualcomm Kaanapali. This development aims to enhance compatibility for these processors within the open-source ecosystem. Phoronix reports on these hardware advancements in the Linux kernel.

Reported by AI

Developers have submitted drivers for the Verisilicon DC8200 and Coreboot framebuffer to the DRM-Next branch for inclusion in Linux kernel version 7.1. This update aims to enhance support for specific graphics hardware in the open-source operating system. The submission was reported by Phoronix, a site focused on Linux hardware and performance.

The upcoming Linux 6.19-rc5 release includes fixes for the Nouveau open-source driver, addressing issues with newer NVIDIA graphics processing units. This update aims to restore functionality that has been problematic in recent kernel versions. Developers are working to ensure better compatibility for users relying on open-source graphics support.

Reported by AI

Qualcomm has released Linux kernel patches to enable Reliability, Availability, and Serviceability (RAS) support on RISC-V architectures. These patches focus on reporting hardware errors to improve system reliability. The submission aims to enhance error handling in open-source environments.

Linus Torvalds has announced the release of Linux kernel 6.19-rc3, a smaller-than-usual update following the holiday period. The release includes critical fixes for ARM64 booting issues and GPU performance boosts. It builds on previous candidates to stabilize the kernel ahead of its final version.

Reported by AI

The open-source media player MPV has released version 0.41, introducing enhanced support for Wayland and other features for Linux users. This update, arriving nine months after version 0.40, prioritizes Vulkan hardware decoding and adds ambient light support. It aims to improve performance and compatibility across various platforms.

 

 

 

This website uses cookies

We use cookies for analytics to improve our site. Read our privacy policy for more information.
Decline