Driveworks 5.14 issue with DRIVE AGX Orin

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

Hello

I have been following the Driveworks 5.14 Documentation. Managed on install pre-compiled NVIDIA DriveWorks SDK samples for the Linux aarch64 architecture on the target system: usr/local/driveworks/bin

link of the documentation section: DriveWorks SDK Reference: Getting Started Using the NVIDIA DRIVE OS NGC Docker Container

Logged into target system from Host using SSH and ran this command:

$ /usr/local/driveworks/bin/sample_hello_world

which outputted: “Happy autonomous driving!”

However when try to run the ./sample_object_detector_tracker I get the following error on the Host system:

However when I run the same command on target system itself it works the video output can be seen:

This is the page I am on with the documentation:

https://developer.nvidia.com/docs/drive/drive-os/6.0.8.1/public/driveworks-nvsdk/nvsdk_dw_html/dwx_object_detector_tracker_sample.html

Could you let us know how to fix this issue?

Thanks

Dear @kevin.kal,
You can run the GUI samples via VNC connection from host.

Please see Headless Mode setup failed - #2 by SivaRamaKrishnaNV for setting up headless mode.

Hello @SivaRamaKrishnaNV

Thank you for replying back, sorry for replying late.

I ran the code below from the link you’ve mentioned, I still ran into the same issue

sudo service gdm3 stop
sudo service gdm stop
sudo -b X -ac -noreset
export DISPLAY=:0
sudo xrandr --fb 1920x1080 #may fail
sudo x11vnc -geometry 1920x1080 -display :0 &

On the first ssh terminal I ran this code - as expected my display connected to Drive AGX Orin has now gone blank.

here are a couple of screenshots




I then used RealVNC Viewer and connected to the IP address of target device, which shows a blank screen as seen on screenshot below:

I opened a second ssh terminal, logged into target device and navigated to the bin folder of driveworks and tried to run ./sample_object_detector_tracker, the screen was still blank on RealVNC Viewer and I noticed an error, here is the screenshot:

Could you let me know how to fix this?

Thanks.

Dear @kevin.kal,
Could you check below things

  1. Restart the target( You can run common_if_testapp -mcureset on target terminal or run poweroff/on on aurix console)
  2. Disconnect the monitor if any are connected to target.
  3. Run below steps on target console.
sudo service gdm3 stop
      sudo service gdm stop
     sudo -b X -ac -noreset
     export DISPLAY=:0
     sudo xrandr --fb 1920x1080
     sudo x11vnc -geometry 1920x1080 -display :0
  1. Connect to target using VNC. I tested with VNCViewer. It should show blank screen
  2. Now run object detector sample on same target console used in #3

Let us know if it helps to fix.

Dear @SivaRamaKrishnaNV

I have unplugged the DisplayPort cable from target device.

Turned off/Turned on via aurix console using: sudo minicom -w -D /dev/ttyACM1

used the commands on first ssh terminal, opened realvnc viewer connected to target device’s IP

opened a second ssh terminal, logged into target device and ran into same error with no display on realvnc viewer.

here are the screenshots below:

Dear @kevin.kal
This is strange.

Could you check run the sample on same console. Just press enter on first console to get control.

I see Display environment variable is missing.
In second terminal run export DISPLAY=:0 and run the GUI sample.

Running the sample on the first console did not work

However on the second terminal I put it export DISPLAY=:0 and ran ./sample_object_detector_tracker and it worked here is the screenshots:

Displays the video on RealVNC Viewer - the framerate is low compared to seeing the video with a display monitor

Just to saw the results on second terminal after stopped the video.

Thanks @SivaRamaKrishnaNV for solving this issue.

1 Like

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