Argus can't work for YUV Sensor ?

Dear Guys,

Can anyone use argus to open the YUV sensor ?

  1. My YUV sensor can be opened by gstream.
  2. I can’t use argus to open it.
  3. I put the open command and logs here.

$ ./argus_oneshot -d 0

nvidia@tegra-ubuntu:~/tegra_multimedia_api/argus/build/samples/oneShot$ ./argus_oneshot -d 0
Executing Argus Sample: argus_oneshot
Argus Version: UNKNOWN
Failed to get camera devices
(Argus) Error EndOfFile: Unexpected error in reading socket (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 214)
(Argus) Error EndOfFile: Receive worker failure, notifying 1 waiting threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 289)
(Argus) Error InvalidState: Argus client is exiting with 1 outstanding client threads (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadCore(), line 306)
(Argus) Error EndOfFile: Receiving thread terminated with error (in src/rpc/socket/client/ClientSocketManager.cpp, function recvThreadWrapper(), line 317)
(Argus) Error EndOfFile: Client thread received an error from socket (in src/rpc/socket/client/ClientSocketManager.cpp, function send(), line 149)
(Argus) Error EndOfFile:  (propagating from src/rpc/socket/client/SocketClientDispatch.cpp, function dispatch(), line 101)

$journalctl -u argus-daemon.service

Nov 10 17:46:28 tegra-ubuntu systemd[1]: Started Argus daemon.
Nov 10 17:48:52 tegra-ubuntu argus_daemon[9443]: OFParserEnumerateDriverNode: v4l2_sensor: failed to parse device-tree to driver node
Nov 10 17:48:52 tegra-ubuntu argus_daemon[9443]: OFParserEnumerateDriverNode: v4l2_sensor: failed to parse device-tree to driver node
Nov 10 17:48:52 tegra-ubuntu argus_daemon[9443]: NvPclHwGetModuleList: No module data found
Nov 10 17:48:52 tegra-ubuntu argus_daemon[9443]: NvPclHwGetModuleList: No module data found
Nov 10 17:48:52 tegra-ubuntu argus_daemon[9443]: NvPclHwGetModuleList: No module data found
Nov 10 17:48:52 tegra-ubuntu argus_daemon[9443]: NvPclHwGetModuleList: No module data found
Nov 10 17:48:52 tegra-ubuntu argus_daemon[9443]: NvPclHwGetModuleList: No module data found
Nov 10 17:48:52 tegra-ubuntu argus_daemon[9443]: NvPclHwGetModuleList: No module data found
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: LoadOverridesFile: looking for override file [/Calib/camera_override.isp] 1/16LoadOverridesFile: looking for override file [/data/nvcam
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: (NvOdmDevice) Error NotInitialized: hDev Table not initialized (in dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: NvPclStartPlatformDrivers: Failed to start module drivers
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: NvPclDriver_V4L2_Focuser_Stub_Close: Invalid NULL input pPclDriver
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: NvPclStateControllerOpen: Failed ImagerGUID 5. (error 0x3)
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: NvPclOpen: PCL Open Failed. Error: 0xf
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGui
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: SCF: Error BadParameter:  (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 781)
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 276)
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: SCF: Error BadParameter:  (propagating from src/api/CameraDriver.cpp, function getSource(), line 439)
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: (Argus) Error BadParameter:  (propagating from src/api/CameraProviderImpl.cpp, function initialize(), line 92)
Nov 10 17:48:54 tegra-ubuntu argus_daemon[9443]: (Argus) Error BadParameter:  (propagating from src/api/GlobalProcessState.cpp, function createCameraProvider(), line 214)
Nov 10 17:48:54 tegra-ubuntu systemd[1]: argus-daemon.service: Main process exited, code=killed, status=11/SEGV
Nov 10 17:48:54 tegra-ubuntu systemd[1]: argus-daemon.service: Unit entered failed state.
Nov 10 17:48:54 tegra-ubuntu systemd[1]: argus-daemon.service: Failed with result 'signal'.
Nov 10 17:48:55 tegra-ubuntu systemd[1]: argus-daemon.service: Service hold-off time over, scheduling restart.
Nov 10 17:48:55 tegra-ubuntu systemd[1]: Stopped Argus daemon.
Nov 10 17:48:55 tegra-ubuntu systemd[1]: Started Argus daemon.

@DaneLLL and all,

Can someone give me any suggestion about this problem ?

Thanks so much.

Hi Dennis,
Argus is for Bayer sensors using TX1 ISP. For YUV sensors, please run tegra_multimedia_api\samples\12_camera_v4l2_cuda

Dear DaneLLL,

Thanks for you information.

Does Argus is for Bayer sensors using TX2 ISP too ?

Yes, it is same for TX2 and Xavier.

Bad news for Argus