Compare commits

...
75 Commits
Author SHA1 Message Date
Sneed Chuckinson ecadddb589 Merge remote-tracking branch 'origin/sneed' into apk-build
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Waiting to run
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Waiting to run
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Waiting to run
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Waiting to run
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Waiting to run
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev libpipewire-0.3-dev preset:client-no-system-boost]) (push) Waiting to run
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Waiting to run
Build / Steam Frame (push) Waiting to run
Build / Create release (push) Blocked by required conditions
Build / Sync fork downstream (push) Blocked by required conditions
Build / Linux server (flatpak) (push) Skipped
Build / Test Nix package and devshell (push) Skipped
Build / Android (Debug) (push) Skipped
Build / Android (DebugWithValidationLayer) (push) Skipped
Build / Android (Oculus) (push) Skipped
Build / Android (Release) (push) Skipped
Build / Build Ubuntu package (plucky) (push) Skipped
Format / Formatting check (client) (push) Skipped
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Locales / Locale check (push) Skipped
Release APK Only / Android (Debug) (push) Failing after 1h10m31s
Release APK Only / Android (Release) (push) Failing after 45m12s
Release APK Only / Android (DebugWithValidationLayer) (push) Failing after 45m21s
Release APK Only / Create APK release (push) Skipped
2026-12-05 02:18:57 +00:00
JeremyLARDENOIS abe0722ecc fix(debian): remove obsolete CAP_SYS_NICE setup
Build / Linux server (flatpak) (push) Skipped
Build / Test Nix package and devshell (push) Skipped
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Waiting to run
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Waiting to run
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Waiting to run
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Waiting to run
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Waiting to run
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev libpipewire-0.3-dev preset:client-no-system-boost]) (push) Waiting to run
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Waiting to run
Build / Steam Frame (push) Waiting to run
Build / Android (Debug) (push) Skipped
Build / Create release (push) Blocked by required conditions
Build / Sync fork downstream (push) Blocked by required conditions
Build / Android (DebugWithValidationLayer) (push) Skipped
Build / Android (Oculus) (push) Skipped
Build / Android (Release) (push) Skipped
Build / Build Ubuntu package (plucky) (push) Skipped
Format / Formatting check (client) (push) Skipped
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Locales / Locale check (push) Skipped
Release APK Only / Android (Debug) (push) Failing after 1h10m15s
Release APK Only / Android (Release) (push) Failing after 1h10m21s
Release APK Only / Android (DebugWithValidationLayer) (push) Failing after 1h10m22s
Release APK Only / Create APK release (push) Skipped
Remove the obsolete postinst script and libcap-dev build dependency instead of introducing a runtime dependency on libcap2-bin.
2026-12-04 08:23:42 +01:00
JeremyLARDENOIS 7724168a15 fix(debian): declare dashboard runtime dependencies
Declare the QML modules imported by the dashboard and the KDE
desktop style selected by default.

Shared library dependency generation does not cover all dynamically
loaded QML modules and image format plugins.

Add the Qt SVG plugin required to display SVG images.

Recommend adb for USB connectivity and Android APK installation,
while allowing the dashboard to run without it or use a custom
adb installation.
2026-12-04 08:23:42 +01:00
JeremyLARDENOIS ce48577303 fix(debian): add missing libcap2-bin dependency
The postinst script invokes setcap to grant CAP_SYS_NICE to
wivrn-server.

Without libcap2-bin, package configuration fails with exit status 127
on a minimal Ubuntu installation.

Installing libcap2-bin resolves the configuration failure and allows
the expected file capability to be applied successfully.
2026-12-04 08:23:42 +01:00
JeremyLARDENOIS 354137b6bb fix(debian): declare missing build dependencies
Declare the dependencies required to configure and build the server
and dashboard using the Debian packaging.

These dependencies were missing from debian/control despite being
required by CMake or installed explicitly by the CI workflow.

