Skip to content

Changes to support out-of-tree WiVRn driver

xytovl requested to merge xytovl/monado:support_ipc_customization into main

As suggested in Discord, we are moving the core of WiVRn into its own repository https://github.com/Meumeu/WiVRn and use monado as a dependency.

In order to properly use monado we require the following changes:

  • use custom names for ipc socket, pid file
  • Request VK_EXT_external_memory_dma_buf and VK_EXT_image_drm_format_modifier vulkan extensions
  • Add an optional compositor_target_factory parameter when creating the compositor
  • Store pose information used in reprojection, to be used by compositor target

I know the create_compositor_target hook is not the most elegant solution, but this is currently the only object that can have the relevant state. Other options would be to use the compositor settings object, but this is a much bigger refactor. Thanks to compositor_target_factory refactor the hook now looks fine

This merge request replaces !1557 (closed)

Edited by xytovl

Merge request reports