WindowGLFW: Failed initialize Error issues

Hello Nvidia Team,
Can you please advise on the out put below?

We have drivers installed but are see this issue and have searched/combed forums and found others have had same issue but did not see suggested solution.

Your guidance would be appreciated.
Thank you.

ubuntu@ip-172-31-41-23:/usr/local/driveworks/bin$ ./sample_drivenet
WindowGLFW: Failed initialize GLFW
terminate called after throwing an instance of ‘std::exception’
what(): std::exception
Aborted

ubuntu@ip-172-31-41-23:/usr/local/driveworks/bin$ ./sample_hello_world


Welcome to Driveworks SDK
Initialize DriveWorks SDK v0.6.67
Release build with GNU 4.8.5 from v0.6.0-rc7-0-g51bd3aa
TimeSource: monotonic epoch time offset is 1528207838352550
SDK: Resources mounted from /usr/local/driveworks-0.6/data/resources
SDK: GL not available. Running with restricted functionality.
SDK: number of GPU devices detected 1
SDK: currently selected GPU device discrete ID 0
Context of Driveworks SDK successfully initialized.
Version: 0.6.67
GPU devices detected: 1
SDK: currently selected GPU device discrete ID 0
SDK: currently selected GPU device discrete ID 0

Device: 0, Tesla K80
CUDA Driver Version / Runtime Version : 9.0 / 9.0
CUDA Capability Major/Minor version number: 3.7
Total amount of global memory in MBytes:11439.9
Memory Clock rate Ghz: 2505000
Memory Bus Width bits: 384
L2 Cache Size: 1572864
Maximum 1D Texture Dimension Size (x): 65536
Maximum 2D Texture Dimension Size (x,y): 65536, 65536
Maximum 3D Texture Dimension Size (x,y,z): 4096, 4096, 4096
Maximum Layered 1D Texture Size, (x): 16384 num: 2048
Maximum Layered 2D Texture Size, (x,y): 16384, 16384 num: 2048
Total amount of constant memory bytes: 65536
Total amount of shared memory per block bytes: 49152
Total number of registers available per block: 65536
Warp size: 32
Maximum number of threads per multiprocessor: 2048
Maximum number of threads per block: 1024
Max dimension size of a thread block (x,y,z): 1024,1024,64
Max dimension size of a grid size (x,y,z): 2147483647,65535,65535
Maximum memory pitch bytes: 2147483647
Texture alignment bytes: 512
Concurrent copy and kernel execution: Yes, copy engines num: 2
Run time limit on kernels: No
Integrated GPU sharing Host Memory: No
Support host page-locked memory mapping: Yes
Alignment requirement for Surfaces: Yes
Device has ECC support: Enabled
Device supports Unified Addressing (UVA): Yes
Device PCI Domain ID: 0, Device PCI Bus ID: 0, Device PCI location ID: 30
Compute Mode: Default (multiple host threads can use ::cudaSetDevice() with device simultaneously)
Concurrent kernels: 1
Concurrent memory: 0

Driveworks SDK released
Happy autonomous driving!

We are still searching the forums on our own for an answer but not able to move forward with our host machine. A response would be very helpful.

Dear jweathers,
Can you check the dependent shared libraries using ldd and if they are available.

Thank you Siva RamaKrishna for the response.

We will start looking at the ldd’s. Greatly appreciated! Will follow up with findings.

All the best,
JW

Hi Siva,
We performed the below command on the ./sample_drivenet file and got these results back (See Below)

If there is a different command that you think would be helpful let us know and we will run it.

Thank you,
JW

