!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

337 Members
https://github.com/nix-community/NixOS-WSL55 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
28 Feb 2024
@daver98:beeper.comdaver98I get the attached error on my very first rebuild. As the welcome message suggested, I first did sudo nix-channel --update. Any ideas? I haven't touched the nixos-config.
Download I get the attached error on my very first rebuild. As the welcome message suggested, I first did sudo nix-channel --update. Any ideas? I haven't touched the nixos-config.
14:58:28
@ottidmes:matrix.orgottidmes
In reply to @k900:0upti.me
It's probably the difference between wsl alexandra and wsl -e alexandra
In case you are interested to know. I think they expected a single executable for that configuration, creating a .bat file that is accessible on my PATH that had the wsl alejandra did solve it for me.
15:05:22
@nzbr:nzbr.denzbr (they/it)
In reply to @daver98:beeper.com
sent an image.
run sudo rm /tmp/.X11-unix once, after that it should work
15:08:01
@daver98:beeper.comdaver98
In reply to @nzbr:nzbr.de
run sudo rm /tmp/.X11-unix once, after that it should work
Thanks so much - this worked. Should I be submitting a bug for this?
15:32:25
@/yvan:matrix.orgYvan Sraka left the room.15:45:52
@nzbr:nzbr.denzbr (they/it)It's a known bug, so no need to. It will be fixed as soon as I have time for that16:52:08
@daver98:beeper.comdaver98
In reply to @nzbr:nzbr.de
It's a known bug, so no need to. It will be fixed as soon as I have time for that
Ok thanks again - really appreciate this project!
18:07:07
29 Feb 2024
@qwqawawow:matrix.org98765abcHas anyone tried using Nvidia-container+Podman+WSL2 ?17:17:52
@qwqawawow:matrix.org98765abc2c83f1fd17b84b8eabc12a9450dcad8f.png
Download 2c83f1fd17b84b8eabc12a9450dcad8f.png
18:34:54
@qwqawawow:matrix.org98765abcThis option is Deprecated (and didn't work on my NixOS-WSL)18:35:22
@qwqawawow:matrix.org98765abcvirtualisation.containers.cdi.dynamic.nvidia.enable would download linux kernel and build nvidia linux driver18:35:37
@qwqawawow:matrix.org98765abc
In reply to @qwqawawow:matrix.org
virtualisation.containers.cdi.dynamic.nvidia.enable would download linux kernel and build nvidia linux driver
That new option would genernate cdi config(https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/cdi-support.html)
18:36:26
@qwqawawow:matrix.org98765abcBut CDI genernater didn't work during to some reasone (I guess that would load WSL's nvidia.so?)18:38:20
@qwqawawow:matrix.org98765abccd4921d207cd4a5a9c65b5a6e31e6030.png
Download cd4921d207cd4a5a9c65b5a6e31e6030.png
18:38:28
@qwqawawow:matrix.org98765abc * But CDI genernater didn't work during to some reasone (I guess that won't load WSL's nvidia.so?)18:38:48
@qwqawawow:matrix.org98765abc * But CDI genernater didn't work during to some reason (I guess that won't load WSL's nvidia.so?)18:39:11
@qwqawawow:matrix.org98765abc * But CDI genernater didn't work during to some reason (I guess that won't load WSL's libnvidia-ml.so.1?)18:41:42
@qwqawawow:matrix.org98765abc* But CDI genernater didn't work due to some reason (I guess that won't load WSL's libnvidia-ml.so.1?)18:48:10
@qwqawawow:matrix.org98765abc* In reply to @qwqawawow:matrix.org virtualisation.containers.cdi.dynamic.nvidia.enable would download linux kernel and build nvidia linux driver That new option would genernate CDI config(https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/latest/cdi-support.html)18:54:11
@ss:someonex.netSomeoneSerge (back on matrix)
In reply to @qwqawawow:matrix.org
But CDI genernater didn't work due to some reason
(I guess that won't load WSL's libnvidia-ml.so.1?)
Oh cool, didn't know cdi on nixos under wsl was a thing. Pretty sure that's broken rn. Can you please open a gh issue about supporting this?
22:27:48
1 Mar 2024
@dvtkrlbs:matrix.org@dvtkrlbs:matrix.org joined the room.07:18:43
@qwqawawow:matrix.org98765abc
In reply to @ss:someonex.net
Oh cool, didn't know cdi on nixos under wsl was a thing. Pretty sure that's broken rn. Can you please open a gh issue about supporting this?
I created it https://github.com/nix-community/NixOS-WSL/issues/433
Sorry my English is not well.
08:48:37
@ss:someonex.netSomeoneSerge (back on matrix)
In reply to @qwqawawow:matrix.org
I created it https://github.com/nix-community/NixOS-WSL/issues/433
Sorry my English is not well.
Oh, I meant in NixOS/nixpkgs
09:01:28
@ss:someonex.netSomeoneSerge (back on matrix)I'll leave a comment on github09:03:00
@ss:someonex.netSomeoneSerge (back on matrix)Could you also include libcuda's and libnvidia-ml's location in WSL in the issue description, to establish the context09:03:49
@qwqawawow:matrix.org98765abcRedacted or Malformed Event09:39:09
@qwqawawow:matrix.org98765abc
In reply to @ss:someonex.net
Could you also include libcuda's and libnvidia-ml's location in WSL in the issue description, to establish the context
Sorry for my carelessness. I didn't enable wsl.useWindowsDriver=true....
09:40:31
@qwqawawow:matrix.org98765abc
In reply to @ss:someonex.net
Could you also include libcuda's and libnvidia-ml's location in WSL in the issue description, to establish the context
* Sorry for my carelessness. I didn't enable wsl.useWindowsDriver=true....
not a bug.... Sorry...
09:40:55
2 Mar 2024
@greg:thehellings.comgreg 04:43:25

Show newer messages


Back to Room ListRoom Version: 9