!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

597 Members
Gaming things, my hands are typing words.162 Servers

Load older messages


SenderMessageTime
15 May 2024
@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
@atemu12:matrix.orgAtemuWell, you still are21:56:45
@atemu12:matrix.orgAtemuIt's just the kernel part that's open21:56:56
@matthewcroughan:defenestrate.itmatthewcroughanah meaning I can perform that patch21:57:11
@atemu12:matrix.orgAtemuYes21:57:17
@matthewcroughan:defenestrate.itmatthewcroughanI suppose this is the channel to mention https://github.com/mbilker/vgpu_unlock-rs?tab=readme-ov-file in, for GPU passthrough, I think it'd be worth making a nixosModule for, but you don't have any nvidia gpus for this21:58:04
@matthewcroughan:defenestrate.itmatthewcroughanthis would at least allow me to make a systemd service that runs a windows vm with the nvidia gpu being accessed, for the sole purpose of running steam lol21:58:45
@matthewcroughan:defenestrate.itmatthewcroughansteamvr/alvr all happens wirelessly, so I wouldn't necessarily have to interact with windows all that much if it were set up properly21:59:48
@matthewcroughan:defenestrate.itmatthewcroughanplayed around with the idea of using makeWindowsImage and the impure-derivations feature to bake windows images that have steam + other stuff pre-installed with games, no FODs necessary22:00:19
@atemu12:matrix.orgAtemuI'd rather look into installing Steam offline and mounting the state dirs as network shares or virtiofs if Windows supports that22:02:23
@matthewcroughan:defenestrate.itmatthewcroughanHmm yeah, clever22:02:38
@atemu12:matrix.orgAtemuDownloading games in a Nix drv sounds hairy22:02:47
@matthewcroughan:defenestrate.itmatthewcroughanso makeWindowsImage can do a lot, including executing installers declaratively offline22:02:53
@atemu12:matrix.orgAtemuYeah I've used wfvm before22:03:07
@matthewcroughan:defenestrate.itmatthewcroughanit is, which is why FODs won't work, but the base image is reproducible22:03:11
@matthewcroughan:defenestrate.itmatthewcroughanSo we can do 99.9% of the work, then let steam do its filthy stuff22:03:35
@matthewcroughan:defenestrate.itmatthewcroughanhttps://github.com/juliosueiras-nix/nix-steam is a good attempt at trying to use FODs though22:03:45
@matthewcroughan:defenestrate.itmatthewcroughan
In reply to @atemu12:matrix.org
Yeah I've used wfvm before
Yeah my function is just a wrapper around wfvm, except it fetches windows for you, and fixes the installation to 1core/1thread leading to more reproducibility and less deadlocks
22:06:04

Show newer messages


Back to Room ListRoom Version: 10