[HW Accel Support]:VPU Hardware Decoding Fails on RK3566 for Frigate, but Works for Jellyfin #18878
Unanswered
kellyzb2055
asked this question in
Hardware Acceleration Support
Replies: 1 comment 4 replies
-
we need to see logs or something showing why it is not working |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
Hello,
I'm having an issue with my server, which has an RK3566 CPU. After installing Frigate, I am unable to enable VPU hardware decoding. However, hardware decoding works correctly with Jellyfin, which is also installed via Docker on the same server. I'm not sure what the problem is and would be very grateful for your help in resolving it.
Below is my server's hardware information, Frigate's installation and configuration details, and Jellyfin's installation information. Please let me know if you need any other information.
Thank you very much!
a. Installation Information (Docker Compose)
Use code with caution.
Yaml
It should be noted that I also tried using the devices configuration from my Jellyfin docker-compose.yml for Frigate, but hardware decoding still failed to enable. The VPU does not appear to be working correctly. Below is the output from the command used to monitor VPU usage:
Generated bash
watch -n 1 cat /proc/mpp_service/sessions-summary
Every 1.0s: cat /proc/mpp_service/sessions-summary OECT2: Wed Jun 25 23:18:59 2025
session iova range dump:
session: pid=572653 index=11
device: fdf80200.rkvdec
memory: 0 MiB
Use code with caution.
Bash
b. Configuration Information (Frigate config.yml)
Generated yaml
ffmpeg:
output_args:
record: preset-record-generic-audio-aac
hwaccel_args: preset-rk-h264 # Enable hardware acceleration
Use code with caution.
Yaml
3. Jellyfin Installation Information (VPU works correctly with this setup)
Generated yaml
services:
jellyfinny:
image: nyanmisaka/jellyfin:latest-rockchip
container_name: jellyfinny
privileged: true
ports:
- "8096:8096"
devices:
- /dev/dri:/dev/dri
- /dev/dma_heap:/dev/dma_heap
- /dev/mali0:/dev/mali0
- /dev/rga:/dev/rga
- /dev/mpp_service:/dev/mpp_service
- /dev/iep:/dev/iep
- /dev/mpp-service:/dev/mpp-service
- /dev/vpu_service:/dev/vpu_service
- /dev/vpu-service:/dev/vpu-service
- /dev/hevc_service:/dev/hevc_service
- /dev/hevc-service:/dev/hevc-service
- /dev/rkvdec:/dev/rkvdec
- /dev/rkvenc:/dev/rkvenc
- /dev/vepu:/dev/vepu
- /dev/h265e:/dev/h265e
restart: unless-stopped
Version
0.15.0-6cb5cfb
Frigate config file
docker-compose file or Docker CLI command
Relevant Frigate log output
Relevant go2rtc log output
FFprobe output from your camera
Install method
Docker Compose
Object Detector
RKNN
Network connection
Wireless
Camera make and model
tiandy
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions