Commit Graph
7877 Commits
Author SHA1 Message Date
Carl Philipp Klemm 4d6464912e c/compositor: change idle clear color to black
OLED hmds dont appreciate being driven to white for long periods

Signed-off-by: Carl Philipp Klemm <carl@uvos.xyz>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2601>
2025-10-18 15:08:39 +00:00
Korcan Hussein 27d67605bb a/vk: small refactor/clean-up vk queue setup
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2600>
2025-10-16 15:24:53 +01:00
Beyley Cardellio bf6080c3b7 a/util: Use per-channel display size
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2595>
2025-10-08 11:29:40 -07:00
Beyley Cardellio 1cb3e38c44 d/wmr: Correctly initialize WMR distortion display size
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2595>
2025-10-08 11:21:04 -07:00
Korcan Hussein 06e62fc7d9 xrt: refactor vk queue mutex into mutex per queue
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2594>
2025-10-06 15:11:32 +01:00
Aleksander 3c3587a584 u/debug_gui: Properly scale ImGui interface to match the display DPI
Make it easy to read on 4K screens.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2430>
2025-10-03 13:52:04 +00:00
Aleksander a208788608 d/qwerty: Fix QWERTY driver using mapped keyboard keys
Fixes movement on different keyboard layouts, e.g. Colemak or Dvorak.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2430>
2025-10-03 13:52:04 +00:00
Patrick Nicolas a00c833edb ipc: delete 32/64bit compatibility static_assert
Checks are now performed by CI, we can drop hardcoded structure sizes in
code.
Closes #532

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2593>
2025-10-02 21:33:32 +02:00
Simon Zeni fb199971ef ci: add needs field to check jobs
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2592>
2025-10-02 10:13:58 -04:00
Simon Zeni 8ac874e233 ci: add clang-tidy check step
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2592>
2025-10-01 16:05:39 -04:00
Simon Zeni 1aadeaa821 ci: move reuse & format job to verify stage
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2592>
2025-10-01 16:05:39 -04:00
Simon Zeni 92449a781b improve clang-tidy check list
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2592>
2025-10-01 16:05:38 -04:00
Beyley Cardellio 68c3300276 doc: Document !2590
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2590>
2025-10-01 14:44:12 +00:00
Beyley Cardellio aeaee438eb d/blubur_s1: Add u_var for blubur S1 HMD
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2590>
2025-10-01 14:44:12 +00:00
Beyley Cardellio bfb4735b2b a/util + st/gui: Add ro_u16 and fix ro_u32
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2590>
2025-10-01 14:44:12 +00:00
Beyley Cardellio 2a79d34708 d/blubur_s1: Add alternate binding profile for Vive Pro HMD
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2590>
2025-10-01 14:44:12 +00:00
Beyley Cardellio f041a12d7b a/bindings + d/blubur_s1 + st/oxr: Implement MNDX_blubur_s1
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2590>
2025-10-01 14:44:12 +00:00
Beyley Cardellio 87b2e9cca8 d/blubur_s1: Expose presence sensor to applications
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2590>
2025-10-01 14:44:12 +00:00
Beyley Cardellio 5bfa89432e d/blubur_s1: Add 3dof tracking
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2590>
2025-10-01 14:44:11 +00:00
Beyley Cardellio 384b347e4c d/blubur_s1: Wire up Poly3k distortion
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2590>
2025-10-01 14:44:11 +00:00
Beyley Cardellio b2ffa637f0 d/wmr + a/util: Extract out WMR Poly3k distortion to shared place
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2590>
2025-10-01 14:44:07 +00:00
Beyley Cardellio de6c4bff7a d/blubur_s1: Add skeleton driver for Blubur S1
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2590>
2025-10-01 14:44:07 +00:00
Beyley Cardellio 366df8fd77 d/rift + t/common: Fix d/rift typos
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2590>
2025-10-01 14:44:06 +00:00
Simon Zeni d9059a8989 c/client: don't call vkQueueWaitIdle in client_vk_compositor_destroy
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2531>
2025-10-01 13:52:58 +00:00
Simon Zeni cb83f93d33 c/client: don't call vkQueueWaitIdle in client_vk_swapchain_destroy
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2531>
2025-10-01 13:52:58 +00:00
Patrick Nicolas b129e4b4e6 st/oxr: add quirk to use LOCAL_FLOOR for STAGE
Some applications may request STAGE reference space but lack any
mechanism to recenter.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2588>
2025-10-01 00:34:31 +00:00
Beyley Cardellio eaa3797ec8 d/steamvr_lh: Provide default identity poses for eyes
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2591>
2025-09-28 20:04:57 -07:00
Bones 1cafc3a42d Revert "c/main: clear the views when pose is invalid"
This reverts commit c7a5451db2.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2589>
2025-09-27 13:03:37 -04:00
E1int 7eb1ea93d2 xrt: Fix bindings generation on UNIX systems
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2586>
2025-09-26 15:48:46 +00:00
Krzysztof Lesiak 9952e77a7e a/vk: Fix VkImage leak in vk_create_image_from_native when there's a size mismatch
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2587>
2025-09-25 11:02:43 +02:00
Beyley Cardellio 10c5cdd7f7 doc: Document !2569
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2569>
2025-09-24 15:54:47 +00:00
Beyley Cardellio f0254aa40c d/steamvr_lh + t/common: Initialize VP2 HID driver when applicable
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2569>
2025-09-24 15:54:47 +00:00
Beyley Cardellio 7722196d4e d/vp2: Create basic VP2 driver
This driver does nothing but set the HMD's resolution option. It defaults to the highest "safe" value without AMDGPU DSC patches.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2569>
2025-09-24 15:54:47 +00:00
Bones c7a5451db2 c/main: clear the views when pose is invalid
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2552>
2025-09-24 15:25:36 +00:00
E1int ba579e4a8b ipc: Create dedicated ipc_shared_memory for each client
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2576>
2025-09-23 17:55:06 +00:00
Beyley Cardellio d85ca13d4d a/vive + d/survive + d/vive: Add Bigscreen Beyond detection + refine Index detection
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2585>
2025-09-23 13:46:17 +00:00
Patrick NicolasandKorcan Hussein 4d8d91a4b0 vk: fix video encode queue index
Co-authored-by: Korcan Hussein <korcan.hussein@collabora.com>
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2584>
2025-09-23 09:57:06 +01:00
Christoph Haag 620f3c7ab0 xrt: Separate bindings generation into state trackers
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2564>
2025-09-22 19:36:44 +00:00
Trevor Kerby 62013b7403 d/steamvr_lh: Map TrackingResult to tracked 6DoF/3DoF
- Running_OK → tracked 6DoF:
  ORIENTATION_TRACKED | POSITION_TRACKED |
  ANGULAR_VELOCITY_VALID | LINEAR_VELOCITY_VALID.

