it's working fine on other boards like the orangepi5 (normal).
from the logs it seems to me theres a problem with the DMA buffer not getting properly loaded?
Kernel version
6.1.0-1021-rockchip
SBC model
Orange Pi 5 Plus
What operating system are you seeing this problem on?
Ubuntu 24.04 LTS (Noble Nombat)
Relevant logs
dmesg
[ 78.990804] dma-pl330 fed10000.dma-controller: pl330_submit_req:1722 Try increasing mcbufsz (440/256)
[ 78.990812] dma-pl330 fed10000.dma-controller: fill_queue:2248 Bad Desc(2)
[ 174.541361] rk_vcodec: mpp_task_dump_mem_region:2019: --- dump task 0 mem region ---
[ 174.541368] mpp_rkvenc2 fdbd0000.rkvenc-core: no memory region mapped
[ 174.541376] rk_vcodec: mpp_process_task_default:587: alloc_task failed.
[ 174.541385] rkvenc2_wait_result:2340: session 00000000b9ad9b65 pending list is empty!
[ 174.541392] rk_vcodec: mpp_msgs_wait:1628: session 3 wait result ret -5
[ 174.662472] rk_vcodec: mpp_process_request:1369: can not import fd 113
[ 174.662489] rk_vcodec: mpp_collect_msgs:1557: session 3 process cmd 401 ret -22
[ 174.662496] rk_vcodec: mpp_dev_ioctl:1667: collect msgs failed -22
[ 174.662557] rk_vcodec: mpp_task_attach_fd:1776: can't import dma-buf 122
[ 174.662564] rk_vcodec: mpp_translate_reg_address:1832: reg[ 0]: 0x0000007a fd 122 failed
[ 174.662570] rk_vcodec: mpp_task_dump_mem_region:2019: --- dump task 0 mem region ---
any thoughts at least? is there any information I'm missing? should I post this to the mpp github or is it something thats related to those custom kernels?
What happened?
trying to stream a v4l2 device (usb-webcam): ffmpeg -thread_queue_size 512 -i /dev/video1 -thread_queue_size 512 -f alsa -i plughw:CARD='Webcam' -c:v h264_rkmpp -profile:v baseline -tune zerolatency -c:a libopus -b:a 128k -ac 2 -f rtsp rtsp://localhost:8554/mystream
it's working fine on other boards like the orangepi5 (normal). from the logs it seems to me theres a problem with the DMA buffer not getting properly loaded?
Kernel version
6.1.0-1021-rockchip
SBC model
Orange Pi 5 Plus
What operating system are you seeing this problem on?
Ubuntu 24.04 LTS (Noble Nombat)
Relevant logs
dmesg
dtc -I fs -O dts /proc/device-tree > device-tree.dts grep -i dma device-tree.dts
ls -als /dev/dma_heap/