Hello,
I am facing a very strange issue that has left me scratching my head for the past 4 days. I have gone through countless forum posts and searched the internet, but to no avail. Kindly help me figure this out.
The camera works perfectly fine the first time I launch it using nvgstcapture-1.0 or gst-launch-1.0. It pops open the preview window, captures frames and everything is perfect.
I close it properly using qor by closing the preview window and then try to launch it after a few minutes, it fails miserably and never works again until I reboot.
The strangest bit is that it even works on quick relaunches (If I relaunch immediately after closing the working instance, it works again without any problems). But if there’s a time gap between launch attempts, it starts to fail endlessly.
I do nothing in between the two instances, it just gives up. I am attaching the logs and all the attempts I have made to solve the issue.
SETUP:
- Arducam IMX-477 camera module (Manual Focus)
- Jetson Orin Nano Super Developer Kit (Yahboom Carrier Board)
- Latest Jetpack 6.2.1 installed using the Nvidia SDK Manager with all the Runtime Components
- IMX477 DTBO applied using the Jetson-io
ADDITIONAL INFO:
This is a fresh installation, I have not modified anything or installed anything that would interfere with the camera/kernel/argus.
I have tried a different IMX447 camera module ( Same behavior )
I have tried Jetpack v6.1 ( Same behavior)
I have tried installing Arducam IMX447 Drivers https://github.com/ArduCAM/MIPI_Camera/releases/download/v0.0.3/install_full.sh
( Same behavior)
I have tried changing the CSI Port ( Same behavior )
I have tried restarting the nvargus-daemon.service ( Same behavior )
I can still see the camera when I run v4l2-ctl --list-devices
I am using a single camera at the moment
LOGS:
cat /etc/nv_tegra_release
# R36 (release), REVISION: 4.4, GCID: 41062509, BOARD: generic, EABI: aarch64, DATE: Mon Jun 16 16:07:13 UTC 2025
# KERNEL_VARIANT: oot
TARGET_USERSPACE_LIB_DIR=nvidia
TARGET_USERSPACE_LIB_DIR_PATH=usr/lib/aarch64-linux-gnu/nvidia
dpkg-query --show nvidia-l4t-core
nvidia-l4t-core 36.4.4-20250616085344
v4l2-ctl --list-devices
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
/dev/media0
vi-output, imx477 9-001a (platform:tegra-capture-vi:2):
/dev/video0
sudo dmesg | grep imx477
[ 11.016583] imx477 9-001a: tegracam sensor driver:imx477_v2.0.6
[ 11.319220] tegra-camrtc-capture-vi tegra-capture-vi: subdev imx477 9-001a bound
Failed nvgstcapture-1.0
CONSUMER: Waiting until producer is connected...
GST_ARGUS: Available Sensor modes :
GST_ARGUS: 4032 x 3040 FR = 21.000000 fps Duration = 47619048 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 3840 x 2160 FR = 29.999999 fps Duration = 33333334 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;
GST_ARGUS: 1920 x 1080 FR = 59.999999 fps Duration = 16666667 ; Analog Gain range min 1.000000, max 22.250000; Exposure Range min 13000, max 683709000;
GST_ARGUS: Running with following settings:
Camera index = 0
Camera mode = 2
Output Stream W = 1920 H = 1080
seconds to Run = 0
Frame Rate = 59.999999
GST_ARGUS: Setup Complete, Starting captures for 0 seconds
GST_ARGUS: Starting repeat capture requests.
CONSUMER: Producer has connected; continuing.
nvbuf_utils: dmabuf_fd -1 mapped entry NOT found
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadExecute:734 NvBufSurfaceFromFd Failed.
Error generated. /dvs/git/dirty/git-master_linux/multimedia/nvgstreamer/gst-nvarguscamera/gstnvarguscamerasrc.cpp, threadFunction:245 (propagating)
q
GST_ARGUS: Cleaning up
GST_ARGUS: Done Success
systemctl status nvargus-daemon.service
nvargus-daemon.service - Argus daemon
Loaded: loaded (/etc/systemd/system/nvargus-daemon.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2025-09-17 10:38:01 BST; 37min ago
Main PID: 874 (nvargus-daemon)
Tasks: 1 (limit: 8810)
Memory: 180.5M
CPU: 15.323s
CGroup: /system.slice/nvargus-daemon.service
└─874 /usr/sbin/nvargus-daemon
Sep 17 10:47:53 ubuntu nvargus-daemon[874]: SCF: Error InvalidState: Sensor 0 already in same state
Sep 17 10:47:53 ubuntu nvargus-daemon[874]: (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
Sep 17 10:47:53 ubuntu nvargus-daemon[874]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 0, capture sequence ID = 3 draining session frameEnd events 2
Sep 17 10:47:53 ubuntu nvargus-daemon[874]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 646)
Sep 17 10:47:53 ubuntu nvargus-daemon[874]: SCF: Error InvalidState: Sensor 0 already in same state
Sep 17 10:47:53 ubuntu nvargus-daemon[874]: (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
Sep 17 10:47:53 ubuntu nvargus-daemon[874]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 0, capture sequence ID = 4 draining session frameEnd events 1
Sep 17 10:47:53 ubuntu nvargus-daemon[874]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 646)
Sep 17 10:47:53 ubuntu nvargus-daemon[874]: SCF: Error BadParameter: CC has already been disposed (in src/components/CaptureContainerManager.cpp, function dispose(), line 161)
Sep 17 10:48:05 ubuntu nvargus-daemon[874]: PowerServiceCore:handleRequests: timePassed = 12330