logo

blog

My website can't be that messy, right? git clone https://hacktivis.me/git/blog.git

VR-wayland.gmi (1669B)


  1. # VR for Wayland
  2. Hardware: Valve Index
  3. GPU: AMD RX5600XT
  4. OS: Gentoo and Artix(in a chroot, used for ease of grabbing some packages from the AUR)
  5. ## DRM leasing
  6. => https://drewdevault.com/2019/08/09/DRM-leasing-and-VR-for-Wayland.html article about it by Drew DeVault
  7. ### Main patches for the compositor side of things
  8. => https://lists.freedesktop.org/archives/wayland-devel/2019-June/040672.html wayland-devel email on the protocol
  9. => https://github.com/swaywm/wlroots/pull/1730 wlroots wlr_drm_lease_v1
  10. => https://github.com/swaywm/sway/pull/4289 sway DRM leasing for non-desktop
  11. => https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/248 XWayland DRM leasing support
  12. #### Own Rebases
  13. => https://github.com/lanodan/wlroots/tree/drm-lease-0.12.0 wlroots-0.12.0 wlr_drm_lease_v1
  14. => https://github.com/lanodan/wlroots/tree/drm-lease wlroots-master wlr_drm_lease_v1
  15. => https://github.com/lanodan/sway/tree/drm-lease sway-stable (1.5.1 currently) DRM leasing for non-desktop
  16. => https://gitlab.freedesktop.org/lanodan/xserver/-/commits/drm-lease-1.20.10 xorg-server-1.20.10 XWayland DRM leasing support
  17. ### XWayland
  18. => https://git.sr.ht/~sircmpwn/kmscube kmscube but with Wayland DRM leasing
  19. ### VulKan
  20. => https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/1509 Implement VK_EXT_acquire_wl_display
  21. => https://git.sr.ht/~sircmpwn/xrgears xrgears with Wayland DRM leasing support
  22. ## Test Results
  23. - monado works fine in X.Org
  24. - sway properly detects the Valve Index as non-desktop
  25. - monado doesn't works in sway, it displays the output on the screen rather than in the headset
  26. xrgears also depends on OpenHMD, which doesn't have Valve Index support yet