Alternative attempt at VR

Managed a build of WMR w/Envision...but still no go
This commit is contained in:
Chris Thompson 2025-04-19 19:51:13 -04:00
parent 51e9459242
commit 96e38849f0

View file

@ -48,16 +48,16 @@
boot.kernelModules = [ "kvm-amd" "nct6775" ]; boot.kernelModules = [ "kvm-amd" "nct6775" ];
# Direct patching for enabling for async reprojection (for SteamVR) on AMD # Direct patching for enabling for async reprojection (for SteamVR) on AMD
#boot.kernelPatches = [ boot.kernelPatches = [
# { {
# name = "amdgpu-ignore-ctx-privileges"; name = "amdgpu-ignore-ctx-privileges";
# patch = pkgs.fetchpatch { patch = pkgs.fetchpatch {
# name = "cap_sys_nice_begone.patch"; name = "cap_sys_nice_begone.patch";
# url = "https://github.com/Frogging-Family/community-patches/raw/master/linux61-tkg/cap_sys_nice_begone.mypatch"; url = "https://github.com/Frogging-Family/community-patches/raw/master/linux61-tkg/cap_sys_nice_begone.mypatch";
# hash = "sha256-Y3a0+x2xvHsfLax/uwycdJf3xLxvVfkfDVqjkxNaYEo="; hash = "sha256-Y3a0+x2xvHsfLax/uwycdJf3xLxvVfkfDVqjkxNaYEo=";
# }; };
# } }
#]; ];
services.fwupd.enable = true; services.fwupd.enable = true;
services.hardware.openrgb.enable = true; services.hardware.openrgb.enable = true;
# Add flakes # Add flakes
@ -273,10 +273,10 @@
lfs.enable = true; lfs.enable = true;
}; };
# Orchestrator for FOSS VR stack # Orchestrator for FOSS VR stack
#programs.envision = { programs.envision = {
# enable = true; enable = true;
# openFirewall = true; # This is set true by default openFirewall = true; # This is set true by default
#}; };
#nixpkgs.config.permittedInsecurePackages = [ #nixpkgs.config.permittedInsecurePackages = [
# "electron-27.3.11" # "electron-27.3.11"
#]; #];
@ -425,16 +425,16 @@
}; };
# VR # VR
#Commmand: `renice -20 -p $(pgrep monado)` may help w/issues #Commmand: `renice -20 -p $(pgrep monado)` may help w/issues
services.monado = { #services.monado = {
enable = true; # enable = true;
defaultRuntime = true; # Register as default OpenXR runtime # defaultRuntime = true; # Register as default OpenXR runtime
}; #};
systemd.user.services.monado.environment = { #systemd.user.services.monado.environment = {
WMR_HANDTRACKING = "0"; # Enable for hand tracking # WMR_HANDTRACKING = "0"; # Enable for hand tracking
XRT_PRINT_OPTIONS = "1"; # Enable printing env vars set/available # XRT_PRINT_OPTIONS = "1"; # Enable printing env vars set/available
VIT_SYSTEM_LIBRARY_PATH = "${pkgs.basalt-monado}/lib/libbasalt.so"; # VIT_SYSTEM_LIBRARY_PATH = "${pkgs.basalt-monado}/lib/libbasalt.so";
#U_PACING_COMP_MIN_TIME_MS = "5"; # This is a tweak for something...I forgot # #U_PACING_COMP_MIN_TIME_MS = "5"; # This is a tweak for something...I forgot
}; #};
# allow clock adjustments/priority change, etc (gamemoderun ./game) # allow clock adjustments/priority change, etc (gamemoderun ./game)
# https://wiki.nixos.org/wiki/GameMode # https://wiki.nixos.org/wiki/GameMode
programs.gamemode.enable = true; # for performance mode programs.gamemode.enable = true; # for performance mode