Package Details: wivrn-server 0.25-1

Git Clone URL: https://aur.archlinux.org/wivrn-server.git (read-only, click to copy)
Package Base: wivrn-server
Description: A wireless Monado-based OpenXR runtime for standalone headsets.
Upstream URL: https://github.com/WiVRn/WiVRn
Licenses: GPL-3.0-or-later
Provides: openxr-runtime
Submitter: cmumme
Maintainer: gmeunier
Last Packager: gmeunier
Votes: 3
Popularity: 0.141681
First Submitted: 2024-01-13 01:01 (UTC)
Last Updated: 2025-05-18 16:05 (UTC)

Latest Comments

dreieck commented on 2025-05-18 12:42 (UTC)

Ahoj,

build fails for me with vk_helpers.c:251:29: error: ‘VK_OBJECT_TYPE_CUDA_MODULE_NV’ undeclared (first use in this function); did you mean ‘VK_OBJECT_TYPE_CU_MODULE_NVX’?:

[ 59%] Linking CXX static library libaux_vive.a
/var/cache/makepkg/build/wivrn-server/src/WiVRn-0.24.1/build-server/_deps/monado-src/src/xrt/auxiliary/vk/vk_helpers.c: In function ‘vk_object_type_string’:
/var/cache/makepkg/build/wivrn-server/src/WiVRn-0.24.1/build-server/_deps/monado-src/src/xrt/auxiliary/vk/vk_helpers.c:251:29: error: ‘VK_OBJECT_TYPE_CUDA_MODULE_NV’ undeclared (first use in this function); did you mean ‘VK_OBJECT_TYPE_CU_MODULE_NVX’?
  251 |                 ENUM_TO_STR(VK_OBJECT_TYPE_CUDA_MODULE_NV);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/makepkg/build/wivrn-server/src/WiVRn-0.24.1/build-server/_deps/monado-src/src/xrt/auxiliary/vk/vk_helpers.c:54:14: note: in definition of macro ‘ENUM_TO_STR’
   54 |         case r: return #r
      |              ^
/var/cache/makepkg/build/wivrn-server/src/WiVRn-0.24.1/build-server/_deps/monado-src/src/xrt/auxiliary/vk/vk_helpers.c:251:29: note: each undeclared identifier is reported only once for each function it appears in
  251 |                 ENUM_TO_STR(VK_OBJECT_TYPE_CUDA_MODULE_NV);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/makepkg/build/wivrn-server/src/WiVRn-0.24.1/build-server/_deps/monado-src/src/xrt/auxiliary/vk/vk_helpers.c:54:14: note: in definition of macro ‘ENUM_TO_STR’
   54 |         case r: return #r
      |              ^
[ 59%] Linking CXX static library libcomp_multi.a
[ 59%] Linking CXX static library libipc_server.a
[ 59%] Linking CXX shared library libmonado_wivrn.so
/var/cache/makepkg/build/wivrn-server/src/WiVRn-0.24.1/build-server/_deps/monado-src/src/xrt/auxiliary/vk/vk_helpers.c:252:29: error: ‘VK_OBJECT_TYPE_CUDA_FUNCTION_NV’ undeclared (first use in this function); did you mean ‘VK_OBJECT_TYPE_CU_FUNCTION_NVX’?
  252 |                 ENUM_TO_STR(VK_OBJECT_TYPE_CUDA_FUNCTION_NV);
      |                             ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/var/cache/makepkg/build/wivrn-server/src/WiVRn-0.24.1/build-server/_deps/monado-src/src/xrt/auxiliary/vk/vk_helpers.c:54:14: note: in definition of macro ‘ENUM_TO_STR’
   54 |         case r: return #r
      |              ^
[ 59%] Built target aux_vive
make[2]: *** [_deps/monado-build/src/xrt/auxiliary/vk/CMakeFiles/aux_vk.dir/build.make:177: _deps/monado-build/src/xrt/auxiliary/vk/CMakeFiles/aux_vk.dir/vk_helpers.c.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1702: _deps/monado-build/src/xrt/auxiliary/vk/CMakeFiles/aux_vk.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 59%] Built target comp_multi
[ 61%] Built target ipc_server
[ 61%] Built target monado
make: *** [Makefile:136: all] Error 2

I have no nvidia card.

Regards!

AngelBePro commented on 2025-03-17 19:16 (UTC)

As of right now, freedesktop is migrating their servers. Commenting this so everyone knows that as of right now monado is not avaible. On their website it says the outage will be until 2025-03-22.

AquilaIrreale commented on 2024-11-04 08:26 (UTC)

@gmeunier you have a PKGBUILD/.SRCINFO mismatch that's signalling false updates to AUR helpers, the pkgrels in the two files do not agree. Also .SRCINFO lists a sha256sum that PKGBUILD doesn't have. Are you editing the .SRCINFO file by hand? If that's the case I would suggest (re)generating it with makepkg --printsrcinfo > .SRCINFO instead each time PKGBUILD is updated as per the official guide on the wiki

hwkiller commented on 2024-10-17 18:43 (UTC)

I think the makedeps needs updated:

1) glib2-devel is needed for gdbus-codegen 2) ninja is needed for building

dreieck commented on 2024-02-09 11:37 (UTC)

/usr/share/openxr/1/openxr_wivrn.json contains "library_path": "../../../lib/libopenxr_wivrn.so".

Sure that a relative path is correct here, and not an absolute path would be better?

Regards!

dreieck commented on 2024-02-09 11:30 (UTC) (edited on 2024-02-09 11:33 (UTC) by dreieck)

prepare() has some issues if cuda is not installed:

==> Starting prepare()...
error: package 'cuda' was not found
/tmp/makepkg/yay/wivrn-server/PKGBUILD: line 32: =: command not found
ON

Please use the following:

    if pacman -Qq cuda > /dev/null 2>&1; then
      _use_nvenc="ON"
    else
      _use_nvenc="OFF"
    fi
    echo "Build with NVENC: $_use_nvenc"

And are you sure that nvenc is part of cuda and not an extra package? (There is nvenc as a separate package in the AUR.)

Regards and thanks for maintaining!