Closed YaLTeR closed 3 hours ago
Today it seems that even the "open project" window doesn't receive pointer input (it did when I tested it before).
I suspect this is similar to #15 and is caused by the window not being on an output located at 0,0.
I haven't tried with just a single output to eliminate the possibility, but I'm pretty sure I was trying in the "safe" area. Though, maybe if these windows moved themselves to unfortunate coordinates in the X11 space, it could happen I guess.
Pushed a fix for outputs at different locations, let me know if it works. (negative output coordinates are still broken for now)
I'm trying Steam, the input seems to work on my main monitor all the way now, but all popups are offset way to the right when on the main monitor:
The main monitor is at 1280, 0.
When on my laptop monitor (which is to the left and at 0, 0) the popups are where they are supposed to be.
Caught a new crash:
2024-06-30T15:41:21.434Z INFO xwayland_process > An output named 'HDMI-A-1' already existsAn output named 'DP-2' already existsamdgpu: The CS has been rejected, see dmesg for more information (-22).
2024-06-30T15:41:21.434Z INFO xwayland_process > (EE)
2024-06-30T15:41:21.434Z INFO xwayland_process > (EE) Backtrace:
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE) 0: Xwayland (0x561cf898d000+0x16a092) [0x561cf8af7092]
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE) 1: Xwayland (0x561cf898d000+0x16a195) [0x561cf8af7195]
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE) 2: /lib64/libc.so.6 (0x7fb0e7c13000+0x40710) [0x7fb0e7c53710]
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE) 3: /lib64/libc.so.6 (0x7fb0e7c13000+0x98144) [0x7fb0e7cab144]
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE) 4: /lib64/libc.so.6 (gsignal+0x1e) [0x7fb0e7c5365e]
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE) 5: /lib64/libc.so.6 (abort+0xdf) [0x7fb0e7c3b902]
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE) 6: /usr/lib64/dri/radeonsi_dri.so (0x7fb0e4a00000+0x945380) [0x7fb0e5345380]
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE) 7: /usr/lib64/dri/radeonsi_dri.so (0x7fb0e4a00000+0x9482d3) [0x7fb0e53482d3]
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE) 8: /usr/lib64/dri/radeonsi_dri.so (0x7fb0e4a00000+0x84ba1) [0x7fb0e4a84ba1]
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE) 9: /usr/lib64/dri/radeonsi_dri.so (0x7fb0e4a00000+0xa7c2c) [0x7fb0e4aa7c2c]
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE) 10: /lib64/libc.so.6 (0x7fb0e7c13000+0x961b7) [0x7fb0e7ca91b7]
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE) 11: /lib64/libc.so.6 (0x7fb0e7c13000+0x1183cc) [0x7fb0e7d2b3cc]
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE)
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE)
2024-06-30T15:41:21.437Z INFO xwayland_process > Fatal server error:
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE) Caught signal 6 (Aborted). Server aborting
2024-06-30T15:41:21.437Z INFO xwayland_process > (EE)
2024-06-30T15:41:21.764Z DEBUG xwayland_satellite::server::event > configuring toplevel 2560x1440, [5, 0, 0, 0, 6, 0, 0, 0, 7, 0, 0, 0, 8, 0, 0, 0, 4, 0, 0, 0, 2, 0, 0, 0]
thread '<unnamed>' panicked at /var/home/yalter/source/rs/xwayland-satellite/src/lib.rs:92:52:
called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
stack backtrace:
0: rust_begin_unwind
at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/std/src/panicking.rs:652:5
1: core::panicking::panic_fmt
at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/panicking.rs:72:14
2: core::result::unwrap_failed
at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/result.rs:1654:5
3: unwrap<(), std::io::error::Error>
at /rustc/129f3b9964af4d4a709d1383930ade12dfe7c081/library/core/src/result.rs:1077:23
4: {closure#0}<xwayland_satellite::RealData>
at ./src/lib.rs:92:9
Yikes, how'd you get that one?
Tried opening the talos principle 2 and un/fullscreening it a few times
If that's consistent can you open a separate bug? It's crashing inside Xwayland so I'd be a little surprised if my output changes caused this.
Can't seem to repro.
Sorry it took so long, but just pushed a fix for the offset popups.
Seemed to work at first, but after opening the steam friends window the popup positions went all screwed up again for some reason
Okay, I think I fixed the popups for real this time. There's still some weirdness in the Steam friends menu popup, but I opened another issue for that.
Appears to work now!
It sort of seems to receive keyboard input, but not pointer.
Lots of log, for UE5 you need to open and close windows a bunch of times to get to the editor.