6040 docker container run any sample about display function cannot run

Please provide the following info (tick the boxes after creating this topic):
Software Version
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-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.1.10844
[√] 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

dear experts:
I use the 6040 sdk linux docker to run the drivework sample (x86) eg. sample_camera_replay
it report the error:
./sample_camera_replay
ProgramArguments: Missing argument ‘dwTracePath’ requested
System has not been booted with systemd as init system (PID 1). Can’t operate.
Failed to create bus connection: Host is down
System has not been booted with systemd as init system (PID 1). Can’t operate.
Failed to create bus connection: Host is down
GLFW error: 65543, GLX: Failed to create context: BadValue (integer parameter out of range for operation)
WindowGLFW: Failed create window
terminate called after throwing an instance of ‘std::exception’
what(): std::exception
Aborted (core dumped)

here is the detail step:

  1. xhost +
  2. docker run -it -v /dev/bus/usb:/dev/bus/usb -v $DRIVEWORKS_WORKSPACE:/home/nvidia -v /tmp/.x11-unix:/tmp/.x11-unix -e DISPLAY=unix$DISPLAY -e GDK_SCALE -e GDK_DPI_SCALE --gpus=all --privileged --net=host nvcr.io/drive/driveos-sdk/drive-agx-orin-linux-aarch64-sdk-build-x86:6.0.4.0-0004
  3. cd /usr/local/drivework/bin
    ./sample_camera_replay

Dear @binbin.ding,
Please check if dockerfile - Docker Error : System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down - Stack Overflow helps.

thank for your reply.
as you provide reference link.
I try again show below:
docker run -it --rm -v /dev/bus/usb:/dev/bus/usb -v $DRIVEWORKS_WORKSPACE:/home/nvidia -v /tmp/.x11-unix:/tmp/.x11-unix -e DISPLAY=unix$DISPLAY -e GDK_SCALE -e GDK_DPI_SCALE --gpus=all --privileged --net=host nvcr.io/drive/driveos-sdk/drive-agx-orin-linux-aarch64-sdk-build-x86:6.0.4.0-0004 /usr/sbin/init
it report error
/usr/sbin/init: /usr/sbin/init: cannot execute binary file

can you give any idea or the guider to how to use sample in detailed?

Dear @binbin.ding,
I am checking internally on this issue and update you.
BTW, why don’t you use DRIVE OS directly host instead of docker container? Do you have any issue with that?

thanks for your reply.
regard of your question that we not have enough host machines with nvidia-gpu for every developer at this moment. some workstation not allow to internet. so the docker image very easy for distribution and deployment.
so I have no any issue due to have one host machine as alternative method, but others colleagues not. any way I think that docker image can also work well same with host side.

Dear @binbin.ding,
the docker image very easy for distribution and deployment.

We notice few issues with tools and sample which require GUI on docker container. We are working on steps to enable tools/samples on docker.

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