Open kkhakixyz opened 5 months ago
This has now been resolved.
The modifications required to fix it for L4T 36.3 are:
In vc_mipi_modules.c in vc_init_ctrl_imx568
, replace line 816 with FRAME(0, 0, 2472, 2064)
.
In tegra234-p3767-camera-p3768-vc_mipi-dual.dts VC_MIPI_METADATA_H
needs to be "1"
for IMX566.
Hello @kkhakixyz ,
thank you for your investigation. We'll have a look into that width / height / metadata height topic in our next sprint iteration.
best regards
Hi,
We are using Jetson L47 36.3, and therefore have been using the branch 77-support-nvidia-l4t-362, and are on commit 375a4be. We are seeing some interesting behaviour, and there seems to be a bug in the driver.
Please find the technical steps below:
gst-launch-1.0 nvarguscamerasrc sensor_id=0 ! 'video/x-raw(memory:NVMM),width=2464, height=2064, framerate=30/1, format=NV12' ! nvvidconv flip-method=0 ! queue ! autovideosink
. The terminal shows:GST_ARGUS: Running with following settings: Camera index = 0 Camera mode = 0 Output Stream W = 2464 H = 2064 seconds to Run = 0 Frame Rate = 41.299998 GST_ARGUS: Setup Complete, Starting captures for 0 seconds GST_ARGUS: Starting repeat capture requests. CONSUMER: Producer has connected; continuing. Redistribute latency... ^Chandling interrupt. Interrupt: Stopping pipeline ... Execution ended after 0:00:09.513306338 Setting pipeline to NULL ... GST_ARGUS: Cleaning up CONSUMER: Done Success GST_ARGUS: Done Success Freeing pipeline ...
We then set it up to debug further using the following
And then if the camera is streamed and then stopped, the trace file seems to have no issues trace log 1.log
If we enable further logging and run nvargus through the terminal using the following
This time when the gstreamer command is run, a black screen is displayed for a few seconds, and then it closes. The terminal shows:
GST_ARGUS: Running with following settings: Camera index = 0 Camera mode = 0 Output Stream W = 2464 H = 2064 seconds to Run = 0 Frame Rate = 41.299998 GST_ARGUS: Setup Complete, Starting captures for 0 seconds GST_ARGUS: Starting repeat capture requests. CONSUMER: Producer has connected; continuing. (Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 277) (Argus) Error EndOfFile: Receive worker failure, notifying 1 waiting threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 350) (Argus) Error InvalidState: Argus client is exiting with 1 outstanding client threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 366) (Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 379) (Argus) Error EndOfFile: Client thread received an error from socket (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 145) (Argus) Error EndOfFile: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91) (Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96) (Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91) nvbuf_utils: dmabuf_fd -1 mapped entry NOT found Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:732 NvBufSurfaceFromFd Failed. Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:243 (propagating) Redistribute latency... Got EOS from element "pipeline0". Execution ended after 0:00:01.014790620 Setting pipeline to NULL ... GST_ARGUS: Cleaning up (Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96) (Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91) (Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96) (Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91) (Argus) Error InvalidState: Receive thread is not running cannot send. (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 96) (Argus) Error InvalidState: (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 91) Caught SIGSEGV Segmentation fault (core dumped)