LGFae / swww

A Solution to your Wayland Wallpaper Woes
GNU General Public License v3.0
2.26k stars 67 forks source link

Hyprland: swww crashes when connecting/disconnecting Monitor #196

Open Lightgaming opened 8 months ago

Lightgaming commented 8 months ago

When I connect / disconnect a Monitor from my Laptop, the swww daemon crashes and I have to run swww init again to see my wallpaper.

xk67 commented 5 months ago

Crash output with RUST_BACKTRACE=full set.

22:37:59 [INFO] (main) Initialization succeeded! Starting main loop...
22:37:59 [INFO] (main) Selected wl_shm format: Bgr888
22:37:59 [INFO] (transition) BumpPool with: 2 buffers. Size: 12150Kb
thread 'main' panicked at /build/swww-0.9.1-vendor.tar.gz/smithay-client-toolkit/src/output.rs:575:14:
Received event for dead output
stack backtrace:
   0:     0x560df063fd83 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::hc7227e0e319a0b38
   1:     0x560df05e72d0 - core::fmt::write::hab7a2cb9fb1eea10
   2:     0x560df061f482 - std::io::Write::write_fmt::h5d9ea37d99fc8ea3
   3:     0x560df064087e - std::sys_common::backtrace::print::h7ef6b9088506adf3
   4:     0x560df0640510 - std::panicking::default_hook::{{closure}}::h2be91e085f955e55
   5:     0x560df0641102 - std::panicking::rust_panic_with_hook::hcb0f9a863644f6c2
   6:     0x560df0640a80 - std::panicking::begin_panic_handler::{{closure}}::hb3736c891f535df7
   7:     0x560df06409d6 - std::sys_common::backtrace::__rust_end_short_backtrace::h5c867a2182e2e40a
   8:     0x560df06409cf - rust_begin_unwind
   9:     0x560df0596cf4 - core::panicking::panic_fmt::h71234a7826c31033
  10:     0x560df0597402 - core::option::expect_failed::hcbf5a9b7e22cab9f
  11:     0x560df05ad77d - wayland_client::event_queue::queue_callback::h517af87bdf03b25c
  12:     0x560df05d79ea - swww_daemon::main::heb52621d2f58aadb
  13:     0x560df05b5643 - std::sys_common::backtrace::__rust_begin_short_backtrace::h4e74c19e2daf693c
  14:     0x560df05e480e - main
  15:     0x7f06df02b10e - __libc_start_call_main
  16:     0x7f06df02b1c9 - __libc_start_main@@GLIBC_2.34
  17:     0x560df059cd55 - _start
  18:                0x0 - <unknown>
22:38:05 [INFO] (main) Removed socket at "/run/user/1000/swww.socket"