!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
29 Jan 2023
@nzbr:nzbr.deArson CopperflameThat looks promising! Do you know if that'll work with Intel iGPUs as well?07:55:59
@k900:0upti.meK900I couldn't get it to work on Intel because the driver requires some weird sonames we don't have in nixpkgs07:56:26
@k900:0upti.meK900I'm not sure why but they just dlopen a bunch of stuff07:56:49
@k900:0upti.meK900And it seems like all the vendors do that07:57:06
@k900:0upti.meK900But at least for AMD it's just openssl07:57:30
@k900:0upti.meK900Which we have07:57:32
@k900:0upti.meK900I haven't really looked into Nvidia because my only Nvidia system is an Optimus setup, and it tries to enumerate the Intel chip first07:58:36
@k900:0upti.meK900And that 07:58:45
@k900:0upti.meK900 * And that barfs07:58:47
@k900:0upti.meK900Uhh15:36:38
@k900:0upti.meK900
~
❯ cat /run/tmpfiles.d/x11.conf
# Note: This file is generated by WSL to prevent systemd-tmpfiles from removing /tmp/.X11-unix during boot.
15:36:40
@k900:0upti.meK900wot15:36:41
@k900:0upti.meK900I guess they don't link it with the systemd rule anymore15:38:59
30 Jan 2023
@k900:0upti.meK900https://github.com/nix-community/NixOS-WSL/commit/bbfe6ad9b877935ee74c98030193e557bcfed35405:58:22
@k900:0upti.meK900Ugh05:58:23
@k900:0upti.meK900Had to push directly to master05:58:27
@k900:0upti.meK900And another followup fix: https://github.com/nix-community/NixOS-WSL/pull/20805:59:14
@nzbr:nzbr.deArson Copperflame
In reply to @k900:0upti.me
https://github.com/nix-community/NixOS-WSL/commit/bbfe6ad9b877935ee74c98030193e557bcfed354
Both the default config as well as my config change that, therefore I forgot to update it here. So that one's my bad
09:04:07
@k900:0upti.meK900At least mine didn't so I spotted it immediately 09:07:34
@sandro:supersandro.deSandro 🐧
In reply to @k900:0upti.me
sent an image.
I could test it on wsl but I don't have that much time tbh
10:48:56
@k900:0upti.meK900Maybe wait for the staging merge then10:49:24
@k900:0upti.meK900That should have dzn by default10:50:09
@k900:0upti.meK900You'll still need to figure out the right LD_PRELOAD incantation though10:50:21
@sandro:supersandro.deSandro 🐧

K900: maybe something little to make a little bit nicer

 ▶ RUST_BACKTRACE=full /bin/init
thread 'main' panicked at 'Failed to set up logger...: Io(Os { code: 13, kind: PermissionDenied, message: "Permission denied" })', src/main.rs:126:21
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::result::unwrap_failed
   3: nixos_wsl_native_systemd_shim::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
13:53:25
@k900:0upti.meK900Oh wow how did you even do that13:53:43
@k900:0upti.meK900Or do you just mean running the shim with RUST_BACKTRACE=full in general?13:54:37
@k900:0upti.meK900That's not going to be very useful, we don't ever panic 13:54:56
@k900:0upti.meK900All the errors bubble up to main and THEN panic13:55:13
@k900:0upti.meK900So the backtrace will look exactly like this every time13:55:23
@k900:0upti.meK900But the error object itself will preserve context13:55:35

Show newer messages


Back to Room ListRoom Version: 9