Running in jAXi with BSP 35.6.2.
Seems like the nvargus_nvraw --lps does not detect any cameras, despite them being there and working with v4l2-ctl.
xxx@vpm004:~$ sudo modprobe nv_ar1335
xxx@vpm004:~$ sudo modprobe nv_imx565
xxx@vpm004:~$ sudo nvargus_nvraw --lps
nvargus_nvraw version 1.15.0
Number of supported sensor entries 0
Entry Source Mode Uniquename Resolution FR BitDepth Mode
Index Index Index CSI Dyn Type
sen@vpm004:~$ v4l2-ctl --list-devices
NVIDIA Tegra Video Input Device (platform:tegra-camrtc-ca):
/dev/media0
vi-output, ar1335 5-0036 (platform:tegra-capture-vi:0):
/dev/video0
vi-output, imx565 3-001a (platform:tegra-capture-vi:2):
/dev/video2
xxx@vpm004:~$
I have searched the forum and all it is said in a few topics is some error in the DTB that is never mentioned (people seem to figure the problem by themselves, but never say what it was).
The DTB for my system is attached.
tegra194-p2888-0008-p2822-0000-stv-3.dts.log (263.9 KB)
The log from nvargus-daemon is this:
xxx@vpm004:~$ journalctl -b -t nvargus-daemon --no-tail -f
-- Logs begin at Sat 2000-01-01 01:00:45 GMT. --
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: === NVIDIA Libargus Camera Service (0.99.33)=== Listening for connections...=== nvargus_nvraw[2084]: Connection established (FFFFA6979900)OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module0
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module2
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module4
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: OFParserListModules: module list: /proc/device-tree/tegra-camera-platform/modules/module5
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclHwGetModuleList: No module data found
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclHwGetModuleList: No module data found
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclHwGetModuleList: No module data found
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclHwGetModuleList: WARNING: Could not map module to ISP config string
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclHwGetModuleList: No module data found
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: OFParserGetVirtualDevice: NVIDIA Camera virtual enumerator not found in proc device-tree
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: ---- imager: No override file found. ----
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: (NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 257)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: (NvCamV4l2) Error ModuleNotPresent: (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 61)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: (NvOdmDevice) Error ModuleNotPresent: (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 112)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclStartPlatformDrivers: Failed to start module drivers
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclStateControllerOpen: Failed ImagerGUID 56. (error 0xA000E)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclOpen: PCL Open Failed. Error: 0xf
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 726)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 453)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 347)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function getSource(), line 519)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: ---- imager: No override file found. ----
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: (NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 257)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: (NvCamV4l2) Error ModuleNotPresent: (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 61)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: (NvOdmDevice) Error ModuleNotPresent: (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 112)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclStartPlatformDrivers: Failed to start module drivers
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclStateControllerOpen: Failed ImagerGUID 62. (error 0xA000E)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclOpen: PCL Open Failed. Error: 0xf
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 726)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 453)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 347)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function getSource(), line 519)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: ---- imager: No override file found. ----
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: (NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 257)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: (NvCamV4l2) Error ModuleNotPresent: (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 61)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: (NvOdmDevice) Error ModuleNotPresent: (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 112)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclStartPlatformDrivers: Failed to start module drivers
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclStateControllerOpen: Failed ImagerGUID 56. (error 0xA000E)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclOpen: PCL Open Failed. Error: 0xf
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 726)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 453)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 347)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function getSource(), line 519)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: ---- imager: No override file found. ----
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: (NvCamV4l2) Error ModuleNotPresent: V4L2Device not available (in /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function findDevice(), line 257)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: (NvCamV4l2) Error ModuleNotPresent: (propagating from /dvs/git/dirty/git-master_linux/camera/utils/nvcamv4l2/v4l2_device.cpp, function initialize(), line 61)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: (NvOdmDevice) Error ModuleNotPresent: (propagating from dvs/git/dirty/git-master_linux/camera-partner/imager/src/devices/V4L2SensorViCsi.cpp, function initialize(), line 112)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclDriverInitializeData: Unable to initialize driver v4l2_sensor
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclInitializeDrivers: error: Failed to init camera sub module v4l2_sensor
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclStartPlatformDrivers: Failed to start module drivers
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclStateControllerOpen: Failed ImagerGUID 62. (error 0xA000E)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: NvPclOpen: PCL Open Failed. Error: 0xf
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: Sensor could not be opened. (in src/services/capture/CaptureServiceDeviceSensor.cpp, function getSourceFromGuid(), line 726)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: (propagating from src/services/capture/CaptureService.cpp, function addSourceByGuid(), line 453)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function addSourceByIndex(), line 347)
Jan 01 01:06:23 vpm004 nvargus-daemon[1133]: SCF: Error BadParameter: (propagating from src/api/CameraDriver.cpp, function getSource(), line 519)
As with other similar cases, I cannot see anything wrong in the DTB… all my camera definitions are done manually, with no plugin-manager/overlay. Comparing the DTB to the standard jAXi DTB generated by the tools, it seems pretty similar (only some handles differ, and some enabled/disabled devices).
If there are sources for nvargus_nvraw and underlying libraries, I could try to debug the problem… but otherwise it would be great to know what thing it is looking for is not found or mismatches.
Let me know if you need any additional information.