Other Parts Discussed in Thread: TDA4VH, SK-TDA4VM, AB15
Tool/software:
Hi,
We are integrating our ar0234 camera sensor with J784S4XG01EVM - TDA4VH. Here I can able to load the camera driver successfully.
After that I have set the formats with media-ctl command and after that when I try to stream the camera with the below given GStreamer command:
gst-launch-1.0 v4l2src num-buffers=-1 device=/dev/video4 ! "video/x-raw,width=1920,height=1080,format=UYVY" ! tiovxldc out-block-width=128 ! "video/x-raw,format=NV12" ! queue ! mosaic.sink_0 tiovxmosaic name=mosaic sink_0::startx="<0>" sink_0::starty="<0>" ! kmssink sync=false driver-name=tidss -v
I am getting the below errors:
APP: Init ... !!!
MEM: Init ... !!!
MEM: Initialized DMA HEAP (fd=6) !!!
MEM: Init ... Done !!!
IPC: Init ... !!!
IPC: Init ... Done !!!
REMOTE_SERVICE: Init ... !!!
REMOTE_SERVICE: Init ... Done !!!
1227.944797 s: GTC Frequency = 200 MHz
APP: Init ... Done !!!
1227.944847 s: VX_ZONE_INIT:Enabled
1227.944855 s: VX_ZONE_ERROR:Enabled
1227.944861 s: VX_ZONE_WARNING:Enabled
1227.945439 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-0
1227.945549 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-1
1227.945641 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-2
1227.945747 s: VX_ZONE_INIT:[tivxPlatformCreateTargetId:116] Added target MPU-3
1227.945758 s: VX_ZONE_INIT:[tivxInitLocal:136] Initialization Done !!!
1227.946577 s: VX_ZONE_INIT:[tivxHostInitLocal:101] Initialization Done for HOST !!!
Setting pipeline to PAUSED ...
ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: Could not get allowed GstCaps of device
Additional debug info:
../gst-plugins-bad-1.20.7/sys/kms/gstkmssink.c(907): gst_kms_sink_start (): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
driver does not provide mode settings configuration
ERROR: pipeline doesn't want to preroll.
ERROR: from element /GstPipeline:pipeline0/GstKMSSink:kmssink0: GStreamer error: state change failed and some element failed to post a proper error m.
Additional debug info:
../gstreamer-1.20.7/libs/gst/base/gstbasesink.c(5878): gst_base_sink_change_state (): /GstPipeline:pipeline0/GstKMSSink:kmssink0:
Failed to start
ERROR: pipeline doesn't want to preroll.
Failed to set pipeline to PAUSED.
Setting pipeline to NULL ...
Freeing pipeline ...
1227.953791 s: VX_ZONE_ERROR:[vxGetStatus:1020] Reference is NULL
1227.954163 s: VX_ZONE_INIT:[tivxHostDeInitLocal:115] De-Initialization Done for HOST !!!
1227.958529 s: VX_ZONE_INIT:[tivxDeInitLocal:204] De-Initialization Done !!!
APP: Deinit ... !!!
REMOTE_SERVICE: Deinit ... !!!
REMOTE_SERVICE: Deinit ... Done !!!
IPC: Deinit ... !!!
IPC: DeInit ... Done !!!
MEM: Deinit ... !!!
DDR_SHARED_MEM: Alloc's: 0 alloc's of 0 bytes
DDR_SHARED_MEM: Free's : 0 free's of 0 bytes
DDR_SHARED_MEM: Open's : 0 allocs of 0 bytes
MEM: Deinit ... Done !!!
APP: Deinit ... Done !!!
Note:
1. I am using the second DisplayPort [J8] for connecting the kit to my LG monitor using DP cable.
2. I have used this same camera driver with my SK-TDA4VM kit and there I can able to stream the camera properly using the same above given GStreamer command.
I'm not sure where I am going wrong. Kindly help me rectify this?
Thanks,
Naveen.