Introduction to rockchip-multimedia ppa for ubuntu jammy

I downgraded kernel and noticed that it has no support for zfs…

zfs is not shipped in kernel. You will not get zfs from mainline kernel too.

cause mainline is not based on android, zfs-dkms package successfully builds kernel module

but I found approach for legacy kernel: https://github.com/radxa/kernel/issues/54#issuecomment-1788453183

thanks for help!

mainline is not the same as current armbian kernel

edit: I stand corrected. I guess I missed the move of Armbian to 6.7. Of course, I cant use armbian-config to upgrade. Every rock5b, I have that functionality just stopped working a few updates ago.

Hello @amazingfate:

I tried to build moonlight-qt 5.0.1 with your latest ffmpeg version that you have in rockchip legacy multimedia packages . However, I get very high decoding times. Is there any special instructions you followed to do so? I don’t get this problem with your latest moonlight-qt application.

FFmpeg in my repo has been updated to v6.0 from https://github.com/hbiyik/FFmpeg. Maybe it spends time on other processes. You can try moonlight-embedded since it will run without colorspace conversion.
Here is a patch to make moonlight-embedded running:

diff --git a/src/video/rk.c b/src/video/rk.c
index ac6ec03..6caf75c 100644
--- a/src/video/rk.c
+++ b/src/video/rk.c
@@ -487,6 +487,7 @@ int rk_setup(int videoFormat, int width, int height, int redrawRate, void* conte
         }
         plane_props[j] = prop;
         if (!strcmp(prop->name, "type") && (props->prop_values[j] == DRM_PLANE_TYPE_OVERLAY ||
+                                            props->prop_values[j] == DRM_PLANE_TYPE_CURSOR ||
                                             props->prop_values[j] == DRM_PLANE_TYPE_PRIMARY)) {
           plane_id = ovr->plane_id;
         }

I am having a weird issue after an upgrade
Host

OS: Armbian 25.2.3 noble aarch64 
Host: Rockchip RK3566 OPi 3B 
Kernel: 6.1.75-vendor-rk35xx 
Uptime: 11 mins 
Packages: 2503 (dpkg) 
Shell: bash 5.2.21 
Resolution: 1920x1080 
DE: GNOME 46.0 
WM: Mutter 
WM Theme: Adwaita 
Theme: Adwaita [GTK2/3] 
Icons: Numix-Circle [GTK2/3] 
Terminal: gnome-terminal 
CPU: (4) @ 1.992GHz 
Memory: 1559MiB / 3919MiB 

My chromium reports

Graphics Feature Status
=======================
*   Canvas: Hardware accelerated
*   Canvas out-of-process rasterization: Enabled
*   Direct Rendering Display Compositor: Disabled
*   Compositing: Hardware accelerated
*   Multiple Raster Threads: Enabled
*   OpenGL: Enabled
*   Rasterization: Hardware accelerated on all pages
*   Raw Draw: Disabled
*   Skia Graphite: Disabled
*   Video Decode: Hardware accelerated
*   Video Encode: Software only. Hardware acceleration disabled
*   Vulkan: Disabled
*   WebGL: Hardware accelerated
*   WebGL2: Hardware accelerated
*   WebGPU: Disabled
*   WebNN: Disabled
.
.
.
Video Acceleration Information
==============================
Decoding            : 
Decode hevc main    : 48x48 to 3840x2160 pixels
Decode hevc main 10 : 48x48 to 3840x2160 pixels
Decode h264 baseline: 48x48 to 3840x2160 pixels
Decode h264 main    : 48x48 to 3840x2160 pixels
Decode h264 high    : 48x48 to 3840x2160 pixels
Decode vp8          : 48x48 to 3840x2160 pixels
Decode vp9 profile0 : 48x48 to 3840x2160 pixels
Encoding            :

Vulkan Information
==================

Device Performance Information
==============================

Log Messages
============
[4121:4121:0405/153331.357486:WARNING:sandbox_linux.cc(430)] : InitializeSandbox() called with multiple threads in process gpu-process.
[4121:4121:0405/153331.365064:WARNING:viz_main_impl.cc(85)] : VizNullHypothesis is disabled (not a warning)
[4121:4675:0405/153710.944604:VERBOSE1:gpu_video_encode_accelerator_factory.cc(232)] : GetSupportedProfiles(): Supported profiles empty, querying again...
[4121:4121:0405/153711.082423:ERROR:gl_display.cc(493)] : EGL Driver message (Error) eglCreateContext: Requested version is not supported

But when I play youtube, this error happens
2025-04-05_01-15