renderdoc icon indicating copy to clipboard operation
renderdoc copied to clipboard

VK_EXT_acquire_drm_display extension support

Open bl4ckb0ne opened this issue 3 years ago • 4 comments

Description

I'm trying to debug Monado on Wayland, and it is using the functions from the VK_EXT_acquire_drm_display to create a VkSurface for the HMD.

Renderdoc fails to capture because the instance extension is not yet supported.

Environment

  • RenderDoc version: v1.17
  • Operating System: AlpineLinux
  • Graphics API: Vulkan

bl4ckb0ne avatar Jul 22 '22 17:07 bl4ckb0ne

Note that wayland is also not supported, see #853 .

baldurk avatar Jul 22 '22 17:07 baldurk

Ive managed to get successful captures with GL on Wayland, with QT_QPA_PLATFORM=xcb. The extension itself is not designed for Wayland tho, so it should not be a problem.

bl4ckb0ne avatar Jul 22 '22 17:07 bl4ckb0ne

That makes you run in Xwayland. Was the captured application perhaps running in Xwayland too? That would make it just a normal X11 capture.

jansol avatar Jul 29 '22 21:07 jansol

Ive managed to run a capture from OpenGL with qrenderdoc using QT_QPA_PLATFORM=wayland-egl, but I need QT_QPA_PLATFORM=xcb to be able to replay that capture.

In this case Wayland is not require for the extension to work, but uses information sent by the compositor (DRM FD, connector ID). `

bl4ckb0ne avatar Aug 01 '22 10:08 bl4ckb0ne

+1

I would also like this for SteamVR and other projects.

misyltoad avatar Nov 09 '22 01:11 misyltoad

That commit should add support for this extension, but I have no way of testing this myself. It's straightforward enough that I don't expect any problems but let me know if it doesn't work.

baldurk avatar Jan 17 '23 20:01 baldurk

Ill try to give it a go soon, thanks!

bl4ckb0ne avatar Jan 17 '23 20:01 bl4ckb0ne