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: 27
Popularity: 3.40
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 .. 10 Next › Last »

zatricky commented on 2023-11-08 00:41 (UTC)

Well no wonder the firewalld rules didn't "just work" ; Line 90 in the PKGBUILD refers to the filepath as "${_pkgname}.xml" ; _pkgname as a variable doesn't exist. It should be without the underscore. :-)

m00nw4tch3r commented on 2023-09-28 04:38 (UTC) (edited on 2024-09-03 10:18 (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

Hitsounds commented on 2023-09-27 21:52 (UTC) (edited on 2023-09-27 22:05 (UTC) by Hitsounds)

The steamvr 2.0 beta switches to using the new steam sniper runtime which uses containers to replace the /usr/ directory.

As this PKGBUILD installs the openvr driver there, it cannot be loaded on the beta.

https://github.com/alvr-org/ALVR/issues/1844

"The host system's /usr, /bin, /sbin and /lib* appear below /run/host in the container. For example, a Fedora host system might provide /run/host/usr/lib64/libz.so.1." - Source

m00nw4tch3r commented on 2023-08-29 09:23 (UTC)

*now actually fixed

MayoDuckPie commented on 2023-08-29 06:19 (UTC)

I encountered similar issues as @greyfusg as the firewall installs seem to have the same packaging issues:

packaging/firewall/ -> alvr/xtask/firewall

And I think the latest fix has a typo:

$_pkgname.desktop -> $pkgname.desktop

m00nw4tch3r commented on 2023-08-29 01:37 (UTC)

Fixed

greyfusg commented on 2023-08-28 21:08 (UTC)

When I install it, it cannot package the application, but it compiles fine.

==> Starting package()... install: cannot stat 'packaging/freedesktop/alvr.desktop': No such file or directory ==> ERROR: A failure occurred in package(). Aborting... -> error making: alvr-exit status 4 -> Failed to install the following packages. Manual intervention is required: alvr - exit status 4

ilolipopi commented on 2023-08-22 04:33 (UTC) (edited on 2023-08-22 04:34 (UTC) by ilolipopi)

When I install on my computer with Nvidia GPU,I found it lacks cuda as a dependence. After installing extra/cuda, export PATH="$PATH:/opt/cuda/bin" is also required for compiling FFmpeg.

depau commented on 2023-08-05 20:09 (UTC) (edited on 2023-08-05 20:10 (UTC) by depau)

Hi! This package is currently failing to build due to the following error. I suspect this has to do with the fact that CUDA depends on GCC 12, while Arch now ships with GCC 13.

alvr-git also fails to build with a different error.

error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/lib/ccache/bin:/home/depau/.bin:/home/depau/.cargo/bin:/var/lib/snapd/snap/bin:/opt/cuda/bin:/home/depau/.bin:/home/depau/.cargo/bin:/var/lib/snapd/snap/bin:/opt/cuda/bin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/rustcgrUiDt/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcgrUiDt/symbols.o" "/home/depau/.cache/yay/alvr/src/alvr/target/release/deps/alvr_server.alvr_server.581b5014a7a25c00-cgu.8.rcgu.o" "-Wl,--as-needed" "-L" "/home/depau/.cache/yay/alvr/src/alvr/target/release/deps" "-L" "/home/depau/.cache/yay/alvr/src/alvr/target/release/build/alvr_server-b1e8f2aca6fe6b2a/out" "-L" "/home/depau/.cache/yay/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-L" "/home/depau/.cache/yay/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-L" "/home/depau/.cache/yay/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-L" "/home/depau/.cache/yay/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-L" "/home/depau/.cache/yay/alvr/src/alvr/alvr/server/cpp/openvr/lib" "-L" "/usr/lib" "-L" "/usr/lib" "-L" "/usr/lib" "-L" "/usr/lib" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-lbindings" "-Wl,-Bdynamic" "-lstdc++" "-Wl,-Bstatic" "-lavfilter" "-lavcodec" "-lavutil" "-Wl,-Bdynamic" "-lva-drm" "-lva-x11" "-lvdpau" "-lm" "-ldrm" "-lva" "-latomic" "-lX11" "-lopenvr_api" "-lvulkan" "-lx264" "-Wl,-Bstatic" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-642f016d43c1c85a.rlib" "-Wl,-Bdynamic" "-ldl" "-ljack" "-ldl" "-lasound" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/home/depau/.cache/yay/alvr/src/alvr/target/release/deps/libalvr_server.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-Wl,-rpath,/home/depau/.cache/yay/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-Wl,-rpath,/home/depau/.cache/yay/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-Wl,-rpath,/home/depau/.cache/yay/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-Wl,--no-undefined"
  = note: lto1: fatal error: bytecode stream in file '/home/depau/.cache/yay/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib/libavfilter.a' generated with LTO version 12.0 instead of the expected 13.0
          compilation terminated.
          lto-wrapper: fatal error: /usr/bin/cc returned 1 exit status
          compilation terminated.
          /usr/bin/ld: error: lto-wrapper failed
          collect2: error: ld returned 1 exit status


error: could not compile `alvr_server` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...

Forcing a GCC-12 build still fails though (I did that by adding to $PATH a directory where cc, c++, gcc and g++ are all symlinked to /usr/bin/g{cc,++}-12, which might not be correct, it was just a quick test), but with a different error:

error: linking with `cc` failed: exit status: 1
  |
  = note: LC_ALL="C" PATH="/usr/lib64/rustlib/x86_64-unknown-linux-gnu/bin:/usr/lib/ccache/bin:/home/depau/gcc12-bin:/home/depau/.bin:/home/depau/.cargo/bin:/var/lib/snapd/snap/bin:/opt/cuda/bin:/home/depau/.bin:/home/depau/.cargo/bin:/var/lib/snapd/snap/bin:/opt/cuda/bin:/usr/local/bin:/usr/bin:/var/lib/snapd/snap/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl" VSLANG="1033" "cc" "-Wl,--version-script=/tmp/rustcZ5iTf8/list" "-Wl,--no-undefined-version" "-m64" "/tmp/rustcZ5iTf8/symbols.o" "/tmp/alvr/src/alvr/target/release/deps/alvr_server.alvr_server.581b5014a7a25c00-cgu.8.rcgu.o" "-Wl,--as-needed" "-L" "/tmp/alvr/src/alvr/target/release/deps" "-L" "/tmp/alvr/src/alvr/target/release/build/alvr_server-b1e8f2aca6fe6b2a/out" "-L" "/tmp/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-L" "/tmp/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-L" "/tmp/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-L" "/tmp/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-L" "/tmp/alvr/src/alvr/alvr/server/cpp/openvr/lib" "-L" "/usr/lib" "-L" "/usr/lib" "-L" "/usr/lib" "-L" "/usr/lib" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-lbindings" "-Wl,-Bdynamic" "-lstdc++" "-Wl,-Bstatic" "-lavfilter" "-lavcodec" "-lavutil" "-Wl,-Bdynamic" "-lva-drm" "-lva-x11" "-lvdpau" "-lm" "-ldrm" "-lva" "-latomic" "-lX11" "-lopenvr_api" "-lvulkan" "-lx264" "-Wl,-Bstatic" "/usr/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-642f016d43c1c85a.rlib" "-Wl,-Bdynamic" "-ldl" "-ljack" "-ldl" "-lasound" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/usr/lib64/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/tmp/alvr/src/alvr/target/release/deps/libalvr_server.so" "-Wl,--gc-sections" "-shared" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-nodefaultlibs" "-Wl,-rpath,/tmp/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-Wl,-rpath,/tmp/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-Wl,-rpath,/tmp/alvr/src/alvr/deps/linux/ffmpeg/alvr_build/lib" "-Wl,--no-undefined"
  = note: lto-wrapper: warning: using serial compilation of 51 LTRANS jobs
          lto-wrapper: note: see the '-flto' option documentation for more information
          deps/linux/ffmpeg/libavcodec/hevcdec.c: In function 'pred_weight_table':
          deps/linux/ffmpeg/libavcodec/hevcdec.c:178:32: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
            178 |         luma_weight_l0_flag[i] = get_bits1(gb);
                |                                ^
          deps/linux/ffmpeg/libavcodec/hevcdec.c:156:13: note: at offset 16 into destination object 'luma_weight_l0_flag' of size 16
            156 |     uint8_t luma_weight_l0_flag[16];
                |             ^
          deps/linux/ffmpeg/libavcodec/hevcdec.c:186:38: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
            186 |             chroma_weight_l0_flag[i] = get_bits1(gb);
                |                                      ^
          deps/linux/ffmpeg/libavcodec/hevcdec.c:157:13: note: at offset 16 into destination object 'chroma_weight_l0_flag' of size 16
            157 |     uint8_t chroma_weight_l0_flag[16];
                |             ^
          deps/linux/ffmpeg/libavcodec/hevcdec.c:222:36: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
            222 |             luma_weight_l1_flag[i] = get_bits1(gb);
                |                                    ^
          deps/linux/ffmpeg/libavcodec/hevcdec.c:158:13: note: at offset 16 into destination object 'luma_weight_l1_flag' of size 16
            158 |     uint8_t luma_weight_l1_flag[16];
                |             ^
          deps/linux/ffmpeg/libavcodec/hevcdec.c:230:42: warning: writing 1 byte into a region of size 0 [-Wstringop-overflow=]
            230 |                 chroma_weight_l1_flag[i] = get_bits1(gb);
                |                                          ^
          deps/linux/ffmpeg/libavcodec/hevcdec.c:159:13: note: at offset 16 into destination object 'chroma_weight_l1_flag' of size 16
            159 |     uint8_t chroma_weight_l1_flag[16];
                |             ^
          deps/linux/ffmpeg/libavcodec/x86/mathops.h: Assembler messages:
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          deps/linux/ffmpeg/libavcodec/x86/mathops.h:125: Error: operand type mismatch for `shr'
          lto-wrapper: fatal error: /home/depau/gcc12-bin/cc returned 1 exit status
          compilation terminated.
          /usr/bin/ld: error: lto-wrapper failed
          collect2: error: ld returned 1 exit status


error: could not compile `alvr_server` (lib) due to previous error
warning: build failed, waiting for other jobs to finish...