!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

447 Members
Gaming things, my hands are typing words.127 Servers

Load older messages


SenderMessageTime
21 May 2025
@matthewcroughan:defenestrate.itmatthewcroughanit shows up in wivrn, interacts, no errors, it's just that nothing shows up in the headset running wivrn16:56:38
@matthewcroughan:defenestrate.itmatthewcroughangnome believes that screen sharing is taking place however16:56:49
@matthewcroughan:defenestrate.itmatthewcroughanAh maybe it's dmabuf related https://github.com/galister/wlx-overlay-s?tab=readme-ov-file#crashes-blank-screens16:57:22
@matthewcroughan:defenestrate.itmatthewcroughanare nvidia drivers also something that hold the kernel back like zfs?17:18:56
@matthewcroughan:defenestrate.itmatthewcroughan
error: builder for '/nix/store/1zyybm2yghpbsgp2r4kq8nxq6sr8g0hw-nvidia-x11-570.123.14-6.15-rc7.drv' failed with exit code 2;
       last 25 log lines:
       >    24 | #include "nv-dmabuf.h"
       >       |          ^~~~~~~~~~~~~
       > compilation terminated.
       > make[4]: *** [/nix/store/f0rfxq2w8m53gfwpspr3irafqv06xjf6-linux-6.15-rc7-dev/lib/modules/6.15.0-rc7/source/scripts/Makefile.build:203: nvidia/nv-dmabuf.o] Error 1
       > nvidia/nv.c:30:10: fatal error: nv-firmware.h: No such file or directory
       >    30 | #include "nv-firmware.h"
       >       |          ^~~~~~~~~~~~~~~
       > compilation terminated.
       > make[4]: *** [/nix/store/f0rfxq2w8m53gfwpspr3irafqv06xjf6-linux-6.15-rc7-dev/lib/modules/6.15.0-rc7/source/scripts/Makefile.build:203: nvidia/nv.o] Error 1
       > nvidia/nv-pci.c:25:10: fatal error: nv-pci-types.h: No such file or directory
       >    25 | #include "nv-pci-types.h"
       >       |          ^~~~~~~~~~~~~~~~
       > compilation terminated.
       > make[4]: *** [/nix/store/f0rfxq2w8m53gfwpspr3irafqv06xjf6-linux-6.15-rc7-dev/lib/modules/6.15.0-rc7/source/scripts/Makefile.build:203: nvidia/nv-pci.o] Error 1
       > nvidia/nv-i2c.c:28:10: fatal error: os-interface.h: No such file or directory
       >    28 | #include "os-interface.h"
       >       |          ^~~~~~~~~~~~~~~~
       > compilation terminated.
       > make[4]: *** [/nix/store/f0rfxq2w8m53gfwpspr3irafqv06xjf6-linux-6.15-rc7-dev/lib/modules/6.15.0-rc7/source/scripts/Makefile.build:203: nvidia/nv-i2c.o] Error 1
       > make[3]: *** [/nix/store/f0rfxq2w8m53gfwpspr3irafqv06xjf6-linux-6.15-rc7-dev/lib/modules/6.15.0-rc7/source/Makefile:2003: .] Error 2
       > make[2]: *** [/nix/store/f0rfxq2w8m53gfwpspr3irafqv06xjf6-linux-6.15-rc7-dev/lib/modules/6.15.0-rc7/source/Makefile:248: __sub-make] Error 2
       > make[2]: Leaving directory '/build/NVIDIA-Linux-x86_64-570.123.14/kernel'
       > make[1]: *** [Makefile:248: __sub-make] Error 2
       > make[1]: Leaving directory '/nix/store/f0rfxq2w8m53gfwpspr3irafqv06xjf6-linux-6.15-rc7-dev/lib/modules/6.15.0-rc7/source'
       > make: *** [Makefile:115: modules] Error 2
       For full logs, run:
