mpp icon indicating copy to clipboard operation
mpp copied to clipboard

mpp_dma_heap: dma-heap open /dev/dma_heap/system-uncached No such file or directory

Open pan1024 opened this issue 1 year ago • 2 comments

在RK3588运行yolov5视频识别demo时爆出这样的错误

mpp_dma_heap: dma-heap open /dev/dma_heap/system-uncached No such file or directory mpp_dma_heap: Assertion fd > 0 failed at heap_fd_open:139 mpp_dma_heap: os_allocator_dma_heap_open open dma heap type 0 failed! mpp_allocator: mpp_allocator_get type 1 failed mpp_buffer: Assertion p->allocator failed at get_group:936 mpp_buffer: Assertion p->alloc_api failed at get_group:937 mpp_dma_heap: dma-heap open /dev/dma_heap/system-uncached No such file or directory mpp_dma_heap: Assertion fd > 0 failed at heap_fd_open:139 mpp_dma_heap: os_allocator_dma_heap_open open dma heap type 0 failed! mpp_allocator: mpp_allocator_get type 1 failed mpp_buffer: Assertion p->allocator failed at get_group:936 mpp_buffer: Assertion p->alloc_api failed at get_group:937 Segmentation fault

pan1024 avatar Mar 23 '24 10:03 pan1024

内核的 dma-heap dts 是不是没有打开?

HermanChen avatar Apr 08 '24 07:04 HermanChen

  1. it commits to an allocator that is unavailable; the patch in https://github.com/rockchip-linux/mpp/issues/535 would fix this.
  2. then the Segmentation fault happens because of poor error handling; https://github.com/rockchip-linux/mpp/pull/571 would fix this.

scottlamb avatar Apr 14 '24 18:04 scottlamb