# Can not run the Nsight on host Drive 6.0.5 docker

**URL:** <https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608>\
**Category:** DRIVE AGX Orin General\
**Tags:** driveos-nvstreams, drive-devtools\
**Created:** [February 13, 2023, 7:27am UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608 "2023-02-13T07:27:44Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![ting.wang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ting.wang](https://forums.developer.nvidia.com/u/ting.wang)\
**Post date:** [February 13, 2023, 7:27am UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/1 "2023-02-13T07:27:44Z")

</div>

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).

1. 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](http://nvcr.io/drive/driveos-sdk/drive-agx-orin-linux-aarch64-sdk-build-x86:latest)
2. cd :/opt/nvidia/nsight-systems/2022.3.2/bin
3. 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

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [February 14, 2023, 2:14am UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/2 "2023-02-14T02:14:47Z")

</div>

Could you take a look at the relevant [section](https://docs.nvidia.com/nsight-systems/UserGuide/index.html#gui-troubleshooting) in the document and see if it provides a solution?

---

<div class="post-metadata">

**Author:** ![ting.wang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ting.wang](https://forums.developer.nvidia.com/u/ting.wang)\
**Post date:** [February 14, 2023, 7:26am UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/3 "2023-02-14T07:26:18Z")

</div>

Thank you!  
But I did not find the folder named Script and the file install-dependencies.sh

 ![Screenshot from 2023-02-14 02-24-15](https://global.discourse-cdn.com/nvidia/original/3X/3/1/3119bad330ad4f6e4a17c838e615d92540c8d780.png)

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [February 14, 2023, 5:52pm UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/4 "2023-02-14T17:52:18Z")

</div>

I will follow up with our team to determine if this is a supported scenario and provide you with an update. Thank you for your patience.

---

<div class="post-metadata">

**Author:** ![ting.wang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ting.wang](https://forums.developer.nvidia.com/u/ting.wang)\
**Post date:** [February 15, 2023, 8:48am UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/5 "2023-02-15T08:48:17Z")

</div>

Thank you very much! Waiting for your good news!

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [February 15, 2023, 7:19pm UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/6 "2023-02-15T19:19:12Z")

</div>

I want to clarify that running GUI tools, including nsys-ui, within the DRIVE OS Docker environment is not officially supported by NVIDIA. It is recommended to run GUI tools on the host system instead. I hope this information helps. Let me know if you have any further questions.

---

<div class="post-metadata">

**Author:** ![ting.wang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ting.wang](https://forums.developer.nvidia.com/u/ting.wang)\
**Post date:** [February 17, 2023, 7:35am UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/7 "2023-02-17T07:35:23Z")

</div>

Thank you for your suggestion!  
Yes I can run nsight -sys on my host, but it is old version as 2021.2.4. It can not succesfully working with my target Orin. I think it is installed at the time I install my cuda 11.4 packege.  
Now I have download the install file nsight-systems-2023.1.1\_2023.1.1.127-1\_amd64.deb  
And reinstall the latest nsight.  
But unfortunately, after installation it still point to my old version under the cuda 11.4

 ![Screenshot from 2023-02-17 02-30-46](https://global.discourse-cdn.com/nvidia/original/3X/1/2/12e49ccfe11cbf93eb3685e270fe5da144953e93.png)

1. how can I remove the old nsight?
2. what is standard flow to upgrade my nsight to latest version.  
Thank you in advance!

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [February 17, 2023, 5:09pm UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/8 "2023-02-17T17:09:02Z")

</div>

Could you please try installing Nsight Systems and the necessary development environment using SDK Manager? This should automate the process and take care of all the required components.

---

<div class="post-metadata">

**Author:** ![ting.wang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ting.wang](https://forums.developer.nvidia.com/u/ting.wang)\
**Post date:** [February 18, 2023, 5:14am UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/9 "2023-02-18T05:14:24Z")

</div>

> [@VickNV](#):
>
> ems and the necessary development environment using SDK Manager? This s

I wish to, but my linux is older ubuntu 18.04. does not support orin drive and its components nsight sys…

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [February 23, 2023, 1:26am UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/11 "2023-02-23T01:26:47Z")

</div>

As I mentioned earlier, running Nsight Systems within the DRIVE OS Docker environment is not officially supported. We will update you once we have any progress. For now, please consider upgrading to Ubuntu 20.04.

---

<div class="post-metadata">

**Author:** ![ting.wang](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@ting.wang](https://forums.developer.nvidia.com/u/ting.wang)\
**Post date:** [March 1, 2023, 6:46am UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/13 "2023-03-01T06:46:55Z")

</div>

Sometimes the version update is simple as you required.  
For most cases, developer NOT just install the nvidia tool and match with nvidia requirement.  
Lots other tools I used still need Ubuntu 18.04, can not support the latest ubuntu as 20.04.  
Pls kindly think the solution a little bit more from customer point of the view. Thanks a lot!

---

<div class="post-metadata">

**Author:** ![VickNV](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/vicknv/32/14043_2.png) [@VickNV](https://forums.developer.nvidia.com/u/VickNV)\
**Post date:** [March 1, 2023, 6:39pm UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/14 "2023-03-01T18:39:23Z")

</div>

Can you please provide more information on the obstacles you’re facing and which tools still require Ubuntu 18.04? This will help our team better understand the situation from a developer’s perspective and consider possible solutions. Thank you.

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [March 17, 2023, 9:04am UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/15 "2023-03-17T09:04:56Z")

</div>

**There is no update from you for a period, assuming this is not an issue any more.  
Hence we are closing this topic. If need further support, please open a new one.  
Thanks**

Have you managed to get issue resolved or still need the support? Thanks

---

<div class="post-metadata">

**Author:** ![kayccc](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kayccc/32/14043_2.png) [@kayccc](https://forums.developer.nvidia.com/u/kayccc)\
**Post date:** [March 21, 2023, 7:56am UTC](https://forums.developer.nvidia.com/t/can-not-run-the-nsight-on-host-drive-6-0-5-docker/242608/17 "2023-03-21T07:56:04Z")

</div>


