已经解决
本帖最后由 sxj731533730 于 2023-2-10 17:26 编辑固件使用最新的
ITX-3588J_Ubuntu20.04-Gnome-r2209_v1.0.6a_230105.7z 刷的这个固件
遇到问题 添加opencv 库 无法播放yuv和显示画面 全是绿色
代码 git clone https://github.com/yijiesun/mpp_drm_rga_demo.git 我也不确定是否属于官方问题还是该代码问题,但是该代码主逻辑来自官方的推荐demo
Feb 10 08:33:43 firefly mpp: mpp_info: mpp version: 93b1cd14 author: He Hua 2022-12-26 : modify struct VideoFrame
Feb 10 08:33:43 firefly kernel: mpp_dma_import_fd:208: dma_buf_get fd 2 failed(-22)
Feb 10 08:33:43 firefly kernel: rk_vcodec: mpp_task_attach_fd:1760: can't import dma-buf 2
Feb 10 08:33:43 firefly kernel: rk_vcodec: mpp_translate_reg_address:1816: reg: 0x00000002 fd 2 failed
Feb 10 08:33:43 firefly kernel: rk_vcodec: mpp_task_dump_mem_region:2003: --- dump mem region ---
Feb 10 08:33:43 firefly kernel: mpp_rkvdec2 fdc38100.rkvdec-core: no memory region mapped
Feb 10 08:33:43 firefly kernel: rk_vcodec: mpp_process_task_default:615: alloc_task failed.
Feb 10 08:33:43 firefly kernel: rk_vcodec: mpp_wait_result_default:905: session 203214:265 pending list is empty!
Feb 10 08:33:43 firefly kernel: rk_vcodec: mpp_msgs_wait:1612: session 265 wait result ret -5
Feb 10 08:33:43 firefly kernel: mpp_dma_import_fd:208: dma_buf_get fd 2 failed(-22)
Feb 10 08:33:43 firefly kernel: rk_vcodec: mpp_task_attach_fd:1760: can't import dma-buf 2
Feb 10 08:33:43 firefly kernel: rk_vcodec: mpp_translate_reg_address:1816: reg: 0x00000002 fd 2 failed
Feb 10 08:33:43 firefly kernel: rk_vcodec: mpp_task_dump_mem_region:2003: --- dump mem region ---
Feb 10 08:33:43 firefly kernel: mpp_rkvdec2 fdc38100.rkvdec-core: no memory region mapped
Feb 10 08:33:43 firefly kernel: rk_vcodec: mpp_process_task_default:615: alloc_task failed.
Feb 10 08:33:43 firefly kernel: rk_vcodec: mpp_wait_result_default:905: session 203214:265 pending list is empty!
Feb 10 08:33:43 firefly kernel: rk_vcodec: mpp_msgs_wait:1612: session 265 wait result ret -5
Feb 10 08:33:43 firefly mpp: mpp_buffer: ~MppBufferService cleaning misc group
Feb 10 08:34:00 firefly mpp: mpp_info: mpp version: 93b1cd14 author: He Hua 2022-12-26 : modify struct VideoFrame
Feb 10 08:34:01 firefly kernel: mpp_dma_import_fd:208: dma_buf_get fd 2 failed(-22)
已解决
想问一下这个报错是怎么解决的
Feb 10 08:33:43 firefly mpp: mpp_buffer: ~MppBufferService cleaning misc group
页:
[1]