| 15 May 2024 |
Atemu | Though I guess just look at the kernel modules? | 21:55:03 |
matthewcroughan | My solution has just been to use makeWindowsImage from github.com/MatthewCroughan/NixThePlanet to make a bootable windows disk, and just run that lol | 21:55:26 |
Atemu | Or simply check the kernel taint; it will tell you when proprietary modules are loaded | 21:55:34 |
matthewcroughan | 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 |
Atemu | Hm | 21:56:07 |
Atemu | Check /run/booted-system/kernel-modules/...? | 21:56:31 |
matthewcroughan | sway even has the same rendering errors, and tells me "you're using proprietary drivers" | 21:56:34 |
Atemu | modinfo etc. | 21:56:42 |
Atemu | Well, you still are | 21:56:45 |
Atemu | It's just the kernel part that's open | 21:56:56 |
matthewcroughan | ah meaning I can perform that patch | 21:57:11 |
Atemu | Yes | 21:57:17 |
matthewcroughan | I 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 this | 21:58:04 |
matthewcroughan | this 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 lol | 21:58:45 |
matthewcroughan | steamvr/alvr all happens wirelessly, so I wouldn't necessarily have to interact with windows all that much if it were set up properly | 21:59:48 |
matthewcroughan | played 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 necessary | 22:00:19 |
Atemu | I'd rather look into installing Steam offline and mounting the state dirs as network shares or virtiofs if Windows supports that | 22:02:23 |
matthewcroughan | Hmm yeah, clever | 22:02:38 |
Atemu | Downloading games in a Nix drv sounds hairy | 22:02:47 |
matthewcroughan | so makeWindowsImage can do a lot, including executing installers declaratively offline | 22:02:53 |
Atemu | Yeah I've used wfvm before | 22:03:07 |
matthewcroughan | it is, which is why FODs won't work, but the base image is reproducible | 22:03:11 |
matthewcroughan | So we can do 99.9% of the work, then let steam do its filthy stuff | 22:03:35 |
matthewcroughan | https://github.com/juliosueiras-nix/nix-steam is a good attempt at trying to use FODs though | 22:03:45 |
matthewcroughan | 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 |
matthewcroughan | next step is to wire it into binfmt to launch a whole nt kernel when you try to use an exe, and pass through the framebuffer via rdp | 22:06:51 |
Atemu | Oh my | 22:08:04 |
matthewcroughan | I've wanted to make a derivation for compiling the latest open sourced dos, eventually there'll be some gaming potential there too | 22:09:13 |
matthewcroughan | One of the og engineers walks through the process of compiling it here https://www.youtube.com/watch?v=BR6F0EdyulA | 22:10:08 |
matthewcroughan | I'm wondering if I can make use of my existing makeWin30Image to bootstrap and compile the MS-DOS 4.0 source code, since it'll have all the MASM and stuff
(makeWin30Image {}).makeRunScript {
diskImage = makeWin30Image {
dosPostInstall = "stuffToCompileDos4.0";
};
}
| 22:12:03 |