Beyley Cardellio
da2d49aaae
a/htc: Implement 3 more distortion algorithms
...
We *appear* to produce correct distortion for Vive Cosmos configs now.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2782 >
2026-03-17 15:17:43 -04:00
Beyley Cardellio
2cd6fef734
a/htc: Make us resiliant to version 1.5 configs from Vive Cosmos
...
Not even the modern LibLensDistortion seems to handle these configs correctly? I think the original binary is just.. broken subtlely.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2782 >
2026-03-17 15:17:43 -04:00
Beyley Cardellio
c63acec197
a/htc,d/vp2: Move HTC config parsing to new a/htc module
...
a/vive is for Lighthouse specific data, and these notably are *not* lighthouse configs. These are the configuration files used across multiple HTC headsets
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2782 >
2026-03-17 15:17:43 -04:00
coolGi
8b4dbf55cd
a/vive: Use vive prefix for the public header structs
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2778 >
2026-03-16 14:13:38 +00:00
coolGi
d41847ba41
a/vive,d/survive: Support HMDs with static IPDs
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2778 >
2026-03-16 14:13:38 +00:00
coolGi
ab70aa5495
a/vive: Parse devices without depending on the variant
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2778 >
2026-03-16 14:13:38 +00:00
Jonathan Steffan
cb6a4481f0
fix: GCC 16 cstdint
...
std::uint8_t is not available without #include <cstdint> in GCC 16,
which breaks the enum class ExtensionType : std::uint8_t definition.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2786 >
2026-03-14 17:05:19 -06:00
Beyley Cardellio
aa8908d737
doc: Document !2781
...
Signed-off-by: Beyley Cardellio <ep1cm1n10n123@gmail.com >
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2781 >
2026-03-11 15:22:59 -04:00
Beyley Cardellio
ca76cd692f
os/serial: Add serial abstraction with Linux implementation
...
Signed-off-by: Beyley Cardellio <ep1cm1n10n123@gmail.com >
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2781 >
2026-03-11 15:22:59 -04:00
sdegrande
238efdcd16
c/main: On Windows, unregistred the window class using the class name
...
Currently, the call to UnregisterClass() is done with the ATOM returned
by the call to RegisterClass(). An ATOM is an 'unsigned short' and the
formal argument of UnregisterClass() is a 'const unsigned short *'.
This implies a cast and clang (v21) complains due to mismatch sizes.
To avoid the need to cast the ATOM, this patch calls the UnregisterClass()
function directly with a pointer to the class name. Given that the
ATOM is an index to a table storing the class name, the call is equivalent.
The potential lost of efficiency has no actual impact here, given
that this is only used when the window is closed.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2776 >
2026-03-11 14:52:03 +00:00
sdegrande
a216dd5424
xrt: Fix a warning reported by clang on a zero-initialization of a struct
...
Replace the initialization with XRT_STRUCT_INIT to use
zero-initialization for C code and value-initialization for C++ code.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2776 >
2026-03-11 14:52:03 +00:00
sdegrande
7af3a274c4
ipc: Fix a warning reported by Mingw/clang on the printf format of a pid_t
...
On Mingw, a pid_t is a signed long long, while it is an int on other
os/environment.
This patch sets a PID_T_FORMAT, used when printing the value of a pid_t.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2776 >
2026-03-11 14:52:03 +00:00
sdegrande
48032d33d0
ipc: Fix warnings reported by Mingw/clang, about wrong printf formats
...
Clang (21) complains about DWORD values (aka unsigned long) printed with
a "%d" format. A "%lu" is now used, as adviced by clang.
This format is expected to be supported by MSVC (checked with godbolt.org).
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2776 >
2026-03-11 14:52:03 +00:00
sdegrande
0d5e83516f
xrt: Remove an unused function, reported by clang 21 on Mingw64
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2776 >
2026-03-11 14:52:03 +00:00
sdegrande
d7cf1dd249
xrt: Fix warnings reported by clang 21 about unused variables
...
Remove those variables.
One of them is kept but marked as XRT_MAYBE_UNUSED, because it is used as
a return value.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2776 >
2026-03-11 14:52:03 +00:00
Jakob Bornecrantz
8313c26059
st/oxr: Fix error return in xrSuggestInteractionProfileBindings
...
And make it clear that the path getting doesn't log errors.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2761 >
2026-03-11 13:54:53 +00:00
Jakob Bornecrantz
f441363622
st/oxr: Refactor out subaction structs, defines and functions to own file
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2761 >
2026-03-11 13:54:53 +00:00
Jakob Bornecrantz
0eb454e68c
st/oxr: Make it more clear we are failing to init attachments
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2761 >
2026-03-11 13:54:53 +00:00
Jakob Bornecrantz
eaf02fe12c
st/oxr: Use action context and attached actions structs in attachments
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2761 >
2026-03-11 13:54:53 +00:00
Jakob Bornecrantz
48a7ce8140
st/oxr: Add oxr_session_attached_actions
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2761 >
2026-03-11 13:54:53 +00:00
Jakob Bornecrantz
6d503d082f
st/oxr: Add oxr_session_action_context
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2761 >
2026-03-11 13:54:52 +00:00
Beyley Cardellio
8ff0ba352d
d/rift_sensor: Add function to get camera calibration
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2780 >
2026-03-10 14:57:14 -04:00
Beyley Cardellio
359d2d499e
d/rift_sensor: Handle destruction through a frame node
...
This ties in lifetimes a lot better with the d/uvc instances it holds.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2780 >
2026-03-10 14:57:13 -04:00
Beyley Cardellio
3b03be5f2b
d/rift_sensor: Enable exposure sync per-sensor and use rift_variant
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2780 >
2026-03-10 14:57:13 -04:00
Beyley Cardellio
ef0f7d0da2
d/uvc: Properly cancel and wait for transfers on stop
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2780 >
2026-03-10 14:57:13 -04:00
Sapphire
16a030f4c6
d/steamvr_lh: add LH_STANDBY_ON_EXIT env var to power off devices on shutdown
...
Signed-off-by: Sapphire <imsapphire0@gmail.com >
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2777 >
2026-03-07 10:44:45 -06:00
coolGi
5976596030
d/steamvr_lh: Replace the gamma lookup table with the correct mathematical function
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2773 >
2026-03-06 15:52:42 +13:00
coolGi
945807fa02
a/util,a/vive: Use intrinsics to calculate per-eye FOVs
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2772 >
2026-03-05 14:10:55 +13:00
Rylie Pavlik
01d02d5618
ci: Retry automatically, up to twice, on runner system failure.
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2775 >
2026-03-04 11:41:28 -06:00
rcelyte
b59c00209a
d/solarxr: Fix warnings
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2768 >
2026-03-02 12:14:52 +00:00
rcelyte
187a0833bb
d/solarxr: Fix strict-aliasing violations
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2768 >
2026-03-02 12:14:52 +00:00
Sapphire
a232d15eec
c/multi: Discard delivered frame in multi_compositor_discard_frame
...
Fixes layers from the previous frame being displayed when an app
submits 0 layers.
Closes #591 .
Signed-off-by: Sapphire <imsapphire0@gmail.com >
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2769 >
2026-02-27 04:53:09 -06:00
Rylie Pavlik
a3574442ee
xrt: Add more deleter templates useful in building a custom instance.
...
These additions center on holding the derived type but using the interface type
to destroy it. This is a common pattern with default implementations in a/util.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2760 >
2026-02-25 10:15:54 +00:00
Beyley Cardellio
f5f5d50fc2
d/rift,t/common: Prefer OpenHMD over d/rift if available
...
The OpenHMD auto prober is much lower than the builder probers like the Rift prober, so we need to do this to make OpenHMD preferred by default, which should be the case until d/rift gains 6dof tracking support on-par with OpenHMD.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2763 >
2026-02-25 10:00:28 +00:00
Beyley Cardellio
be006936b8
d/uvc: Make functions static when possible
...
This will prevent them from conflicting with OpenHMD's symbols when OpenHMD is statically linked into Monado.
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2763 >
2026-02-25 10:00:28 +00:00
Beyley Cardellio
52557463b7
d/rift: Fix warnings relating to string truncation/handling
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2763 >
2026-02-25 10:00:28 +00:00
Jakob Bornecrantz
44c36d89f3
st/oxr: Make oxr_instance_action_context reference counted
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2765 >
2026-02-24 17:10:48 +00:00
Jakob Bornecrantz
e6ad342377
st/oxr: Add oxr_pair_hashset helper
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2765 >
2026-02-24 17:10:48 +00:00
Jakob Bornecrantz
e1097a591a
st/oxr: Use oxr_instance and oxr_session less in oxr_input.c
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2765 >
2026-02-24 17:10:48 +00:00
Jakob Bornecrantz
36b117db70
st/oxr: Remove references to oxr_instance in oxr_binding.[c|h]
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2765 >
2026-02-24 17:10:48 +00:00
Jakob Bornecrantz
82f0ea3c87
st/oxr: Improve getting localized identifier name
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2765 >
2026-02-24 17:10:48 +00:00
Jakob Bornecrantz
a55993ec3b
st/oxr: Remove unused oxr_logger argument to path store
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2765 >
2026-02-24 17:10:48 +00:00
Jakob Bornecrantz
54c647208b
st/oxr: Move oxr_refcounted to common
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2765 >
2026-02-24 17:10:48 +00:00
Korcan Hussein
8bc15f2fc3
c/main: improve error message about queue family not supporting presentation ops
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2764 >
2026-02-24 15:52:22 +00:00
Christoph Haag
bc4c2c862d
doc: Add changelog for !2758
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2758 >
2026-02-24 14:59:47 +00:00
Christoph Haag
9d56f1d839
a/math: reformat math_compute_fovs comments
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2758 >
2026-02-24 14:59:47 +00:00
Christoph Haag
f2f4164e40
st/oxr: Improve parallelized FOV calculation
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2758 >
2026-02-24 14:59:47 +00:00
Beyley Cardellio
3c188535fd
t/common: Start streaming sensors
...
Currently frames are thrown into the void, but they do start and stop
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2748 >
2026-02-23 14:43:46 +00:00
Beyley Cardellio
6dc58929f2
d/rift_sensor: Add functions to start streaming and interact with sensors
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2748 >
2026-02-23 14:43:46 +00:00
Beyley Cardellio
4e9577dcc8
d/rift: Enable tracking LEDs
...
Part-of: <https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2748 >
2026-02-23 14:43:46 +00:00