Jellyfin Forum
SOLVED: RK3588 Hardware Acceleration - Printable Version

+- Jellyfin Forum (https://forum.jellyfin.org)
+-- Forum: Support (https://forum.jellyfin.org/f-support)
+--- Forum: Troubleshooting (https://forum.jellyfin.org/f-troubleshooting)
+--- Thread: SOLVED: RK3588 Hardware Acceleration (/t-solved-rk3588-hardware-acceleration)

Pages: 1 2 3


RE: RK3588 Hardware Acceleration - wiguelito - 2024-09-02

it appears that the device tree is super problematic, tried to add what was missing into the device tree and automatically it gave me a syntaxis error


RE: RK3588 Hardware Acceleration - nyanmisaka - 2024-09-02

FYI ubuntu-rockchip has preliminary support for opi 5 max. You can try that too.

https://github.com/Joshua-Riek/ubuntu-rockchip


RE: RK3588 Hardware Acceleration - wiguelito - 2024-09-02

verified the ubuntu rockchip dts and it didn't have the &av1d that you mentioned


RE: RK3588 Hardware Acceleration - nyanmisaka - 2024-09-02

So it has only preliminary support. On other boards: https://github.com/Joshua-Riek/linux-rockchip/commit/f9547a33c3f177ed42bb3a1e9335adeb20cd9cc3


RE: RK3588 Hardware Acceleration - wiguelito - 2024-09-02

i think i discovered the issue, might be missing some file, cause i downloaded the orange pi 5 plus dts from the tree you mentioned, dint edit only tried to compile it to dtb and it gives the same syntax error. what file am i missing i'm not sure.


RE: RK3588 Hardware Acceleration - wiguelito - 2024-09-03

decided to verify the dts file inside my orange pi os directly instead of the git one and it does have the av1d setting so that appears to not be the problem at least that i know of

for example I've seen various line like this,

pclk_av1_pre@fd7c0910 {
compatible = "rockchip,rk3588-clock-gate-link";
reg = <0x00 0xfd7c0910 0x00 0x10>;
clock-names = "link";
clocks = <0x02 0x1be>;
#power-domain-cells = <0x01>;
#clock-cells = <0x00>;
phandle = <0x210>;
};

aclk_av1_pre@fd7c0910 {
compatible = "rockchip,rk3588-clock-gate-link";
reg = <0x00 0xfd7c0910 0x00 0x10>;
clock-names = "link";
clocks = <0x02 0x1bc>;
#power-domain-cells = <0x01>;
#clock-cells = <0x00>;
phandle = <0x211>;
};

and this

av1d@fdc70000 {
compatible = "rockchip,av1-decoder";
reg = <0x00 0xfdc70000 0x00 0x800 0x00 0xfdc80000 0x00 0x400 0x00 0xfdc90000 0x00 0x400>;
reg-names = "vcd\0cache\0afbc";
interrupts = <0x00 0x6c 0x04 0x00 0x6b 0x04 0x00 0x6a 0x04>;
interrupt-names = "irq_av1d\0irq_cache\0irq_afbc";
clocks = <0x02 0x49 0x02 0x4b>;
clock-names = "aclk_vcodec\0hclk_vcodec";
rockchip,normal-rates = <0x17d78400 0x17d78400>;
assigned-clocks = <0x02 0x49 0x02 0x4b>;
assigned-clock-rates = <0x17d78400 0x17d78400>;
resets = <0x02 0x442 0x02 0x445>;
reset-names = "video_a\0video_h";
iommus = <0xda>;
rockchip,srv = <0xc4>;
rockchip,taskqueue-node = <0x0b>;
power-domains = <0x6e 0x17>;
status = "disabled";
phandle = <0x28b>;
};

edit:
noticed the disabled status currently attempting to fix it and check the result


RE: RK3588 Hardware Acceleration - wiguelito - 2024-09-04

fixed it, now i have a img made but it is too big (10GB), the original img was 4GB (don't know how to reduce it) if anyone knows how to and wants the img i'll send it since orange pi has no plans to fix this issue right now.