Trouble enabling hardware acceleration for video decoding on OpenWrt

Started by NY4N_M4THS

NY4N_M4THS

Hello,
I'm trying to configure a bunch of servers on my newly acquired Photonicat 2 and I havee been struggling for a week over hardware acceleration for transcoding in Jellyfin. I can't find any device nodes that should be exposed, so I guess some necessary kernel modules are not bundled in the OpenWrt image. Did I miss something and it can actually be easily achieved ? In the other case, would it be possible to get relatively out-of-the-box support for hardware acceleration in the official image ?
Thanks in advance for any response.

superlynx

Hi,
OpenWRT will not include any video decoding acceleration. If you really need this, please try our Debian image.

NY4N_M4THS

Hi,
I've been testing the Debian image for a few days and it looks like hardware acceleration can be achieved there with a bit of tinkering, but I'm still trying to figure out how to still use the Photonicat as a router even in Debian, which will most surely prove itself way less practical than OpenWrt. As for now, I'm running Nextcloud, Jellyfin, a bunch of game servers and I also use this device as my main router to connect to the internet wherever I go. If there is any way to get hardware acceleration working in OpenWrt instead, that would be amazing, but currently, when transcoding happens in Jellyfin, the Photonicat's CPU just stays at 100% usage forever. As a non-conoisseur in this matter, could you give me hints to take ful advantage of this nicely-speced VPU in OpenWrt as adding it in the official image is not planned ?
Thanks for your help.

superlynx

HI,
OpenWRT is not designed for multimedia applications, it lacks many libraries used by multimedia applications. And the kernel version used by OpenWRT (6.12) is not satisfied by the VPU driver in mainline kernel, make it impossible to backport it to OpenWRT now.

Want to reply to this topic?

Sign in to participate

Don't have an account? Sign up