!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

342 Members
https://github.com/nix-community/NixOS-WSL59 Servers

Load older messages


SenderMessageTime
19 Jan 2023
@sandro:supersandro.deSandro 🐧
In reply to @k900:0upti.me
I think they fixed /dev/shm
fixed or "fixed"?
10:08:51
@k900:0upti.meK900Fixed10:09:06
@k900:0upti.meK900Like actually10:09:08
@k900:0upti.meK900But that broke our fix10:09:14
21 Jan 2023
@buxel:matrix.orgBuxel joined the room.22:13:42
22 Jan 2023
@joerg:thalheim.ioMic92 left the room.20:51:42
@lambadada:matrix.orglambadadaHas anyone gotten CUDA working in WSL? How do I check if WSL can actually see the card?23:26:34
@k900:0upti.meK900It's not actually ever going to "see the card" 23:36:30
@k900:0upti.meK900At best it'll see a virtual device that will forward compute workloads to the real ome23:36:42
@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

Show newer messages


Back to Room ListRoom Version: 9