Supreeeme / xwayland-satellite

Xwayland outside your Wayland
Mozilla Public License 2.0
210 stars 10 forks source link

`Unhandled shmpool request`, xwayland-satellite not starting #52

Closed Serverator closed 2 months ago

Serverator commented 2 months ago

When I try to start xwayland-satellite the console is filled with this:

 2024-09-10T19:00:12.369Z WARN  xwayland_satellite::server::dispatch > unhandled shmpool request: Resize { size: 6912 }
 2024-09-10T19:00:12.369Z WARN  xwayland_satellite::server::dispatch > unhandled shmpool request: Resize { size: 16128 }
 2024-09-10T19:00:12.369Z WARN  xwayland_satellite::server::dispatch > unhandled shmpool request: Resize { size: 34560 }
 2024-09-10T19:00:12.369Z WARN  xwayland_satellite::server::dispatch > unhandled shmpool request: Resize { size: 71424 }
 2024-09-10T19:00:12.369Z WARN  xwayland_satellite::server::dispatch > unhandled shmpool request: Resize { size: 145152 }
 2024-09-10T19:00:12.369Z WARN  xwayland_satellite::server::dispatch > unhandled shmpool request: Resize { size: 292608 }
 2024-09-10T19:00:12.369Z WARN  xwayland_satellite::server::dispatch > unhandled shmpool request: Resize { size: 587520 }
 2024-09-10T19:00:12.369Z WARN  xwayland_satellite::server::dispatch > unhandled shmpool request: Resize { size: 1177344 }

It fails to start, but it does not panic and just hangs up like this. Running the main branch with cargo run

I am on niri (tried both on latest commit 087a50a and release v0.1.8)

Supreeeme commented 2 months ago

What Xwayland version?

Serverator commented 2 months ago

Xwayland is v24.1.2

Serverator commented 2 months ago

Also a small addition: Sometimes it does properly launch, but 95% of the time it throws unhandled shmpool request errors and fails. I just have to keep restarting it until it properly starts working.

Supreeeme commented 2 months ago

Okay I have absolutely no idea how you're hitting that because Xwayland doesn't even seem to resize wl_shm_pools anywhere, but I added something that should fix it anyway. Feel free to reopen if it's not fixed.