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
I have issue to run Nsight on host (ubuntu18.04) SDK drive docker (6.0.5).
- Run drive os docker container :
sudo docker run -it --privileged --net=host -v /dev/bus/usb:/dev/bus/usb -v /drive_sdk:/home/nvidia/ nvcr.io/drive/driveos-sdk/drive-agx-orin-linux-aarch64-sdk-build-x86:latest - cd :/opt/nvidia/nsight-systems/2022.3.2/bin
- execute ./nsys-ui
root@6.0.5.0-0003-build-linux-sdk:/opt/nvidia/nsight-systems/2022.3.2/bin# ./nsys-ui
Warning: Failed to get OpenGL version. OpenGL version 2.0 or higher is required.
OpenGL version is too low (0). Falling back to Mesa software rendering.
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: offscreen, wayland-egl, wayland, xcb.
################# ERROR: CrashReporter #################
CrashReporter
Qt initialization failed
Failed to load Qt platform plugin: “xcb”
- Library path: /opt/nvidia/nsight-systems/2022.3.2/host-linux-x64/Plugins/platforms/libqxcb.so
Application is going to abort
sh: 1: xmessage: not found
./nsys-ui: line 52: 817 Aborted (core dumped) “$NV_AGORA_PATH/CrashReporter” --hide-stack “NVIDIA Nsight Systems” “NsightSystems” “2022.3.2 (Build 2022.3.2.34-3e5e9a1)” “$NV_QUADD_PATH” “$@”
root@6.0.5.0-0003-build-linux-sdk:/opt/nvidia/nsight-systems/2022.3.2/bin# ./nsys-ui
Warning: Failed to get OpenGL version. OpenGL version 2.0 or higher is required.
OpenGL version is too low (0). Falling back to Mesa software rendering.
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: offscreen, wayland-egl, wayland, xcb.
################# ERROR: CrashReporter #################
CrashReporter
Qt initialization failed
Failed to load Qt platform plugin: “xcb”
- Library path: /opt/nvidia/nsight-systems/2022.3.2/host-linux-x64/Plugins/platforms/libqxcb.so
Application is going to abort
sh: 1: xmessage: not found
./nsys-ui: line 52: 828 Aborted (core dumped) “$NV_AGORA_PATH/CrashReporter” --hide-stack “NVIDIA Nsight Systems” “NsightSystems” “2022.3.2 (Build 2022.3.2.34-3e5e9a1)” “$NV_QUADD_PATH” “$@”
4. try to update open GL to 2.0 or latest
root@6.0.5.0-0003-build-linux-sdk:/opt/nvidia/nsight-systems/2022.3.2/bin# sudo apt-get install freeglut3-dev
Reading package lists… Done
Building dependency tree
Reading state information… Done
freeglut3-dev is already the newest version (2.8.1-3).
Already latest
But Nsight still fail
root@6.0.5.0-0003-build-linux-sdk:/opt/nvidia/nsight-systems/2022.3.2/bin# ./nsys-ui
Warning: Failed to get OpenGL version. OpenGL version 2.0 or higher is required.
OpenGL version is too low (0). Falling back to Mesa software rendering.
qt.qpa.xcb: could not connect to display
qt.qpa.plugin: Could not load the Qt platform plugin “xcb” in “” even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: offscreen, wayland-egl, wayland, xcb.
################# ERROR: CrashReporter #################
CrashReporter