Closed AlienJust closed 1 year ago
Thank you for reporting this. I'm not going to work on this myself, but maybe someone else can help out.
I also use sway wm and get a similar error with binocle 0.3.1
binocle tools.zip
[2023-06-09T11:08:12Z ERROR binocle::event_loop] pixels.render() failed: The GPU failed to acquire a surface frame.
sudo RUST_BACKTRACE=full binocle tools.zip
Authorization required, but no authorization protocol specified
thread 'main' panicked at 'Failed to initialize any backend! Wayland status: XdgRuntimeDirNotSet X11 status: XOpenDisplayFailed', /build/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.26.1/src/platform_impl/linux/mod.rs:619:9
stack backtrace:
0: 0x55d811d4db1a - <unknown>
1: 0x55d811d7019e - <unknown>
2: 0x55d811d4ad75 - <unknown>
3: 0x55d811d4d8e5 - <unknown>
4: 0x55d811d4f0cf - <unknown>
5: 0x55d811d4ee0b - <unknown>
6: 0x55d811d4f7d9 - <unknown>
7: 0x55d811d4f579 - <unknown>
8: 0x55d811d4dfcc - <unknown>
9: 0x55d811d4f282 - <unknown>
10: 0x55d811814213 - <unknown>
11: 0x55d811a1645a - <unknown>
12: 0x55d8119f01ca - <unknown>
13: 0x55d811845862 - <unknown>
14: 0x55d8118b7d01 - <unknown>
15: 0x55d81189eb53 - <unknown>
16: 0x55d81182d07d - <unknown>
17: 0x55d811d45e1c - <unknown>
18: 0x55d8118b7e7c - <unknown>
19: 0x7fa5337f6850 - <unknown>
20: 0x7fa5337f690a - __libc_start_main
21: 0x55d811814855 - <unknown>
22: 0x0 - <unknown>
Any idea why this is happening?
Hi, Im trying to run binocle under sway wm and got this:
binocle some_file.bin
WAYLAND_DEBUG=1 binocle some_file.bin
sudo RUST_BACKTRACE=full binocle some_file.bin