!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

446 Members
Gaming things, my hands are typing words.126 Servers

Load older messages


SenderMessageTime
15 May 2024
@atemu12:matrix.orgAtemuMainly the container setup thingy20:11:21
@atemu12:matrix.orgAtemuThe FHSEnv20:11:28
@atemu12:matrix.orgAtemuAbsolutely no chance of getting a high priority queue inside of a userns without patching the kernel to always allow it20:12:17
@tumble1999:matrix.orgTumbleWhy are there things that do work though?20:14:47
@atemu12:matrix.orgAtemuWDYM?20:17:14
@atemu12:matrix.orgAtemu Except for the cap for the high priority queue, everything else should theoretically work 20:17:48
@atemu12:matrix.orgAtemuWell "work" as it's still SteamVR we're talking about here20:18:07
@tumble1999:matrix.orgTumble
In reply to @atemu12:matrix.org
Absolutely no chance of getting a high priority queue inside of a userns without patching the kernel to always allow it
Is it easy to patch the kernel?
20:54:23
@atemu12:matrix.orgAtemuAlmost trivial thanks to NixOS but it theoretically opens you up to local DOS and you need to build every kernel update yourself20:59:15
@atemu12:matrix.orgAtemu(Meaning on your hardware; you don't have to do any work here, just your PC)21:00:07
@jottr:matrix.orgjottr joined the room.21:18:03
@matthewcroughan:defenestrate.itmatthewcroughan
In reply to @atemu12:matrix.org
Absolutely no chance of getting a high priority queue inside of a userns without patching the kernel to always allow it
I still want to know how to patch the kernel to achieve this
21:47:31
@matthewcroughan:defenestrate.itmatthewcroughan steam works perfectly with programs.steam.enable = true; and steamvr + alvr via programs.alvr.enable = true also works very well, via nvidia/sway/vulkan 21:48:10
@matthewcroughan:defenestrate.itmatthewcroughanbut the problem is that alvr/steamvr timeout due to incredibly poor performance that is only observed in VR. Running the game works perfectly without steamvr21:48:36
@matthewcroughan:defenestrate.itmatthewcroughanthe reason is likely due to the lack of capabilities due to fhsenv as outlined in https://github.com/NixOS/nixpkgs/issues/21711921:49:17
@matthewcroughan:defenestrate.itmatthewcroughan I haven't even been able to verify what happens when you set nvidia.enable = true, though was advised by scrumplex to try hardcoding line 375 here https://github.com/NVIDIA/open-gpu-kernel-modules/blob/083cd9cf17ab95cd6f9fb50a5349c21eaa2f7d4b/kernel-open/nvidia/os-interface.c#L373-L376 21:50:48
@matthewcroughan:defenestrate.itmatthewcroughan * I haven't even been able to verify what happens when you set hardware.nvidia.open.enable = true, though was advised by scrumplex to try hardcoding line 375 here https://github.com/NVIDIA/open-gpu-kernel-modules/blob/083cd9cf17ab95cd6f9fb50a5349c21eaa2f7d4b/kernel-open/nvidia/os-interface.c#L373-L376 21:51:18
@matthewcroughan:defenestrate.itmatthewcroughanHow are you supposed to confirm that the nvidia open drivers are loaded and being used? nvidia-smi doesn't really report it21:51:49
@atemu12:matrix.orgAtemuWell, yes that's how you'd do it. Here's how he does it for AMDGPU: https://github.com/Scrumplex/pkgs/blob/dab552abe93c42e579cf5b8d8cbed3e286bb173f/kernelPatches/cap_sys_nice_begone.patch#L121:53:59
@atemu12:matrix.orgAtemu * Well, yes that's how you'd do it. Here's how he does it for AMDGPU: https://github.com/Scrumplex/pkgs/blob/dab552abe93c42e579cf5b8d8cbed3e286bb173f/kernelPatches/cap_sys_nice_begone.patch 21:54:02
@matthewcroughan:defenestrate.itmatthewcroughanYeah I just have trouble confirming that I'm even using the open drivers in any tangible way 21:54:32
@atemu12:matrix.orgAtemuCan't help you with Nvidia stuff21:54:47
@atemu12:matrix.orgAtemuThough I guess just look at the kernel modules?21:55:03
@matthewcroughan:defenestrate.itmatthewcroughanMy solution has just been to use makeWindowsImage from github.com/MatthewCroughan/NixThePlanet to make a bootable windows disk, and just run that lol21:55:26
@atemu12:matrix.orgAtemuOr simply check the kernel taint; it will tell you when proprietary modules are loaded21:55:34
@matthewcroughan:defenestrate.itmatthewcroughan
In reply to @atemu12:matrix.org
Though I guess just look at the kernel modules?
I believe they're both called nvidia lol
21:55:58
@atemu12:matrix.orgAtemuHm21:56:07
@atemu12:matrix.orgAtemu Check /run/booted-system/kernel-modules/...? 21:56:31
@matthewcroughan:defenestrate.itmatthewcroughansway even has the same rendering errors, and tells me "you're using proprietary drivers"21:56:34
@atemu12:matrix.orgAtemu modinfo etc. 21:56:42

There are no newer messages yet.


Back to Room ListRoom Version: 10