Closed FirstMelody closed 3 months ago
OpenCL performance that is lower than expected can usually be caused by two reasons:
OpenCL performance that is lower than expected can usually be caused by two reasons:
- Mali CSF firmware version and bifrost kernel driver version do not match. See also 更换了Armbian_23.11.1_Orangepi5-plus_bookworm_legacy_5.10.160.img后好像hevc 10解码失效了😭 #24
- The power supply output power is insufficient, causing the GPU to throttle or reduce frequency.
Thanks for your prompt reply!
I've checked the issue and tried three version of mali csf firmware(I am using valhall), latest and two versions you mentioned in the issue. And power supply is also unlikely the cause of the issue for that it was performing normally before upgrading and it was came with orangepi5
I have been using the 6.1 kernel for three months and have not encountered similar issues. Also, since the guy in the thread I linked to solved the problem on his OrangePi 5 Plus, I think it's not an issue with either the GPU driver or ffmpeg.
The video source file is large in size and has a high bit rate. Consider this a network connection speed or drive speed issue.
I wrongly clicked the close issue button. The video file I used is a movie I watched with transcoding before. And it was fine. Also, disabling tone-mapping would make the transcode speed back to normal (90fps ish). I am so confused right now. Maybe I need a clean install?
I got ~55fps on 4k to 4k with tone-mapping and PGS burn-in enabled.
I use my own kernel configuration. Maybe orangepi has wrong kernel defconfig enabled for 6.1. You can compare both. https://github.com/nyanmisaka/linux-rockchip/commits/rk-6.1-dev2
Any update? If not I will have to close this as it's not an issue of this project.
Sorry for the delay. I have been so busy recently. And I've re-flashed the orangepi back to 5.10 kernel and everything is back to normal. And I didn't see any updates of the kernel from orangepi team. And armbian is also not releasing their kernel. So I guess this issue should be closed. Anyway, thanks for your contribution!
After upgrading the kernel from 5.1 to 6.1 (orangepi-linux latest kernel),tone-mapping got super slow even upgraded opencl driver. Both latest and v1.9-1-3381696 is not functioning correctly.
Before upgrading the kernel, everything is fine with legacy opencl driver.
Orange Pi 1.1.8 Bookworm with Linux 6.1.43-rockchip-rk3588
clinfo output: https://pastebin.com/eH0YEEfB
Jellyfin-ffmpeg log: https://pastebin.com/fpUN4JMG
docker-compose.yml: https://pastebin.com/jrbsDvrK