|
发表于 2023-2-10 16:47:42
浏览:4712
|
回复:1
打印
只看该作者
[复制链接]
楼主
本帖最后由 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[203214]: mpp_info: mpp version: 93b1cd14 author: He Hua 2022-12-26 [vpu_api]: modify struct VideoFrame
Feb 10 08:33:43 firefly kernel: [30744.493175] mpp_dma_import_fd:208: dma_buf_get fd 2 failed(-22)
Feb 10 08:33:43 firefly kernel: [30744.493278] rk_vcodec: mpp_task_attach_fd:1760: can't import dma-buf 2
Feb 10 08:33:43 firefly kernel: [30744.493298] rk_vcodec: mpp_translate_reg_address:1816: reg[128]: 0x00000002 fd 2 failed
Feb 10 08:33:43 firefly kernel: [30744.493314] rk_vcodec: mpp_task_dump_mem_region:2003: --- dump mem region ---
Feb 10 08:33:43 firefly kernel: [30744.493342] mpp_rkvdec2 fdc38100.rkvdec-core: no memory region mapped
Feb 10 08:33:43 firefly kernel: [30744.493359] rk_vcodec: mpp_process_task_default:615: alloc_task failed.
Feb 10 08:33:43 firefly kernel: [30744.493530] rk_vcodec: mpp_wait_result_default:905: session 203214:265 pending list is empty!
Feb 10 08:33:43 firefly kernel: [30744.493556] rk_vcodec: mpp_msgs_wait:1612: session 265 wait result ret -5
Feb 10 08:33:43 firefly kernel: [30744.935754] mpp_dma_import_fd:208: dma_buf_get fd 2 failed(-22)
Feb 10 08:33:43 firefly kernel: [30744.935796] rk_vcodec: mpp_task_attach_fd:1760: can't import dma-buf 2
Feb 10 08:33:43 firefly kernel: [30744.935804] rk_vcodec: mpp_translate_reg_address:1816: reg[128]: 0x00000002 fd 2 failed
Feb 10 08:33:43 firefly kernel: [30744.935811] rk_vcodec: mpp_task_dump_mem_region:2003: --- dump mem region ---
Feb 10 08:33:43 firefly kernel: [30744.935824] mpp_rkvdec2 fdc38100.rkvdec-core: no memory region mapped
Feb 10 08:33:43 firefly kernel: [30744.935834] rk_vcodec: mpp_process_task_default:615: alloc_task failed.
Feb 10 08:33:43 firefly kernel: [30744.935891] rk_vcodec: mpp_wait_result_default:905: session 203214:265 pending list is empty!
Feb 10 08:33:43 firefly kernel: [30744.935907] rk_vcodec: mpp_msgs_wait:1612: session 265 wait result ret -5
Feb 10 08:33:43 firefly mpp[203214]: mpp_buffer: ~MppBufferService cleaning misc group
Feb 10 08:34:00 firefly mpp[203293]: mpp_info: mpp version: 93b1cd14 author: He Hua 2022-12-26 [vpu_api]: modify struct VideoFrame
Feb 10 08:34:01 firefly kernel: [30762.013189] mpp_dma_import_fd:208: dma_buf_get fd 2 failed(-22)
已解决
|
|