Commit Graph
319 Commits
Author SHA1 Message Date
Patrick Nicolas fbfa713c56 Add 1ms margin for present 2024-10-10 12:55:15 +02:00
Patrick Nicolas 66aa729fbc Smarter encoder group selection 2024-10-09 19:27:58 +02:00
Patrick Nicolas b54108bb4c Update monado 2024-10-08 23:16:50 +02:00
Patrick Nicolas 5f59dfb589 More reliable mechanism to pass monado socket
Using systemd's socket activation path fails in case file descriptor is
not 3. Use a global variable instead.
2024-10-08 23:03:03 +02:00
Patrick Nicolas 849eeb7a80 Rework wivrn_session to be a xrt_system_devices
This will allow changing roles dynamically, and fixes some object
lifetime issues.
2024-10-08 20:10:39 +02:00
Patrick Nicolas 218db975d1 Fix pipewire destruction 2024-10-08 19:48:23 +02:00
Patrick Nicolas 60108e287e Expose palm extension 2024-10-08 17:24:34 +02:00
Patrick Nicolas 80688b817e Fix palm data being discarded 2024-10-06 19:00:10 +02:00
Patrick Nicolas 554c0f7ad6 Fix --no-fork parameter 2024-10-05 15:33:39 +02:00
Patrick Nicolas 6608b1d833 Add support for palm_ext 2024-10-05 13:55:20 +02:00
Patrick Nicolas 3c09db939f Add --no-fork option for easier debugging 2024-10-05 09:51:59 +02:00
Patrick Nicolas 93cf2e8857 Add support for renderdoc 2024-10-04 23:28:44 +02:00
Guillaume Meunier 52a79a9b6a Remove bogus warning 2024-10-04 11:50:06 +02:00
Patrick Nicolas 647be80d55 Remove unused variables 2024-10-03 23:39:32 +02:00
Patrick Nicolas 20f0137380 Cleanup some includes 2024-10-03 23:39:32 +02:00
Patrick Nicolas 28284a9694 wivrn namespace: move all server classes 2024-10-03 23:39:32 +02:00
Patrick Nicolas fdb79b1939 Drop xrt::drivers namespace 2024-10-03 23:39:32 +02:00
rcelyte 0d629291cf Store proxy HMD and controller devices by value 2024-10-03 15:23:36 +02:00
Patrick Nicolas c370d19469 Pack multiple tracking items per datagram 2024-10-02 23:58:13 +02:00
Patrick Nicolas 5f359dc6d7 Fix ifdef WIVRN_USE_SYSTEMD 2024-10-02 23:54:33 +02:00
Guillaume Meunier 5217e7c27f Install metainfo, desktop and icon as part of the dashboard instead of the server 2024-10-02 20:30:45 +02:00
Guillaume Meunier b0a14033b6 Fix warning in server/main.cpp 2024-10-01 23:04:19 +02:00
Guillaume Meunier 2a605c73c0 Put the dbus generated code in a separate target 2024-10-01 23:04:19 +02:00
Guillaume Meunier 5e6512d825 Fix various warnings 2024-10-01 23:04:19 +02:00
Guillaume Meunier 674343c74f Use cmakedefine01 instead of cmakedefine 2024-10-01 21:46:41 +02:00
galister eea2208ec0 solarxr support 2024-10-01 21:03:33 +02:00
Patrick Nicolas 3ba97aa42a Fix steamvr_lightouse config 2024-09-30 21:56:27 +02:00
Guillaume Meunier 2a6000a6e1 Create the socket directory in the non-systemd case 2024-09-29 10:50:46 +02:00
Patrick Nicolas 56da7af334 Throw different error if encoder is not compiled 2024-09-27 22:34:11 +02:00
Guillaume Meunier b6a09ea11a Change the default socket location, create the parent directory 2024-09-27 19:25:57 +02:00
Guillaume Meunier 9774d8c1d1 Define enum for exit codes 2024-09-27 19:25:57 +02:00
Guillaume Meunier d0850e819c Add dbus server 2024-09-27 19:25:57 +02:00
Guillaume Meunier b93a937ae1 Refactor the main loop to use glib 2024-09-27 19:25:57 +02:00
galister 1b0e5d041e register wivrn controllers even if index is used 2024-09-25 20:34:17 +02:00
Patrick Nicolas b6a6689323 Make "encoder" and "codec" optional in configuration 2024-09-22 16:35:24 +02:00
Patrick Nicolas a4edc0e162 Fix distortion computation log levels 2024-09-13 11:51:59 +02:00
galister 44f48abf8a update monado 2024-09-12 19:32:47 +02:00
Patrick Nicolas a10ebacba2 Add sample drop for microphone 2024-09-12 16:05:02 +02:00
Patrick Nicolas 1bd98881ff Fix build with vaapi disabled 2024-09-12 15:51:41 +02:00
Patrick Nicolas 7e8c479cc5 Release swapchain earlier
Encoders now have a buffer for next image so that they can encode one
and the compositor write to an other one.
2024-09-11 23:41:10 +02:00
Patrick Nicolas 517b572c75 Integrate YCbCr conversion in monado
Hacks monado's distortion shader to write into Y and CbCr planes,
eliminating the intermediate RGBA image

Note: change monado's version to enforce patch application
2024-09-11 23:41:10 +02:00
Patrick Nicolas 9344c6c012 Tune mip levels selection 2024-09-11 23:41:10 +02:00
Patrick Nicolas 50747d8fd4 Use proper mipmaps for distortion shader 2024-09-11 23:41:10 +02:00
galister 97aa8e3947 make index finger curls work 2024-09-11 00:14:13 +02:00
Patrick Nicolas 4694425373 Fix tracking standby getting stuck 2024-09-08 17:10:20 +02:00
Patrick Nicolas a035578732 Wait for encoders instead of skipping 2024-09-08 16:41:20 +02:00
Patrick Nicolas 62db6d0a2a Wait for previous frame before recording next command buffer 2024-09-08 09:59:25 +02:00
Patrick Nicolas d68bbb4e72 Fix logic error in encoder wait_idle 2024-09-07 18:17:27 +02:00
galister 28c93c3fb8 steamvr_lh support 2024-09-06 21:39:08 +02:00
Patrick Nicolas 5c8310e88f Tweak default values, fix docs
default client scale: 1.0 -> 1.4
default server scale: 0.8 -> 0.5 (0.35 if eye tracked)

added docs for av1 as default when supported
fixed docs about multiple encoders, it's not enabled by default
2024-09-06 21:02:22 +02:00