teacher:
I opened two shell windows. Enter the command “Journalctl - u nvargus daemon - f” in window 1, and enter the command “gst-launch-1.0 nvarguscamerasrc!'video/x-row (memory: NFVM), width=(int) 1920, height=(int) 1080, frame rate=30/1 '! Nv3dsink sync=0” in window 2.
The output result of window 1 is as follows:
lstd@lstd-desktop:~/Desktop/bobo$ journalctl -u nvargus-daemon -f
-- Logs begin at Tue 2024-06-18 04:29:39 CST. --
6月 08 14:54:17 lstd-desktop systemd[1]: Started Argus daemon.
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: === NVIDIA Libargus Camera Service (0.99.33)=== Listening for connections...=== gst-launch-1.0[8185]: Connection established (FFFFBB7C0900)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module1
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: ---- imager: No override file found. ----
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: ---- imager: No override file found. ----
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: E/ libnvphs:socket: Error[2]: socket connection /var/lib/nvphs/nvphsd.ctl to PHS failed: No such file or directory
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: D/ libnvphs:socket: Warning: connecting to Power Hinting Service failed. Is PHS running?
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: === gst-launch-1.0[8185]: CameraProvider initialized (0xffffb47474d0)SCF: Error BadValue: NvPHSSendThroughputHints (in src/common/CameraPowerHint.cpp, function sendCameraPowerHint(), line 56)
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: E/ libnvphs:socket: Error[2]: socket connection /var/lib/nvphs/nvphsd.ctl to PHS failed: No such file or directory
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: D/ libnvphs:socket: Warning: connecting to Power Hinting Service failed. Is PHS running?
6月 08 15:07:04 lstd-desktop nvargus-daemon[993]: E/ libnvphs: Error: NvPHSSendThroughputHints[usecase=camera, hint=MinCPU, value=4294967295, timeout_ms=1000]: queue_or_send() failed
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 0 draining session frameStart events 3
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 531)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor GUID 1 is in error state. Skipping requests, capture sequence ID = 1 continue draining session frameStart events 2
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 545)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 0 draining session frameEnd events 3
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: Module_id 30 Severity 2 : (fusa) Error: Timeout propagating from:/capture/src/fusaViHandler.cpp 771
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor GUID 1 is in error state. Skipping requests, capture sequence ID = 2 continue draining session frameStart events 1
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 545)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 1 draining session frameEnd events 2
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 2 draining session frameEnd events 1
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error Timeout: Sending critical error event for Session 1
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: (in src/api/Session.cpp, function sendErrorEvent(), line 1039)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error BadParameter: CC has already been disposed (in src/components/CaptureContainerManager.cpp, function dispose(), line 161)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error BadParameter: CC has already been disposed (in src/components/CaptureContainerManager.cpp, function dispose(), line 161)
6月 08 15:07:09 lstd-desktop nvargus-daemon[993]: SCF: Error BadParameter: CC has already been disposed (in src/components/CaptureContainerManager.cpp, function dispose(), line 161)
6月 08 15:07:13 lstd-desktop nvargus-daemon[993]: SCF: Error Timeout: NvRmSyncWait failed (in src/api/Buffer.cpp, function cpuWaitFences(), line 622)
6月 08 15:07:13 lstd-desktop nvargus-daemon[993]: SCF: Error Timeout: (propagating from src/api/Buffer.cpp, function cpuWaitInputFences(), line 543)
6月 08 15:07:13 lstd-desktop nvargus-daemon[993]: SCF: Error Timeout: (propagating from src/api/Buffer.cpp, function acquire(), line 680)
6月 08 15:07:13 lstd-desktop nvargus-daemon[993]: SCF: Error Timeout: (propagating from src/api/Buffer.cpp, function ScopedBufferLock(), line 657)
6月 08 15:07:14 lstd-desktop nvargus-daemon[993]: PowerServiceCore:handleRequests: timePassed = 9218
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error Timeout: (propagating from src/services/capture/CaptureServiceEvent.cpp, function wait(), line 59)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: Error: Camera HwEvents wait, this may indicate a hardware timeout occured,abort current/incoming cc for sensor guid 1 count -1095539968
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: Module_id 30 Severity 2 : (fusa) Error: Timeout propagating from:/capture/src/fusaViHandler.cpp 771
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 3 draining session frameEnd events 2
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 4 draining session frameEnd events 1
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 3 draining session frameStart events 2
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 531)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor GUID 1 is in error state. Skipping requests, capture sequence ID = 4 continue draining session frameStart events 1
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 545)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: PowerServiceCore:handleRequests: timePassed = 4505
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Ignoring error as sensor is in error and ViCsi should be closing!
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function startCaptureInternal(), line 876)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor GUID 1 is in error state. Skipping requests, capture sequence ID = 5 continue draining session frameStart events 1
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 545)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Ignoring error as sensor is in error and ViCsi should be closing!
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function startCaptureInternal(), line 876)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor GUID 1 is in error state. Skipping requests, capture sequence ID = 6 continue draining session frameStart events 1
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse All captures are already pending, no idle captures available in:/capture/src/fusaViHandler.cpp 628
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameStart(), line 545)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 5 draining session frameEnd events 2
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Sensor 1 already in same state
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/CaptureServiceDeviceSensor.cpp, function setErrorState(), line 100)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: SCF: Error InvalidState: Timeout!! Skipping requests on sensor GUID 1, capture sequence ID = 6 draining session frameEnd events 1
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: (in src/services/capture/FusaCaptureViCsiHw.cpp, function waitCsiFrameEnd(), line 648)
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse propagating from:/capture/src/fusaViHandler.cpp 470
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse All captures are already pending, no idle captures available in:/capture/src/fusaViHandler.cpp 628
6月 08 15:07:18 lstd-desktop nvargus-daemon[993]: Module_id 30 Severity 2 : (fusa) Error: ResourceAlreadyInUse propagating from:/capture/src/fusaViHandler.cpp 470
^C
lstd@lstd-desktop:~/Desktop/bobo$
teacher:
I would like to add that according to the manufacturer’s instructions for IMX219, I connected PIN11 and PIN12 together and then connected them to Came3V3 (disconnected from ORIN nano’s cam0_pdwn).
PIN12 is the LED startup port. Do you know if this conflicts with the device tree?