!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

338 Members
https://github.com/nix-community/NixOS-WSL57 Servers

Load older messages


SenderMessageTime
6 Feb 2025
@rosssmyth:matrix.orgrosssmythoh I'm stupid ignore my messages 😓15:47:21
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (Gand St. Pieters) to SomeoneSerge (UTC+U[-12,12]).17:49:11
7 Feb 2025
@nzbr:nzbr.denzbr (they/it) rosssmyth: I had looked at it, but could not figure out what could have happened here (my buest guess would have been that microsoft made another attempt at loadable kernel modules). At least I don't have to figure it out now 😅. Still I'm curious how that happened 08:53:52
@rosssmyth:matrix.orgrosssmythI did not type "sudo"17:49:56
@nzbr:nzbr.denzbr (they/it)oh well happens xD18:03:26
@mellow_yellow:matrix.org@mellow_yellow:matrix.org left the room.19:09:32
@terrorjack:matrix.terrorjack.com@terrorjack:matrix.terrorjack.com left the room.22:28:04
@terrorjack:matrix.orgterrorjack joined the room.22:45:21
8 Feb 2025
@terrorjack:matrix.orgterrorjack set a profile picture.02:24:26
@terrorjack:matrix.orgterrorjack removed their profile picture.02:25:00
@mwoodpatrickmx:matrix.orgmwoodpatrickmx

I'm having a problem adding quickgui to my NixOS flake its failing with:

	[   +5 ms] Failed obtaining PRETTY_NAME for Linux: PathNotFoundException: Cannot open file, path = '/usr/lib/os-release' (OS Error: No such file or directory, errno = 2)

Indeed the path /usr/lib/os-release does not exist on my NixOS install which is running as a WSL-2 distro. Should this file exist any suggestions as to why its missing or best way to debug?

12:46:18
@sandro:supersandro.deSandro 🐧There is no /usr/lib on NixOS12:55:35
@sandro:supersandro.deSandro 🐧os-release exists distro wide at /etc/os-release12:55:53
@mwoodpatrickmx:matrix.orgmwoodpatrickmxRunning qemu on wsl-2 using: nix run microvm#graphics neverball I'm getting the following errors does anyone have any suggestions on how to fix/debug: [2025-02-08T17:04:33.342691105+00:00 ERROR gpu_display::gpu_display_wl] missing interface linux_dmabuf [2025-02-08T17:04:33.342796044+00:00 ERROR devices::virtio::gpu] failed to open display: failed to connect to compositor [2025-02-08T17:04:33.342816203+00:00 ERROR devices::virtio::gpu] failed to open display: unsupported by the implementation 17:18:51
@k900:0upti.meK900It's not going to run the way you think 17:25:32
@k900:0upti.meK900Nested virt is not good, especially on WSL 17:25:42
@mwoodpatrickmx:matrix.orgmwoodpatrickmxCan you elaborate as to why I have none graphical qemu guests running without issue.17:28:18
@k900:0upti.meK900
In reply to @mwoodpatrickmx:matrix.org
Can you elaborate as to why I have none graphical qemu guests running without issue.
Because you're trying to do nested virtualization, that's inherently problematic
17:35:26
@k900:0upti.meK900But also NixOS on WSL doesn't have graphics acceleration working properly half the time 17:35:39
@marcel:envs.netMarcel joined the room.20:26:11
9 Feb 2025
@mwoodpatrickmx:matrix.orgmwoodpatrickmxWhere can I find the bugs filed against graphics acceleration issues on WSL?12:44:25
@mwoodpatrickmx:matrix.orgmwoodpatrickmxIn my NixOS WSL distro the /etc/groups file shows kvm:x:302 But ls -l /dev/kvm crw-rw---- 1 root 104 10, 232 Feb 9 04:14 /dev/kvm How can I fix this? 12:48:08
@mwoodpatrickmx:matrix.orgmwoodpatrickmx* In my NixOS WSL distro the /etc/groups file shows kvm:x:302 But ls -l /dev/kvm crw-rw---- 1 root 104 10, 232 Feb 9 04:14 /dev/kvm Other distros (e.g. Debian) show the correct group id. How can I fix this in NixOs? 12:49:58
@k900:0upti.meK900
In reply to@mwoodpatrickmx:matrix.org
Where can I find the bugs filed against graphics acceleration issues on WSL?
Do you mean upstream issues or NixOS specific issues?
12:51:24
@k900:0upti.meK900
In reply to@mwoodpatrickmx:matrix.org
In my NixOS WSL distro the /etc/groups file shows kvm:x:302 But ls -l /dev/kvm crw-rw---- 1 root 104 10, 232 Feb 9 04:14 /dev/kvm Other distros (e.g. Debian) show the correct group id. How can I fix this in NixOs?
It doesn't do that for me
12:52:01
@mwoodpatrickmx:matrix.orgmwoodpatrickmxNixOS specific issues I'm not seeing the same graphics issues on other Distributions12:53:36
@k900:0upti.meK900I don't know if there's a specific issue12:54:05
@k900:0upti.meK900But fundamentally it's just that Windows provides the Linux side d3d12 drivers12:54:28
@k900:0upti.meK900And those are dynamically linked12:54:39
@k900:0upti.meK900And don't work as-is on NixOS12:54:44

Show newer messages


Back to Room ListRoom Version: 9