Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
[*] DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other
Target Operating System
[*] Linux
QNX
other
Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
[*] NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other
SDK Manager Version
1.7.0.8846
other
Host Machine Version
[*] native Ubuntu 18.04
other
I have a freshly updated DRIVE AGX with GUI installed (GDM3, Unity) which I’m using remotely (XRDP).
The provided OpenGL example works fine:
nvidia@tegra-ubuntu:~$ drive-t186ref-linux/samples/opengles2/gears/x11/gears
libEGL warning: DRI2: failed to authenticate
running for 5.000000 seconds...
Total FPS: 161.600006
Obviously, the performance is not great but it works and I can see the three gears rotating.
However, when the same sample does not work if I built it on my own:
nvidia@tegra-ubuntu:~$ ./gears
EGL failed to obtain display.
Usage: gears [options] [runtime]
< ... skip ... >
I built this sample using NVIDIA instructions (which are trivial) without any changes.
Log: make_gears_log (13.0 KB)
Looking at strace output I can see that the working version uses libEGL.so, libEGL_nvidia.so.0 and libEGL_mesa.so.0 but the version built only uses libEGL_nvidia.
It looks like the X11 version was linked not against the generic X11 library but with Nvidia version.
BTW: if I have a monitor connected and it has a GUI on it then my gears app runs within remote window but shows results on the monitor.
Could you please ask your development team to provide a fix to the the built version running in the same way the pre-installed one does?