- Fallback_RotationOnly and Running_OutOfRange → tracked 3DoF:
  ORIENTATION_TRACKED | ANGULAR_VELOCITY_VALID.
  (No POSITION_TRACKED; no LINEAR_VELOCITY_VALID.)

- Calibrating_* results are not marked TRACKED.

When poseIsValid, keep ORIENTATION_VALID and POSITION_VALID, but gate
TRACKED and velocity-valid flags on the SteamVR result to avoid treating
inferred poses as actively tracked and to reduce drift/jumps.

Refs:
- OpenVR Driver API: TrackingResult_* semantics
  https://github.com/ValveSoftware/openvr/blob/master/docs/Driver_API_Documentation.md
- OpenXR: XrSpaceLocationFlagBits (valid vs tracked)
  https://registry.khronos.org/OpenXR/specs/1.1/man/html/XrSpaceLocationFlagBits.html

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2574>
2025-09-22 14:49:46 +00:00
Korcan Hussein c0c10fd34d cmake: fix eigen cmake packages for v5.0 (3.5)
Eigen changed from 3.x versioning to semver (3.5 became 5.0) and
dropped FindEigen3.cmake module support (deprecated in prior versions)
for config discovery.

Switch from find_package version constraints to manual version checking
to maintain compatibility with both versioning schemes (>= 3.3 old or
>= 5.0 new).

See: https://gitlab.com/libeigen/eigen/-/merge_requests/485
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2583>
2025-09-22 15:17:57 +01:00
Korcan Hussein 8a318386a5 external/openxr_includes: Update OpenXR headers to 1.1.51
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2578>
2025-09-15 10:00:16 +01:00
Korcan Hussein d575234794 c/util, a/vk: add logging info for selected queues
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2572>
2025-09-03 15:50:35 +01:00
Korcan Hussein 210a2def00 a/vk: refactor vk_cmd(_pool) utils to support different queue (families)
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2572>
2025-09-03 15:50:35 +01:00
Korcan Hussein d5cf67f6aa a/vk: refactors vk queues into dedicated type
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2572>
2025-09-03 15:50:35 +01:00
Beyley Cardellio 790530074b d/steamvr_lh: Determine whether we're a vive pro 2, and flip the distortion map
Vive Pro 2 for some reason has this flipped, so we need to do our own flip to rectify that.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2568>
2025-09-02 14:20:43 -07:00
Beyley Cardellio 1112b88abb a/vive: Move HMD variant determination to public file
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2568>
2025-09-02 14:20:29 -07:00
Beyley Cardellio 52a2b843dc d/psmv: Add basic touch bindings
this lets you play a lot of games, like beat saber

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2519>
2025-08-29 08:24:19 +00:00
Beyley Cardellio 46c094bb61 a/math: Add vec2 cross product
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2519>
2025-08-29 08:24:19 +00:00
Beyley Cardellio f8369474c2 a/util: stereo_sbs_to_slam_sbs -> stereo_sbs_split
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2519>
2025-08-29 08:24:19 +00:00
Joel-Valenciano 6c193b616d a/tracking: Merge ctors for NormalizedCoordsCache
Replaces the individual constructors with one constructor that mimics
the API used by opencv, and takes a distortion_model parameter to
allow use with fisheye distortion models as well.

Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2519>
2025-08-29 08:24:19 +00:00