I’m bringing up a custom carrier board with a custom camera and facing some issues with nvargus-daemon.
I have integrated the camera. Have a device node in /dev/video0 and is able to get picture from it with v4l. But when trying to use `nvarguscamerasrc` I can’t getting it to work.
# gst-launch-1.0 nvarguscamerasrc sensor-id=0 num-buffers=1 ! 'video/x-raw(memory:NVMM), width=2472, height=2064, framerate=60/1' ! nvvidconv ! nvjpegenc ! filesink location=capture.jpg
Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
New clock: GstSystemClock
Error generated. gstnvarguscamerasrc.cpp, execute:803 No cameras available
Redistribute latency...
Got EOS from element "pipeline0".
Execution ended after 0:00:00.003857129
Setting pipeline to NULL ...
Freeing pipeline ...
And here is the log from nvargus-daemon that I think is where the error is:
Jan 01 01:31:12 hostname nvargus-daemon[5185]: === gst-launch-1.05549)[5549]: Connection established (FFFF8F7398E0)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: libEGL warning: pci id for fd 9: 10de:2b00, driver (null)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: pci id for fd 10: 10de:2b00, driver (null)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: kmsro: driver missing
Jan 01 01:31:12 hostname nvargus-daemon[5185]: libEGL warning: egl: failed to create dri2 screen
Jan 01 01:31:12 hostname nvargus-daemon[5185]: libEGL warning: pci id for fd 9: 10de:2b00, driver (null)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: pci id for fd 10: 10de:2b00, driver (null)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: kmsro: driver missing
Jan 01 01:31:12 hostname nvargus-daemon[5185]: libEGL warning: egl: failed to create dri2 screen
Jan 01 01:31:12 hostname nvargus-daemon[5185]: libEGL warning: pci id for fd 9: 10de:2b00, driver (null)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: SCF: Error 0x00000006: Unable to initialize EGL (in src/services/gl/GLService.cpp, function initialize(), line 144)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: SCF: Error 0x00000006: (propagating from src/services/gl/GLService.cpp, function startService(), line 46)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: SCF: Error 0x00000006: (propagating from src/components/ServiceHost.cpp, function startServices(), line 142)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: CaptureService:stop: is requested --------------------------
Jan 01 01:31:12 hostname nvargus-daemon[5185]: SCF: Error 0x00000006: (propagating from src/api/CameraDriver.cpp, function initialize(), line 182)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: SCF: Error 0x00000008: Services are already stopped (in src/components/ServiceHost.cpp, function stopServicesInternal(), line 193)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: SCF: Error 0x00000006: (propagating from src/api/CameraDriver.cpp, function getCameraDriver(), line 120)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: (Argus) Error 0x00000006: (propagating from src/api/GlobalProcessState.cpp, function createCameraProvider(), line 210)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: === gst-launch-1.05549)[5549]: CameraProvider failed to initialize
Jan 01 01:31:12 hostname nvargus-daemon[5185]: === gst-launch-1.05549)[5549]: Connection closed (FFFF8F7398E0)
Jan 01 01:31:12 hostname nvargus-daemon[5185]: === gst-launch-1.05549)[5549]: Connection cleaned up (FFFF8F7398E0)
It would be great to get some insights here.