Package Details: alvr 20.7.1-2

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: 21
Popularity: 0.198488
First Submitted: 2021-09-23 21:53 (UTC)
Last Updated: 2024-04-11 19:40 (UTC)

Pinned Comments

m00nw4tch3r commented on 2023-09-28 04:38 (UTC) (edited on 2023-12-30 22:58 (UTC) by m00nw4tch3r)

Might be possible to do something about that with: https://github.com/ValveSoftware/steam-runtime/blob/master/doc/steamlinuxruntime-known-issues.md#sharing-directories-with-the-container

But you can also just force steamvr to launch without a runtime. (https://github.com/Scrumplex/Steam-Play-None)

Latest Comments

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

hcjl commented on 2023-02-21 17:44 (UTC)

m00nw4tch3r, thanks a lot for updating this. It would be great, if you could correct pkgrel.

roadnottaken commented on 2023-02-21 00:24 (UTC)

I ran into the same issue as D3SOX. yay -S yasm resolved it, but then the build errored out again with

$ rustup target add aarch64-linux-android
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: command not found: `rustup`', alvr/xtask/src/dependencies.rs:251:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
==> ERROR: A failure occurred in build().

Choosing rustup instead of rust to fulfill the cargo dependency replaced this error with

error: rustup could not choose a version of cargo to run, because one wasn't specified explicitly, and no default is configured.
help: run 'rustup default stable' to download the latest stable release of Rust and set it as your default toolchain.
==> ERROR: A failure occurred in prepare().

After running rustup default stable, alvr built cleanly.

I'd recommend adding yasm as a make dependency and replacing the cargo dependency with rustup. As for the final error, I'm not familiar enough with the rust toolchain to know whether there's a way to automatically resolve it that doesn't potentially make unexpected changes to the user's environment.

D3SOX commented on 2023-02-19 22:21 (UTC)

Failed to build 19.1.0

nasm/yasm not found or too old. Use --disable-x86asm for a crippled build.

If you think configure made a mistake, make sure you are using the latest
version from Git.  If the latest version fails, report the problem to the
ffmpeg-user@ffmpeg.org mailing list or IRC #ffmpeg on irc.libera.chat.
Include the log file "ffbuild/config.log" produced by configure as this will help
solve the problem.
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: command exited with non-zero code `./configure --prefix=/home/nico/.cache/paru/clone/alvr/src/alvr/deps/linux/ffmpeg/alvr_build --enable-gpl --enable-version3 --enable-static --enable-shared --disable-programs --disable-doc --disable-avdevice --disable-avformat --disable-swresample --disable-postproc --disable-network --enable-lto --disable-everything --enable-encoder=h264_vaapi --enable-encoder=hevc_vaapi --enable-encoder=libx264 --enable-encoder=libx264rgb --enable-hwaccel=h264_vaapi --enable-hwaccel=hevc_vaapi --enable-filter=scale --enable-filter=scale_vaapi --enable-libx264 --enable-vulkan --enable-libdrm --enable-pic --enable-rpath`: 1', alvr/xtask/src/dependencies.rs:205:14
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

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.