Commit Graph

69 Commits

Author SHA1 Message Date
Riccardo Zaglia 7be28bbd6c chore: 🔧 Update MSRV 2023-10-20 11:26:42 +08:00
Kirottu e76db1512e
New launcher (#1686)
* Added alvr_launcher

* Fixed zip dependency for Windows and added serde_json in alvr_launcher

* (Hopefully) fixed unzipping on Windows

* Added missing mut

* More features to alvr_launcher, alvr_gui_common

- Moved theme from dashboard to alvr_gui_common to be shared with the launcher
- Added client APK installation
- Added automatic downloading of platform tools for ADB
- General refactoring of alvr_launcher

* Refactor, hopefully fixed macOS CI

* Fixed compile error for dashboard

* Fixed compilation for macOS

* Fixed compilation for macOS (finally)
2023-06-21 16:42:29 +08:00
Riccardo Zaglia 71f6836f51 Begin v21 dev cycle 2023-06-02 15:36:14 +08:00
Riccardo Zaglia 27c86ca874
Send negotiated config as JSON, apply client-side foveation (#1646) 2023-05-30 18:40:33 +08:00
Riccardo Zaglia 66f4782c86 Check for protocol compat for trusted clients 2023-05-24 11:53:29 +08:00
Riccardo Zaglia 2add95403b Batch send buttons 2023-05-17 14:22:04 +08:00
Harsha Raghu 41c9dee4ba
Remove sockets2 patch (#1624) 2023-05-14 19:02:43 +08:00
Riccardo Zaglia bac4f3d527 Create alvr_packets 2023-05-09 17:00:52 +08:00
Riccardo Zaglia f9ec3e22a8
Prepare dashboard for web or client hosting (#1606) 2023-05-06 21:12:29 +08:00
Riccardo Zaglia dea1704156
Socket fixes (#1605)
* Fix UDP glitching; fix server OOM on TCP

* Detect IDR during NAL parsing stage

---------

Co-authored-by: Yury <rip95_95@mail.ru>
2023-05-05 10:30:01 +08:00
Harsha Raghu 5ca484815e
fix: alvr_client_core stability issues on smartphone androids (#1586)
* Fix: Mediacodec configure crash

* Build for x86_64 ABI too

* Update android.rs

* feature-ize enable-low-latency

* linting changes

* remove default low-latency feature

* patch sockets2 and build for all ABIs

* Update dependencies.rs

* linting

* Update dependencies.rs
2023-04-24 14:13:18 +08:00
Riccardo Zaglia c598bd7633
Add support for logging eye and face tracking data (#1577)
* Add support for logging eye and face tracking data

* Add preset
2023-04-14 23:25:14 +02:00
Riccardo Zaglia dabacc04d2 Select codec type lazily (#1564) 2023-04-10 14:11:14 +02:00
Riccardo Zaglia cf48522982
Add controller "Prediction" slider (#1561) 2023-04-08 21:22:42 +02:00
Riccardo Zaglia dd193c7dfc
Finish new Rust dashboard (#1446) 🎉
* Finish new dashboard

Implement hybrid data sources

Finish connection tab; fix dashboard not closing; refactoring

Add basic section::Control; refactoring

Add choice::Control

Add switch; add reset button

Add boolean and text

Add unchecked basic numeric; add two presets

Add optional::Control

Finish new integrated launcher; fix logging

Finish connection, statistics, installation, about tabs

Finish logs tab

Finish number control; update to new settings-schema

Add array::Control Tweaks for the statitics page; Implement help and stramvr restart tooltips

Add more settings metadata; various refactorings

Fix missing jack feature

Finish notifications and setup wizard

Fix vrcompositor launcher

Fix swapped fps graph

Co-Authored-By: galister <22305755+galister@users.noreply.github.com>

* Finish presets and whole dashboard

* Delete old dashboard and bump

* Fix microphone dropdown on Windows

* Move some session checks at dashboard startup

* Remove old launcher

* Add width hint for resolution preset

* Fix wrong resolution calculation

* Add framerate preset

---------

Co-authored-by: galister <22305755+galister@users.noreply.github.com>
2023-03-29 23:55:11 +02:00
Riccardo Zaglia 23c584f8c8
Add OpenXR client and recentering modes 🎉 (#1321)
* Add OpenXR client

* Recreate xr session if LOSS_PENDING

* Render stream conditionally

* Reduce video stream jumps

* Add Platform variable to match platform specific features

* Avoid crashes in the input thread

* Use sRGB throughout the client compositor

This does not fix gamma on the Quest

* Fix gamma on the Quest; fix invalid views pose crash

* Pico4 support (#1401)

* rustfmt

* Pico: squeeze and trigger click (#1404)

* Fix windows check

* mark input events unhandled (#1409)

* Fix sRGB correction (#1407)

* Small refactoring

* Try fix time related crashes

* Refactoring; get supported resolutions

* Add Pose; more refactoring

* Fix hand tracking

* Prepare for playspace sync; misc refactoring

* Move tracking transformations to Rust

* Add position and rotation recentering modes

* Support release and distribution client builds

* Update workflows

* Remove Android Studio project

* Bump

* Update README

---------

Co-authored-by: galister <22305755+galister@users.noreply.github.com>
2023-02-01 19:19:18 +01:00
Riccardo Zaglia 70e50c7da5
Remove FEC; add sharding support to StreamSocket (#1384)
* Remove FEC; add sharding support to StreamSocket

* Fix packet loss notification not working

* Add simpler API for receiving header-only packets

* Small refactoring
2023-01-17 12:09:19 +01:00
Riccardo Zaglia 6850cde18c Remove throttled UDP 2023-01-16 13:01:39 +01:00
Riccardo Zaglia 2d68521cc9 Remove haptic-specific paths 2023-01-13 16:11:04 +01:00
Riccardo Zaglia 46c7e977c2
Controller prediction fix (#1299) 2022-12-10 15:49:59 -06:00
Riccardo Zaglia f169aede9a Support client logging for os != android 2022-12-08 19:08:07 +01:00
Riccardo Zaglia 93d2807f7e Send client log to server 2022-11-26 21:08:56 +01:00
Riccardo Zaglia af75ed9ebc Refactoring 2022-11-06 22:06:47 +08:00
Riccardo Zaglia 7319d2f48a Always send video configuration NALs reliably 2022-11-03 01:15:10 +01:00
Riccardo Zaglia 4095746cab Begin v20 dev cycle 2022-10-30 20:46:33 +01:00
Riccardo Zaglia 20ba417bfa Add decoder queue statistic 2022-10-26 13:07:53 +02:00
Riccardo Zaglia 57755c1393 bump 2022-10-20 15:05:10 +02:00
ImUrX d2d3f94e25 Add LTO option to package builds (#1186)
needs to be done on the root Cargo

make a new profile

add xtask stuff

cargo fmt

distribution should be default for packages

remove distribution flag and fix its profile not working

cargo fmt

remove const

impl Display instead of From<&str>; refactoring

Undo stripping
2022-09-27 23:39:25 +02:00
Riccardo Zaglia c4978d8b76 Use new workspace features
Delete experimental folder
Update windows-rs
2022-09-25 03:04:10 +02:00
Riccardo Zaglia 71684f1d17 Update crates 2022-09-03 12:32:35 +02:00
Riccardo Zaglia d84d8e6e27 Fix Audio config selection on Linux; port client to alvr_audio 2022-05-30 02:58:48 +02:00
Riccardo Zaglia 26df8d23a2 Remove experimental crates from workspace 2022-04-28 00:54:40 +02:00
Riccardo Zaglia 3629fecbf9 Move non-crate dirs out of alvr/ 2022-03-21 18:32:06 +01:00
Riccardo Zaglia 698ba59c2e Move some code in alvr_server_data 2022-03-13 12:15:17 +01:00
Riccardo Zaglia e1145bb77b Remove openvr-driver-sys 2022-02-10 12:24:15 +01:00
Riccardo Zaglia daf115a6b7 Update crates 2022-02-02 02:30:10 +01:00
Riccardo Zaglia c129c8f293 Use safe MediaCodec bindings; fix build
Continue Mediacodec-Vulkan interop
2022-01-08 14:13:49 +01:00
Riccardo Zaglia ea73c2a151 Rewrite app lifecycle; fix session leak 2021-12-25 21:18:38 +01:00
Riccardo Zaglia a573fade0d Remove alvr_gui and rend3 dependencies (temporary)
Upgrade to wgpu 0.12
2021-12-22 21:20:09 +01:00
Riccardo Zaglia ef2fa9f608 Fix server and old client; breaks new client 2021-12-19 21:44:33 +01:00
Riccardo Zaglia b2496600ae Begin connection code; pause new client dev
Update wgpu-related code
2021-12-19 17:06:00 +01:00
Riccardo Zaglia 398452cd01
Packets rework (#884)
* move packets

* Convert video packet (not working)

* Fix video freeze

* Rewrite TimeSync server->client

* Add haptics server->client

* Rewrite Input packet

* Fix head position lag

* convert remaining TimeSync and VideoErrorReport packets
Fix hand tracking data

* Try fix linux build
2021-12-12 00:11:42 +01:00
Riccardo Zaglia 6a543e3a36 Finish SceneRenderer::render(); add drop guard for xr::Session 2021-11-26 14:57:54 +01:00
Riccardo Zaglia 36aacaa0c5 Resume new client, begin main loop, OpenXR 2021-11-25 00:47:27 +01:00
Riccardo Zaglia 60263671b2 Begin new client (stalled) 2021-09-20 13:46:12 +02:00
Riccardo Zaglia 7c97334d03 Rename tests -> experiments 2021-08-21 16:51:09 +02:00
Riccardo Zaglia 976a93514a Use crate resolver mode 2 2021-08-15 23:13:40 +02:00
Riccardo Zaglia 866dd08337 Add alvr/tests/graphics_tests 2021-08-15 23:07:31 +02:00
Riccardo Zaglia f9b3f0a9d5 Move egui_dashboard to alvr/tests 2021-08-15 22:33:17 +02:00
Riccardo Zaglia c182a594e6
Refactor alvr_filesystem and usages (#759)
* Refactor alvr_filesystem and usages

* Exclude unused msgbox crate on Linux

* Fix launcher compilation

* Handle custom paths with environment variables

* Fix launcher build

* Fix nightly

* Default to portable/movable root

* Use StrResult instead of BResult

* Create alvr_commands

* Set g_sessionPath in vulkan-layer

* Try fixing compilation

* Try fixing compilation (2)

* Fix js formatting

* Try fixing compilation (3)

* Try fixing compilation (4)

* Try fixing compilation (5)

* Re-enable logging on vulkan-layer

* Remove wrong log

* FIx casing

* Fix casing (1)

* Fix casing (2)

* Fix include path

* Fix wrong driver dir used for loading ffmpeg

Co-authored-by: Riccardo Zaglia <riccardo.zaglia@gmail.com>
2021-08-15 17:32:00 +02:00