Package Details: alvr 20.13.0-1

Git Clone URL: https://aur.archlinux.org/alvr.git (read-only, click to copy)
Package Base: alvr
Description: Experimental Linux version of ALVR. Stream VR games from your PC to your headset via Wi-Fi.
Upstream URL: https://github.com/alvr-org/ALVR
Licenses: MIT
Conflicts: alvr
Provides: alvr
Submitter: m00nw4tch3r
Maintainer: m00nw4tch3r (alvrbot1)
Last Packager: m00nw4tch3r
Votes: 28
Popularity: 1.86
First Submitted: 2021-09-23 21:53 (UTC)
Last Updated: 2025-03-11 18:07 (UTC)

Pinned Comments

m00nw4tch3r commented on 2024-09-03 10:22 (UTC)

Troubleshooting Guide: https://github.com/alvr-org/ALVR/wiki/Linux-Troubleshooting

DocMAX commented on 2024-09-01 10:41 (UTC)

Needs PRESSURE_VESSEL_FILESYSTEMS_RO="/usr/lib/steamvr/alvr/" to make it work. Please include this.

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 Next › Last »

Pulec commented on 2023-02-16 15:12 (UTC) (edited on 2023-02-16 15:13 (UTC) by Pulec)

Got it working, see https://0x0.st/Hr0f.patch (patch also disables, lto, that is not needed)

pkgver=19.1.0
pkgrel=1
_tag="v19.1.0"

prepare()
    cargo xtask prepare-deps --platform linux --gpl --no-nvidia

as seen in https://github.com/alvr-org/ALVR/wiki/Building-From-Source

artafinde commented on 2023-02-15 23:57 (UTC)

You should remove the pkgver() function since it's not a VCS package.

Pulec commented on 2023-02-15 21:41 (UTC) (edited on 2023-02-15 21:41 (UTC) by Pulec)

I am trying to build ALVR v19.1.0 but the build fails for me near the end:

Compiling sysinfo v0.26.9
Compiling alvr_vrcompositor_wrapper v19.1.0 (/home/pulec/aur/alvr/src/alvr/alvr/vrcompositor_wrapper)
error: failed to run custom build command for `alvr_server v19.1.0 (/home/pulec/aur/alvr/src/alvr/alvr/server)`

Caused by:
  process didn't exit successfully: `/home/pulec/aur/alvr/src/alvr/target/release/build/alvr_server-66ae6c05df386aab/build-script-build` (exit status: 101)
  --- stderr
  thread 'main' panicked at 'assertion failed: ffmpeg_path.join(\"include\").exists()', alvr/server/build.rs:81:9
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

hcjl commented on 2023-01-21 14:14 (UTC)

@m00nw4tch3r, thanks a lot!! That was pretty fast. Works like a charm.

m00nw4tch3r commented on 2023-01-21 13:12 (UTC)

Fixed @hcjl

hcjl commented on 2023-01-21 11:01 (UTC) (edited on 2023-01-21 11:04 (UTC) by hcjl)

I receive an error during build:


$ makepkg
==> Making package: alvr 19.0.0.r0.g1215da95-2 (Sat Jan 21 11:53:42 2023)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Cloning alvr git repo...
Cloning into bare repository '/home/nfjl/0wrk/alvr/alvr'...
remote: Enumerating objects: 38947, done.
remote: Counting objects: 100% (126/126), done.
remote: Compressing objects: 100% (103/103), done.
remote: Total 38947 (delta 66), reused 50 (delta 23), pack-reused 38821
Receiving objects: 100% (38947/38947), 39.17 MiB | 9.37 MiB/s, done.
Resolving deltas: 100% (27335/27335), done.
==> Validating source files with md5sums...
    alvr ... Skipped
==> Extracting sources...
  -> Creating working copy of alvr git repo...
Cloning into 'alvr'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
==> Starting pkgver()...
==> Starting build()...
error: package ID specification `alvr_dashboard` did not match any packages
==> ERROR: A failure occurred in build().
    Aborting...

rust default toolchain is stable and I updated right before buidling.


$ rustup toolchain list
stable-x86_64-unknown-linux-gnu (default)
nightly-x86_64-unknown-linux-gnu


$ rustc -V
rustc 1.66.1 (90743e729 2023-01-10)

m00nw4tch3r commented on 2022-11-29 15:43 (UTC) (edited on 2023-01-21 13:25 (UTC) by m00nw4tch3r)

You need a newer version of cargo, install the rustup package (if you don't have it already), and run rustup default stable, rustup update.

DocMAX commented on 2022-11-05 22:22 (UTC)

error: failed to load manifest for workspace member /mnt/zeus/root/home/docmax/.cache/yay/alvr/src/alvr/alvr/audio

Caused by: failed to parse manifest at /mnt/zeus/root/home/docmax/.cache/yay/alvr/src/alvr/alvr/audio/Cargo.toml

Caused by: feature workspace-inheritance is required

The package requires the Cargo feature called workspace-inheritance, but that feature is not stabilized in this version of Cargo (1.63.0 (fd9c4297c 2022-07-01)). Consider trying a newer version of Cargo (this may require the nightly release). See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#workspace-inheritance for more information about the status of this feature. ==> ERROR: A failure occurred in prepare(). Aborting... -> error making: alvr docmax@game

wolcen commented on 2022-11-02 14:38 (UTC) (edited on 2022-11-02 14:40 (UTC) by wolcen)

@Incomingstick that's an odd one (to me): the cargo command should certainly support a target flag. cargo fetch docs

Is your rust installation managed by rustup (check package provider of cargo with e.g. pacman -Qo cargo)? If so, maybe try running e.g. rustup toolchain install stable && rustup default stable to ensure it is present and set default. The PKGBUILD does specify to use this anyway, but I guess it's worth a check?

incomingstick commented on 2022-11-02 05:42 (UTC)

Receiving the following error:

Cloning into 'alvr'...
done.
Switched to a new branch 'makepkg'
==> Starting prepare()...
error: Unknown flag: '--target'

Usage:
    cargo fetch [options]
==> ERROR: A failure occurred in prepare().
    Aborting...