Dyfcom Posted October 18 Posted October 18 Hey, I also wanted to use the Rockchip VPU inside my Jeyllfin docker-container. But on my machine (RK3389, 6.6.47-current-rockchip64, Armbian v24.8.4 bullseye), I only can only see "dri": ls -l /dev | grep -E "mpp|rga|dri|dma_heap" drwxr-xr-x 3 root root 120 Oct 18 11:18 dri How can I install the missing parts? All I found when googling was finding installing for ubuntu and not debian. For the required OpenCL (libmali) I used this: mkdir -p ~/tmp/libmali && cd ~/tmp/libmali wget 'https://github.com/tsukumijima/libmali-rockchip/releases/download/v1.9-1-55611b0/libmali-valhall-g610-g13p0-gbm_1.9-1_arm64.deb' sudo dpkg -i ./libmali-valhall-g610-g13p0-gbm_1.9-1_arm64.deb and verified with: sudo apt update && sudo apt install -y clinfo && clinfo I also installed the "jellyfin-ffmpeg7" on host machine (didn't helped): wget https://github.com/jellyfin/jellyfin-ffmpeg/releases/download/v7.0.2-3/jellyfin-ffmpeg7_7.0.2-3-bullseye_arm64.deb sudo dpkg -i jellyfin-ffmpeg7_7.0.2-3-bullseye_arm64.deb I also installed the debian version of "panfork-mesa" (didn't helped): wget https://build.opensuse.org/projects/home:amazingfate:panfork-mesa/signing_keys/download?kind=gpg -O public_key.asc sudo gpg --dearmor -o /etc/apt/keyrings/obs-home-amazingfate.gpg public_key.asc nano /etc/apt/sources.list > deb [signed-by=/etc/apt/keyrings/obs-home-amazingfate.gpg] https://download.opensuse.org/repositories/home:/amazingfate:/panfork-mesa/Debian_12/ ./ sudo apt update sudo apt install mali-g610-firmware How can I install the missing parts for debian? Or how did you installed it @Rdlop Greeting 0 Quote
Dyfcom Posted October 18 Author Posted October 18 (edited) Quote @Dyfcom Simply by I copied the firmware (also changed the docker-compose). But the same error from your initial post. I noticed that my RK3399 is using the Mali-T860 GPU and not the G610 from the newer chip on the orangepi 5. I deinstalled "panfork-mesa" and "libmali". Installed packages: sudo apt install -y mesa-utils libglx-mesa0 libgl1-mesa-dri copied the firmware again and hit: dmesg|grep mali [ 3.350996] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0 dpkg -l | grep -i mesa ii libgl1-mesa-dri:arm64 20.3.5-1 arm64 free implementation of the OpenGL API -- DRI modules ii libglapi-mesa:arm64 20.3.5-1 arm64 free implementation of the GL API -- shared library ii libglu1-mesa:arm64 9.0.1-1 arm64 Mesa OpenGL utility library (GLU) ii libglx-mesa0:arm64 20.3.5-1 arm64 free implementation of the OpenGL API -- GLX vendor library ii mesa-utils 8.4.0-1+b1 arm64 Miscellaneous Mesa GL utilities find /lib/firmware -name mali*.bin -ls 3907 268 -rw-r--r-- 1 root root 274432 Oct 18 14:44 /lib/firmware/mali_csffw.bin 141532 268 -rw-rw-r-- 1 root root 274432 Sep 16 18:07 /lib/firmware/arm/mali/arch10.8/mali_csffw.bin still the missing the other modules: ls -l /dev | grep -E "mpp|rga|dri|dma_heap" drwxr-xr-x 3 root root 120 Oct 18 14:24 dri I think my RK3399 is not ready to use for Hardware acceleration? And it's looks like I would need a desktop environment to use ist under debian? Edited October 18 by Dyfcom 0 Quote
Rdlop Posted October 18 Posted October 18 (edited) I don't have any packages installed dpkg -l | grep -i mesa I'm using v24.8.4 for Orange Pi 5 Plus running Armbian Linux 6.1.75-vendor-rk35xx Can you check if the firmware is loaded by the kernel ? dmesg|grep Mali [ 367.986293] mali fb000000.gpu: Loading Mali firmware 0x1010000 [ 367.988606] mali fb000000.gpu: Mali firmware git_sha: 814b47b551159067b67a37c4e9adda458ad9d852 Edited October 18 by Rdlop 0 Quote
Dyfcom Posted October 18 Author Posted October 18 I am using: v24.8.4 for NanoPi M4V2 running Armbian Linux 6.6.47-current-rockchip64 Packages: Debian rolling (bullseye), possible distro upgrade (bookworm) With: dmesg|grep Mali I am getting no results. With: dmesg|grep mali [ 3.350996] panfrost ff9a0000.gpu: mali-t860 id 0x860 major 0x2 minor 0x0 status 0x0 That is wierd.. 0 Quote
Werner Posted October 18 Posted October 18 topic split. rk3399 has nothing to do with rk3588 which the OPi5+ is built around. 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.