17:18:58
@matthewcroughan:defenestrate.itmatthewcroughan
       > nvidia.o: warning: objtool: _nv045909rm+0x77: 'naked' return found in MITIGATION_RETHUNK build
       > nvidia.o: warning: objtool: _nv045853rm+0x7f: 'naked' return found in MITIGATION_RETHUNK build
       > nvidia.o: warning: objtool: _nv035412rm+0x3e: 'naked' return found in MITIGATION_RETHUNK build
       > nvidia.o: warning: objtool: _nv035411rm+0x27: 'naked' return found in MITIGATION_RETHUNK build
       > nvidia.o: warning: objtool: _nv035415rm+0x37: 'naked' return found in MITIGATION_RETHUNK build
       > nvidia.o: warning: objtool: _nv035414rm+0x24: 'naked' return found in MITIGATION_RETHUNK build
       > nvidia.o: warning: objtool: _nv035413rm+0xca: 'naked' return found in MITIGATION_RETHUNK build
       > nvidia.o: warning: objtool: _nv035416rm+0x193: 'naked' return found in MITIGATION_RETHUNK build
       > nvidia.o: warning: objtool: _nv035418rm+0x17f: 'naked' return found in MITIGATION_RETHUNK build
       > nvidia.o: warning: objtool: _nv013509rm+0x5d: 'naked' return found in MITIGATION_RETHUNK build
       > nvidia.o: warning: objtool: _nv046215rm+0x12f: 'naked' return found in MITIGATION_RETHUNK build
       >   MODPOST Module.symvers
       > WARNING: modpost: missing MODULE_DESCRIPTION() in nvidia.o
       > WARNING: modpost: missing MODULE_DESCRIPTION() in nvidia-uvm.o
       > WARNING: modpost: missing MODULE_DESCRIPTION() in nvidia-modeset.o
       > WARNING: modpost: missing MODULE_DESCRIPTION() in nvidia-drm.o
       > ERROR: modpost: GPL-incompatible module nvidia.ko uses GPL-only symbol '__vma_start_write'
       > ERROR: modpost: GPL-incompatible module nvidia-drm.ko uses GPL-only symbol '__vma_start_write'
       > make[4]: *** [/nix/store/f0rfxq2w8m53gfwpspr3irafqv06xjf6-linux-6.15-rc7-dev/lib/modules/6.15.0-rc7/source/scripts/Makefile.modpost:147: Module.symvers] Error 1
       > make[3]: *** [/nix/store/f0rfxq2w8m53gfwpspr3irafqv06xjf6-linux-6.15-rc7-dev/lib/modules/6.15.0-rc7/source/Makefile:1953: modpost] Error 2
       > make[2]: *** [/nix/store/f0rfxq2w8m53gfwpspr3irafqv06xjf6-linux-6.15-rc7-dev/lib/modules/6.15.0-rc7/source/Makefile:248: __sub-make] Error 2
       > make[2]: Leaving directory '/build/NVIDIA-Linux-x86_64-570.153.02/kernel'
       > make[1]: *** [Makefile:248: __sub-make] Error 2
       > make[1]: Leaving directory '/nix/store/f0rfxq2w8m53gfwpspr3irafqv06xjf6-linux-6.15-rc7-dev/lib/modules/6.15.0-rc7/source'
17:27:04
@matthewcroughan:defenestrate.itmatthewcroughanjust so buggy17:27:07
@k900:0upti.meK900Yes17:34:31
@k900:0upti.meK900There's no stable kernel API17:35:05
@k900:0upti.meK900So any out of tree driver can and will break17:35:10
@matthewcroughan:defenestrate.itmatthewcroughanAnd there's no way to opt out of the open nvidia driver really anymore17:40:00
@matthewcroughan:defenestrate.itmatthewcroughanso that's pretty bad17:40:03
@matthewcroughan:defenestrate.itmatthewcroughanit's like zfs but non-optional17:40:35
@k900:0upti.meK900There is, you can just run Nouveau17:42:10
@matthewcroughan:defenestrate.itmatthewcroughanrofl17:42:19
@olivia:computer.surgeryolivianvk is genuinely pretty good these days if you have a turing+card. If you haven't tried it recently you might be surprised19:54:32
@olivia:computer.surgeryoliviaif this thing you're trying to run is cuda only that won't work though19:54:39
@olivia:computer.surgeryolivia* if this thing you're trying to run is cuda-only that won't work though19:54:45
@elvishjerricco:matrix.orgElvishJerriccoI'm guessing nvk is vulkan only, and that that's ok as long as you only play windows / proton games because they're almost universally adapted to vulkan?20:13:49
@olivia:computer.surgeryolivia it's vulkan but mesa 25.1 defaults to zink/nvk for opengl on Turing cards now 20:32:07
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @olivia:computer.surgery
nvk is genuinely pretty good these days if you have a turing+card. If you haven't tried it recently you might be surprised
Are there any docs on how to set it up? I feel very lost when touching NVIDIA related settings.
23:18:06
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @olivia:computer.surgery
nvk is genuinely pretty good these days if you have a turing+card. If you haven't tried it recently you might be surprised
*
23:18:14
@elvishjerricco:matrix.orgElvishJerriccoit sounds like if it's anything like amdgpu you just remove any nvidia related code from your config and mesa will do the right thing on its own (as long as you're on a nixpkgs revision with a new enough mesa)23:20:06
@elvishjerricco:matrix.orgElvishJerriccobut I'm only guessing23:20:53
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de)
In reply to @elvishjerricco:matrix.org
it sounds like if it's anything like amdgpu you just remove any nvidia related code from your config and mesa will do the right thing on its own (as long as you're on a nixpkgs revision with a new enough mesa)
I think it used to be like that so seams reasonable.
23:21:32
@srestegosaurio:tchncs.desrestegosaurio (on tchncs.de) And what about nvidia-offload? 23:22:01
@olivia:computer.surgeryolivia yeah, this is accurate 23:22:42
@olivia:computer.surgeryoliviaspecifically you'll get zink-by-default if you have https://github.com/NixOS/nixpkgs/pull/399388 (which was merged 12 hours ago)23:23:14
@olivia:computer.surgeryolivia yeah, you'll want to remove that 23:23:57
@elvishjerricco:matrix.orgElvishJerriccoI'm guessing it's the same story with nvidia-offload? i.e. Mesa just already knows how to use another GPU for rendering and lets the app choose?23:24:21

Show newer messages


Back to Room ListRoom Version: 10