Was trying to install Frigate in a new Rock5b blue version V1.46 2023 11 06 and realise the GPU Acceleration is not working.
I use the official build B39 Debian xfce
I have followed the guide https://wiki.radxa.com/Rock5/guide/rockchip-mpp and the test result is:
rock@rock-5b:~/mpp/build/linux/aarch64$ ~/mpp/build/linux/aarch64/test/mpi_dec_test -i ~/1080p.264 -t 7 -h 1080 -w 1920
mpp[10686]: mpi_dec_utils: failed to open input file /home/rock/1080p.264
mpp[10686]: mpi_dec_utils: cmd parse result:
mpp[10686]: mpi_dec_utils: input file name: /home/rock/1080p.264
mpp[10686]: mpi_dec_utils: output file name:
mpp[10686]: mpi_dec_utils: width : 1920
mpp[10686]: mpi_dec_utils: height : 1080
mpp[10686]: mpi_dec_utils: type : 7
mpp[10686]: mpi_dec_utils: max frames : 0
mpp[10686]: mpi_dec_test: mpi_dec_test start
mpp[10686]: mpi: mpp_create enter ctx 0xfffff6a34dc0 mpi 0xfffff6a34dc8
mpp[10686]: mpp_info: mpp version: fdeb8c37 author: Herman Chen 2024-02-07 docs: Update 1.0.4 CHANGELOG.md
mpp[10686]: mpi: mpp_create leave ret 0 ctx 0xaaaabb9ff580 mpi 0xffffbd818368
mpp[10686]: mpi_dec_test: 0xaaaabb9ff580 mpi_dec_test decoder test start w 1920 h 1080 type 7
mpp[10686]: mpi: mpp_init enter ctx 0xaaaabb9ff580 type 0 coding 7
mpp[10686]: mpp_dma_heap: os_allocator_dma_heap_open open dma heap type 0 system failed!
mpp[10686]: mpp_buffer: MppBufferService get_group failed to get allocater with mode 0 type 20001
mpp[10686]: mpp_buffer: mpp_buffer_group_limit_config input invalid group (nil)
mpp[10686]: mpp_dma_heap: os_allocator_dma_heap_open open dma heap type 0 system-uncached failed!
mpp[10686]: mpp_buffer: MppBufferService get_group failed to get allocater with mode 0 type 1
mpp[10686]: mpp_hal: mpp_hal_init hal h264d_rkdec init failed ret -1
mpp[10686]: mpp_hal: mpp_hal_init could not found coding type 7
mpp[10686]: mpp_dec: mpp_dec_init could not init hal
mpp[10686]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[10686]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[10686]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[10686]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[10686]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[10686]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[10686]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[10686]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[10686]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[10686]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[10686]: mpp_time: mpp_clock_put invalid clock (nil)
mpp[10686]: mpp: error found on mpp initialization
mpp[10686]: mpi: mpp_init leave ctx 0xaaaabb9ff580 ret -1
mpp[10686]: mpi_dec_test: 0xaaaabb9ff580 mpp_init failed
mpp[10686]: mpi: mpp_destroy enter ctx 0xaaaabb9ff580
mpp[10686]: mpi: mpp_destroy leave ctx 0xaaaabb9ff580 ret 0
mpp[10686]: mpi_dec_test: test failed ret -1
mpi_dec_test[10686]: mpp_mem_pool: put_pool found 1 used buffer size 304
mpi_dec_test[10686]: mpp_mem_pool: put_pool found 4 used buffer size 224