darennet 发表于 2024-4-15 14:47:13

aio-3568j Vode 0 Atomic Commit failed Invalid argument

Hi:
我在调试AIO-3568J摄像头应用程序时,遇到了如下问题,请帮忙分析指导一下:

# ./rk_mpi_vi_vo
rk-debug -----------------------Graphics so version=4.25.11-----------------------------
rk-debug init version=4.25.11,args, threadId=547790705024
arm_release_ver: g13p0-01eac0, rk_so_ver: 10
GL Version = OpenGL ES 3.2 v1.g13p0-01eac0.49c924c346122d8a11ebffb23bb597ac
GL Vendor = ARM
GL Renderer = Mali-G52
rk-debug setupGraphicsRenderInRGB1555YUVTarget
rk-debug setupGraphicsRenderInRGB888YUVTarget
rk-debug os_memory_size=3
rk-debug -----------------------Graphics so version=4.25.11-----------------------------
rk-debug init version=4.25.11,args, threadId=547650072960
GL Version = OpenGL ES 3.2 v1.g13p0-01eac0.49c924c346122d8a11ebffb23bb597ac
GL Vendor = ARM
GL Renderer = Mali-G52
rk-debug setupGraphicsRenderInRGB1555YUVTarget
rk-debug setupGraphicsRenderInRGB888YUVTarget
rk-debug os_memory_size=3
----------->RK_MPI_SYS_Init success
----------->vi_dev_init success
rockit log path (null), log_size = 0
log_file = (nil)
RTVersion      06:44:11-925 {dump            :064} ---------------------------------------------------------
RTVersion      06:44:11-925 {dump            :065} rockit version: git-e5c70ee41 Fri Sep 15 09:17:17 2023 +0800
RTVersion      06:44:11-925 {dump            :066} rockit building: built-Chu 2023-09-15 11:40:17
RTVersion      06:44:11-925 {dump            :067} ---------------------------------------------------------
----------->RK_MPI_VI_SetChnAttr success
Using mplane plugin for capture
Using mplane plugin for capture
RTDeviceV4L2   06:44:11-963 {ispIOCtrl         :430} request c0d05605, err: Inappropriate ioctl for device[-22]
RTDeviceV4L2   06:44:11-963 {ispIOCtrl         :434} request c0d05605, CMD=5, err: Inappropriate ioctl for device[-22]
RTDeviceV4L2   06:44:11-963 {ispInitFormat   :657} /dev/video0: failed to set format(capType=1, NV12, w=1280, h=960).
RTNodeSourceV4L2 06:44:11-963 {openDev         :312} failed to open task node for video/v4l2
RTTaskNodeBase   06:44:11-963 {prepareForRun   :512} task node 0 open failed!
RTTaskGraph      06:44:11-963 {prepareNodeForRun :299} failed to prepareNodeForRun(id=0)! interrupt running
RTDeviceV4L2   06:44:11-963 {invoke            :1057} unsupport command interrupt
RTTaskGraph      06:44:11-963 {prepare         :368} task graph prepare for run failed!, ret=-65
RTDeviceV4L2   06:44:11-963 {invoke            :1057} unsupport command interrupt
----------->RK_MPI_VI_EnableChn success
----------->vi_chn_init success
Using mplane plugin for capture
drm_get_vo_type connector 18 1 out of vo intf type range
----------->RK_MPI_VO_SetPubAttr success
drm_output_create crtc id 71
mpi_vo         06:44:12-052 {RK_MPI_VO_UnBindLa:842} VoLayer 2 is't bind to Vodev 0
----------->RK_MPI_VO_BindLayer success
----------->RK_MPI_VO_SetLayerAttr success
rk-debug -----------------------Graphics so version=4.25.11-----------------------------
----------->RK_MPI_VO_EnableLayer success
stLayerAttr.stImageSize.u32Width=1280
stLayerAttr.stImageSize.u32Height=960
----------->RK_MPI_VO_SetChnAttr success
----------->RK_MPI_VO_EnableChn success
----------->create_vo success
----------->RK_MPI_SYS_Bind success
rk-debug init version=4.25.11,args, threadId=547361890688
GL Version = OpenGL ES 3.2 v1.g13p0-01eac0.49c924c346122d8a11ebffb23bb597ac
GL Vendor = ARM
GL Renderer = Mali-G52
rk-debug setupGraphicsRenderInRGB1555YUVTarget
rk-debug setupGraphicsRenderInRGB888YUVTarget
rk-debug os_memory_size=3
^C
root@rk3568-buildroot:/mnt/nfs/aio3568# ./rk_mpi_vi_vo
rk-debug -----------------------Graphics so version=4.25.11-----------------------------
rk-debug init version=4.25.11,args, threadId=547825176960
arm_release_ver: g13p0-01eac0, rk_so_ver: 10
GL Version = OpenGL ES 3.2 v1.g13p0-01eac0.49c924c346122d8a11ebffb23bb597ac
GL Vendor = ARM
GL Renderer = Mali-G52
rk-debug setupGraphicsRenderInRGB1555YUVTarget
rk-debug setupGraphicsRenderInRGB888YUVTarget
rk-debug os_memory_size=3
rk-debug -----------------------Graphics so version=4.25.11-----------------------------
rk-debug init version=4.25.11,args, threadId=547608326528
GL Version = OpenGL ES 3.2 v1.g13p0-01eac0.49c924c346122d8a11ebffb23bb597ac
GL Vendor = ARM
GL Renderer = Mali-G52
rk-debug setupGraphicsRenderInRGB1555YUVTarget
rk-debug setupGraphicsRenderInRGB888YUVTarget
rk-debug os_memory_size=3
----------->RK_MPI_SYS_Init success
----------->vi_dev_init success
rockit log path (null), log_size = 0
log_file = (nil)
RTVersion      06:44:45-352 {dump            :064} ---------------------------------------------------------
RTVersion      06:44:45-352 {dump            :065} rockit version: git-e5c70ee41 Fri Sep 15 09:17:17 2023 +0800
RTVersion      06:44:45-352 {dump            :066} rockit building: built-Chu 2023-09-15 11:40:17
RTVersion      06:44:45-352 {dump            :067} ---------------------------------------------------------
----------->RK_MPI_VI_SetChnAttr success
Using mplane plugin for capture
Using mplane plugin for capture
Using mplane plugin for capture
RKALG-I: InsertExtraBackendCreator 3
RKALG-I: --s-- rk_swcac_loglevl_set()
----------->RK_MPI_VI_EnableChn success
----------->vi_chn_init success
mpi_vo         06:44:45-412 {RK_MPI_VO_DisableL:1093} layer 2 had already been diabled
mpi_vo         06:44:45-412 {RK_MPI_VO_DisableL:1093} layer 4 had already been diabled
mpi_vo         06:44:45-412 {RK_MPI_VO_DisableL:1093} layer 5 had already been diabled
mpi_vo         06:44:45-412 {RK_MPI_VO_DisableL:1093} layer 6 had already been diabled
mpi_vo         06:44:45-412 {RK_MPI_VO_DisableL:1093} layer 7 had already been diabled
drm_get_vo_type connector 18 1 out of vo intf type range
----------->RK_MPI_VO_SetPubAttr success
drm_output_create crtc id 71
mpi_vo         06:44:45-500 {RK_MPI_VO_UnBindLa:842} VoLayer 2 is't bind to Vodev 0
----------->RK_MPI_VO_BindLayer success
----------->RK_MPI_VO_SetLayerAttr success
rk-debug -----------------------Graphics so version=4.25.11-----------------------------
----------->RK_MPI_VO_EnableLayer success
stLayerAttr.stImageSize.u32Width=1280
stLayerAttr.stImageSize.u32Height=960
----------->RK_MPI_VO_SetChnAttr success
----------->RK_MPI_VO_EnableChn success
----------->create_vo success
----------->RK_MPI_SYS_Bind success
rk-debug init version=4.25.11,args, threadId=547449672064
GL Version = OpenGL ES 3.2 v1.g13p0-01eac0.49c924c346122d8a11ebffb23bb597ac
GL Vendor = ARM
GL Renderer = Mali-G52
rk-debug setupGraphicsRenderInRGB1555YUVTarget
rk-debug setupGraphicsRenderInRGB888YUVTarget
rk-debug os_memory_size=3
rk-debug doByGLcreateFence consume time=30 ms , threadID =547449672064 priority
mpi_vo_composer06:44:46-574 {vo_composer_thread:290} Layer 2 compose cost 40120 us, frame interval 33333 us
drm_render       06:44:46-584 {drm_render      :809} VoDev 0 Layer 2 update shake 79600064, 30
drm_render       06:44:46-584 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:46-617 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:46-651 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:46-684 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:46-717 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:46-751 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:46-784 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:46-817 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:46-851 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:46-884 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:46-917 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:46-950 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:46-984 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:47-017 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:47-050 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:47-084 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument

drm_render       06:44:47-117 {drm_render      :845} Vodev 0 Atomic Commit failed Invalid argument
谢谢!

页: [1]
查看完整版本: aio-3568j Vode 0 Atomic Commit failed Invalid argument