!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

341 Members
https://github.com/nix-community/NixOS-WSL58 Servers

Load older messages


SenderMessageTime
22 Jan 2023
@k900:0upti.meK900* At best it'll see a virtual device that will forward compute workloads to the real one23:36:48
@lambadada:matrix.orglambadadaHas anyone gotten CUDA working in WSL? How do I check if WSL can actually see the virtual device that will forward compute workloads to the real one?23:37:55
@k900:0upti.meK900What I'm trying to say is there is no device23:38:16
@k900:0upti.meK900You need to run an actual CUDA application 23:38:24
@k900:0upti.meK900And you need to point it at the WSL-provided (really vendor-provided) drivers that are in /usr/lib/WSL somewhere23:38:59
@k900:0upti.meK900* And you need to point it at the WSL-provided (really vendor-provided) drivers that are in /usr/lib/wsl somewhere23:39:08
@lambadada:matrix.orglambadadaOkay, I'll look into that. They do mention a library from the windows side that can be invoked.23:40:28
@lambadada:matrix.orglambadadaWill check back once I have a bit more info.23:40:34
@k900:0upti.meK900My guess would be that you should be able to just add those directories to LD_LIBRARY_PATH23:41:02
@k900:0upti.meK900(assuming they're statically linked) 23:41:09
27 Jan 2023
@pta02:matrix.orgPedro Alves joined the room.21:42:38
@pta02:matrix.orgPedro Alves Hi, I'm having an issue setting up nixos on wsl... i tried enabling nativeSystemd, and it does boot 21:43:13
@pta02:matrix.orgPedro Alvesbut it seems like nothing is being put in place21:43:19
@pta02:matrix.orgPedro Alveslike, i literally cannot run any command, there's nothing on my path21:43:37
@pta02:matrix.orgPedro Alvesnot that $PATH isn't set, it's just that there's nothing there21:43:49
@pta02:matrix.orgPedro Alveshuh21:44:29
@pta02:matrix.orgPedro Alvesseems like ~/.nix-profile/bin isn't on my path, for some reason?21:44:40
@pta02:matrix.orgPedro Alveshttps://github.com/nix-community/NixOS-WSL/issues/192 found it, sorry for bothering21:52:10
28 Jan 2023
@sandro:supersandro.deSandro 🐧
In reply to @pta02:matrix.org
seems like ~/.nix-profile/bin isn't on my path, for some reason?
that is probably added by your bashrc
00:48:24
@sandro:supersandro.deSandro 🐧normally PATH is set by /etc/set-environment 00:48:31
@pta02:matrix.orgPedro AlvesYeah turned out fish wasn't reading that because I hadn't enabled the module 01:04:36
@k900:0upti.meK900Anyone with an Nvidia GPU and some spare time here?15:02:21
@k900:0upti.meK900image.png
Download image.png
18:13:47
@k900:0upti.meK900That's a teaser for the next staging-next ;)18:13:52
@pta02:matrix.orgPedro Alves
In reply to @k900:0upti.me
Anyone with an Nvidia GPU and some spare time here?
I have a laptop with nvidia prime/optimus/whatever it was called if it's useful
18:14:57
@k900:0upti.meK900I think I've figured it out18:15:09
@k900:0upti.meK900Kinda18:15:10
@k900:0upti.meK900But if anyone really wants to test dzn, hit me up :)18:15:24
29 Jan 2023
@nzbr:nzbr.deArson CopperflameI have nvidia GPUs, so if you need something tested, I can help out07:33:08
@k900:0upti.meK900https://github.com/NixOS/nixpkgs/pull/213158 should basically be enough to run things with dzn07:33:55

Show newer messages


Back to Room ListRoom Version: 9