Validated with a successful dpkg-buildpackage binary build in a clean
Ubuntu 26.04 container using --no-install-recommends.
2026-12-04 08:23:42 +01:00
Sapphire a96e8a2d3a Upload Frame client to draft release
Format / Formatting check (client) (push) Skipped
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Locales / Locale check (push) Skipped
Release APK Only / Android (Debug) (push) Failing after 1h26m7s
Release APK Only / Android (Release) (push) Failing after 1h26m31s
Release APK Only / Android (DebugWithValidationLayer) (push) Failing after 1h27m7s
Release APK Only / Create APK release (push) Skipped
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev libpipewire-0.3-dev preset:client-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Canceled after 0s
Build / Steam Frame (push) Canceled after 0s
Build / Linux server (flatpak) (push) Skipped
Build / Test Nix package and devshell (push) Skipped
Build / Android (Debug) (push) Skipped
Build / Android (DebugWithValidationLayer) (push) Skipped
Build / Android (Oculus) (push) Skipped
Build / Android (Release) (push) Skipped
Build / Build Ubuntu package (plucky) (push) Skipped
Build / Create release (push) Canceled after 0s
Build / Sync fork downstream (push) Canceled after 0s
2026-12-03 07:57:00 +01:00
gitea 9977ba82a3 Actualiser .github/workflows/APK-Release.yml
Build / Linux server (flatpak) (push) Skipped
Build / Android (Debug) (push) Skipped
Build / Test Nix package and devshell (push) Skipped
Build / Android (DebugWithValidationLayer) (push) Skipped
Build / Android (Oculus) (push) Skipped
Build / Android (Release) (push) Skipped
Build / Build Ubuntu package (plucky) (push) Skipped
Format / Formatting check (client) (push) Skipped
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Locales / Locale check (push) Skipped
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev preset:client-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Canceled after 0s
Build / Create release (push) Canceled after 0s
Build / Sync fork downstream (push) Canceled after 0s
2026-12-02 00:49:41 +00:00
gitea 291f31adb2 Actualiser .github/workflows/APK-Release.yml
Build / Linux server (flatpak) (push) Skipped
Build / Test Nix package and devshell (push) Skipped
Build / Android (Debug) (push) Skipped
Build / Android (DebugWithValidationLayer) (push) Skipped
Build / Android (Oculus) (push) Skipped
Build / Android (Release) (push) Skipped
Build / Build Ubuntu package (plucky) (push) Skipped
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (client) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Locales / Locale check (push) Skipped
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev preset:client-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Canceled after 0s
Build / Create release (push) Canceled after 0s
Build / Sync fork downstream (push) Canceled after 0s
2026-11-29 01:09:53 +00:00
gitea e2cc93f90e Actualiser .github/workflows/APK-Release.yml
Build / Test Nix package and devshell (push) Skipped
Build / Android (Debug) (push) Skipped
Build / Linux server (flatpak) (push) Skipped
Build / Android (DebugWithValidationLayer) (push) Skipped
Build / Android (Oculus) (push) Skipped
Build / Android (Release) (push) Skipped
Build / Build Ubuntu package (plucky) (push) Skipped
Format / Formatting check (client) (push) Skipped
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Locales / Locale check (push) Skipped
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev preset:client-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Canceled after 0s
Build / Create release (push) Canceled after 0s
Build / Sync fork downstream (push) Canceled after 0s
2026-11-29 00:19:24 +00:00
gitea eb9fd869cb Actualiser .github/workflows/APK-Release.yml
Build / Linux server (flatpak) (push) Skipped
Build / Test Nix package and devshell (push) Skipped
Build / Android (Debug) (push) Skipped
Build / Android (DebugWithValidationLayer) (push) Skipped
Build / Android (Oculus) (push) Skipped
Build / Android (Release) (push) Skipped
Build / Build Ubuntu package (plucky) (push) Skipped
Format / Formatting check (client) (push) Skipped
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Locales / Locale check (push) Skipped
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev preset:client-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Canceled after 0s
Build / Create release (push) Canceled after 0s
Build / Sync fork downstream (push) Canceled after 0s
2026-11-28 23:26:51 +00:00
gitea 33fe0146cb Actualiser .github/workflows/APK-Release.yml
Build / Linux server (flatpak) (push) Skipped
Build / Test Nix package and devshell (push) Skipped
Build / Android (Debug) (push) Skipped
Build / Android (DebugWithValidationLayer) (push) Skipped
Build / Android (Oculus) (push) Skipped
Build / Android (Release) (push) Skipped
Build / Build Ubuntu package (plucky) (push) Skipped
Format / Formatting check (client) (push) Skipped
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Locales / Locale check (push) Skipped
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev preset:client-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Canceled after 0s
Build / Create release (push) Canceled after 0s
Build / Sync fork downstream (push) Canceled after 0s
2026-11-28 22:46:54 +00:00
gitea 5671c463a7 Actualiser .github/workflows/APK-Release.yml
Build / Linux server (flatpak) (push) Skipped
Build / Test Nix package and devshell (push) Skipped
Build / Android (Debug) (push) Skipped
Build / Android (DebugWithValidationLayer) (push) Skipped
Build / Android (Oculus) (push) Skipped
Build / Android (Release) (push) Skipped
Build / Build Ubuntu package (plucky) (push) Skipped
Format / Formatting check (client) (push) Skipped
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Locales / Locale check (push) Skipped
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev preset:client-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Canceled after 0s
Build / Create release (push) Canceled after 0s
Build / Sync fork downstream (push) Canceled after 0s
2026-11-28 22:45:03 +00:00
gitea 395c5f921b Actualiser .github/workflows/APK-Release.yml
Build / Linux server (flatpak) (push) Skipped
Build / Test Nix package and devshell (push) Skipped
Build / Android (Debug) (push) Skipped
Build / Android (DebugWithValidationLayer) (push) Skipped
Build / Android (Oculus) (push) Skipped
Build / Android (Release) (push) Skipped
Build / Build Ubuntu package (plucky) (push) Skipped
Format / Formatting check (client) (push) Skipped
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Locales / Locale check (push) Skipped
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev preset:client-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Canceled after 0s
Build / Create release (push) Canceled after 0s
Build / Sync fork downstream (push) Canceled after 0s
2026-11-28 22:37:53 +00:00
gitea d3db1aecf8 Actualiser .github/workflows/APK-Release.yml
Build / Linux server (flatpak) (push) Skipped
Build / Test Nix package and devshell (push) Skipped
Build / Android (Debug) (push) Skipped
Build / Android (DebugWithValidationLayer) (push) Skipped
Build / Android (Oculus) (push) Skipped
Build / Android (Release) (push) Skipped
Build / Build Ubuntu package (plucky) (push) Skipped
Format / Formatting check (client) (push) Skipped
Format / Formatting check (common) (push) Skipped
Format / Formatting check (dashboard) (push) Skipped
Format / Formatting check (server) (push) Skipped
Format / Formatting check (tools/wireshark) (push) Skipped
Format / Python lint (ruff) (push) Skipped
Locales / Locale check (push) Skipped
Build / Linux (map[packages:extra-cmake-modules libarchive-dev libboost-all-dev libkf6coreaddons-dev libkf6qqc2desktopstyle-dev libkf6iconthemes-dev libkirigami-dev librsvg2-dev nlohmann-json3-dev qcoro-qt6-dev qml6-module-org-kde-kirigamiaddons-formcard prese… (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server-tracing]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev libsystemd-dev preset:server]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev preset:server-no-systemd]) (push) Canceled after 0s
Build / Linux (map[packages:libboost-all-dev wireshark-dev preset:dissector-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libharfbuzz-dev libfreetype-dev libavcodec-dev libavutil-dev libswscale-dev librsvg2-bin gettext libcurl4-openssl-dev libfontconfig-dev preset:client-no-system-boost]) (push) Canceled after 0s
Build / Linux (map[packages:libsystemd-dev preset:server-no-system-boost]) (push) Canceled after 0s
Build / Create release (push) Canceled after 0s
Build / Sync fork downstream (push) Canceled after 0s
2026-11-28 22:11:38 +00:00
Vindicus999 1ba4d78f2d Removed patches since it doesnt belong there 2026-10-27 15:01:47 -04:00
Vindicus999 e906c4a88b Add SolarXR patches 2026-10-27 14:53:59 -04:00
Vindicus999 3ea447b9e2 Update APK-Release.yml 2026-09-29 20:17:35 -04:00
Vindicus999 15d72d0698 Update APK-Release.yml
building stuff is wank
2026-09-29 20:17:07 -04:00
Vindicus999 4adb97806b Update APK-Release.yml 2026-09-29 20:01:20 -04:00
Vindicus999 9fdc79af9f Update APK-Release.yml 2026-09-29 19:51:10 -04:00
Vindicus999 e9b574327b Update APK-Release.yml 2026-09-29 19:39:27 -04:00
Vindicus999 ed7ae70b1d Update APK-Release.yml 2026-09-29 19:26:30 -04:00
Vindicus999 deb1d3e346 Update APK-Release.yml 2026-09-29 18:55:51 -04:00
Vindicus999 dc9ad50c7c Update APK-Release.yml 2026-09-29 18:48:43 -04:00
Vindicus999 6a04765718 Update APK-Release.yml 2026-09-29 18:45:39 -04:00
Vindicus999 11ffdab312 Update APK-Release.yml 2026-09-29 18:45:20 -04:00
Vindicus999 064b2706a3 Update APK-Release.yml 2026-09-29 18:32:24 -04:00
Vindicus999 98d6dc92e2 Update APK-Release.yml 2026-09-29 18:31:22 -04:00
Vindicus999 14ec355d60 Update APK-Release.yml 2026-09-29 18:12:54 -04:00
Vindicus999 121c322082 Update APK-Release.yml 2026-09-29 17:23:51 -04:00
Vindicus999 95ea865cb7 Update APK-Release.yml 2026-09-29 16:45:18 -04:00
Vindicus999 324aae6c68 Update APK-Release.yml 2026-09-29 16:19:06 -04:00
Vindicus999 fb3fbc720f Change the appropriate repo for environments 2026-09-29 08:56:23 -04:00
Vindicus999 105c6008f0 Merge branch 'sync' into sneed 2026-09-27 18:51:13 -04:00
Vindicus999 3aff86b7ae Merge branch 'sync' of https://github.com/Vindicus999/WiVRn into sync 2026-09-27 18:50:59 -04:00
Vindicus999 434f84e5f7 Merge branch 'sync' of https://github.com/Vindicus999/WiVRn into sync 2026-08-04 13:14:51 -04:00
Vindicus999 f1abbfd490 Merge branch 'sync' into sneed 2026-07-25 22:36:30 -04:00
Vindicus999 8e03841b94 Change the transparency type of the beam
Also remove semite ideologies from the project
2026-07-25 22:36:07 -04:00
Vindicus999 e3a5496599 Merge branch 'sync' of https://github.com/Vindicus999/WiVRn into sync 2026-07-25 22:24:30 -04:00
Vindicus999 294b9f7937 Merge branch 'sync' into sneed 2026-07-14 00:38:50 -04:00
Vindicus999 64b1eba5a5 Merge branch 'sync' of https://github.com/Vindicus999/WiVRn into sync 2026-07-14 00:37:29 -04:00
Vindicus999 1ae6453e56 Merge branch 'sync' into sneed 2026-07-01 07:10:14 -04:00
Vindicus999 065ae948ce Merge branch 'sync' of https://github.com/Vindicus999/WiVRn into sync 2026-07-01 07:09:08 -04:00
Vindicus999 d279699b05 Reticulate Splines 2026-06-02 08:54:56 -04:00
Vindicus999 d356d22ce4 Deporting every single Wivrn developers to Little John Island 2026-06-02 08:54:56 -04:00
Vindicus999 ba5c4181dc Update CMakeLists.txt 2026-06-02 08:54:56 -04:00
Vindicus999 2d99c4a1a3 Update CMakeLists.txt 2026-06-02 08:54:56 -04:00
Vindicus999 64ece0d31d Update CMakeLists.txt 2026-06-02 08:54:56 -04:00
Patrick Nicolas cf65ac0b23 Crop FOV in layer squasher 2026-06-02 08:54:56 -04:00
Patrick Nicolas 24e9b12dec Return extent in do_layers() 2026-06-02 08:54:19 -04:00
Vindicus999 9efa9e47d6 Update Sync.yml 2026-06-02 08:51:36 -04:00
Vindicus999 9cad31511e Update Sync.yml 2026-06-02 08:51:36 -04:00
Vindicus999 4d67661a2f Update Sync.yml 2026-06-02 08:51:36 -04:00
Vindicus999 3d1e2f9d0b Update Sync.yml 2026-06-02 08:51:36 -04:00
Vindicus999 eac6348bc2 Update Sync.yml 2026-06-02 08:51:36 -04:00
Vindicus999 26c71371a8 Update Sync.yml 2026-06-02 08:51:36 -04:00
Vindicus999 485d7d82aa Update Sync.yml
Update Sync.yml
2026-06-02 08:51:36 -04:00
Vindicus999 fe6c74a996 Fix the models 2026-06-02 08:51:36 -04:00
Vindicus999 478fd88cd4 Update Sync.yml 2026-06-02 08:51:36 -04:00
Vindicus999 637754517c Configure build actions 2026-06-02 08:51:36 -04:00
Vindicus999 9d3ace4a97 feat: revert "Default to xrizer"
This reverts commit 46ffc44.
2026-06-02 08:51:09 -04:00
Vindicus999 0f980265da feat: set solarxr feeder devices 2026-06-02 08:51:09 -04:00
Vindicus999 71779a142f refactor: initialize xdevs with xrt_device_init 2026-06-02 08:51:09 -04:00
Vindicus999 dfc7a57565 feat: add solarxr patches 2026-06-02 08:51:09 -04:00
Vindicus999 15ce383d5c Removed most mentions of NAMbLA 2026-06-02 08:51:09 -04:00
Vindicus999 91e1665cb7 Merge branch 'sync' of https://github.com/Vindicus999/WiVRn into sync 2026-06-02 08:48:50 -04:00
Vindicus999 296ea5dc54 Merge branch 'sync' of https://github.com/Vindicus999/WiVRn into sync 2026-04-27 22:03:25 -04:00
Vindicus999 0351e0f090 Merge branch 'master' into sync 2026-04-27 21:08:17 -04:00
Vindicus999 f2ee7b0fd9 Merge branch 'sync' of https://github.com/Vindicus999/WiVRn into sync 2026-04-27 21:07:19 -04:00
Vindicus999 5e1998c28a Update Sync.yml 2026-04-04 12:56:07 -04:00
Vindicus999 88d2e03f49 Update Sync.yml 2026-04-03 09:44:04 -04:00
Vindicus999 b5d5a5928c Update APK-Release.yml 2026-04-03 09:29:11 -04:00
Vindicus999 7ad6a2451f Update Sync.yml 2026-04-03 09:09:04 -04:00
Vindicus999 0e20f5bfae Merge branch 'master' of https://github.com/Vindicus999/WiVRn 2026-04-03 09:07:31 -04:00
Vindicus999 c01de0a3d2 Create Sync.yml 2026-04-03 09:07:24 -04:00
23 changed files with 658 additions and 718 deletions
+6
View File
@@ -0,0 +1,6 @@
version: "1"
rules:
- base: master
upstream: WiVRn:master
mergeMethod: hardreset
+108 -23
View File
@@ -2,10 +2,11 @@ name: Release APK Only
on:
push:
branches: [ "master" ]
branches: [ "apk-build" ]
env:
BUILD_TYPE: RelWithDebInfo
CSS: images/wivrn-${{(github.ref_type == 'tag' && 'release') || 'nightly'}}.css
jobs:
build-android-only:
@@ -18,25 +19,28 @@ jobs:
buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
steps:
- uses: actions/checkout@v6
- uses: actions/checkout@v4
with:
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
repository: 'WiVRn/WiVRn'
repository: 'gitea/WiVRn'
ref: ${{ github.sha }}
fetch-depth: 0
# Gradle distribution and the Android plugin's dependencies.
- uses: actions/cache@v5
- name: Install CMake
run: |
apt-get update
apt-get install -y cmake build-essential
- name: Prepare Vulkan SDK
uses: humbletim/setup-vulkan-sdk@286ed76c72de45dbf50c515779cf4ca2f6aa3944
with:
key: gradle-android-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}
path: |
~/.gradle/caches
~/.gradle/wrapper
restore-keys: gradle-android-
vulkan-query-version: 1.3.296.0
vulkan-components: Glslang, SPIRV-Tools
vulkan-use-cache: true
- name: Install dependencies
run: |
sudo apt-get update && sudo apt-get install glslang-tools spirv-tools librsvg2-bin gettext npm
sudo apt-get update && sudo apt-get install -y glslang-tools librsvg2-bin gettext npm
wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.0/KTX-Software-4.4.0-Linux-x86_64.deb
sudo dpkg --install KTX-Software-4.4.0-Linux-x86_64.deb
npm install --global @gltf-transform/cli@4.1.1
@@ -60,6 +64,12 @@ jobs:
echo signingKeyPassword="$APK_SIGNINGKEYPASSWORD" > gradle.properties
echo "$APK_KEYSTORE_BASE64" | base64 --decode --ignore-garbage > ks.keystore
- name: Setup Java
uses: actions/setup-java@v6
with:
distribution: microsoft
java-version: '25'
- name: Build
run: |
chmod +x gradlew
@@ -74,7 +84,7 @@ jobs:
find debug -name libopenxr_loader.so -delete
- name: Archive APK
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v4
with:
name: apk-${{ (github.event_name == 'pull_request' && matrix.buildtype == 'Release') && 'Release-unsigned' || matrix.buildtype }}
path: apk/*.apk
@@ -82,12 +92,79 @@ jobs:
- name: Archive debug symbols
if: ${{ matrix.buildtype != 'Release' }}
uses: actions/upload-artifact@v7
uses: actions/upload-artifact@v4
with:
name: symbols-${{ matrix.buildtype }}
path: debug/**/*.so
retention-days: 7
# build-steam-frame:
# name: Steam Frame
# runs-on: ubuntu-24.04-arm
# if: ${{ vars.APK_ONLY != '' }}
# container:
# image: registry.gitlab.steamos.cloud/steamrt/steamrt4/sdk/arm64:4.0.20260805.254769
# volumes:
# - ${{github.workspace}}/install:/tmp/install
#
# steps:
# - uses: actions/checkout@v6
# with:
# fetch-depth: 0
# fetch-tags: true
#
# - name: Apt dependencies
# uses: awalsh128/cache-apt-pkgs-action@v1.6.1
# with:
# packages: librsvg2-bin npm
#
# - name: ccache
# uses: hendrikmuhs/ccache-action@v1.2.23
# with:
# key: steam-frame
# job-summary: ""
#
# - uses: actions/cache@v5
# with:
# key: cmake-frame
# path: |
# ${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.tar.*
# ${{github.workspace}}/cmake-fetch/*-subbuild/*-populate-prefix/src/*.zip
# ${{github.workspace}}/cmake-fetch/*.tar.*
# ${{github.workspace}}/cmake-fetch/*.tgz
# ${{github.workspace}}/cmake-fetch/*-src/.git
#
# - name: Install dependencies
# run: |
# wget https://github.com/KhronosGroup/KTX-Software/releases/download/v4.4.2/KTX-Software-4.4.2-Linux-arm64.deb
# sudo dpkg --install KTX-Software-4.4.2-Linux-arm64.deb
# npm install --global @gltf-transform/cli@4.1.1
#
# - name: Configure CMake
# run: >
# cmake -B "$GITHUB_WORKSPACE/build"
# -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
# -DWIVRN_CSS=${{env.CSS}}
# -DFETCHCONTENT_BASE_DIR="$GITHUB_WORKSPACE/cmake-fetch"
# -DCMAKE_C_COMPILER_LAUNCHER=ccache
# -DCMAKE_CXX_COMPILER_LAUNCHER=ccache
# -DCMAKE_INSTALL_PREFIX=/usr
# --preset frame
#
# - name: Build
# run: |
# git config --global --add safe.directory "$GITHUB_WORKSPACE"
# cd "$GITHUB_WORKSPACE/build"
# DESTDIR="$GITHUB_WORKSPACE/install" ninja install
#
# - name: Archive
# uses: actions/upload-artifact@v7
# with:
# name: wivrn-frame-client.zip
# path: install/usr
# if-no-files-found: error
# retention-days: 30
release:
name: Create APK release
runs-on: ubuntu-24.04
@@ -96,22 +173,22 @@ jobs:
steps:
- name: Download APK artifacts
uses: actions/download-artifact@v8
uses: actions/download-artifact@v4
with:
path: apk
pattern: 'apk-*'
merge-multiple: true
- name: Rename APK artifacts
run: |
cd apk
for f in *.apk; do
BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
mv "${f}" "org.meumeu.wivrn-${BASENAME}"
done
# - name: Rename APK artifacts
# run: |
# cd apk
# for f in *.apk; do
# BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
# mv "${f}" "org.meumeu.wivrn-${BASENAME}"
# done
- name: Download APK debug artifacts
uses: actions/download-artifact@v8
uses: actions/download-artifact@v4
with:
path: symbols
pattern: 'symbols-*'
@@ -122,8 +199,15 @@ jobs:
cd symbols
zip -r ../debug-symbols.zip .
# - name: Download Steam Frame artifacts
# uses: actions/download-artifact@v4
# with:
# path: install/usr
# pattern: 'wivrn-frame-client.zip'
# merge-multiple: true
- name: APK Release
uses: softprops/action-gh-release@v3
uses: softprops/action-gh-release@v2
with:
token: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
tag_name: "apk-${{ github.sha }}"
@@ -134,3 +218,4 @@ jobs:
files: |
apk/*.apk
debug-symbols.zip
+7
View File
@@ -552,6 +552,12 @@ jobs:
name: wivrn-server-x86_64.flatpak
path: flatpak
- name: Download artifacts (Frame)
uses: actions/download-artifact@v8
with:
name: wivrn-frame-client.zip
path: frame
- name: Release
uses: softprops/action-gh-release@v3
with:
@@ -561,6 +567,7 @@ jobs:
files: |
apk/*.apk
flatpak/*.flatpak
frame/*.zip
- name: Update flatpak manifest for flathub
if: ${{ steps.flathub-token-check.outputs.available == 'true' }}
+49
View File
@@ -0,0 +1,49 @@
name: Sync Fork with Upstream
env:
UPSTREAM_URL: "https://github.com/wivrn/wivrn.git"
WORKFLOW_TOKEN: ${{ secrets.DOWNSTREAM_GITHUB_TOKEN }}
UPSTREAM_BRANCH: "master"
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
upstream_repo: vindicus999/wivrn
fetch-depth: 0
token: ${{ env.WORKFLOW_TOKEN }}
- name: Add upstream
run: |
git remote add upstream ${{ env.UPSTREAM_URL }}
- name: Fetch all
run: |
git fetch origin
git fetch upstream
- name: Update sync branch
run: |
git checkout -B master upstream/master
git push origin master --force
- name: Copy master -> apk-build
run: |
git checkout -B apk-build master
git push origin apk-build --force
- name: Apply sneed changes
run: |
git merge origin/sneed --no-edit
- name: Push apk build
run: |
git push origin build --force
+1 -1
View File
@@ -102,7 +102,7 @@ option(WIVRN_OPENXR_MANIFEST_ABI "Generate an ABI specific OpenXR manifest")
option(ENABLE_COLOURED_OUTPUT "Always produce ANSI-coloured output (GNU/Clang only)." ON)
set(WIVRN_ENVIRONMENTS_URL "https://github.com/WiVRn/WiVRn-environments/releases/latest/download/index.json" CACHE STRING "URL hosting the custom environments json file")
set(WIVRN_ENVIRONMENTS_URL "https://github.com/Vindicus999/WiVRn-environments/releases/latest/download/index.json" CACHE STRING "URL hosting the custom environments json file")
if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_SERVER OR WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_DISSECTOR)
set(NEED_COMMON TRUE)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 930 B

After

Width:  |  Height:  |  Size: 856 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 292 B

BIN
View File
Binary file not shown.
-4
View File
@@ -297,14 +297,10 @@ set(IMAGES_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../images)
set(ASSETS_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../assets-source)
wivrn_rasterize_svg(SOURCE ${IMAGES_SRC_DIR}/wivrn.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/wivrn.png WIDTH 540 HEIGHT 540 CSS ${WIVRN_CSS_ABS})
wivrn_rasterize_svg(SOURCE ${IMAGES_SRC_DIR}/wivrn-pride.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/wivrn-pride.png WIDTH 540 HEIGHT 540 CSS ${WIVRN_CSS_ABS})
wivrn_rasterize_svg(SOURCE ${IMAGES_SRC_DIR}/wivrn-christmas.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/wivrn-christmas.png WIDTH 540 HEIGHT 540 CSS ${WIVRN_CSS_ABS})
wivrn_rasterize_svg(SOURCE ${ASSETS_SRC_DIR}/passthrough.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/passthrough.png WIDTH 256 HEIGHT 256)
wivrn_rasterize_svg(SOURCE ${ASSETS_SRC_DIR}/default-environment.svg DESTINATION ${CMAKE_CURRENT_BINARY_DIR}/default-environment.png WIDTH 256 HEIGHT 256)
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/wivrn.png DESTINATION ${ASSETS_DIR}/wivrn.ktx2 TARGET wivrn)
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/wivrn-pride.png DESTINATION ${ASSETS_DIR}/wivrn-pride.ktx2 TARGET wivrn)
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/wivrn-christmas.png DESTINATION ${ASSETS_DIR}/wivrn-christmas.ktx2 TARGET wivrn)
wivrn_generate_ktx( SOURCE ${ASSETS_SRC_DIR}/default_icon.png DESTINATION ${ASSETS_DIR}/default_icon.ktx2 TARGET wivrn)
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/passthrough.png DESTINATION ${ASSETS_DIR}/passthrough.ktx2 TARGET wivrn)
wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/default-environment.png DESTINATION ${ASSETS_DIR}/default-environment.ktx2 TARGET wivrn)
+1 -14
View File
@@ -1302,20 +1302,7 @@ void scenes::lobby::on_focused()
vps,
image_cache);
auto t = std::chrono::system_clock::to_time_t(std::chrono::system_clock::now());
auto tm = std::localtime(&t);
switch (tm->tm_mon)
{
case 5:
about_picture = imgui_ctx->load_texture("assets://wivrn-pride.ktx2");
break;
case 11:
about_picture = imgui_ctx->load_texture("assets://wivrn-christmas.ktx2");
break;
default:
about_picture = imgui_ctx->load_texture("assets://wivrn.ktx2");
break;
}
about_picture = imgui_ctx->load_texture("assets://wivrn.ktx2");
default_environment_screenshot = imgui_ctx->load_texture("assets://default-environment.ktx2");
+3
View File
@@ -814,6 +814,9 @@ void scenes::lobby::gui_about()
ImGui::SetCursorPosX(win_width / 4);
ImGui::Image(about_picture, {win_width / 2, win_width / 2});
ImGui::PushFont(nullptr, constants::gui::font_size_large);
CenterTextH(std::string("Sneed'n'Chuck Edition"));
ImGui::PopFont();
}
void scenes::lobby::gui_first_run()
+26 -1
View File
@@ -7,7 +7,9 @@ Build-Depends:
debhelper-compat (= 13),
cmake (>= 3.25),
pkg-config,
extra-cmake-modules,
glslang-tools,
libarchive-dev,
libavahi-client-dev,
libavahi-glib-dev,
libavcodec-dev,
@@ -15,7 +17,6 @@ Build-Depends:
libavutil-dev,
libbsd-dev,
libboost-all-dev,
libcap-dev,
libcjson-dev,
libcli11-dev,
libeigen3-dev,
@@ -23,8 +24,15 @@ Build-Depends:
libgl1-mesa-dev,
libglu1-mesa-dev,
libglx-dev,
libkf6coreaddons-dev,
libkf6i18n-dev,
libkf6iconthemes-dev,
libkf6qqc2desktopstyle-dev,
libkirigami-dev,
libnotify-dev,
libpipewire-0.3-dev,
librsvg2-dev,
libssl-dev,
libswscale-dev,
libsystemd-dev,
libudev-dev,
@@ -38,8 +46,10 @@ Build-Depends:
mesa-common-dev,
nlohmann-json3-dev,
qt6-base-dev,
qt6-declarative-dev,
qt6-tools-dev,
qcoro-qt6-dev,
qml6-module-org-kde-kirigamiaddons-formcard,
xz-utils
Standards-Version: 4.6.2
Homepage: https://wivrn.github.io
@@ -52,6 +62,21 @@ Multi-Arch: foreign
Depends:
${shlibs:Depends},
${misc:Depends},
qml6-module-org-kde-coreaddons,
qml6-module-org-kde-desktop,
qml6-module-org-kde-kirigami,
qml6-module-org-kde-kirigamiaddons-formcard,
qml6-module-qt-labs-platform,
qml6-module-qtcore,
qml6-module-qtqml,
qml6-module-qtquick,
qml6-module-qtquick-controls,
qml6-module-qtquick-dialogs,
qml6-module-qtquick-layouts,
qml6-module-qtquick-templates,
qt6-svg-plugins,
Recommends:
adb,
Description: OpenXR streaming application to a standalone headset
WiVRn wirelessly connects a standalone VR headset to a Linux
computer. You can then play PCVR games on the headset while
-40
View File
@@ -1,40 +0,0 @@
#!/bin/sh
# postinst script for wivrn.
#
# See: dh_installdeb(1).
set -e
# Summary of how this script can be called:
# * <postinst> 'configure' <most-recently-configured-version>
# * <old-postinst> 'abort-upgrade' <new version>
# * <conflictor's-postinst> 'abort-remove' 'in-favour' <package>
# <new-version>
# * <postinst> 'abort-remove'
# * <deconfigured's-postinst> 'abort-deconfigure' 'in-favour'
# <failed-install-package> <version> 'removing'
# <conflicting-package> <version>
# for details, see https://www.debian.org/doc/debian-policy/ or
# the debian-policy package.
case "$1" in
configure)
setcap CAP_SYS_NICE=+ep /usr/bin/wivrn-server
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
*)
echo "postinst called with unknown argument '$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 158 KiB

+1 -1
View File
@@ -70,7 +70,7 @@ std::filesystem::path active_runtime::openvr_compat_path()
std::optional<std::filesystem::path> flatpak_root = flatpak_key(flatpak::section::instance, "app-path");
// flatpak default
if (flatpak_root)
return *flatpak_root / "xrizer";
return *flatpak_root / "OpenComposite";
for (auto path: std::ranges::split_view(std::string_view(OVR_COMPAT_SEARCH_PATH), std::string_view(":")))
{
+7 -1
View File
@@ -634,6 +634,10 @@ layer_squasher::do_layers(
cmd.dispatch(w, h, 1);
}
std::array<xrt_rect, 2> rect;
for (auto [v, r]: std::ranges::zip_view(viewports, rect))
r = {.extent = {.w = int(v.w), .h = int(v.h)}};
std::array<xrt_rect, 2> rect;
for (auto [v, r]: std::ranges::zip_view(viewports, rect))
r = {.extent = {.w = int(v.w), .h = int(v.h)}};
@@ -817,6 +821,8 @@ xrt_fov layer_squasher::do_quad_layer(const comp_layer & layer,
.angle_right = -M_PI,
.angle_up = -M_PI,
.angle_down = M_PI};
if (normal_view_space.z < 0)
return layer_fov; // back face is not visible
for (auto & c: corners)
{
math_matrix_4x4_transform_vec3(&quad_pose, &c, &c);
@@ -893,7 +899,7 @@ xrt_fov layer_squasher::do_cylinder_layer(const comp_layer & layer,
math_matrix_4x4_multiply(&v, &quad_pose, &quad_pose);
const float w = sin(c.central_angle / 2) * c.radius;
const float h = c.radius * c.central_angle / (2 * c.aspect_ratio);
const float h = c.radius * c.central_angle / 2 * c.aspect_ratio;
const float d = c.radius * cos(c.central_angle / 2);
std::array corners{
xrt_vec3{-w, -h, -c.radius},
-4
View File
@@ -68,10 +68,6 @@ public:
const xrt_rect & min_size);
std::array<vk::ImageView, 2> get_views();
vk::Image get_image()
{
return render_target;
}
uint32_t max_layers(const vk::PhysicalDeviceProperties &) const;
+2
View File
@@ -747,6 +747,8 @@ wivrn_controller::wivrn_controller(xrt_device_name name,
inputs_array(input_count, xrt_input{}),
cnx(cnx)
{
xrt_device_init(static_cast<xrt_device *>(this));
inputs = inputs_array.data();
// Setup input.
+1
View File
@@ -63,6 +63,7 @@ wivrn_eye_tracker::wivrn_eye_tracker(wivrn_session & cnx) :
gaze(device_id::EYE_GAZE),
cnx(cnx)
{
xrt_device_init(static_cast<xrt_device *>(this));
}
xrt_result_t wivrn_eye_tracker::update_inputs()
+442
View File
@@ -0,0 +1,442 @@
/*
* WiVRn VR streaming
* Copyright (C) 2022 Guillaume Meunier <guillaume.meunier@centraliens.net>
* Copyright (C) 2022 Patrick Nicolas <patricknicolas@laposte.net>
* Copyright (C) 2025 Sapphire <imsapphire0@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#include "wivrn_hand_interaction.h"
#include "configuration.h"
#include "driver/xrt_cast.h"
#include "math/m_api.h"
#include "utils/method.h"
#include "wivrn_session.h"
#include "util/u_logging.h"
#include <array>
#include <magic_enum.hpp>
#include <numbers>
#include <optional>
#include "xrt/xrt_defines.h"
namespace wivrn
{
namespace
{
enum wivrn_hand_interaction_input_index
{
WIVRN_HAND_INTERACTION_INPUT_INVALID = -1,
WIVRN_HAND_INTERACTION_AIM_POSE,
WIVRN_HAND_INTERACTION_GRIP_POSE,
WIVRN_HAND_INTERACTION_PALM_POSE,
WIVRN_HAND_INTERACTION_PINCH_POSE, // /user/hand/XXXX/input/pinch_ext/pose
WIVRN_HAND_INTERACTION_PINCH_VALUE, // /user/hand/XXXX/input/pinch_ext/value
WIVRN_HAND_INTERACTION_PINCH_READY, // /user/hand/XXXX/input/pinch_ext/ready_ext
WIVRN_HAND_INTERACTION_POKE_POSE, // /user/hand/XXXX/input/poke_ext/pose
WIVRN_HAND_INTERACTION_AIM_ACTIVATE_VALUE, // /user/hand/XXXX/input/aim_activate_ext/value
WIVRN_HAND_INTERACTION_AIM_ACTIVATE_READY, // /user/hand/XXXX/input/aim_activate_ext/ready_ext
WIVRN_HAND_INTERACTION_GRASP_VALUE, // /user/hand/XXXX/input/grasp_ext/value
WIVRN_HAND_INTERACTION_GRASP_READY, // /user/hand/XXXX/input/ready_ext/value
WIVRN_HAND_INTERACTION_INPUT_COUNT
};
enum class wivrn_input_type
{
BOOL,
FLOAT,
VEC2_X,
VEC2_Y,
POSE,
};
struct input_data
{
wivrn_hand_interaction_input_index index;
wivrn_input_type type;
xrt_device_type device;
};
input_data map_input(device_id id)
{
switch (id)
{
case device_id::LEFT_GRIP:
return {WIVRN_HAND_INTERACTION_GRIP_POSE, wivrn_input_type::POSE, XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER};
case device_id::RIGHT_GRIP:
return {WIVRN_HAND_INTERACTION_GRIP_POSE, wivrn_input_type::POSE, XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER};
case device_id::LEFT_AIM:
return {WIVRN_HAND_INTERACTION_AIM_POSE, wivrn_input_type::POSE, XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER};
case device_id::RIGHT_AIM:
return {WIVRN_HAND_INTERACTION_AIM_POSE, wivrn_input_type::POSE, XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER};
case device_id::LEFT_PALM:
return {WIVRN_HAND_INTERACTION_PALM_POSE, wivrn_input_type::POSE, XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER};
case device_id::RIGHT_PALM:
return {WIVRN_HAND_INTERACTION_PALM_POSE, wivrn_input_type::POSE, XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER};
// XR_EXT_hand_interaction
case device_id::LEFT_PINCH_POSE:
return {WIVRN_HAND_INTERACTION_PINCH_POSE, wivrn_input_type::POSE, XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER};
case device_id::LEFT_PINCH_VALUE:
return {WIVRN_HAND_INTERACTION_PINCH_VALUE, wivrn_input_type::FLOAT, XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER};
case device_id::LEFT_PINCH_READY:
return {WIVRN_HAND_INTERACTION_PINCH_READY, wivrn_input_type::BOOL, XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER};
case device_id::RIGHT_PINCH_POSE:
return {WIVRN_HAND_INTERACTION_PINCH_POSE, wivrn_input_type::POSE, XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER};
case device_id::RIGHT_PINCH_VALUE:
return {WIVRN_HAND_INTERACTION_PINCH_VALUE, wivrn_input_type::FLOAT, XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER};
case device_id::RIGHT_PINCH_READY:
return {WIVRN_HAND_INTERACTION_PINCH_READY, wivrn_input_type::BOOL, XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER};
case device_id::LEFT_POKE:
return {WIVRN_HAND_INTERACTION_POKE_POSE, wivrn_input_type::POSE, XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER};
case device_id::RIGHT_POKE:
return {WIVRN_HAND_INTERACTION_POKE_POSE, wivrn_input_type::POSE, XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER};
case device_id::LEFT_AIM_ACTIVATE_VALUE:
return {WIVRN_HAND_INTERACTION_AIM_ACTIVATE_VALUE, wivrn_input_type::FLOAT, XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER};
case device_id::LEFT_AIM_ACTIVATE_READY:
return {WIVRN_HAND_INTERACTION_AIM_ACTIVATE_READY, wivrn_input_type::BOOL, XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER};
case device_id::LEFT_GRASP_VALUE:
return {WIVRN_HAND_INTERACTION_GRASP_VALUE, wivrn_input_type::FLOAT, XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER};
case device_id::LEFT_GRASP_READY:
return {WIVRN_HAND_INTERACTION_GRASP_READY, wivrn_input_type::BOOL, XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER};
case device_id::RIGHT_AIM_ACTIVATE_VALUE:
return {WIVRN_HAND_INTERACTION_AIM_ACTIVATE_VALUE, wivrn_input_type::FLOAT, XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER};
case device_id::RIGHT_AIM_ACTIVATE_READY:
return {WIVRN_HAND_INTERACTION_AIM_ACTIVATE_READY, wivrn_input_type::BOOL, XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER};
case device_id::RIGHT_GRASP_VALUE:
return {WIVRN_HAND_INTERACTION_GRASP_VALUE, wivrn_input_type::FLOAT, XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER};
case device_id::RIGHT_GRASP_READY:
return {WIVRN_HAND_INTERACTION_GRASP_READY, wivrn_input_type::BOOL, XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER};
default:
break;
}
// If the headset supports hand_interaction_ext, upon switch
// to/from hand tracking we may get the inputs packet before
// the interaction profile change, so if we get a bad input
// just return an invalid index so we can ignore it
U_LOG_D("wivrn_hand_interaction: bad input id %s", std::string(magic_enum::enum_name(id)).c_str());
// the type here doesn't really matter
return {WIVRN_HAND_INTERACTION_INPUT_INVALID, wivrn_input_type::BOOL, XRT_DEVICE_TYPE_UNKNOWN};
}
xrt_binding_input_pair hand_interaction_input_binding[] = {
{XRT_INPUT_HAND_GRIP_POSE, XRT_INPUT_HAND_GRIP_POSE},
{XRT_INPUT_HAND_AIM_POSE, XRT_INPUT_HAND_AIM_POSE},
{XRT_INPUT_HAND_PINCH_POSE, XRT_INPUT_HAND_PINCH_POSE},
{XRT_INPUT_HAND_PINCH_VALUE, XRT_INPUT_HAND_PINCH_VALUE},
{XRT_INPUT_HAND_PINCH_READY, XRT_INPUT_HAND_PINCH_READY},
{XRT_INPUT_HAND_POKE_POSE, XRT_INPUT_HAND_POKE_POSE},
{XRT_INPUT_HAND_AIM_ACTIVATE_READY, XRT_INPUT_HAND_AIM_ACTIVATE_READY},
{XRT_INPUT_HAND_AIM_ACTIVATE_VALUE, XRT_INPUT_HAND_AIM_ACTIVATE_VALUE},
{XRT_INPUT_HAND_GRASP_VALUE, XRT_INPUT_HAND_GRASP_VALUE},
{XRT_INPUT_HAND_GRASP_READY, XRT_INPUT_HAND_GRASP_READY},
};
xrt_binding_input_pair simple_input_binding[] = {
{XRT_INPUT_SIMPLE_SELECT_CLICK, XRT_INPUT_HAND_PINCH_VALUE},
{XRT_INPUT_SIMPLE_GRIP_POSE, XRT_INPUT_HAND_GRIP_POSE},
{XRT_INPUT_SIMPLE_AIM_POSE, XRT_INPUT_HAND_AIM_POSE},
};
xrt_binding_profile wivrn_binding_profiles[] = {
{
.name = XRT_DEVICE_EXT_HAND_INTERACTION,
.inputs = hand_interaction_input_binding,
.input_count = std::size(hand_interaction_input_binding),
.outputs = nullptr,
.output_count = 0,
},
{
.name = XRT_DEVICE_SIMPLE_CONTROLLER,
.inputs = simple_input_binding,
.input_count = std::size(simple_input_binding),
.outputs = nullptr,
.output_count = 0,
},
};
} // namespace
wivrn_hand_interaction::wivrn_hand_interaction(int hand_id,
xrt_device * hmd,
wivrn::wivrn_session * cnx) :
xrt_device{
.name = XRT_DEVICE_EXT_HAND_INTERACTION,
.device_type = hand_id == 0 ? XRT_DEVICE_TYPE_LEFT_HAND_CONTROLLER : XRT_DEVICE_TYPE_RIGHT_HAND_CONTROLLER,
.hmd = nullptr,
.tracking_origin = hmd->tracking_origin,
.binding_profile_count = std::size(wivrn_binding_profiles),
.binding_profiles = wivrn_binding_profiles,
.input_count = WIVRN_HAND_INTERACTION_INPUT_COUNT,
.supported = {
.orientation_tracking = true,
.position_tracking = true,
},
.update_inputs = method_pointer<&wivrn_hand_interaction::update_inputs>,
.get_tracked_pose = method_pointer<&wivrn_hand_interaction::get_tracked_pose>,
.destroy = [](xrt_device *) {},
},
grip(hand_id == 0 ? device_id::LEFT_GRIP : device_id::RIGHT_GRIP),
aim(hand_id == 0 ? device_id::LEFT_AIM : device_id::RIGHT_AIM),
palm(hand_id == 0 ? device_id::LEFT_PALM : device_id::RIGHT_PALM),
pinch_ext(hand_id == 0 ? device_id::LEFT_PINCH_POSE : device_id::RIGHT_PINCH_POSE),
poke_ext(hand_id == 0 ? device_id::LEFT_POKE : device_id::RIGHT_POKE),
inputs_array(input_count, xrt_input{}),
cnx(cnx)
{
xrt_device_init(static_cast<xrt_device *>(this));
inputs = inputs_array.data();
// Setup input.
#define SET_INPUT(VENDOR, NAME) \
do \
{ \
inputs[WIVRN_HAND_INTERACTION_##NAME].name = XRT_INPUT_##VENDOR##_##NAME; \
inputs[WIVRN_HAND_INTERACTION_##NAME].active = true; \
} while (0)
if (auto grip_surface = configuration().grip_surface)
{
std::array<float, 3> angles = grip_surface.value();
float deg_2_rad = std::numbers::pi / 180.0;
xrt_vec3 rotation_angles{angles[0] * deg_2_rad, angles[1] * deg_2_rad, angles[2] * deg_2_rad};
xrt_pose offset = XRT_POSE_IDENTITY;
math_quat_from_euler_angles(&rotation_angles, &offset.orientation);
palm.set_derived(&grip, offset, true);
cnx->set_enabled(palm.device, false);
}
else if (not cnx->get_info().palm_pose)
{
palm.set_derived(&grip, XRT_POSE_IDENTITY, false);
cnx->set_enabled(palm.device, false);
}
SET_INPUT(HAND, AIM_POSE);
SET_INPUT(HAND, GRIP_POSE);
SET_INPUT(GENERIC, PALM_POSE);
SET_INPUT(HAND, PINCH_POSE);
SET_INPUT(HAND, PINCH_VALUE);
SET_INPUT(HAND, PINCH_READY);
SET_INPUT(HAND, POKE_POSE);
SET_INPUT(HAND, AIM_ACTIVATE_VALUE);
SET_INPUT(HAND, AIM_ACTIVATE_READY);
SET_INPUT(HAND, GRASP_VALUE);
SET_INPUT(HAND, GRASP_READY);
#undef SET_INPUT
inputs_staging = inputs_array;
// Make sure everything is mapped
for (const auto & item: inputs_array)
{
assert(item.name);
}
outputs = nullptr;
output_count = 0;
switch (hand_id)
{
case 0:
// Print name.
strcpy(str, "WiVRn left hand interaction");
strcpy(serial, "WiVRn left hand interaction");
break;
case 1:
// Print name.
strcpy(str, "WiVRn right hand interaction");
strcpy(serial, "WiVRn right hand interaction");
break;
default:
throw std::runtime_error("Invalid hand ID");
}
}
xrt_result_t wivrn_hand_interaction::update_inputs()
{
std::lock_guard _{mutex};
inputs_array = inputs_staging;
return XRT_SUCCESS;
}
void wivrn_hand_interaction::set_inputs(const from_headset::inputs & inputs, const clock_offset & clock_offset)
{
std::lock_guard lock{mutex};
for (auto & input: inputs_staging)
{
switch (XRT_GET_INPUT_TYPE(input.name))
{
case XRT_INPUT_TYPE_VEC1_ZERO_TO_ONE:
case XRT_INPUT_TYPE_VEC1_MINUS_ONE_TO_ONE:
case XRT_INPUT_TYPE_VEC2_MINUS_ONE_TO_ONE:
case XRT_INPUT_TYPE_VEC3_MINUS_ONE_TO_ONE:
case XRT_INPUT_TYPE_BOOLEAN:
input.active = false;
case XRT_INPUT_TYPE_POSE:
case XRT_INPUT_TYPE_HAND_TRACKING:
case XRT_INPUT_TYPE_FACE_TRACKING:
case XRT_INPUT_TYPE_BODY_TRACKING:
break;
}
}
for (const auto & input: inputs.values)
{
int64_t last_change_time = input.last_change_time ? clock_offset.from_headset(input.last_change_time) : 0;
auto [index, type, device] = map_input(input.id);
if (device != device_type)
continue;
assert(index > 0 and index < input_count);
inputs_staging[index].timestamp = last_change_time;
inputs_staging[index].active = true;
switch (type)
{
case wivrn_input_type::BOOL:
inputs_staging[index].value.boolean = (input.value != 0);
break;
case wivrn_input_type::FLOAT:
inputs_staging[index].value.vec1.x = input.value;
break;
case wivrn_input_type::VEC2_X:
inputs_staging[index].value.vec2.x = input.value;
break;
case wivrn_input_type::VEC2_Y:
inputs_staging[index].value.vec2.y = input.value;
break;
case wivrn_input_type::POSE:
// Pose should not be in the inputs array
U_LOG_W("Unexpected input id %d", int(input.id));
}
}
}
xrt_result_t wivrn_hand_interaction::get_tracked_pose(xrt_input_name name, int64_t at_timestamp_ns, xrt_space_relation * res)
{
std::chrono::nanoseconds extrapolation_time;
device_id device;
switch (name)
{
case XRT_INPUT_HAND_AIM_POSE:
std::tie(extrapolation_time, *res, device) = aim.get_pose_at(at_timestamp_ns);
cnx->set_enabled(device, true);
break;
case XRT_INPUT_HAND_GRIP_POSE:
std::tie(extrapolation_time, *res, device) = grip.get_pose_at(at_timestamp_ns);
cnx->set_enabled(device, true);
break;
case XRT_INPUT_GENERIC_PALM_POSE:
std::tie(extrapolation_time, *res, device) = palm.get_pose_at(at_timestamp_ns);
cnx->set_enabled(device, true);
break;
case XRT_INPUT_HAND_PINCH_POSE:
std::tie(extrapolation_time, *res, device) = pinch_ext.get_pose_at(at_timestamp_ns);
cnx->set_enabled(device, true);
break;
case XRT_INPUT_HAND_POKE_POSE:
std::tie(extrapolation_time, *res, device) = poke_ext.get_pose_at(at_timestamp_ns);
cnx->set_enabled(device, true);
break;
default:
U_LOG_XDEV_UNSUPPORTED_INPUT(this, u_log_get_global_level(), name);
return XRT_ERROR_INPUT_UNSUPPORTED;
}
cnx->add_predict_offset(extrapolation_time);
if (auto out = wivrn_controller::tracking_dump())
{
auto device = [&] {
switch (name)
{
case XRT_INPUT_HAND_AIM_POSE: return aim.device;
case XRT_INPUT_HAND_GRIP_POSE: return grip.device;
case XRT_INPUT_GENERIC_PALM_POSE: return palm.device;
case XRT_INPUT_HAND_PINCH_POSE: return pinch_ext.device;
case XRT_INPUT_HAND_POKE_POSE: return poke_ext.device;
default:
assert(false);
__builtin_unreachable();
} }();
*out->lock() << magic_enum::enum_name(device) << ','
<< os_monotonic_get_ns() << ','
<< at_timestamp_ns << ','
<< extrapolation_time.count() << ','
<< "g,"
<< *res << std::endl;
;
}
return XRT_SUCCESS;
}
void wivrn_hand_interaction::set_derived_pose(const from_headset::derived_pose & derived)
{
auto list = [this](device_id id) -> pose_list * {
for (auto item: {&grip, &aim, &palm})
{
if (item->device == id)
return item;
}
return nullptr;
};
auto source = list(derived.source);
auto target = list(derived.target);
if (source and target)
{
target->set_derived(source, xrt_cast(derived.relation));
if (source != target)
cnx->set_enabled(derived.target, false);
}
}
void wivrn_hand_interaction::update_tracking(const from_headset::tracking & tracking, const clock_offset & offset)
{
if (not aim.update_tracking(tracking, offset))
cnx->set_enabled(aim.device, false);
if (not grip.update_tracking(tracking, offset))
cnx->set_enabled(grip.device, false);
if (not palm.update_tracking(tracking, offset))
cnx->set_enabled(palm.device, false);
if (not pinch_ext.update_tracking(tracking, offset))
cnx->set_enabled(pinch_ext.device, false);
if (not poke_ext.update_tracking(tracking, offset))
cnx->set_enabled(poke_ext.device, false);
if (auto out = wivrn_controller::tracking_dump(); out and offset)
{
auto now = os_monotonic_get_ns();
auto locked = out->lock();
for (const auto & pose: tracking.device_poses)
{
if (pose.device == aim.device or pose.device == grip.device or pose.device == palm.device)
*locked << magic_enum::enum_name(pose.device) << ','
<< now << ','
<< offset.from_headset(tracking.timestamp) << ','
<< tracking.timestamp - tracking.production_timestamp << ','
<< "r,"
<< pose_list::convert_pose(pose) << std::endl;
}
}
}
void wivrn_hand_interaction::reset_history()
{
aim.reset();
grip.reset();
palm.reset();
pinch_ext.reset();
poke_ext.reset();
}
} // namespace wivrn
+2
View File
@@ -93,6 +93,8 @@ wivrn_hmd::wivrn_hmd(wivrn::wivrn_session * cnx,
presence(true, os_monotonic_get_ns()),
cnx(cnx)
{
xrt_device_init(static_cast<xrt_device *>(this));
const auto config = configuration();
auto eye_width = info.render_eye_width;
-7
View File
@@ -45,13 +45,6 @@ class wivrn_hmd : public xrt_device
{
beman::inplace_vector::inplace_vector<xrt_input, 2> inputs_array;
xrt_hmd_parts hmd_parts{};
xrt_tracking_origin tracking_origin{
.name = "WiVRn origin",
.type = XRT_TRACKING_TYPE_OTHER,
.initial_offset = {
.orientation = {0, 0, 0, 1},
},
};
view_list views;
thread_safe<from_headset::battery> battery{};
+2
View File
@@ -66,6 +66,8 @@ wivrn_htc_face_tracker::wivrn_htc_face_tracker(xrt_device * hmd,
},
cnx(cnx)
{
xrt_device_init(static_cast<xrt_device *>(this));
inputs = inputs_array.data();
input_count = inputs_array.size();
}