Can not install gui-webrtc-container docker, GITLAB_TOKEN is not set

Hello,
I’m trying to follow the instruction on how to install the docker:
https://docs.nvidia.com/nsight-systems/UserGuide/index.html#gui-webrtc-container
but when I do
sudo ./build.sh
I get this error:

.
.
++ readlink -f /opt/nvidia/nsight-systems/2025.1.1/host-linux-x64/Scripts/WebRTCContainer/setup/3rdparty/xf86-video-dummy/build.sh
+ SCRIPT=/opt/nvidia/nsight-systems/2025.1.1/host-linux-x64/Scripts/WebRTCContainer/setup/3rdparty/xf86-video-dummy/build.sh
++ dirname /opt/nvidia/nsight-systems/2025.1.1/host-linux-x64/Scripts/WebRTCContainer/setup/3rdparty/xf86-video-dummy/build.sh
+ HERE=/opt/nvidia/nsight-systems/2025.1.1/host-linux-x64/Scripts/WebRTCContainer/setup/3rdparty/xf86-video-dummy
+ '[' -z '' ']'
+ echo 'Error: GITLAB_TOKEN is not set'
Error: GITLAB_TOKEN is not set
+ exit 1

I can try to play with my GITLAB_TOKEN, but then I get this error:

+ wget '--header=PRIVATE-TOKEN: 123' https://gitlab-master.nvidia.com/agora/external/xf86-video-dummy/-/archive/0.3.8/xf86-video-dummy-0.3.8.tar.gz -O /opt/nvidia/nsight-systems/2025.1.1/host-linux-x64/Scripts/WebRTCContainer/setup/3rdparty/xf86-video-dummy/build/xf86-video-dummy-0.3.8.tar.gz
--2025-01-30 19:39:11--  https://gitlab-master.nvidia.com/agora/external/xf86-video-dummy/-/archive/0.3.8/xf86-video-dummy-0.3.8.tar.gz
Resolving gitlab-master.nvidia.com (gitlab-master.nvidia.com)... failed: No address associated with hostname.
wget: unable to resolve host address ‘gitlab-master.nvidia.com’

Any idea what should I do next?
Thanks

1 Like

@mpopov can you help here?

1 Like

I encountered the same issue when trying to use the NVIDIA Nsight Tools JupyterLab Extension.

It seems that gitlab-master.nvidia.com is an NVIDIA private Git server, so replacing it with an open alternative might be the best course of action. After some searching, I found that xf86-video-dummy-0.3.8.tar.gz is also available on GitHub:

I patched the following files in nsight-systems to build an xf86-video-dummy container image and successfully set up a livestream of nsys-ui in JupyterLab:

  • /opt/nvidia/nsight-systems/2025.1.1/host-linux-x64/Scripts/WebRTCContainer/setup/3rdparty/xf86-video-dummy/build.sh
  • /opt/nvidia/nsight-systems/2025.1.1/host-linux-x64/Scripts/WebRTCContainer/setup/3rdparty/xf86-video-dummy/build-internal.sh
  • /opt/nvidia/nsight-systems/2025.1.1/host-linux-x64/Scripts/WebRTCContainer/setup/3rdparty/xf86-video-dummy/Dockerfile

I am not sure why autogen.sh, which is required to generate config.h.in, was not run in the original build-internal.sh, guessing the NVIDIA’s xf86-video-dummy repository already contains a pre-generated config.h.in.

This makes me wonder if there might be some missing parts in the xf86-video-dummy container image in my patched version.

hotfix.zip (3.9 KB)

NOTE:
In build.sh, the GIT_URL and GIT_TOKEN environment variables can be used to specify the URL of a Git repository for xf86-video-dummy and the corresponding Git access credential.

For example:

GIT_URL="https://gitlab-master.nvidia.com/agora/external/xf86-video-dummy/-/archive/$VERSION/xf86-video-dummy-$VERSION.tar.gz"
GIT_TOKEN="$GITLAB_TOKEN"

@mpopov please take a look.

1 Like

@fukui_in_ai_land, @oren.a4 I recommend using this prebuilt container instead of building it locally.

We will update the documentation to reflect this change.

1 Like