323 Commits
Author SHA1 Message Date
Sapphire 1428d52727 Fix non-systemd build 2024-10-12 08:48:46 +02:00
Patrick Nicolas 1a54b0c236 Add margin for frame skip logic 2024-10-11 20:33:11 +02:00
Guillaume Meunier 26d271b907 Rework the wizard APK downloading, install directly instead of telling the user to use ADB. Add setting to choose which game to start automatically. 2024-10-10 23:26:09 +02:00
Patrick Nicolas 0579289855 Fix latency going up then down at regular intervals
Headsets lie about the frame duration, the actual time between display
may be a little more (or less). This causes phase information to
gradually increase, and eventually wrap around. The lowpass filter in
the pacer was unable to deal with wraparound and would instead average
in linear space.
2024-10-10 16:32:59 +02:00
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