Compare commits

..
5 Commits
Author SHA1 Message Date
JeremyLARDENOIS abe0722ecc fix(debian): remove obsolete CAP_SYS_NICE setup
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 2026-12-03 07:57:00 +01:00
17 changed files with 712 additions and 131 deletions
-6
View File
@@ -1,6 +0,0 @@
version: "1"
rules:
- base: master
upstream: WiVRn:master
mergeMethod: hardreset
+16 -24
View File
@@ -2,7 +2,7 @@ name: Release APK Only
on: on:
push: push:
branches: [ "apk-build" ] branches: [ "master" ]
env: env:
BUILD_TYPE: RelWithDebInfo BUILD_TYPE: RelWithDebInfo
@@ -15,23 +15,17 @@ jobs:
strategy: strategy:
matrix: matrix:
#buildtype: ['Release', 'Debug', 'DebugWithValidationLayer'] buildtype: ['Release', 'Debug', 'DebugWithValidationLayer']
buildtype: ['Release']
steps: steps:
- uses: actions/checkout@v6 - uses: actions/checkout@v6
with: with:
# Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly # Checkout from upstream instead of WiVRn-APK to ensure the GIT_DESC variable is set correctly
repository: 'gitea/WiVRn' repository: 'WiVRn/WiVRn'
ref: ${{ github.sha }} ref: ${{ github.sha }}
fetch-depth: 0 fetch-depth: 0
# Gradle distribution and the Android plugin's dependencies. # Gradle distribution and the Android plugin's dependencies.
- uses: actions/setup-java@v5
with:
distribution: 'temurin'
java-version: '17'
cache: 'gradle'
- uses: actions/cache@v5 - uses: actions/cache@v5
with: with:
key: gradle-android-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }} key: gradle-android-${{ hashFiles('gradle/wrapper/gradle-wrapper.properties', 'build.gradle') }}
@@ -42,13 +36,11 @@ jobs:
- name: Install dependencies - name: Install dependencies
run: | run: |
sudo apt-get update && sudo apt-get install -y glslang-tools spirv-tools librsvg2-bin gettext npm sudo apt-get update && sudo apt-get install glslang-tools spirv-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 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 sudo dpkg --install KTX-Software-4.4.0-Linux-x86_64.deb
npm install --global @gltf-transform/cli@4.1.1 npm install --global @gltf-transform/cli@4.1.1
- name: Check for Secret availability - name: Check for Secret availability
id: secret-check id: secret-check
shell: bash shell: bash
@@ -110,13 +102,13 @@ jobs:
pattern: 'apk-*' pattern: 'apk-*'
merge-multiple: true merge-multiple: true
# - name: Rename APK artifacts - name: Rename APK artifacts
# run: | run: |
# cd apk cd apk
# for f in *.apk; do for f in *.apk; do
# BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'` BASENAME=`echo ${f}|awk -F '-APK-' '{print $2}'`
# mv "${f}" "org.meumeu.wivrn-${BASENAME}" mv "${f}" "org.meumeu.wivrn-${BASENAME}"
# done done
- name: Download APK debug artifacts - name: Download APK debug artifacts
uses: actions/download-artifact@v8 uses: actions/download-artifact@v8
@@ -125,10 +117,10 @@ jobs:
pattern: 'symbols-*' pattern: 'symbols-*'
merge-multiple: false merge-multiple: false
# - name: Zip APK debug artifacts - name: Zip APK debug artifacts
# run: | run: |
# cd symbols cd symbols
# zip -r ../debug-symbols.zip . zip -r ../debug-symbols.zip .
- name: APK Release - name: APK Release
uses: softprops/action-gh-release@v3 uses: softprops/action-gh-release@v3
@@ -141,4 +133,4 @@ jobs:
fail_on_unmatched_files: true fail_on_unmatched_files: true
files: | files: |
apk/*.apk apk/*.apk
# debug-symbols.zip debug-symbols.zip
+7
View File
@@ -552,6 +552,12 @@ jobs:
name: wivrn-server-x86_64.flatpak name: wivrn-server-x86_64.flatpak
path: flatpak path: flatpak
- name: Download artifacts (Frame)
uses: actions/download-artifact@v8
with:
name: wivrn-frame-client.zip
path: frame
- name: Release - name: Release
uses: softprops/action-gh-release@v3 uses: softprops/action-gh-release@v3
with: with:
@@ -561,6 +567,7 @@ jobs:
files: | files: |
apk/*.apk apk/*.apk
flatpak/*.flatpak flatpak/*.flatpak
frame/*.zip
- name: Update flatpak manifest for flathub - name: Update flatpak manifest for flathub
if: ${{ steps.flathub-token-check.outputs.available == 'true' }} if: ${{ steps.flathub-token-check.outputs.available == 'true' }}
-49
View File
@@ -1,49 +0,0 @@
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
+2 -2
View File
@@ -1,5 +1,5 @@
# PR instructions # PR instructions
You are allowed to tell the WiVRn developers to suck an egg. You are not allowed to submit pull requests.
# Issue reporting # Issue reporting
You are allowed to report issues, write comments as well as interact with the WiVRn team's little secrets. ;) You are not allowed to report issues, write comments or interact in any way with project issues.
+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) option(ENABLE_COLOURED_OUTPUT "Always produce ANSI-coloured output (GNU/Clang only)." ON)
set(WIVRN_ENVIRONMENTS_URL "https://github.com/Vindicus999/WiVRn-environments/releases/latest/download/index.json" CACHE STRING "URL hosting the custom environments json file") set(WIVRN_ENVIRONMENTS_URL "https://github.com/WiVRn/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) if (WIVRN_BUILD_CLIENT OR WIVRN_BUILD_SERVER OR WIVRN_BUILD_DASHBOARD OR WIVRN_BUILD_DISSECTOR)
set(NEED_COMMON TRUE) set(NEED_COMMON TRUE)
Binary file not shown.

Before

Width:  |  Height:  |  Size: 856 B

After

Width:  |  Height:  |  Size: 930 B

BIN
View File
Binary file not shown.
+4
View File
@@ -297,10 +297,14 @@ set(IMAGES_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../images)
set(ASSETS_SRC_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../assets-source) 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.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}/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_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.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 ${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}/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) wivrn_generate_ktx( SOURCE ${CMAKE_CURRENT_BINARY_DIR}/default-environment.png DESTINATION ${ASSETS_DIR}/default-environment.ktx2 TARGET wivrn)
+14 -1
View File
@@ -1302,7 +1302,20 @@ void scenes::lobby::on_focused()
vps, vps,
image_cache); image_cache);
about_picture = imgui_ctx->load_texture("assets://wivrn.ktx2"); 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;
}
default_environment_screenshot = imgui_ctx->load_texture("assets://default-environment.ktx2"); default_environment_screenshot = imgui_ctx->load_texture("assets://default-environment.ktx2");
-3
View File
@@ -814,9 +814,6 @@ void scenes::lobby::gui_about()
ImGui::SetCursorPosX(win_width / 4); ImGui::SetCursorPosX(win_width / 4);
ImGui::Image(about_picture, {win_width / 2, win_width / 2}); 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() void scenes::lobby::gui_first_run()
+17 -1
View File
@@ -547,7 +547,23 @@ void scenes::stream::on_focused()
std::move(vps), std::move(vps),
image_cache); image_cache);
wivrn_logo = imgui_ctx->load_texture("assets://wivrn.ktx2"); // match the lobby's seasonal wordmark logo
{
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:
wivrn_logo = imgui_ctx->load_texture("assets://wivrn-pride.ktx2");
break;
case 11:
wivrn_logo = imgui_ctx->load_texture("assets://wivrn-christmas.ktx2");
break;
default:
wivrn_logo = imgui_ctx->load_texture("assets://wivrn.ktx2");
break;
}
}
menu_chord.a = get_action("menu_toggle_1").first; menu_chord.a = get_action("menu_toggle_1").first;
menu_chord.b = get_action("menu_toggle_2").first; menu_chord.b = get_action("menu_toggle_2").first;
+2 -2
View File
@@ -285,8 +285,8 @@ struct app_data
switch (section.back()) switch (section.back())
{ {
case common: case common:
if (key == "openvrsupport") if (key == "openvrsupport" or key == "openxrsupport")
VR = val; VR = VR or val;
break; break;
case other: case other:
break; break;
+26 -1
View File
@@ -7,7 +7,9 @@ Build-Depends:
debhelper-compat (= 13), debhelper-compat (= 13),
cmake (>= 3.25), cmake (>= 3.25),
pkg-config, pkg-config,
extra-cmake-modules,
glslang-tools, glslang-tools,
libarchive-dev,
libavahi-client-dev, libavahi-client-dev,
libavahi-glib-dev, libavahi-glib-dev,
libavcodec-dev, libavcodec-dev,
@@ -15,7 +17,6 @@ Build-Depends:
libavutil-dev, libavutil-dev,
libbsd-dev, libbsd-dev,
libboost-all-dev, libboost-all-dev,
libcap-dev,
libcjson-dev, libcjson-dev,
libcli11-dev, libcli11-dev,
libeigen3-dev, libeigen3-dev,
@@ -23,8 +24,15 @@ Build-Depends:
libgl1-mesa-dev, libgl1-mesa-dev,
libglu1-mesa-dev, libglu1-mesa-dev,
libglx-dev, libglx-dev,
libkf6coreaddons-dev,
libkf6i18n-dev,
libkf6iconthemes-dev,
libkf6qqc2desktopstyle-dev,
libkirigami-dev,
libnotify-dev, libnotify-dev,
libpipewire-0.3-dev, libpipewire-0.3-dev,
librsvg2-dev,
libssl-dev,
libswscale-dev, libswscale-dev,
libsystemd-dev, libsystemd-dev,
libudev-dev, libudev-dev,
@@ -38,8 +46,10 @@ Build-Depends:
mesa-common-dev, mesa-common-dev,
nlohmann-json3-dev, nlohmann-json3-dev,
qt6-base-dev, qt6-base-dev,
qt6-declarative-dev,
qt6-tools-dev, qt6-tools-dev,
qcoro-qt6-dev, qcoro-qt6-dev,
qml6-module-org-kde-kirigamiaddons-formcard,
xz-utils xz-utils
Standards-Version: 4.6.2 Standards-Version: 4.6.2
Homepage: https://wivrn.github.io Homepage: https://wivrn.github.io
@@ -52,6 +62,21 @@ Multi-Arch: foreign
Depends: Depends:
${shlibs:Depends}, ${shlibs:Depends},
${misc: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 Description: OpenXR streaming application to a standalone headset
WiVRn wirelessly connects a standalone VR headset to a Linux WiVRn wirelessly connects a standalone VR headset to a Linux
computer. You can then play PCVR games on the headset while 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

After

Width:  |  Height:  |  Size: 158 KiB

+1 -1
View File
@@ -244,7 +244,7 @@ public:
{ {
for (auto codec: codecs) for (auto codec: codecs)
{ {
if (codec == video_codec::av1 and config.name.empty()) if (codec == video_codec::av1 and (config.name.empty() or codecs.size() > 1))
continue; continue;
if (has_vk(codec)) if (has_vk(codec))