| 10 Jan 2024 |
@supersamus02:matrix.org | About Yuzu, should this be implemented? https://github.com/yuzu-emu/yuzu/pull/12292 | 23:59:17 |
| 11 Jan 2024 |
FavoritoHJS | is there drama about the vintage story developer? don't want to have another "bought factorio just before realizing the dev was a transphobe" incident | 00:49:11 |
@atemu12:matrix.org | FavoritoHJS: I fail to see how that relates to NixOS in any way | 01:04:34 |
FavoritoHJS | fair enough, guess the channel name confused me a bit | 01:14:51 |
| smtbook joined the room. | 03:31:15 |
@aidalgol:matrix.org | There should probably be a channel description clarifying that this room is for gaming on NixOS, and not an off-topic channel centred around gaming in general. | 05:07:59 |
K900 | In reply to@supersamus02:matrix.org About Yuzu, should this be implemented? https://github.com/yuzu-emu/yuzu/pull/12292 Hm, I just assumed they installed the rule | 07:25:14 |
K900 | But I guess not | 07:25:27 |
K900 | In reply to@supersamus02:matrix.org About Yuzu, should this be implemented? https://github.com/yuzu-emu/yuzu/pull/12292 https://github.com/NixOS/nixpkgs/pull/280208 | 07:37:59 |
| Emantor joined the room. | 07:45:28 |
| f44 joined the room. | 18:24:15 |
| 12 Jan 2024 |
| @aruzicka:matrix.org left the room. | 10:28:29 |
pedrohlc ⚡️ | In case someone wants to play with NVK+GSP:
- first you need Linux 6.7 with latest stable firmware and mesa-git;
- then you need to fix the symlink of your GPU in
linux-firwmare or makeModulesClosure (it's symlinking "gsp.xz" instead of "gsp", and needs to copy "nvidia" folder in the closure)
- since you're already touching the closure, remove all the other GPUs to save 60Mb in your initrd
- make sure to not enable
hardware.nvidia
boot.kernelParams = [ "nouveau.config=NvGspRm=1" "nouveau.debug=\"GSP=debug\"" ];
- Downgrade DXVK by adding the 1.10.3 DLLs in the game's folder
And that's it right now, everything requiring Vulkan 1.2+ is a no-go
| 14:23:06 |
pedrohlc ⚡️ | * In case someone wants to play with NVK+GSP:
- first you need Linux 6.7 with latest stable firmware and mesa-git;
- then you need to fix the symlink of your GPU in
linux-firwmare or makeModulesClosure (it's symlinking "gsp.xz" instead of "gsp", and needs to copy "nvidia" folder in the closure)
- since you're already touching the closure, remove all the other GPUs to save 60Mb in your initrd
- make sure to not enable
hardware.nvidia
boot.kernelParams = [ "nouveau.config=NvGspRm=1" "nouveau.debug=\"GSP=debug\"" ];
- Downgrade DXVK by adding the 1.10.3 DLLs in the game's folder
And that's it right now, everything requiring Vulkan 1.2+ is a no-go
| 14:23:36 |
pedrohlc ⚡️ | * In case someone wants to play with NVK+GSP:
- first you need Linux 6.7 with latest stable firmware and mesa-git;
- then you need to fix the symlink of your GPU in
linux-firwmare or makeModulesClosure (it's symlinking "gsp.xz" instead of "gsp", and needs to copy "nvidia" folder in the closure)
- since you're already touching the closure, remove all the other GPUs to save 60Mb in your initrd
- make sure to not enable
hardware.nvidia
boot.kernelParams = [ "nouveau.config=NvGspRm=1" "nouveau.debug=\"GSP=debug\"" ];
- Downgrade DXVK by adding the 1.10.3 DLLs in the game's folder
And that's it right now, everything requiring Vulkan 1.2+ is a no-go
| 14:23:50 |
pedrohlc ⚡️ | For reference, he's my makeModulesClosure overlay:
final: prev: {
makeModulesClosure = args: (prev.makeModulesClosure args).overrideAttrs (prevAttrs: {
builder = final.runCommand "modules-closure.sh" { } ''
cat ${prevAttrs.builder} > $out
chmod +x $out
echo 'rm -rf "$out/lib/firmware/nvidia"' >> $out
echo 'mkdir -p "$out/lib/firmware/nvidia"' >> $out
echo 'cp --no-preserve=mode -r "$firmware/lib/firmware/nvidia/ga10"{2,7} "$out/lib/firmware/nvidia/"' >> $out
echo 'pushd "$out/lib/firmware/nvidia/ga107"' >> $out
echo 'rm -rf gsp.xz' >> $out
echo 'ln -s ../ga102/gsp ./gsp' >> $out
echo 'popd' >> $out
'';
});
}
| 14:25:40 |
pedrohlc ⚡️ | * In case someone wants to play with NVK+GSP:
- first you need Linux 6.7 with latest stable firmware and mesa-git;
- then you need to fix the symlink of your GPU in
linux-firwmare or makeModulesClosure (it's symlinking "gsp.xz" instead of "gsp", and needs to copy "nvidia" folder in the closure)
- since you're already touching the closure, remove all the other GPUs to save 60Mb in your initrd
- make sure to not enable
hardware.nvidia
boot.kernelParams = [ "nouveau.config=NvGspRm=1" "nouveau.debug=\"GSP=debug\"" ];
- Now, you should be able to see the firmware loading in dmesg;
- Downgrade DXVK by adding the 1.10.3 DLLs in the game's folder
And that's it right now, everything requiring Vulkan 1.2+ is a no-go
| 14:27:45 |
@atemu12:matrix.org | pedrohlc ⚡️: It'd be great to turn that into a wiki article | 15:13:38 |
@atemu12:matrix.org | Or, even better, turn it into a better integrated NixOS option to do that from the start | 15:14:19 |
@atemu12:matrix.org | People will want to use NVK probably rather soon | 15:14:34 |
@atemu12:matrix.org | * People will want to start using NVK probably rather soon | 15:14:40 |
@elvishjerricco:matrix.org | Atemu: probably need to wait for a mesa release before something like that can go into nixpkgs | 15:15:53 |
@atemu12:matrix.org | I don't see why we couldn't get the kernel module stuff figured out earlier? | 15:16:39 |
K900 | Is the linux-firmware thing a make-modules-closure bug or an upstream linux-firmware bug? | 15:16:44 |
K900 | Cause it's clearly a bug | 15:16:49 |
@atemu12:matrix.org | Also, can't nouveau (OGL) benefit from re-clocking too now? | 15:17:15 |
pedrohlc ⚡️ | In reply to @atemu12:matrix.org Also, can't nouveau (OGL) benefit from re-clocking too now? nouveau + those specific GPUs, yes | 15:18:08 |
pedrohlc ⚡️ | In reply to @k900:0upti.me Is the linux-firmware thing a make-modules-closure bug or an upstream linux-firmware bug? I didn't debug, just noted that our latest derivation generates that gsp.xz, and if you bump to latest commit there is none link at all | 15:18:53 |
K900 | The .xz should be fine | 15:19:10 |
K900 | The kernel knows how to handle those | 15:19:16 |