D3d12screencapturesrc hangs/crash when using a full screen app

Hi,
I’m using the latest nightly of GStreamer.

With a pipeline like this:
./gst-launch-1.0 d3d12screencapturesrc ! queue ! d3d12convert ! "video/x-raw(memory:D3D12Memory),width=3840,height=2160" ! queue max-size-time=0 max-size-buffers=8 max-size-bytes=0 ! d3d12videosink

I can record the screen no problem on Windows 11 as long as I don’t start a full screen app.

I tried DX11, DX12, OpenGL and Vulkan app, various games/benchmarks and other apps.

As long as the app runs in borderless mode, screen capture works well, once the app switches to full screen mode, GStreamer capture hangs with apparently no error.

Once stopped, closing the full screen app does not make GStreamer working again.

This problem does not happen if I use d3d11screencapturesrc.

Is this a GStreamer issue or there is something that I haven’t understood?

Thanks

looks like identical to a bug I observed yesterday and an MR I merged today could fix the issue if it’s the same one

1 Like

wow. yes, I confirm that you fixed it. wow.
no words, only wow…

… and thanks…