Patrick Nicolas
94e60d4e8b
Use same packet definitions for both sockets
2023-12-16 14:16:47 +01:00
Patrick Nicolas
1792607ada
Update timing dump and tools
2023-12-16 14:16:46 +01:00
Patrick Nicolas
7e22b3fa92
Add IDR info in timings csv
2023-12-16 14:16:46 +01:00
Patrick Nicolas
df786362e7
Only send I frames when necessary
2023-12-16 14:16:46 +01:00
Patrick Nicolas
6e14bac589
expose wivrn_comp_target class
2023-12-14 23:42:08 +01:00
Patrick Nicolas
a8c8e7f4b9
Fix foveation center calculation
2023-12-14 23:39:26 +01:00
Patrick Nicolas
60c97e0e7b
Use client fov to compute foveation center
2023-12-14 23:39:26 +01:00
Patrick Nicolas
f030433c09
Disable ATW in monado
2023-12-14 23:38:49 +01:00
Patrick Nicolas
d2302a5faa
fix invalid vulkan usage for memory export
2023-12-08 17:50:52 +01:00
Patrick Nicolas
8338c9f5d6
cmake: use tri-state AUTO/ON/OFF for encoders
2023-12-06 15:29:39 +01:00
Patrick Nicolas
23298a1581
Update monado, move create_system in wivrn_session
2023-11-29 18:13:34 +01:00
Patrick Nicolas
b886121eef
Update monado version
2023-11-29 13:17:50 +01:00
Patrick Nicolas
d2faee9f41
Run CI on all branches
2023-11-26 18:06:51 +01:00
Patrick Nicolas
e7504fe32a
Release low latency and multicast locks
2023-11-26 18:06:51 +01:00
Patrick Nicolas
31bd160749
Hide the ugliness of JNI
2023-11-26 16:57:51 +01:00
Patrick Nicolas
10fa78c21c
Make encoder options explicit in cmake
2023-11-25 14:37:36 +01:00
Patrick Nicolas
3700a97aed
Add build instructions for client
2023-11-24 21:29:28 +01:00
Patrick Nicolas
9a4eb0ec64
Unify Pico and standard CI jobs
2023-11-24 21:29:28 +01:00
Patrick Nicolas
41a99298ec
gradle update
2023-11-24 21:29:28 +01:00
Patrick Nicolas
d74512bebb
Avoid crash in avahi
2023-11-23 21:59:46 +01:00
Patrick Nicolas
e7a029a8db
Add server build deps in release
2023-11-23 17:51:59 +01:00
Patrick Nicolas
fa30ea1356
Remove remaining copies of encoded video
2023-11-22 00:00:55 +01:00
Patrick Nicolas
e2868547e2
remove copies in audio thread
2023-11-22 00:00:55 +01:00
Patrick Nicolas
8b0895913b
Reduce some copies in serialization
...
Also update a bunch of stuff
2023-11-22 00:00:55 +01:00
Patrick Nicolas
c799fa6aa4
Remove FEC code, reduce data copies
2023-11-22 00:00:55 +01:00
Patrick Nicolas
12feb9c5e2
Disable forward error correction
2023-11-22 00:00:55 +01:00
Patrick Nicolas
a3729cc1bf
remove useless shared_ptr
2023-11-22 00:00:55 +01:00
Patrick Nicolas
9b787295ef
add utility functions to process timings
2023-11-22 00:00:55 +01:00
Patrick Nicolas
bd8183bbd2
Set send buffer size
2023-11-22 00:00:55 +01:00
Patrick Nicolas
1dfea4061a
Stop sending discover requests when connected
2023-11-22 00:00:55 +01:00
Patrick Nicolas
5e83f7c19b
fix bindings for pico 4
2023-11-21 23:57:49 +01:00
Patrick Nicolas
c660aa3529
Add Quest 3 identifier
2023-11-20 21:14:32 +01:00
Patrick Nicolas
8fa787a859
Add Pico Neo 3 display parameters
2023-11-20 21:14:32 +01:00
Patrick Nicolas
96ce39898d
Add Quest pro display resolution
2023-11-20 21:14:32 +01:00
Patrick Nicolas
347052109d
Add device-specific logic
...
Controller bindings have been moved to the new logic.
Recommended view sizes are now overriden as recommendation is based on
the integrated GPU while for streaming headsets can usually do much
better.
2023-11-20 21:14:28 +01:00
Patrick Nicolas
3f783ceb0c
Don't extrapolate controller positions
2023-11-16 09:05:34 +01:00
Patrick Nicolas
b5c407f59f
Document configuration options
2023-11-13 18:13:45 +01:00
Patrick Nicolas
a60bf88636
Actually throw the exception in pulseaudio errors
2023-11-10 21:51:52 +01:00
Patrick Nicolas
6658ae5549
Add support for wivrn:// intent
...
Launching with wivrn://address will directly connect to given address,
bypassing mDNS service discovery
2023-11-09 19:05:55 +01:00
Patrick Nicolas
38fcf7dc00
Rework stream socket
...
Stream socket on server now uses the same port as the control socket.
Client does not assign a port to its stream socket, instead it sends a
handshake packet at the beginning, the server reads the remote port from
it.
2023-11-08 19:15:59 +01:00
Patrick Nicolas
c3383521a4
Fix nvenc build
2023-10-25 09:13:33 +02:00
Patrick Nicolas
4e233d99c2
Improve timesync
...
Initial timesync algorithm assumed that latency was symmetrical, but it
appears that it is not. Add a mechanism to estimate where latency
happens, which leads to much more stable values: about 200µs variation
between estimations.
2023-10-21 17:53:04 +02:00
Patrick Nicolas
5b527fdfcf
Ensure we only send one timesync per second
2023-10-20 13:12:10 +02:00
Patrick Nicolas
3473f00e0c
Add expedited forwarding ToS flag in stream socket
2023-10-20 11:27:23 +02:00
Patrick Nicolas
003f4ed830
clang-format
2023-10-17 11:17:47 +02:00
Patrick Nicolas
210baa258f
Exit cleanly on avahi error
2023-10-17 11:17:47 +02:00
Patrick Nicolas
c0e8a030ca
Don't abort for exception in main
2023-10-17 11:17:47 +02:00
Patrick Nicolas
cb47c70030
Minor header cleanup
2023-10-17 11:17:47 +02:00
Patrick Nicolas
e5cc77493d
Don't build unused monado drivers
2023-10-17 11:17:47 +02:00
Patrick Nicolas
c6c4f3facf
Update mdns library
2023-10-17 11:17:44 +02:00
Patrick Nicolas
1b44880f3d
Add dependencies section to readme
2023-10-12 15:18:00 +02:00
Patrick Nicolas
8b412daaea
Use bundled cJSON
2023-10-05 20:05:00 +02:00
Patrick Nicolas
26d2ee1648
update monado version
2023-10-05 14:14:53 +02:00
Patrick Nicolas
8174c5db26
Update monado version
2023-10-05 14:14:53 +02:00
Patrick Nicolas
f81558752b
fix clang-format
2023-10-05 14:14:53 +02:00
Patrick Nicolas
59ccf9582e
remove obsolete oxr_sdl2_* functions
2023-10-03 09:21:28 +02:00
Patrick Nicolas
438ebc1757
Fix install target for openXR manifest
2023-08-01 21:45:12 +02:00
Patrick Nicolas
184f8c73db
Update monado version
2023-07-26 19:44:15 +02:00
Patrick Nicolas
816663af37
fix release CI for standard loader
2023-07-26 12:02:19 +02:00
Patrick Nicolas
5128fcd96b
Ignore frames with no view_info
2023-07-25 20:05:24 +02:00
Patrick Nicolas
2f4f1f5f29
Add x86_64 to android ABI filters
2023-07-25 20:03:51 +02:00
Patrick Nicolas
aa89543fec
Restrict Android build to arm64-v8a
...
Our code relies on vulkan handles being different types, and this is not
true on 32bits architectures.
2023-07-25 20:03:51 +02:00
Patrick Nicolas
2df008d229
Fix cmake function collision for shader compilation
2023-07-25 20:03:51 +02:00
Patrick Nicolas
66a93a694f
Fix linux client build
2023-07-13 19:23:48 +02:00
Patrick Nicolas
2d021463de
fix speaker/mic thread using same variable
2023-07-04 21:10:06 +02:00
Patrick Nicolas
2704b46927
Add timestamps for inputs
2023-06-30 12:25:15 +02:00
Patrick Nicolas
20835c6e7f
Fix client freeze when exiting
2023-06-29 19:44:07 +02:00
Patrick Nicolas
18f5b3a719
kill server on ctrl-c
2023-06-29 18:59:13 +02:00
Patrick Nicolas
00fbfafb60
use control socket for audio data
2023-06-29 17:27:52 +02:00
Patrick Nicolas
98df3a2ed8
Fix build with assertions
2023-06-28 18:33:24 +02:00
Patrick Nicolas
16d51338c6
fix buffered frames on ffmpeg 5+
2023-06-28 18:13:16 +02:00
Patrick Nicolas
794b30fedc
add FFMPEG_LOG_LEVEL to configure log level
2023-06-28 17:41:57 +02:00
Patrick Nicolas
38cbf2ccbd
Add log for dropped encoder frames
2023-06-26 22:09:48 +02:00
Patrick Nicolas
47872011b5
Add warning if EAGAIN in encoder
...
This most likely means there is buffering in the encoder, pose will be
out of sync with image data and we will have additional latency.
2023-06-26 22:09:48 +02:00
Patrick Nicolas
4164ac1780
update monado version
2023-03-02 09:20:14 +01:00
Patrick Nicolas
491c52902f
update monado version
2023-02-01 18:07:12 +01:00
Patrick Nicolas
a0f717ec11
Allocate command buffers only once (and do not leak them)
2022-12-17 20:15:44 +01:00
Patrick Nicolas
7fb2cca038
Add simple controller bindings
2022-12-10 07:11:06 +01:00
Patrick Nicolas
a5726226a2
Use comp_target_factory
2022-12-09 22:19:18 +01:00
Patrick Nicolas
b77f877f46
Name decoder threads
2022-12-06 09:28:51 +01:00
Patrick Nicolas
d40c37fd58
catch errors on stream creation
2022-12-06 09:26:25 +01:00
Patrick Nicolas
5932b54d74
Allow encoders to change their settings
2022-12-04 19:01:44 +01:00
Patrick Nicolas
9dd10e5261
Improve audio latency
...
Switch from module-simple-protocol-tcp + null sink/source to pipe
sink/source and custom network streaming.
2022-12-04 18:09:11 +01:00
Patrick Nicolas and Guillaume Meunier
2b4303272d
Initial audio support
...
Co-authored-by: Guillaume Meunier <guillaume.meunier@centraliens.net >
2022-12-03 21:24:55 +01:00
Patrick Nicolas
b1cb28200d
Only blit useful part of the stream
...
With odd image size, encoders may add black borders. We need to properly
ignore it on the headset side
2022-11-28 22:35:10 +01:00
Patrick Nicolas
21311baf8e
add (deactivated) code to dump video streams
2022-11-28 22:35:10 +01:00
Patrick Nicolas
c97512d912
specialize serialization of vector<uint8_t>
2022-11-27 10:18:28 +01:00
Patrick Nicolas
539466e664
specialize serialization for video data
2022-11-26 23:03:15 +01:00
Patrick Nicolas
841e68ee28
client: remove some buffer copies
2022-11-26 23:03:15 +01:00
Patrick Nicolas
fdc7d80aa8
Fix memory leak
2022-11-22 20:14:08 +01:00
Patrick Nicolas
efb98ccda5
more accurate timesync
2022-11-17 13:14:38 +01:00
Patrick Nicolas
bed54f646c
Add WIVRN_DUMP_TIMINGS option
2022-11-17 13:14:38 +01:00
Patrick Nicolas
219dc50720
fix some button mappings
2022-11-15 23:14:31 +01:00
Patrick Nicolas
35e6242287
hide freetype/harfbuzz symbols
2022-11-15 22:56:49 +01:00
Patrick Nicolas
ac46842ddc
enable LTO for android build
2022-11-15 22:56:49 +01:00
Patrick Nicolas
998fda29a7
Fix tracking origin
2022-11-15 20:56:50 +01:00
Patrick Nicolas
8a1388f102
Use actual fps hint for mediacodec init
2022-11-15 11:55:22 +01:00
Patrick Nicolas
df376d473f
vaapi: add details when fail to open device
2022-11-15 08:35:15 +01:00
Patrick Nicolas
a2a4d72106
Add "scale" configuration value
2022-11-14 20:41:15 +01:00
Patrick Nicolas
dc7f2cda21
Fix colorspace on headset
2022-11-14 19:41:17 +01:00