Jump to content

Recommended Posts

Posted

I want to install jellyfin on my OrangePi 5 Plus and need OpenCL to enable HDR-SDR mapping.

I tried to follow the instruction on Jellyfin's official website: Rockchip VPU | Jellyfin

However, I'm stucked on the step of installing OpenCL.

I also tried this: Install OpenCL on Debian and Ubuntu and Armbian for Orange Pi 5 RK3588

But no luck either.

Both instruction led to broken hardware acceleration in chrome and failing to start kernal in Jellyfin.

 

Logs from ffmpeg:

sudo /usr/lib/jellyfin-ffmpeg/ffmpeg -v debug -init_hw_device rkmpp=rk -init_hw_device opencl=ocl@rk

Applying option init_hw_device (initialise hardware device) with argument opencl=ocl@rk. 
arm_release_ver: g13p0-01eac0, rk_so_ver: 10 Failed creating base context during opening of kernel driver. Kernel module may not have been loaded 
[AVHWDeviceContext @ 0xaaab055f5460] 1 OpenCL platforms found. 
[AVHWDeviceContext @ 0xaaab055f5460] 1 OpenCL devices found on platform "ARM Platform". 
arm_release_ver: g13p0-01eac0, rk_so_ver: 10 Failed creating base context during opening of kernel driver. Kernel module may not have been loaded 
[AVHWDeviceContext @ 0xaaab055f5460] 0.0: ARM Platform / Unknown Device Segmentation fault

 

Logs from Jellyfin:

Failed creating base context during opening of kernel driver. 
Kernel module may not have been loaded 
Failed creating base context during opening of kernel driver. 
Kernel module may not have been loaded

 

Logs from clinfo:
 

arm_release_ver: g13p0-01eac0, rk_so_ver: 10
Failed creating base context during opening of kernel driver.
Kernel module may not have been loaded

 

I want to know how to correctly enable OpenCL on OrangePi 5 Plus, thank you!

Posted
34 минуты назад, Lele сказал:

I want to know how to correctly enable OpenCL on OrangePi 5 Plus, thank you!

Please let the community know which core your device is running on.

Posted
Quote

Please let the community know which core your device is running on.

Maybe it's this?

> uname -r
6.1.75-vendor-rk35xx

I'm using this img: Armbian_24.11.2_Orangepi5-plus_noble_vendor_6.1.75_gnome-kisak_desktop.img

After installed, I used armbian-config to disable the firmware update (because otherwise apt upgrade also break hardware acceleration in chrome). Then I ran:

sudo apt update
sudo apt upgrade

Then, following jellyfin's guide (Rockchip VPU | Jellyfin), in /etc/udev/rules.d/99-rk-device-permissions.rules, I also changed this:

KERNEL=="system", MODE="0660", GROUP="video"

to this:

KERNEL=="system", MODE="0666", GROUP="video"

I also paste the whole clinfo message here: pastebin (clinfo)

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines