Camera connection issues when booting in level 3

Hi, I’m currently working on a robotics project, I’m having issues with Arducam IMX219. When the Jetson Orin Nano 8GB (Developer kit version) starts with the monitor attached on the display port and the following setting, the camera work just fine:

sudo systemctl set-default graphical.target

Whereas, while using the following setting (in order to remotely access the Desktop with NoMachine) the camera won’t be detected:
Here the setting for the screen mode:

sudo systemctl set-default multi-user.target

How could the issue be solved?
Thanks in advance,
Lorenzo

1 Like

What’s the error? Show “EGL display error”?
If yes please run the xinit& first.

Sorry, I did not provide a clear explanation (I’m still a high school student, so, not really an expert).
I’ll provide some system details:
Distribution: Ubuntu 22.04 Jammy Jellyfish
Release: 5.15.136-tegra

$ sudo apt show nvidia-jetpack

Package: nvidia-jetpack
Version: 6.0+b106
Priority: standard
Section: metapackages
Source: nvidia-jetpack (6.0)
Maintainer: NVIDIA Corporation
Installed-Size: 199 kB
Depends: nvidia-jetpack-runtime (= 6.0+b106), nvidia-jetpack-dev (= 6.0+b106)
Homepage: http://developer.nvidia.com/jetson
Download-Size: 29.3 kB
APT-Manual-Installed: yes
APT-Sources: https://repo.download.nvidia.com/jetson/common r36.3/main arm64 Packages
Description: NVIDIA Jetpack Meta Package

The only error that we perceive is from opencv: Unable to open camera. Frames are empty. Whereas a direct use of gstream in the terminal returns:

$ gst-launch-1.0 v4l2src name=cam_src ! decodebin ! videoconvert ! videoscale ! video/x-raw,format=RGB ! queue ! videoconvert ! ximagesink name=img_origin

Setting pipeline to PAUSED ...
Pipeline is live and does not need PREROLL ...
Pipeline is PREROLLED ...
Setting pipeline to PLAYING ...
ERROR: from element /GstPipeline:pipeline0/GstV4l2Src:cam_src: Internal data stream error.
Additional debug info:
../libs/gst/base/gstbasesrc.c(3127): gst_base_src_loop (): /GstPipeline:pipeline0/GstV4l2Src:cam_src:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
ERROR: from element /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind: Stream doesn't contain enough data.
Additional debug info:
../plugins/elements/gsttypefindelement.c(1012): gst_type_find_element_chain_do_typefinding (): /GstPipeline:pipeline0/GstDecodeBin:decodebin0/GstTypeFindElement:typefind:
Can't typefind stream
ERROR: pipeline doesn't want to preroll.
Execution ended after 0:00:00.000172283
Setting pipeline to NULL ...
Freeing pipeline ...

Thanks,
Lorenzo

Is this still an issue to support? Any result can be shared?

No, actually we have found a workaround to use camera even when we remotely connect using NoMachine: we use a physical display emulator [dummy monitor] paired with the following launch command ‘sudo systemctl set-default graphical.target’ and camera works fine.
Thanks,
Lorenzo

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.