panics with Egl(DisplayNotSupported)
2gn opened this issue · 3 comments
2gn commented
nix run github:YaLTeR/niri
fails with the following error
same thing occurs with niri-flake
username@computer:~$ nix run github:YaLTeR/niri
2024-02-28T15:13:18.526064Z INFO niri: starting version 0.1.2 (unknown commit)
2024-02-28T15:13:18.726531Z DEBUG niri_config: loaded config from "/home/username/.config/niri/config.kdl"
thread 'main' panicked at src/main.rs:177:6:
called `Result::unwrap()` on an `Err` value: Egl(DisplayNotSupported)
stack backtrace:
0: rust_begin_unwind
1: core::panicking::panic_fmt
2: core::result::unwrap_failed
3: niri::main
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
System Information
- niri version: 0.2.1
- GPU: Intel HD Graphics 5500
- CPU: Intel Core i5-5200U
YaLTeR commented
Maybe you need to run with nixGL? Something like nix run --impure github:guibou/nixGL -- ./results/bin/niri
2gn commented
It worked...thanks
I don't know how to run nix run
compiled application with nixGL, so I searched for the binary in /nix/store and executed directly
YaLTeR commented
Yeah well I'm not very familiar with nix either, but glad you got it working