I’m trying to profile a mixed OpenGL-CUDA application using Nsight Graphics and the application crashes immediately when run via Nsight Graphics. This is the exact error:
Xlib: extension “NV-GLX” missing on display “:0”.
Xlib: extension “NV-GLX” missing on display “:0”.
terminate called after throwing an instance of ‘std::runtime_error’
what(): Pangolin X11: Failed to create an OpenGL context
Sorry that you are running into this issue. Can you retry with the latest Nsight Graphics 2019.1?
In the mean time, i’ll try to reproduce your issue on our side. Typically we don’t support CUDA/GL interop, but we will see if we can get the graphics portion of the application to work with Nsight Graphics.
Thanks for getting back to me. 2019.1 requires CUDA 10.1 and the latest driver, and unfortunately, I am unable to install them at the moment (the machine is shared among several people).
Sorry for the delay, we have been in GDC mode for the past couple weeks.
At this point, I haven’t been able to find a workaround. But I’ve filed your use case as a support story in our backlog. I can let you know when this get scheduled, but at this point I don’t have a timeframe. (DG-4478)
Our devs tried to repro this again on the Pengolin samples with Nsight Graphics 2019.2 and said it actually worked just fine. Also, they said there shouldn’t be any dependency on CUDA from a tools perspective.