Frame debugger unable to capture frame of X11 OpenSceneGraph application ("Drawable destroyed")

When trying to capture a frame from an openscenegraph / osgViewer-based application, the
frame capture fails with the message:

“Drawable used in glXSwapBuffers is destroyed by application, we cannot replay a frame with it.”

Any suggestions on how to fix or debug this problem?



Thanks for using Nsight Graphics and I am sorry that you meet such issue, could you share us some more repro steps? Like some small codes/samples to repro the issue?

By the way, what’s the OS, Driver, GPU are you using?


Hi AYan,

I’ve just submitted a bug report. The original problem occured on Debian Linux with GeForce 1050 Ti. The same problem occurs on the following hardware:

|GPU Driver Version:|525.147.05|
|GPU Version:|NVIDIA GeForce RTX 4070 Laptop GPU|
|Operating System:|Linux (Debian GNU/Linux trixie/sid)|

I am launching the application executable with __NV_PRIME_RENDER_OFFLOAD=1;__GLX_VENDOR_LIBRARY_NAME=nvidia to offload to the discrete GPU.

RenderDoc is able to capture frames w/o issues.

Hi m.massing,

Could you provide some simple sample to repro this?