rockchip-linux / mpp

Media Process Platform (MPP) module
468 stars 156 forks source link

MPP报错 #481

Open Ryan3812 opened 7 months ago

Ryan3812 commented 7 months ago

您好,我使用MPP解码H264 报了以下错误,请问是什么原因 mpp[13917]: mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret -1 mpp[13917]: mpp_buffer: mpp_buffer_create failed to create buffer with size 2626560 mpp[13917]: mpp_buffer: mpp_buffer_put invalid input: buffer NULL from vdpu34x_h264d_deinit mpp[13917]: mpp_buf_slot: Assertion !slot->status.on_used failed at clear_slots_impl:519 mpp[13917]: mpp_buf_slot: #012caller clear_slots_impl is dumping slots mpp[13917]: mpp_buf_slot: slots 1 0x559a443820 buffer count 2 buffer size 0 mpp[13917]: mpp_buf_slot: decode count 0 mpp[13917]: mpp_buf_slot: display count 0 mpp[13917]: mpp_buf_slot: slot 0 used 0 refer 0 decoding 0 display 0 status 00000000 mpp[13917]: mpp_buf_slot: slot 1 used 1 refer 0 decoding 0 display 0 status 00000003 mpp[13917]: mpp_buf_slot: #012slot operation history:#012 mpp[13917]: mpp_buf_slot: index 0 op: init status in 00000000 out 00000000 mpp[13917]: mpp_buf_slot: index 1 op: init status in 00000000 out 00000000 mpp[13917]: mpp_buf_slot: index 0 op: set on use status in 00000000 out 00000001 mpp[13917]: mpp_buf_slot: index 0 op: set not ready status in 00000001 out 00000003 mpp[13917]: mpp_buf_slot: index 0 op: set buffer status in 00000003 out 00040003 mpp[13917]: mpp_buf_slot: index 0 op: set codec ready status in 00040003 out 00040001 mpp[13917]: mpp_buf_slot: index 0 op: set hal input status in 00040001 out 00040011 mpp[13917]: mpp_buf_slot: index 1 op: set on use status in 00000000 out 00000001 mpp[13917]: mpp_buf_slot: index 1 op: set not ready status in 00000001 out 00000003 mpp[13917]: mpp_buf_slot: index 0 op: clr hal input status in 00040011 out 00040001 mpp[13917]: mpp_buf_slot: index 0 op: clr buffer status in 00040001 out 00000001 mpp[13917]: mpp_buf_slot: index 0 op: clr on use status in 00000001 out 00000000 mpp[13917]: mpp_buf_slot: Assertion 0 failed at _dump_slots:338 mpp[13917]: mpp_buf_slot: can not clr queue_use on slot 1 mpp[13917]: mpp_buf_slot: #012caller slot_ops_with_log is dumping slots mpp[13917]: mpp_buf_slot: slots 1 0x559a443820 buffer count 2 buffer size 0 mpp[13917]: mpp_buf_slot: decode count 0 mpp[13917]: mpp_buf_slot: display count 0 mpp[13917]: mpp_buf_slot: slot 0 used 0 refer 0 decoding 0 display 0 status 00000000 mpp[13917]: mpp_buf_slot: slot 1 used 1 refer 0 decoding 0 display 0 status 00000003 mpp[13917]: mpp_buf_slot: #012slot operation history:#012 mpp[13917]: mpp_buf_slot: index 1 op: clr queue use status in 00000003 out 00000003 mpp[13917]: mpp_buf_slot: Assertion 0 failed at _dump_slots:338 mpp[13917]: mpp_buf_slot: can not clr queue_use on slot 1 mpp[13917]: mpp_buf_slot: #012caller slot_ops_with_log is dumping slots mpp[13917]: mpp_buf_slot: slots 1 0x559a443820 buffer count 2 buffer size 0 mpp[13917]: mpp_buf_slot: decode count 0 mpp[13917]: mpp_buf_slot: display count 0 mpp[13917]: mpp_buf_slot: slot 0 used 0 refer 0 decoding 0 display 0 status 00000000 mpp[13917]: mpp_buf_slot: slot 1 used 1 refer 0 decoding 0 display 0 status 00000003 mpp[13917]: mpp_buf_slot: #012slot operation history:#012 mpp[13917]: mpp_buf_slot: index 1 op: dequeue output status in 00000003 out 00000003 mpp[13917]: mpp_buf_slot: Assertion 0 failed at _dump_slots:338

HermanChen commented 7 months ago

mpp_drm: os_allocator_drm_alloc handle_to_fd failed ret

看起来是 drm 分析器出问题,分 2M 多的内存失败了