Package Details: alvr 20.11.1-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: 23
Popularity: 0.112462
First Submitted: 2021-09-23 21:53 (UTC)
Last Updated: 2024-10-02 06:31 (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 .. 3 4 5 6 7 8 9 10 Next › Last »

kikijoli commented on 2022-05-10 18:45 (UTC) (edited on 2022-05-10 19:19 (UTC) by kikijoli)

 ==> Starting prepare()...
    Updating git repository `https://github.com/zarik5/openxrs`
error: failed to get `openxr` as a dependency of package `client v17.0.0-dev.1 (/var/tmp/pamac-build-kikijoli/alvr/src/alvr/alvr/experiments/client)`

Caused by:
  failed to load source for dependency `openxr`

Caused by:
  Unable to update https://github.com/zarik5/openxrs#8eaf4a1b

Caused by:
  object not found - no match for id (8eaf4a1b48f315674f5be6667ff38d936b6f492b); class=Odb (9); code=NotFound (-3)
==> ERROR: A failure occurred in prepare().
    Aborting...

D3SOX commented on 2022-05-10 17:07 (UTC)

==> Starting prepare()...
    Updating git repository `https://github.com/zarik5/openxrs`
error: failed to get `openxr` as a dependency of package `client v17.0.0-dev.1 (/home/nico/.cache/paru/clone/alvr/src/alvr/alvr/experiments/client)`

Caused by:
  failed to load source for dependency `openxr`

Caused by:
  Unable to update https://github.com/zarik5/openxrs#8eaf4a1b

Caused by:
  object not found - no match for id (8eaf4a1b48f315674f5be6667ff38d936b6f492b); class=Odb (9); code=NotFound (-3)
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'alvr-18.2.2.r0.ge0147a42-1': 
error: packages failed to build: alvr-18.2.2.r0.ge0147a42-1

m00nw4tch3r commented on 2022-02-10 06:26 (UTC)

@Leeo97one yes

Leeo97one commented on 2022-02-05 16:35 (UTC)

Is this supposed to work with the recently added NVENC support?

wolcen commented on 2022-01-31 22:55 (UTC)

@Armage69, if you are using rustup to manage rust, you may wish to try rustup default nightly && rustup update.

Note rustup default nightly switches you to the nightly build if you are not already using that. This is what the ALVR folks use to do builds, but it did work for me on stable as well.

To stay on stable (if you are on it already) a rustup update could fix your issue.

rustup show will display your current rust compiler/toolchain.

Armage69 commented on 2022-01-31 15:10 (UTC)

Hi, I cannot install as I get:

Recupero di origin in corso ==> Validazione di source file con md5sums... alvr ... Ignorato ==> Rimozione dell'esistente directory $srcdir/ in corso... ==> Estrazione dei sorgenti in corso... -> Creazione di una copia di lavoro del repository alvr git in corso... Clone in 'alvr' in corso... fatto. Si è passati a un nuovo branch 'makepkg' ==> Avvio di prepare() in corso... error: failed to load manifest for workspace member /home/gaetano/.cache/yay/alvr/src/alvr/alvr/settings-schema-derive

Caused by: failed to parse manifest at /home/gaetano/.cache/yay/alvr/src/alvr/alvr/settings-schema-derive/Cargo.toml

Caused by: feature edition2021 is required

The package requires the Cargo feature called edition2021, but that feature is not stabilized in this version of Cargo (1.55.0 (32da73ab1 2021-08-23)). Consider trying a newer version of Cargo (this may require the nightly release). See https://doc.rust-lang.org/nightly/cargo/reference/unstable.html#edition-2021 for more information about the status of this feature. ==> ERRORE: Si è verificato un errore in prepare(). L'operazione sta per essere interrotta... -> errore nella creazione: alvr

Sorry if it is italian language in the error, I tried to reinstall yay, update through pacman and yay. Install of other packages through yay gives no errors. What can i do? Switch to the steam index? :D

kacpi2442 commented on 2022-01-24 16:33 (UTC)

@Altalus it fails to build because of ffmpeg-vulcan package is currently broken, it actually builds version 5.0 of ffmpeg which is too new. Apply my patch from my comment on ffmpeg-vulcan to your PKGBUILD and recompile it, then try to install alvr.

Altalus commented on 2022-01-17 23:16 (UTC)

Ok, I am probably stupid but on a clean install of Manjaro with kernel 5.15.12-1-MANJARO I cannot install this. It fails while compiling:

error: failed to run custom build command for `alvr_server v17.0.0-dev.1 (/home/guillaume/alvr/src/alvr/alvr/server)`

Caused by:
  process didn't exit successfully: `/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-07c6a17ab575c5f8/build-script-build` (exit status: 1)
  --- stdout
  TARGET = Some("x86_64-unknown-linux-gnu")
  OPT_LEVEL = Some("3")
  HOST = Some("x86_64-unknown-linux-gnu")
  CXX_x86_64-unknown-linux-gnu = None
  CXX_x86_64_unknown_linux_gnu = None
  HOST_CXX = None
  CXX = None
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CXXFLAGS = None
  CXXFLAGS = Some("-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS")
  CRATE_CC_NO_DEFAULTS = None
  DEBUG = Some("false")
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  CXX_x86_64-unknown-linux-gnu = None
  CXX_x86_64_unknown_linux_gnu = None
  HOST_CXX = None
  CXX = None
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CXXFLAGS = None
  CXXFLAGS = Some("-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS")
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  CXX_x86_64-unknown-linux-gnu = None
  CXX_x86_64_unknown_linux_gnu = None
  HOST_CXX = None
  CXX = None
  CXXFLAGS_x86_64-unknown-linux-gnu = None
  CXXFLAGS_x86_64_unknown_linux_gnu = None
  HOST_CXXFLAGS = None
  CXXFLAGS = Some("-march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection -Wp,-D_GLIBCXX_ASSERTIONS")
  CRATE_CC_NO_DEFAULTS = None
  CARGO_CFG_TARGET_FEATURE = Some("fxsr,sse,sse2")
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/driverlog.o" "-c" "cpp/alvr_server/driverlog.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/ClientConnection.o" "-c" "cpp/alvr_server/ClientConnection.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/ChaperoneUpdater.o" "-c" "cpp/alvr_server/ChaperoneUpdater.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/OvrController.o" "-c" "cpp/alvr_server/OvrController.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/OvrViveTrackerProxy.o" "-c" "cpp/alvr_server/OvrViveTrackerProxy.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/IDRScheduler.o" "-c" "cpp/alvr_server/IDRScheduler.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/VSyncThread.o" "-c" "cpp/alvr_server/VSyncThread.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/Logger.o" "-c" "cpp/alvr_server/Logger.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/Settings.o" "-c" "cpp/alvr_server/Settings.cpp"
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/OvrDisplayComponent.o" "-c" "cpp/alvr_server/OvrDisplayComponent.cpp"
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/OvrHMD.o" "-c" "cpp/alvr_server/OvrHMD.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/alvr_server.o" "-c" "cpp/alvr_server/alvr_server.cpp"
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/PoseHistory.o" "-c" "cpp/alvr_server/PoseHistory.cpp"
  exit status: 0
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/alvr_server/Utils.o" "-c" "cpp/alvr_server/Utils.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/shared/threadtools.o" "-c" "cpp/shared/threadtools.cpp"
  exit status: 0
  exit status: 0
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/ALVR-common/common-utils.o" "-c" "cpp/ALVR-common/common-utils.cpp"
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/ALVR-common/reedsolomon/rs.o" "-c" "cpp/ALVR-common/reedsolomon/rs.c"
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/ALVR-common/exception.o" "-c" "cpp/ALVR-common/exception.cpp"
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/EncodePipelineSW.o" "-c" "cpp/platform/linux/EncodePipelineSW.cpp"
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/ffmpeg_helper.o" "-c" "cpp/platform/linux/ffmpeg_helper.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/CEncoder.o" "-c" "cpp/platform/linux/CEncoder.cpp"
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/EncodePipelineVAAPI.o" "-c" "cpp/platform/linux/EncodePipelineVAAPI.cpp"
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/EncodePipeline.o" "-c" "cpp/platform/linux/EncodePipeline.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/generated/avutil_loader.o" "-c" "cpp/platform/linux/generated/avutil_loader.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/generated/avfilter_loader.o" "-c" "cpp/platform/linux/generated/avfilter_loader.cpp"
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/generated/avcodec_loader.o" "-c" "cpp/platform/linux/generated/avcodec_loader.cpp"
  exit status: 0
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/generated/swscale_loader.o" "-c" "cpp/platform/linux/generated/swscale_loader.cpp"
  exit status: 0
  running: "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/EncodePipelineNvEnc.o" "-c" "cpp/platform/linux/EncodePipelineNvEnc.cpp"
  exit status: 0
  cargo:warning=cpp/platform/linux/EncodePipelineVAAPI.cpp: In constructor ‘alvr::EncodePipelineVAAPI::EncodePipelineVAAPI(std::vector<alvr::VkFrame>&, alvr::VkFrameCtx&)’:
  cargo:warning=cpp/platform/linux/EncodePipelineVAAPI.cpp:117:56: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  cargo:warning=  117 |   AVCodec *codec = AVCODEC.avcodec_find_encoder_by_name(encoder_name);
  cargo:warning=cpp/platform/linux/EncodePipelineSW.cpp: In constructor ‘alvr::EncodePipelineSW::EncodePipelineSW(std::vector<alvr::VkFrame>&, alvr::VkFrameCtx&)’:
  cargo:warning=cpp/platform/linux/EncodePipelineSW.cpp:44:56: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  cargo:warning=   44 |   AVCodec *codec = AVCODEC.avcodec_find_encoder_by_name(encoder_name);
  exit status: 1
  exit status: 1
  exit status: 0
  exit status: 0
  cargo:warning=cpp/platform/linux/EncodePipelineNvEnc.cpp: In constructor ‘alvr::EncodePipelineNvEnc::EncodePipelineNvEnc(std::vector<alvr::VkFrame>&, alvr::VkFrameCtx&)’:
  cargo:warning=cpp/platform/linux/EncodePipelineNvEnc.cpp:40:58: error: invalid conversion from ‘const AVCodec*’ to ‘AVCodec*’ [-fpermissive]
  cargo:warning=   40 |     AVCodec *codec = AVCODEC.avcodec_find_encoder_by_name(encoder_name);
  exit status: 0
  exit status: 1

  --- stderr


  error occurred: Command "c++" "-O3" "-ffunction-sections" "-fdata-sections" "-fPIC" "-m64" "-march=x86-64" "-mtune=generic" "-O2" "-pipe" "-fno-plt" "-fexceptions" "-Wp,-D_FORTIFY_SOURCE=2" "-Wformat" "-Werror=format-security" "-fstack-clash-protection" "-fcf-protection" "-Wp,-D_GLIBCXX_ASSERTIONS" "-I" "cpp/openvr/headers" "-I" "cpp" "-isystemcpp/openvr/headers" "-std=c++17" "-o" "/home/guillaume/alvr/src/alvr/target/release/build/alvr_server-833ff30d0de3134f/out/cpp/platform/linux/EncodePipelineSW.o" "-c" "cpp/platform/linux/EncodePipelineSW.cpp" with args "c++" did not execute successfully (status code exit status: 1).


warning: build failed, waiting for other jobs to finish...
warning: `alvr_session` (lib) generated 1 warning
error: build failed
==> ERROR: A failure occurred in build().
    Aborting...

I am a bit at a loss of ideas here.

ngoonee commented on 2022-01-03 15:18 (UTC)

Which apk do I need to use with this version?

m00nw4tch3r commented on 2021-12-20 17:10 (UTC) (edited on 2021-12-20 17:30 (UTC) by m00nw4tch3r)

@huantian alvr-git already conflicts with this package

@JustinSB this package is for the latest stable version, (v16), see alvr-git for the latest git commit from the master branch