Viture on Raspberry Pi 5: SBS desktop (sway) + stereo shim for GLES apps #132
GlassOnTin
started this conversation in
Show and tell
Replies: 1 comment
|
Update: glasses-desktop now renders per-window stereo depth (windows ranked by focus order, focused pops toward you) at 60 fps on the Pi 5. Getting there needed one lesson worth sharing: on split render/display boards, Mesa's Wayland EGL goes linear-only and v3d shadow-copies linear textures through uncached memory (~190 ms/frame) — rendering via the GBM platform on the render node directly and presenting dmabufs manually fixed it. Tagged v1.0.0. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
The Pi 5 has no USB-C DP-alt mode, so the glasses' single USB-C can't deliver video and IMU together on this board — you get one or the other, which rules out the usual XRLinuxDriver setup. Wrote up what does work instead.
Display: Pi HDMI → glasses works fine; holding the power button toggles SBS mode, which switches the EDID between 1920×1080 and 3840×1080@60.
Two tools (MIT):
Head tracking: planning an external IMU (XIAO nRF52840 Sense → 3DOF) since the native one is unreachable on this board. If anyone has a Pi-friendly route to the built-in IMU alongside HDMI video, I'd like to hear it.
All reactions