!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

550 Members
Gaming things, my hands are typing words.155 Servers

Load older messages


SenderMessageTime
23 May 2024
@atemu12:matrix.orgAtemuInteresting, where does that happen? Is that a generic stdenv thing or do we just do that in select cases?11:17:28
@k900:0upti.meK900In the mesa drv11:19:28
@k900:0upti.meK900

    # NAR doesn't support hard links, so convert them to symlinks to save space.
    jdupes --hard-links --link-soft --recurse "$drivers"
11:19:32
@matthewcroughan:defenestrate.itmatthewcroughanIMG_20240523_195022.jpg
Download IMG_20240523_195022.jpg
18:50:42
@matthewcroughan:defenestrate.itmatthewcroughan :thinking: 18:50:56
@matthewcroughan:defenestrate.itmatthewcroughan It then crashes and says check the logs :D 18:52:12
@matthewcroughan:defenestrate.itmatthewcroughanIt's all like this18:57:44
@matthewcroughan:defenestrate.itmatthewcroughan
endencies: Could not find "libcrypto.so.1.1" in LD_LIBRARY_PATH "/lib64:/lib32:/steamrt/amd64/lib/x86_64-linux-gnu:/steamrt/amd64/lib:/steamrt/amd64/usr/lib/x86_64-linux-gnu:/steamrt/amd64/usr/lib:/steamrt/i386/lib/i386-linux-gnu:/steamrt/i386/lib:/steamrt/i386/usr/lib/i386-linux-gnu:/steamrt/i386/usr/lib:/run/opengl-driver/lib:/run/opengl-driver-32/lib:/lib:/lib32:/run/opengl-driver/lib:/run/opengl-driver-32/lib:/nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib:/home/astraluser/.local/share/Steam/steamapps/common/SteamVR", ld.so.cache, DT_RUNPATH or fallback /lib:/usr/lib
x86_64-linux-gnu-capsule-capture-libs: warning: Dependencies of libnvidia-pkcs11.so.550.40.61 not found, ignoring: Missing dependencies: Could not find "libcrypto.so.1.1" in LD_LIBRARY_PATH "/lib64:/lib32:/steamrt/amd64/lib/x86_64-linux-gnu:/steamrt/amd64/lib:/steamrt/amd64/usr/lib/x86_64-linux-gnu:/steamrt/amd64/usr/lib:/steamrt/i386/lib/i386-linux-gnu:/steamrt/i386/lib:/steamrt/i386/usr/lib/i386-linux-gnu:/steamrt/i386/usr/lib:/run/opengl-driver/lib:/run/opengl-driver-32/lib:/lib:/lib32:/run/opengl-driver/lib:/run/opengl-driver-32/lib:/nix/store/k7zgvzp2r31zkg9xqgjim7mbknryv6bs-glibc-2.39-52/lib:/home/astraluser/.local/share/Steam/steamapps/common/SteamVR", ld.so.cache, DT_RUNPATH or fallback /lib:/usr/lib
pressure-vessel-wrap[89395]: W: "/run/current-system/sw/bin/getent" is unlikely to appear in "/run/host"
pressure-vessel-wrap[89395]: W: Found more than one possible libdrm data directory from provider
vrstartup.sh[89589]: Steam Linux Runtime: sniper_platform_0.20240415.84603
srt-logger[89594]: N: Sending log messages to file "/home/astraluser/.steam/steam/logs/vrstartup-linux.txt" and terminal "/dev/pts/0"
vrstartup.sh[89589]: Relaunch under vrenv.
vrstartup.sh[89589]: exec /home/astraluser/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh /home/astraluser/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
vrenv.sh[89589]: VRCOMPOSITOR_LD_LIBRARY_PATH=/home/astraluser/.local/share/Steam/steamapps/common/SteamVR:/home/astraluser/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/qt/lib:/home/astraluser/.local/share/Steam/steamapps/common/SteamVR/bin/linux64:/usr/lib/pressure-vessel/overrides/lib/x86_64-linux-gnu/aliases:/usr/lib/pressure-vessel/overrides/lib/i386-linux-gnu/aliases
vrenv.sh[89589]: exec /home/astraluser/.local/share/Steam/steamapps/common/SteamVR/bin/vrstartup.sh
vrstartup.sh[89589]: Steam Linux Runtime: sniper_platform_0.20240415.84603
vrstartup.sh[89589]: call /home/astraluser/.local/share/Steam/steamapps/common/SteamVR/bin/vrsetup.sh
vrsetup.sh[89613]: Detected Steam Linux Runtime pressure-vessel launch in sniper_platform_0.20240415.84603
vrsetup.sh[89613]: Relaunching via steam launcher service to host level for vrcompositor setcap configuration.
vrsetup.sh[89621]: exec /home/astraluser/.local/share/Steam/steamapps/common/SteamVR/bin/vrenv.sh /home/astraluser/.local/share/Steam/steamapps/common/SteamVR/bin/vrsetup.sh
vrenv.sh[89621]: VRCOMPOSITOR_LD_LIBRARY_PATH=/home/astraluser/.local/share/Steam/steamapps/common/SteamVR:/home/astraluser/.local/share/Steam/steamapps/common/SteamVR/bin/linux64/qt/lib:/home/astraluser/.local/share/Steam/steamapps/common/SteamVR/bin/linux64:/lib64:/lib32:/steamrt/amd64/lib/x86_64-linux-gnu:/steamrt/amd64/lib:/steamrt/amd64/usr/lib/x86_64-linux-gnu:/steamrt/amd64/usr/lib:/steamrt/i386/lib/i386-linux-gnu:/steamrt/i386/lib:/steamrt/i386/usr/lib/i386-linux-gnu:/steamrt/i386/usr/lib:/run/opengl-driver/lib:/run/opengl-driver-32/lib
vrenv.sh[89621]: exec /home/astraluser/.local/share/Steam/steamapps/common/SteamVR/bin/vrsetup.sh
vrsetup.sh[89621]: Relaunching under scout LDLP runtime.
vrsetup.sh[89621]: exec /home/astraluser/.steam/bin/steam-runtime/run.sh /home/astraluser/.local/share/Steam/steamapps/common/SteamVR/bin/vrsetup.sh
vrsetup.sh[89621]: Detected scout LDLP runtime.
Using host zenity for question
pkexec must be setuid root
vrsetup.sh[89621]: Error: setcap of vrcompositor-launcher failed.
Error: SteamVR setup is incomplete, some features might be missing. See Steam client logs folder for details.
Using host zenity for message