ubuntu@ip-172-31-62-244:/usr/local/driveworks/bin$ ldd ./sample_drivenet
linux-vdso.so.1 => (0x00007ffd48671000)
libcudart.so.9.0 => /usr/local/cuda/targets/x86_64-linux/lib/libcudart.so.9.0 (0x00007efd74531000)
libdriveworks.so.0 => /usr/local/driveworks-0.6/bin/./…/lib/libdriveworks.so.0 (0x00007efd731ad000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007efd72f63000)
libGL.so.1 => /usr/lib/nvidia-384/libGL.so.1 (0x00007efd72c21000)
libX11.so.6 => /usr/lib/x86_64-linux-gnu/libX11.so.6 (0x00007efd728e7000)
libXrandr.so.2 => /usr/lib/x86_64-linux-gnu/libXrandr.so.2 (0x00007efd726db000)
libXcursor.so.1 => /usr/lib/x86_64-linux-gnu/libXcursor.so.1 (0x00007efd724d1000)
libXxf86vm.so.1 => /usr/lib/x86_64-linux-gnu/libXxf86vm.so.1 (0x00007efd722cb000)
libXinerama.so.1 => /usr/lib/x86_64-linux-gnu/libXinerama.so.1 (0x00007efd720c7000)
libXi.so.6 => /usr/lib/x86_64-linux-gnu/libXi.so.6 (0x00007efd71eb7000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007efd71b35000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007efd7192c000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007efd71623000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007efd7140d000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007efd71042000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007efd70e3e000)
libcuda.so.1 => /usr/lib/x86_64-linux-gnu/libcuda.so.1 (0x00007efd6ffbf000)
libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x00007efd6fda7000)
libnvcuvid.so.1 => /usr/lib/nvidia-384/libnvcuvid.so.1 (0x00007efd6f959000)
libnvinfer.so.4 => /usr/local/nvidia/tensorrt/targets/x86_64-linux-gnu/lib/libnvinfer.so.4 (0x00007efd63df2000)
libdriveworks_localization.so => /usr/local/driveworks-0.6/bin/./…/lib/…/lib/libdriveworks_localization.so (0x00007efd639f6000)
libgomp.so.1 => /usr/lib/x86_64-linux-gnu/libgomp.so.1 (0x00007efd637d4000)
/lib64/ld-linux-x86-64.so.2 (0x000055f61c0b1000)
libnvidia-tls.so.384.130 => /usr/lib/nvidia-384/tls/libnvidia-tls.so.384.130 (0x00007efd635cf000)
libnvidia-glcore.so.384.130 => /usr/lib/nvidia-384/libnvidia-glcore.so.384.130 (0x00007efd61713000)
libXext.so.6 => /usr/lib/x86_64-linux-gnu/libXext.so.6 (0x00007efd61500000)
libxcb.so.1 => /usr/lib/x86_64-linux-gnu/libxcb.so.1 (0x00007efd612de000)
libXrender.so.1 => /usr/lib/x86_64-linux-gnu/libXrender.so.1 (0x00007efd610d4000)
libXfixes.so.3 => /usr/lib/x86_64-linux-gnu/libXfixes.so.3 (0x00007efd60ecd000)
libnvidia-fatbinaryloader.so.384.130 => /usr/lib/nvidia-384/libnvidia-fatbinaryloader.so.384.130 (0x00007efd60c7b000)
libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x00007efd60c5a000)
libcudnn.so.7 => /usr/local/cuda/targets/x86_64-linux/lib/libcudnn.so.7 (0x00007efd4f7bf000)
libcublas.so.9.0 => /usr/local/cuda/targets/x86_64-linux/lib/libcublas.so.9.0 (0x00007efd4c209000)
libXau.so.6 => /usr/lib/x86_64-linux-gnu/libXau.so.6 (0x00007efd4c004000)
libXdmcp.so.6 => /usr/lib/x86_64-linux-gnu/libXdmcp.so.6 (0x00007efd4bdfe000)

Dear jweathers,
The basic hardware requirement to run driveworks samples is Maxwell. It seems you are using Kepler card. Can you please check with other card.

Dear Siva,
We performed have confirmed we have a GeForce 1050 however we are still seeing the error below.
Based on your knowledge could we be missing a step in the process?
Thanks in advance.
JW

root@drive:/usr/local/driveworks-0.6/bin# ./sample_drivenet
WindowGLFW: Failed create window
terminate called after throwing an instance of ‘std::exception’
what(): std::exception
Aborted (core dumped)
root@drive:/usr/local/driveworks-0.6/bin# nvidia-smi
Sat Jun 9 18:08:04 2018
±----------------------------------------------------------------------------+
| NVIDIA-SMI 384.69 Driver Version: 384.69 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 GeForce GTX 1050 Off | 00000000:01:00.0 Off | N/A |
| N/A 40C P0 N/A / N/A | 0MiB / 4038MiB | 0% Default |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| No running processes found |
±-----------------------------------

Dear Siva,
When you have a moment can you please take a look at my updated findings.
Thank you,
JW

Dear jweathers,
Can you check with latest Driveinstall again(https://developer.nvidia.com/nvidia-drive-downloads). I don’t see any problem on my system with GTX 1070(PASCAL card).
Please follow instructions at https://docs.nvidia.com/drive/driveinstall_docs/#developertools/mobile/driveinstall/linux/5.0.5.0b/sdk/install.htm%3FTocPath%3D_____3