| 23 May 2024 |
Atemu | Interesting, where does that happen? Is that a generic stdenv thing or do we just do that in select cases? | 11:17:28 |
K900 | In the mesa drv | 11:19:28 |
K900 |
# 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 |  Download IMG_20240523_195022.jpg | 18:50:42 |
matthewcroughan | :thinking: | 18:50:56 |
matthewcroughan | It then crashes and says check the logs :D | 18:52:12 |
matthewcroughan | It's all like this | 18:57:44 |
matthewcroughan | 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 |
Atemu | matthewcroughan: You must manually run the command it tries to run | 18:59:18 |
Atemu | You will never be able to run it inside the fhsenv | 18:59:30 |
Atemu | It'll stop complaining once the cap is set | 18:59:46 |
matthewcroughan | Hmm, is this proof that my nvidia open patch did something? | 18:59:52 |
matthewcroughan | I've never seen it ask this to me before | 18:59:59 |
Atemu | No | 19:00:00 |
Atemu | A SteamVR update is more likely | 19:00:15 |
matthewcroughan | Well now it's quite imperative that this be resolved, because the script is related to CAP_SYS_NICE | 19:01:10 |
matthewcroughan | which is exactly what I modified to always return true in the nvidia driver | 19:01:17 |
matthewcroughan | Ah I think I know.. | 19:02:56 |
matthewcroughan | 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 | I set it to 1 when I should have set it to 0 right? | 19:03:31 |
Atemu | 0 is true AFAIK | 19:04:41 |
matthewcroughan | yeah god damn it | 19:04:50 |
matthewcroughan | but in shell, is 0 also true? | 19:05:19 |
Atemu | 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 |
Atemu | But that only works when steam is ran natively | 19:06:12 |
Atemu | In reply to @matthewcroughan:defenestrate.it but in shell, is 0 also true? I think so | 19:07:13 |
Atemu | True is empty string | 19:07:21 |
Atemu | * False is empty string | 19:07:52 |
matthewcroughan | 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 | why is it in an fhsenv anyway | 19:33:02 |