18:57:47
@atemu12:matrix.orgAtemu matthewcroughan: You must manually run the command it tries to run 18:59:18
@atemu12:matrix.orgAtemuYou will never be able to run it inside the fhsenv18:59:30
@atemu12:matrix.orgAtemuIt'll stop complaining once the cap is set18:59:46
@matthewcroughan:defenestrate.itmatthewcroughanHmm, is this proof that my nvidia open patch did something?18:59:52
@matthewcroughan:defenestrate.itmatthewcroughanI've never seen it ask this to me before 18:59:59
@atemu12:matrix.orgAtemuNo19:00:00
@atemu12:matrix.orgAtemuA SteamVR update is more likely19:00:15
@matthewcroughan:defenestrate.itmatthewcroughanWell now it's quite imperative that this be resolved, because the script is related to CAP_SYS_NICE19:01:10
@matthewcroughan:defenestrate.itmatthewcroughanwhich is exactly what I modified to always return true in the nvidia driver 19:01:17
@matthewcroughan:defenestrate.itmatthewcroughanAh I think I know..19:02:56
@matthewcroughan:defenestrate.itmatthewcroughan
diff --git a/pkgs/os-specific/linux/nvidia-x11/open.nix b/pkgs/os-specific/linux/nvidia-x11/open.nix
index a6795c3fd5e7..6cef14dbd4c0 100644
--- a/pkgs/os-specific/linux/nvidia-x11/open.nix
+++ b/pkgs/os-specific/linux/nvidia-x11/open.nix
@@ -20,6 +20,10 @@ stdenv.mkDerivation ({
 
   nativeBuildInputs = kernel.moduleBuildDependencies;
 
+  prePatch = ''
+    substituteInPlace kernel-open/nvidia/os-interface.c --replace 'return capable(CAP_SYS_NICE);' 'return 1;'
+  '';
+
   makeFlags = kernel.makeFlags ++ [
     "SYSSRC=${kernel.dev}/lib/modules/${kernel.modDirVersion}/source"
     "SYSOUT=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
19:03:23
@matthewcroughan:defenestrate.itmatthewcroughanI set it to 1 when I should have set it to 0 right?19:03:31
@atemu12:matrix.orgAtemu0 is true AFAIK19:04:41
@matthewcroughan:defenestrate.itmatthewcroughanyeah god damn it19:04:50
@matthewcroughan:defenestrate.itmatthewcroughanbut in shell, is 0 also true?19:05:19
@atemu12:matrix.orgAtemu
In reply to @matthewcroughan:defenestrate.it
Well now it's quite imperative that this be resolved, because the script is related to CAP_SYS_NICE
It's what's supposed to give privileges to SteamVR
19:05:57
@atemu12:matrix.orgAtemuBut that only works when steam is ran natively19:06:12
@atemu12:matrix.orgAtemu
In reply to @matthewcroughan:defenestrate.it
but in shell, is 0 also true?
I think so
19:07:13
@atemu12:matrix.orgAtemuTrue is empty string19:07:21
@atemu12:matrix.orgAtemu * False is empty string19:07:52
@matthewcroughan:defenestrate.itmatthewcroughan
In reply to @atemu12:matrix.org
But that only works when steam is ran natively
is it actually possible to run steam natively?
19:32:58
@matthewcroughan:defenestrate.itmatthewcroughanwhy is it in an fhsenv anyway19:33:02

Show newer messages


Back to Room ListRoom Version: 10