| 7 Feb 2025 |
| @terrorjack:matrix.terrorjack.com left the room. | 22:28:04 |
| terrorjack joined the room. | 22:45:21 |
| 8 Feb 2025 |
| terrorjack set a profile picture. | 02:24:26 |
| terrorjack removed their profile picture. | 02:25:00 |
mwoodpatrickmx | 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 🐧 | There is no /usr/lib on NixOS | 12:55:35 |
Sandro 🐧 | os-release exists distro wide at /etc/os-release | 12:55:53 |
mwoodpatrickmx | Running 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 | It's not going to run the way you think | 17:25:32 |
K900 | Nested virt is not good, especially on WSL | 17:25:42 |
mwoodpatrickmx | Can you elaborate as to why I have none graphical qemu guests running without issue. | 17:28:18 |
K900 | 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 | But also NixOS on WSL doesn't have graphics acceleration working properly half the time | 17:35:39 |
| Marcel joined the room. | 20:26:11 |
| 9 Feb 2025 |
mwoodpatrickmx | Where can I find the bugs filed against graphics acceleration issues on WSL? | 12:44:25 |
mwoodpatrickmx | 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
How can I fix this?
| 12:48:08 |
mwoodpatrickmx | * 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 | 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 | 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 | NixOS specific issues I'm not seeing the same graphics issues on other Distributions | 12:53:36 |
K900 | I don't know if there's a specific issue | 12:54:05 |
K900 | But fundamentally it's just that Windows provides the Linux side d3d12 drivers | 12:54:28 |
K900 | And those are dynamically linked | 12:54:39 |
K900 | And don't work as-is on NixOS | 12:54:44 |
K900 | Actually I think recent Nvidia should work now? | 12:55:03 |
K900 | AMD definitely not | 12:55:15 |
K900 | Intel I don't have | 12:55:23 |
mwoodpatrickmx | I have Intel currently, hoping to get an NVidia digits system when released. Are there other NVidia systems where you think it might work? | 13:00:24 |
K900 | I don't think those Nvidia systems can even run Windows/ | 13:01:59 |
K900 | * I don't think those Nvidia systems can even run Windows? | 13:02:00 |