通过NixOS安装SteamVR?

时间:2017-10-05 22:20:10

标签: steam nixos

有没有人将SteamVR与NixOS一起使用?

根据Valve说明here,我在配置中添加了以下udev规则.nix:

services.udev.extraRules = ''
# HTC Vive HID Sensor naming and permissioning
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="2c87", TAG+="uaccess"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2101", TAG+="uaccess"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2000", TAG+="uaccess"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="1043", TAG+="uaccess"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2050", TAG+="uaccess"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2011", TAG+="uaccess"
KERNEL=="hidraw*", SUBSYSTEM=="hidraw", ATTRS{idVendor}=="28de", ATTRS{idProduct}=="2012", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct}=="2c87", TAG+="uaccess"
# HTC Camera USB Node
SUBSYSTEM=="usb", ATTRS{idVendor}=="114d", ATTRS{idProduct}=="8328", TAG+="uaccess"
# HTC Mass Storage Node
SUBSYSTEM=="usb", ATTRS{idVendor}=="114d", ATTRS{idProduct}=="8200", TAG+="uaccess"
SUBSYSTEM=="usb", ATTRS{idVendor}=="114d", ATTRS{idProduct}=="8a12", TAG+="uaccess"
'';

但是我收到了错误:

Error: You are missing the following 32-bit libraries, and Steam may not run: libgobject-2.0.so.0, libglib-2.0.so.0, libgio-2.0.so.0, libgtk-x11-2.0.so.0, libpulse.so.0, libgdk_pixbuf-2.0.so.0

以及弹出错误:

 SteamVR failed to initialized for unknown reasons. (Error: Shared IPC Compositor Connect Failed (306))

其他相关的蒸汽输出:

  • 我得到了很多sh: lsb_release: command not found
  • 我得到了很多sh: pidof: command not found
  • 我得到Initialize() is failed!!!
  • 我收到了一个`/home/user/.local/share/Steam/steamapps/common/SteamVR/bin/linux32/vrserver:加载共享时出错
  • 我正在nixos-unstable频道播放。

0 个答案:

没有答案