This guide will give you a walkthrough of using Tegra Graphics Debugger for the first time.
If you are setting up Tegra Graphics Debugger as a standalone application, you can install it with the following command:
$ sudo ./NVIDIA_Tegra_Graphics_Debugger_<version>.run
By default, it is installed in /usr/local/Tegra-Graphics-Debugger-<version>/
. Start it with:
$ /usr/local/Tegra-Graphics-Debugger-<version>/nvidia-gfx-debugger
![]() |
NOTE: In order to launch applications from the UI, Tegra Graphics Debugger connects from the host to your target using SSH. If you want to launch from the UI instead of launching the app from a shell on the target device, you will need to configure your target to allow SSH root login. To do so, edit the file PermitRootLogin without-password with: PermitRootLogin yes Then restart the SSH service: # service ssh restart And set the root password with a password of your choice (default one is # passwd |
Tegra Graphics Debugger uses SSH to launch processes. If you do not want to use SSH, configure your app with the following and then see the Attaching to Application section.
On your target, execute the application you want to profile. For example, the “bubble” sample application:
# export DISPLAY=:0.0
# cd vibrante-t210ref-linux/samples/opengles2/bubble/x11/
# LD_PRELOAD=~/.tgd/libs/libNvidia_gfx_debugger.so ./bubble
![]() |
Note: You need to launch your applications with the LD_PRELOAD variable set as shown in the above command. |
If you use the root account, make sure your target is configured to accept SSH connection as root.
.so
file to the target system. Once you select your target device, the button in the upper right corner will show the current status of the interposer.If the button has an X, the interposer is not on the target device. Click the button to push the interposer to the target device.
Once the application has started you should see the main screen transition to the Performance Dashboard.
![]() | Note: If you want to re-enable SSH, check the Enable SSH box, and enter the username and password to connect to the target device. |
NVIDIA® GameWorks™ Documentation Rev. 1.0.180426 ©2014-2018. NVIDIA Corporation. All Rights Reserved.