工具与软件:
您好!
我们希望 在没有任何 AI 组件的情况下在 v3link 板上播放简单的视频流。
c7x 内核是否需要运行/加载固件才能使摄像头正常工作? 如果 AM67 (没有 A)应禁用 AI 内核、我们如何使用 CSI 摄像头输入?
以下是我们将获得的日志:
root@j722s-EVM:~#/opt/edgeai-gst-apps/scripts/setup_cameras_v3link.sh
检测到 IMX219摄像头0
器件=/dev/video-imx219-cam0
名称= imx219
格式=[fmt:SRGGB8_1X8/1920x1080字段:none]
subdev_id =/dev/v4l-imx219-subdev0
ISP_必需=是
LDC_required = yes
root@j722s-evm:~# gst-launch-1.0 v4l2src device=/dev/video-imx219-cam0 io-mode=5! \
> video/x-bayer,宽度=1920,高度=1080,帧速率=30/1,格式=rggb! \
>队列泄漏=2 ! tiovxisp sink_0::device=/dev/v4l-imx219-subdev0
> sensor-name=sensor_Sony_IMX219_RPI DCC-isp-file=/opt/imaging/imx219/linear/dcc_viss_1920x1080.bin \
> sink_0::dcc-2a-file=/opt/imaging/imx219/linear/dcc_2a_1920x1080.bin format-msb=7 \
> sink_0::pool-size=8 src ::pool-size=8! video/x-raw、format=NV12、width=1920、height=1080! \
>队列! 运维受电方
应用程序:初始化...!!!
1275.416506 s:内存:init ...!!
1275.416629 s:MEM:已初始化的 DMA 堆(FD=8)!!!
1275.416790 s:内存:初始化...完成!!
1275.416808 s:IPC:初始化...!!!
_rpmsg_char_find_ctrldev:找不到与 virtio2.rpmsg_chrdev.-1.13匹配的 rpmsg_ctrldev 设备
file_deref_link:/sys/bus/platform/devices/7e000000.dsp 的 readlink 失败
_rpmsg_char_find_rproc:7e000000.dsp 器件大部分尚未创建!
file_deref_link:/sys/bus/platform/devices/7e200000.dsp 的 readlink 失败
_rpmsg_char_find_rproc:7e2000.dsp 器件大部分尚未创建!
1275.477460 s:IPC:错误:无法为 CPU [MCU2_0]创建 TX 通道!!
1275.477478 s:IPC:错误:无法为 CPU [c7x_1]创建 TX 通道!!
1275.477491 s:IPC:错误:无法为 CPU [c7x_2]创建 TX 通道!!
1275.477504 s:IPC:初始化...完成!!
应用程序:错误:IPC 初始化失败!!!
remote_servic: init…!!
_rpmsg_char_find_ctrldev:找不到与 virtio2.rpmsg_chrdev.-1.21匹配的 rpmsg_ctrldev 设备
file_deref_link:/sys/bus/platform/devices/7e000000.dsp 的 readlink 失败
_rpmsg_char_find_rproc:7e000000.dsp 器件大部分尚未创建!
file_deref_link:/sys/bus/platform/devices/7e200000.dsp 的 readlink 失败
_rpmsg_char_find_rproc:7e2000.dsp 器件大部分尚未创建!
Remote_servic:初始化...完成!!!
1275.479514 s:GTC 频率= 200 MHz
应用程序:初始化...完成!!!
1275.479647 s:vx_zone_info:全局启用 vx_zone_error
1275.479663:vx_zone_info:全局启用 vx_zone_warning
1275.479677 s:vx_zone_info:全局启用 vx_zone_info
1275.480434 s:vx_zone_info:[tivxPlatformCreateTargetId:134]添加了目标 MPU-0
1275.480632 s:vx_zone_info:[tivxPlatformCreateTargetId:134]添加了目标 MPU-1
1275.480740 s:vx_zone_info:[tivxPlatformCreateTargetId:134]添加了目标 MPU-2
1275.480836 s:vx_zone_info:[tivxPlatformCreateTargetId:134]添加了目标 MPU-3
1275.480856 s:vx_zone_info:[tivxInitLocal:126] Initialization done!!
1275.480872 s:vx_zone_info:全局禁用 vx_zone_info
正在将管道设置为暂停...
1275.491616 s:vx_zone_error:[ownContextCreateCmdObj:161]上下文对象描述符[0]分配失败
1275.491675 s:vx_zone_error:[ownContextCreateCmdObj:164]上下文对象描述符[0]分配失败
1275.491692 s:vx_zone_error:[ownContextCreateCmdObj:165]已超过可用的最大对象描述符。 增加 TIVX_PLATION_MAX_OBJ_DESC_SHM_INST 值
1275.491710 s:vx_zone_error:[ownContextCreateCmdObj:166]将 source/platform/psdk_j7/common/tivx_platform_psdk_中的 TIVX_PLATION_MAX_obj_DESC_SHM_INST 值增大 soc .h
1275.491731 s:vx_zone_error:[vxCreateContext:1098]上下文异议创建失败
1275.491759 s:vx_zone_error:[ownIsKernelInContext:677]无法锁定上下文
1275.491776 s:vx_zone_error:[ownGetErrorObject:55]未能锁定上下文
1275.491792 s:vx_zone_error:[vxGetStatus:1178] Reference is NULL (参考为 NULL)
1275.491807 s:vx_zone_error:[vxLoadKernels:209]为模块 openvx-core 发布函数失败
1275.491840 s:vx_zone_error:[vxAllocateUserKernelId:1787]无法锁定上下文
1275.491856 s:vx_zone_error:[tivxAddKernelDmpacSde:394]无法分配用户内核 ID
1275.491871 s:vx_zone_error:[vxLoadKernels:209]为模块 hwa 发布函数失败
1275.491892 s:vx_zone_error:[vxAllocateUserKernelId:1787]无法锁定上下文
1275.491908 s:vx_zone_error:[tivxAddKernelDLPreProcArmv8:185]无法分配用户内核 ID
1275.491923 s:vx_zone_error:[vxLoadKernels:209]为模块 edgeai_img_proc 发布函数失败
管道处于活动状态、不需要 PREROLL ...
管道是 PREROLLED ...
正在将管道设置为播放...
1275.494716 s:vx_zone_error:[ownIncrementReference:668]未能锁定参考
新时钟:GstSystemClock
1275.494788 s:vx_zone_error:[ownAddReferenceToContext:385]无法锁定上下文
1275.494834 s:vx_zone_error:[ownCreateReference:770]添加对上下文的引用失败
1275.494856 s:vx_zone_error:[ownCreateReference:779]无法添加到资源表
1275.494872 s:vx_zone_error:[ownGetErrorObject:55]未能锁定上下文
1275.494888 s:vx_zone_error:[vxGetStatus:1178] Reference is NULL (参考为 NULL)
1275.494949905 s:vx_zone_error:[vxGetStatus:1178] Reference is NULL (参考值为 NULL)
**(GST-LAUNCH-1.0:1642):临界**:00:40:39.661:gst_tiovx_get_size_from_examplar:断言'vx_Success == vxGetStatus (examplar)"失败
错误:来自元素/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:没有可从中导入的下游池。
其他调试信息:
/usr/4510debug/gstreamer1.0-plugins-good/1.22.12/sys/v4l2/gstv4l2object.c(5471) src:gst_v4l2_object_decision_allocation ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
在导入 DMABUF 或 USERPTR 时、我们需要从中导入一个池
执行在0:00:00.334945295之后结束
正在将管道设置为空...
错误:来自元素/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:内部数据流错误。
其他调试信息:
/usr/4510debug/gstreamer1.0/1.22.12/libs/gst/base/gstbasesrc.c src (3134):gst_base_src_loop ():/GstPipeline:pipeline0/GstV4l2Src:v4l2src0:
流已停止、未协商原因(-4)
(gst-launch-1.0:1642):Gstreamer-video-critical **:00:40:39.996:gst_video_info_from_caps:asserting 'caps!= NULL' failed.
错误:来自元素/GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0:无法初始化 TIOVX 模块
其他调试信息:
/usr/4510debug/edgeai-gst-plugins/1.0.0/gst-libs/gst/tiovx/gsttiovxmiso.c src (1512):gst_tiovx_miso_negotated_src_cap ():/GstPipeline:pipeline0/GstTIOVXISP:tiovxisp0
正在释放管道...
1275.832584 s:vx_zone_error:[vxUnloadKernels:258]无法为模块 hwa 卸载内核
1275.832635 s:vx_zone_error:[vxUnloadKernels:258]无法为模块 edgeai_img_proc 卸载内核
1275.832682 s:vx_zone_error:[ownDecrementReference:625]未能锁定参考
应用程序:Deinit ...!!!
Remote_service:Deinit ...!!!
1275.837401 s:IPC:错误:关闭创建的端点失败!!!
1275.837425 s:IPC:错误:关闭创建的端点失败!!!
1275.837438 s:IPC:错误:关闭创建的端点失败!!!
Remote_servic: Deinit...完成了!!!
1275.837462 s:IPC:Deinit ...!!
捕获到 SIGSEGV
在 wait4 ()中来自/usr/lib/libc.so.6的#0 0x0000ffaffa2bf0d30
/usr/lib/libglib-2.0.so.0中 g_on_error_stack_trace ()中的#1 0x0000ffa2d85e6c
#2 0x0000000000405220英寸? ()
#3.
#4 0x0000ffa2ba2814在?? ()来自/usr/lib/libc.so.6
/usr/lib/libtivision_apps.so.10.1.0中的 appIpcDeleteRpmsgRxTask ()中的#5 0x0000ff9fe4d058
#6 0x0000ffff9fe4c41c /usr/lib/libtivision_apps.so.10.1.0
#7 0x0000ffff9fe56700 in appCommonDeInit () from /usr/lib/libtivision_apps.so.10.1.0
#8 0x0000ffa23a9004英寸 ()来自/usr/lib/libgsttiovx-1.0.so.1
#9 0x0000ffa2ced020在 g_object_unref ()中来自/usr/lib/libgobject-2.0.so.0
#10 0x0000ffffa23adc84在?? ()来自/usr/lib/libgsttiovx-1.0.so.1
#11 0x0000ffa2ced020 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
#12 0x0000ffa2f18658 in?? ()来自/usr/lib/libgstreamer-1.0.so.0
#13 0x0000ffa2f17828 in gst_bin_remove () from /usr/lib/libgstreamer-1.0.so.0
#14 0x0000ffa2f17b9c 输入? ()来自/usr/lib/libgstreamer-1.0.so.0
#15 0x0000ffa2cecf1c 在 g_object_unref ()中来自/usr/lib/libgobject-2.0.so.0
#16 0x0000000000404dfc 在?? ()
#17 0x0000ffa2b484f4 in?? ()来自/usr/lib/libc.so.6
#18 0x0000ffa2b485cc 来自/usr/lib/libc.so.6的_libc_start_main ()中
#19 0x0000000000403c30 in?? ()
软件。 请运行"gdb gst-launch-1.0 1642"以继续调试、运行 Ctrl-C 退出、或运行 Ctrl-\转储内核。