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