Unable to use ./sample_camera for Entron F008A120RM0AV2 on Drive AGX Orin OS

Please provide the following info (tick the boxes after creating this topic):
Software Version
DRIVE OS 6.0.8.1
[*] DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other

Target Operating System
[*] Linux
QNX
other

Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
[*] DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other

SDK Manager Version
1.9.3.10904
[*] other

Host Machine Version
[*] native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other

Hi
I have cross compiled samples in driveworks referring the link Cross Compile Samples and when I execute ./sample_camera I get below error on target board -
" ProgramArguments: Missing argument ‘dwTracePath’ requested
GLFW error: 65544, X11: The DISPLAY environment variable is missing
WindowGLFW: Failed to initialize GLFW
terminate called after throwing an instance of ‘std::exception’
** what(): std::exception**
Aborted "
As referred to other forum links it seems to pass some files like nito specific to sensor or camera.gmsl etc. Can you please share more details on this.
Also in the Cross Compilation Steps for precompiled steps do not find any arm64 based deb files at the folder specified in the NVIDIA SDK Manager. Can you please share steps on this.
Is there any installation guide for Drive OS 6.0.6 similar to the one available for Drive OS 5.2.0 Linux on the forum. Link - Installation Guide 5.2.0

Thanks.

Dear @PA_GN,
Are you running the application via remote ssh session or directly on target ?

Hi @SivaRamaKrishnaNV,

Using remote ssh session.

Hi @SivaRamaKrishnaNV,

Any inputs?

Dear @PA_GN,
You need to use VNC to run GUI samples remotely. Could you please check Driveworks 5.14 issue with DRIVE AGX Orin helps?

Hi @SivaRamaKrishnaNV,

I followed the steps mentioned in the link Driveworks 5.14 issue with DRIVE AGX Orin but still observe the error.
Please find attached logs for reference.

sample_camera_error_logs.txt (8.1 KB)

Hi @SivaRamaKrishnaNV,

Able to resolve the above error by making modifications in rig.json and able to stream the camera and do recording as well.

Can you please share your inputs on the Pre-Cross Compiled sample apps issue as mentioned in the issue description?
Also how do I find out the node used to access the camera sensor under /dev/ to pass camera streams to other applications. Ex: /dev/video0 is used for V4L2 on x86 systems.

Dear @PA_GN,
Could you check if arm debians are available under sdkmanager downloads folder? On DRIVE OS 6.0.6 docker, DW debians are available at /drive/extra folder. You can access the docker using sudo docker run -it --privileged --net=host -v /dev/bus/usb:/dev/bus/usb -v /drive_flashing:/drive_flashing nvcr.io/drive/driveos-sdk/drive-agx-orin-linux-aarch64-sdk-build-x86:6.0.6.0-0004. Please see
Install DRIVE OS Linux Docker Containers from NGC | NVIDIA Docs for more details.

May I know your use case for better guidance?

Hi @SivaRamaKrishnaNV,

The use case is to run the AI/ML specific applications for which camera streams are required as input. I could see multiple entries under /dev/ w.r.t vi, isp etc. So wanted to confirm on which node I can access the camera streams.

Dear @PA_GN,
The camera stream is accessible via SIPL APIs. You can’t directly access from any node. sample_camera makes use of SIPL APIs to access camera frames.

Could you check DW DNN samples at
DriveWorks SDK Reference: Samples.

We have object detector sample which takes a live camera/recorded video and performs object detection using yolo TRT model. You can take this a reference sample to know the usage of DNN framework APIs and feed camera data into DNN pipeline.

Also, as original issue is addressed, please file a new topic in case of any query to avoid cluttering of issues.

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