Pangolin support

Hello,

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

System details, in case they help:

Nsight Graphics version 2018.4
Ubuntu 16.04
Titan Xp
CUDA 9.2
Driver version 396.54
The application is open-source: GitHub - mp3guy/ElasticFusion: Real-time dense visual SLAM system

Thanks much!

Hi Huzi,

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,
Seth

Hi Seth,

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).

Thanks!

Hi Seth,

I just wanted to follow up and see if you were able to reproduce the problem on your end.

Thanks!

Hi Huzi,

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)

Thanks,
Seth

Hi Huzi,

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.

Could you give the new version a try?

THanks,
Seth

Hi Seth,

That’s great to hear. I’ll look into upgrading the machine to CUDA 10 + Graphics 2019.2 when the situation allows, and then let you know.

Thanks!