XXXBold Posted March 4 Posted March 4 Hello everyone Just would like to start a discussion about the current state of video acceleration (decoding only, h.265/h.264/av1). The soc (rk3588) recently got mainline support for these features in 7.0: https://gitlab.collabora.com/hardware-enablement/rockchip-3588/notes-for-rockchip-3588/-/blob/main/mainline-status.md Has anyone tested this on a OPI5 already, especially using Kodi? Does this work ootb there now? Regards, XXXBold 1 Quote
chaitan3 Posted March 31 Posted March 31 I have tested the following PR: https://github.com/mpv-player/mpv/pull/14690 It needs compilation of a custom ffmpeg (linked in PR) + mpv (with this PR). My findings are reported here: https://github.com/mpv-player/mpv/pull/14690#issuecomment-4159253319 Overall it is working, haven't tested Kodi yet. 0 Quote
robertoj Posted March 31 Posted March 31 For context, he is talking about: https://code.ffmpeg.org/FFmpeg/FFmpeg/pulls/20847 There are many ffpmpeg options. Which ffmpeg did you use? https://code.ffmpeg.org/Kwiboo/FFmpeg/src/branch/v4l2request-v3 https://code.ffmpeg.org/Kwiboo/FFmpeg/src/branch/v4l2-request-n8.1 And which debian/ubuntu version did you use? Which ffmpeg is included in that distribution? 0 Quote
chaitan3 Posted April 1 Posted April 1 I'm using Ubuntu 24.04 noble armbian distribution, the branch I used for ffmpeg is https://code.ffmpeg.org/Kwiboo/FFmpeg/src/branch/v4l2request-v3 The ffmpeg included in the distribution does not matter, but regardless it is version 6.1.1. The mpv is built against the locally compiled ffmpeg with libplacebo from https://code.videolan.org/videolan/libplacebo.git 0 Quote
robertoj Posted April 1 Posted April 1 (edited) I am glad that it's possible to use a different ffmpeg version than what the distribution expects. (it gives me hope of installing it in Trixie, instead of changing over to the newest Ubuntu) Did you install the locally compiled ffmpeg at OS level, or did you keep it in a folder within your /home/username/...? Edited April 1 by robertoj 0 Quote
maka Posted April 2 Posted April 2 For lazy people like me clapper from flathub is a solution. 1 Quote
Joe K Posted April 7 Posted April 7 Hello, I made a buld with the vendor kernel for mekotronics R58SV2, and build ubutu desktop Gnome. I definately have no HW decoding since with fhd .mp4 h264 videos the beast runs on 100% cpu all cores what did I wrong? Help appreciated 0 Quote
XXXBold Posted April 15 Author Posted April 15 Thanks for the responses! TBH I am not very familiar with the software stack from userspace required for video playback. So, some questions: - @chaitan3: You mentioned using a custom ffmpeg for mpv. Do you know if ffmpeg is also needed for kodi (when just using it to playback videos, not converting)? In https://github.com/mpv-player/mpv/pull/14690#issuecomment-4159253319 you mentioned you used kernel 6.19, but this didn't have mainline support yet, maybe the situation with 7.0 is different? - Does anyone here have a rough idea what is still needed for Kodi (including the whole software stack below) to fully support HW video decoding on said platform (good if you know if specific PRs), without needing custom patches and possible ETA for that? 0 Quote
Igor Posted April 15 Posted April 15 On 4/7/2026 at 5:13 PM, Joe K said: and build ubutu desktop Gnome On vendor kernel you need to enable overlay https://github.com/armbian/build/blob/main/extensions/mesa-vpu.sh#L18-L28 37 minutes ago, XXXBold said: what is still needed for Kodi mainline based gnome desktop + apt install kodi (just tested 4k/H264 video works without any problems) 1 Quote
XXXBold Posted April 15 Author Posted April 15 @Igor Thanks for the answer! So you run the latest Armbian to test? https://armbian.com/boards/orangepi5 from here? Which image? Would using the CLI version also work (I don't need a desktop). Can you maybe also verify if HEVC works? (H264 works also quite okay in pure CPU iirc). 0 Quote
Igor Posted April 16 Posted April 16 14 hours ago, XXXBold said: Which image? Gnome (wayland) desktop with kernel 6.18.y 14 hours ago, XXXBold said: Would using the CLI version also work Probably this way? apt install mpv mpv --hwdec=auto test.mkv (+) Video --vid=1 (*) (hevc 1920x816 25.000fps) (+) Audio --aid=1 --alang=mul (*) (aac 2ch 48000Hz) AO: [alsa] 48000Hz stereo 2ch float VO: [gpu] 1920x816 yuv420p But something is still missing ... not hw accelerated. Sorry, not an expert here. I am happy when Chromium says it. 0 Quote
Joe K Posted April 16 Posted April 16 Hi Igor, Thank you for your reply. I build an Image for Mekotronics R58V2, but I leaned today we dont have the R58S2 (yet) our current device is the R58s, with a build provided by Mekotronics and the HW decoding works with QT-Multimedia as playback back-end, This is this build: v26.02 rolling for Mekotronics R58S running Armbian Linux 6.1.84-vendor-rk35xx. This device is not yet supported, at least I could not find it here. I will discuss with Mekotronics to get also at least Standard support from Armbian in future. I do have also Mekototronics R58X and R58HD devices we want to use also in ffuture the have better support level here as well. I could not find any Forums related to Mekotronics devices and seams can not open one or add threads to the Rockchip rk35xx section, there loads of OragePi stuff but I could not see that officially you support any of them, anyway I gave up with them cause they are ...lets say below expectations ;-). Please give me a hint. As Iam new here please excuse if you get sometimes strange question, but Iam working with arm boards already for a while. Using CLI is not an option, we actually install LX-Qt together with the application. Thanks for helping! 0 Quote
xsetiadi Posted June 17 Posted June 17 anyone able to build https://code.ffmpeg.org/Kwiboo/FFmpeg/src/branch/v4l2request-v3 on their opi5? i try to build on my opi5 with today current-kernel 6.18.35 and got error: ERROR: v4l2_request requested, but not all dependencies are satisfied: linux_media_h v4l2_timeval_to_ns v4l2_m2m_hold_capture_buf libdrm libudev try edge kernel 7.1 also got the same error. any idea? 0 Quote
MMGen Posted 1 hour ago Posted 1 hour ago With the official friendlyelec image for Nano Pi M6 (trixie, gnome, 6.1 kernel), I'm getting hardware acceleration with the plain vanilla mpv from Debian: mpv --vo=gpu my.mp4 mpp[2968]: mpp_platform: client 18 driver is not ready! ● Video --vid=1 (h264 1080x1920 59.9998 fps) [default] ● Audio --aid=1 (aac 2ch 44100 Hz 128 kbps) [default] arm_release_ver: g24p0-00eac0, rk_so_ver: 10-616430-r0 mpp[2968]: mpp_info: mpp version: 958803d7 author: Herman Chen 2026-02-26 fix[h265d_rkv]: Fix rkv ref and poc setup overflow Using hardware decoding (rkmpp). AO: [pipewire] 44100Hz stereo 2ch floatp VO: [gpu] 1080x1920 drm_prime[nv12] Everything works wonderfully, and CPU usage is about 25%, compared to 500% for Armbian. Why can't rkmpp be enabled on Armbian to give us harware accel out of the box? @Igor: The overlay link you provided above (mesa-vpu) is broken. And no such overlay exists in the prebuilt images for the Nano Pi M6. Result: still no hardware acceleration for my M6 with Armbian. 0 Quote
Igor Posted 45 minutes ago Posted 45 minutes ago 34 minutes ago, MMGen said: no hardware acceleration for my M6 with Armbian. 34 minutes ago, MMGen said: Why can't rkmpp be enabled on Armbian to give us harware accel out of the box? On prebuild images we test video acceeleration within Chromium and it works. Both kernels, Ubuntu Noble / Resolute Gnome, same good or bad on all boards. Others userspace combo might not work and other/all video players we don't even try to cover. Our job is done, when at least one method works OOB. 34 minutes ago, MMGen said: The overlay link you provided above (mesa-vpu) is broken It was integrated. This is not needed anymore. For overlay, I don't know. I think its still needed and it that case, its certanly present. On kernel, where this is needed. 0 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.