grillo-delmal/alvr

Project ID: 148856

Description

This copr project builds ALVR stable server builds compatible with upstream's client. I'm testing it with Quest2 and a Nvidia 2060, but if you have a compatible video card that can do encoding, it should work the same as upstream :)

So.. what is missing from upstream in this release?

Software encoding (x264) and CUDA support were removed to comply with redistribution requirements.

There are instructions bellow on how to build the package with those features.

Why is this not packaged in Fedora yet?

First problem (and i doubt that it's fixable) is that it depends on a bundled ffmpeg 6 source that it's patched on build... this could be distributed on it's own, but for now it works as it is.

Second problem, it requires an internet connection cause there are many crates that are missing on Fedora as for Fedora 41.

What are the missing crates?

Here is a list of crates, but there could be more depending on these crates dependencies...

Problem: nothing provides requested (crate(cpal/default) >= 0.15.0 with crate(cpal/default) < 0.16.0~) Problem: nothing provides requested (crate(cpal/jack) >= 0.15.0 with crate(cpal/jack) < 0.16.0~) Problem: nothing provides requested (crate(eframe/default) >= 0.28.0 with crate(eframe/default) < 0.29.0~) Problem: nothing provides requested (crate(egui/default) >= 0.28.0 with crate(egui/default) < 0.29.0~) Problem: nothing provides requested (crate(exec/default) >= 0.3.1 with crate(exec/default) < 0.4.0~) Problem: nothing provides requested (crate(glam/default) >= 0.29.0 with crate(glam/default) < 0.30.0~) Problem: nothing provides requested (crate(glam/serde) >= 0.29.0 with crate(glam/serde) < 0.30.0~) Problem: nothing provides requested (crate(ico/default) >= 0.3.0 with crate(ico/default) < 0.4.0~) Problem: nothing provides requested (crate(mdns-sd/default) >= 0.11.0 with crate(mdns-sd/default) < 0.12.0~) Problem: nothing provides requested (crate(nvml-wrapper/default) >= 0.10.0 with crate(nvml-wrapper/default) < 0.11.0~) Problem: nothing provides requested (crate(rodio/default) >= 0.19.0 with crate(rodio/default) < 0.20.0~) Problem: nothing provides requested (crate(rosc/default) >= 0.10.0 with crate(rosc/default) < 0.11.0~) Problem: nothing provides requested (crate(runas/default) >= 1.2.0 with crate(runas/default) < 2.0.0~) Problem: nothing provides requested (crate(wgpu/default) >= 0.20.0 with crate(wgpu/default) < 0.21.0~) Problem: nothing provides requested (crate(xshell/default) >= 0.2.0 with crate(xshell/default) < 0.3.0~)

and the following need to get updated

Problem: nothing provides requested (crate(bindgen/default) >= 0.70.0 with crate(bindgen/default) < 0.71.0~) Problem: nothing provides requested (crate(statrs/default) >= 0.17.0 with crate(statrs/default) < 0.18.0~) Problem: nothing provides requested (crate(sysinfo/default) >= 0.31.0 with crate(sysinfo/default) < 0.32.0~) Problem: nothing provides requested (crate(tungstenite/default) >= 0.24.0 with crate(tungstenite/default) < 0.25.0~)

Installation Instructions

Same as with any copr, enable the repo and then install the package

dnf copr enable grillo-delmal/inochi2d dnf install alvr

Want to build a version that is able to do CUDA and/or x264?

1.- Make sure to install the requirements

sudo dnf -y copr enable grillo-delmal/inochi2d sudo dnf -y install fedpkg rpm curl mkdir -p ~/.config/mock curl -L -o ~/.config/mock/alvr.cfg --url https://gist.github.com/grillo-delmal/cf2c15faac6f52925b178861c672caf2/raw/

2.- Create a folder and run the following commands to get the sources

dnf download --source alvr rpm2cpio alvr*.src.rpm | cpio -idmv

3.- Run the following command to build the sources using mock, remove the --with cuda or --with x264 if you want to remove the features.

fedpkg --name alvr --release f41 mockbuild --enable-network --root alvr --with cuda --with x264

TADA! the resutl should be on the results folder, make sure to remove alvr beforehand or use the --allowerasing argument in dnf if you already had alvr installed.

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download
Fedora 41 aarch64 (0)*, x86_64 (5)* Fedora 41 (10 downloads)

* Total number of downloaded packages.