Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

swww is freezing mid-transition on some monitors until restarted #348

Open
muni-corn opened this issue Jul 30, 2024 · 7 comments
Open

swww is freezing mid-transition on some monitors until restarted #348

muni-corn opened this issue Jul 30, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@muni-corn
Copy link

swww version: swww 0.9.5-masterV2
wm: Hyprland 0.41.2+918d834

I have three monitors: my main 1440p monitor, and two 1080p monitors, one on each side of the main monitor. swww-daemon is setup as a user systemd service on my system.

I also have a timer to change the wallpaper every hour, and occasionally, swww will get stuck mid-transition on my two side monitors, but never my center monitor. And once it is stuck, further calls to swww img do not "unstuck" the side monitors. But the center monitor will still work and change wallpapers just fine.

So, my two side monitors will be stuck mid-transition indefinitely until I restart swww-daemon.

I'm not getting any apparent errors while swww-daemon is alive, but I noticed there are a ton of errors I get when the daemon exits. Here are the logs I gathered just before entering the command to stop swww-daemon:

journalctl --user-unit swww-daemon.service --follow
...
Jul 30 11:00:01 ponycastle swww-daemon[2269623]: 88241304ms [INFO]  (transition) BumpPool with: 23 buffers. Size: 139725Kb
Jul 30 11:00:01 ponycastle swww-daemon[2269623]: 88241308ms [INFO]  (transition) BumpPool with: 23 buffers. Size: 139725Kb
Jul 30 12:00:00 ponycastle swww-daemon[2269623]: 91840737ms [INFO]  (transition) BumpPool with: 24 buffers. Size: 145800Kb
Jul 30 12:00:00 ponycastle swww-daemon[2269623]: 91840742ms [INFO]  (transition) BumpPool with: 24 buffers. Size: 145800Kb
Jul 30 13:00:00 ponycastle swww-daemon[2269623]: 95440504ms [INFO]  (transition) BumpPool with: 25 buffers. Size: 151875Kb
Jul 30 13:00:00 ponycastle swww-daemon[2269623]: 95440507ms [INFO]  (transition) BumpPool with: 25 buffers. Size: 151875Kb
Jul 30 14:00:00 ponycastle swww-daemon[2269623]: 99040547ms [INFO]  (transition) BumpPool with: 26 buffers. Size: 157950Kb
Jul 30 14:00:00 ponycastle swww-daemon[2269623]: 99040551ms [INFO]  (transition) BumpPool with: 26 buffers. Size: 157950Kb
Jul 30 15:00:00 ponycastle swww-daemon[2269623]: 102640512ms [INFO]  (transition) BumpPool with: 27 buffers. Size: 164025Kb
Jul 30 15:00:00 ponycastle swww-daemon[2269623]: 102640515ms [INFO]  (transition) BumpPool with: 27 buffers. Size: 164025Kb
Jul 30 15:32:09 ponycastle systemd[6027]: Stopping swww daemon...
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569690ms [INFO]  (transition) BumpPool with: 28 buffers. Size: 170100Kb
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569711ms [INFO]  (transition) BumpPool with: 28 buffers. Size: 170100Kb
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: thread 'thread 'thread 'thread 'thread 'thread 'transitionthread 'transitionthread 'thread 'transition' panicked at transitiontransitiontransitionthread 'thread 'thread '' panicked at thread 'transitiontransition' panicked at transition' panicked at daemon/src/wallpaper.rs' panicked at ' panicked at transitiondaemon/src/wallpaper.rstransition' panicked at ' panicked at daemon/src/wallpaper.rstransitiontransition' panicked at :daemon/src/wallpaper.rsdaemon/src/wallpaper.rsdaemon/src/wallpaper.rs' panicked at :daemon/src/wallpaper.rsdaemon/src/wallpaper.rs:' panicked at daemon/src/wallpaper.rs464:' panicked at ::' panicked at 464daemon/src/wallpaper.rs::464::464daemon/src/wallpaper.rsdaemon/src/wallpaper.rs464464:daemon/src/wallpaper.rs:464:464:70464thread '::70::464::70::
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 70::
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 707046470transition:70464called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 70called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 464thread ':
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :70:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }:' panicked at :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }thread 'called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }thread ':called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }transition:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 70called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 70called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: daemon/src/wallpaper.rstransitiontransitioncalled `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 70:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: ' panicked at
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: ' panicked at ' panicked at :called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: daemon/src/wallpaper.rsdaemon/src/wallpaper.rsdaemon/src/wallpaper.rscalled `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }464
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: ::called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }:464464
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :::464
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 707070:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :thread 'called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: transition70called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }thread '' panicked at
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: transitiondaemon/src/wallpaper.rs:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: ' panicked at :called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }daemon/src/wallpaper.rs464:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :46470::
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: thread '70called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }transition
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: ' panicked at thread 'daemon/src/wallpaper.rsthread 'transition' panicked at :transitiondaemon/src/wallpaper.rs:464' panicked at 464::daemon/src/wallpaper.rs70:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 70:called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 464called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 70:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: thread 'thread 'thread 'animation spawneranimation spawneranimation spawner' panicked at ' panicked at daemon/src/animations/mod.rs' panicked at daemon/src/animations/mod.rs:daemon/src/animations/mod.rs:83:83:83:thread '17:17animation spawner:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 17:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: ' panicked at :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: a scoped thread panickeddaemon/src/animations/mod.rsa scoped thread panickeda scoped thread panicked
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 83:17:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: a scoped thread panicked
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: thread 'thread 'thread 'transitiontransitiontransition' panicked at ' panicked at ' panicked at daemon/src/wallpaper.rsdaemon/src/wallpaper.rsdaemon/src/wallpaper.rsthread ':::transition464464464' panicked at :::70daemon/src/wallpaper.rs7070:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }464
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :70:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: thread 'thread 'animation spawneranimation spawner' panicked at ' panicked at daemon/src/animations/mod.rsdaemon/src/animations/mod.rs::83:83thread '17:17:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: a scoped thread panickeda scoped thread panickedanimation spawner
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: thread '
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: ' panicked at thread 'daemon/src/animations/mod.rsanimation spawnerthread '' panicked at transitionthread ':thread 'daemon/src/animations/mod.rsthread '' panicked at thread 'thread 'animation spawneranimation spawner:animation spawnerdaemon/src/wallpaper.rsanimation spawner83' panicked at ' panicked at 83' panicked at :animation spawneranimation spawnerdaemon/src/animations/mod.rsdaemon/src/animations/mod.rs:thread '464daemon/src/animations/mod.rs:' panicked at thread '17:::animation spawner:' panicked at ' panicked at 17daemon/src/animations/mod.rs:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 708383' panicked at 83thread 'animation spawnerthread ':
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: thread ':
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :daemon/src/animations/mod.rsa scoped thread panicked:thread 'daemon/src/animations/mod.rsthread '::daemon/src/animations/mod.rsthread 'called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }animation spawneranimation spawnera scoped thread panicked17' panicked at animation spawner17
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: ::animation spawneranimation spawner1783animation spawner' panicked at
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: ' panicked at daemon/src/animations/mod.rs:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: ' panicked at :8383thread ':
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: ' panicked at ' panicked at :' panicked at daemon/src/animations/mod.rsa scoped thread panicked:daemon/src/animations/mod.rsa scoped thread panickeddaemon/src/animations/mod.rs:83a scoped thread panicked:animation spawnerdaemon/src/animations/mod.rsdaemon/src/animations/mod.rs:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: daemon/src/animations/mod.rs1783:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 17::
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 17' panicked at :83:::83:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 83:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 83:daemon/src/animations/mod.rs1717:a scoped thread panicked8383::17a scoped thread panicked:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: a scoped thread panicked17:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 17:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 17::a scoped thread panickedthread '
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 83
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: a scoped thread panickedthread 'a scoped thread panicked
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 1717animation spawner:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: animation spawnera scoped thread panicked:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: a scoped thread panicked:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: a scoped thread panicked' panicked at 17' panicked at
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: a scoped thread panickeddaemon/src/animations/mod.rsa scoped thread panicked
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: daemon/src/animations/mod.rs83a scoped thread panicked:17:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: :
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: a scoped thread panicked
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 83:17:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: a scoped thread panicked
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: thread 'animation spawner' panicked at daemon/src/animations/mod.rs:83:17:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: a scoped thread panicked
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: thread 'animation spawner' panicked at daemon/src/animations/mod.rs:83:17:
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: a scoped thread panicked
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569746ms [ERROR] (main) error destroying wp_viewport: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569746ms [ERROR] (main) error destroying wp_fractional_scale_v1: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569746ms [ERROR] (main) error destroying zwlr_layer_surface_v1: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569746ms [ERROR] (main) error destroying wl_surface: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569746ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569746ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569746ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569746ms [ERROR] (main) failed to destroy wl_shm_pool: Broken pipe (os error 32)
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) error destroying wp_viewport: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) error destroying wp_fractional_scale_v1: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) error destroying zwlr_layer_surface_v1: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) error destroying wl_surface: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569751ms [ERROR] (main) failed to destroy wl_shm_pool: Broken pipe (os error 32)
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569778ms [ERROR] (main) error destroying wp_viewport: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569778ms [ERROR] (main) error destroying wp_fractional_scale_v1: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569778ms [ERROR] (main) error destroying zwlr_layer_surface_v1: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569778ms [ERROR] (main) error destroying wl_surface: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569778ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569778ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569778ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569778ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569778ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569779ms [ERROR] (main) failed to destroy wl_shm_pool: Broken pipe (os error 32)
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569805ms [INFO]  (main) Removed socket at /run/user/1001/swww-wayland-1.socket
Jul 30 15:32:09 ponycastle swww-daemon[2269623]: 104569805ms [INFO]  (main) Goodbye!
Jul 30 15:32:09 ponycastle systemd[6027]: Stopped swww daemon.
Jul 30 15:32:09 ponycastle systemd[6027]: swww-daemon.service: Consumed 7.944s CPU time.
@muni-corn
Copy link
Author

muni-corn commented Jul 30, 2024

This seems related to #326! I can observe the same strange overlapping issue with the frozen images on my monitors.

If I try to use swww clear instead of restarting the daemon, the daemon crashes the next time I change wallpapers.

Here's what I did:

  1. Started swww-daemon
  2. Ran my wallpaper-changing script (randomly selects a wallpaper from a list and uses swww img) until my side monitors don't change as expected
  3. Ran swww clear
  4. Tried changing wallpapers again

Here are the logs I got throughout this process:

More journalctl logs
Jul 30 15:49:25 ponycastle systemd[6027]: Started swww daemon.
Jul 30 15:49:25 ponycastle swww-daemon[2923164]:        0ms [INFO]  (main) Selected wl_shm format: Bgr
Jul 30 15:49:25 ponycastle swww-daemon[2923164]:       56ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 6075Kb
Jul 30 15:49:25 ponycastle swww-daemon[2923164]:       59ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 6075Kb
Jul 30 15:49:25 ponycastle swww-daemon[2923164]:       71ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 10800Kb
Jul 30 15:49:28 ponycastle swww-daemon[2923164]:     3011ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 10800Kb
Jul 30 15:49:28 ponycastle swww-daemon[2923164]:     3011ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 6075Kb
Jul 30 15:49:28 ponycastle swww-daemon[2923164]:     3011ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 6075Kb
Jul 30 15:49:28 ponycastle swww-daemon[2923164]:     3028ms [INFO]  (transition) BumpPool with: 2 buffers. Size: 21600Kb
Jul 30 15:49:28 ponycastle swww-daemon[2923164]:     3028ms [INFO]  (transition) BumpPool with: 2 buffers. Size: 12150Kb
Jul 30 15:49:28 ponycastle swww-daemon[2923164]:     3032ms [INFO]  (transition) BumpPool with: 2 buffers. Size: 12150Kb
Jul 30 15:49:33 ponycastle swww-daemon[2923164]:     8187ms [INFO]  (transition) BumpPool with: 3 buffers. Size: 18225Kb
Jul 30 15:49:33 ponycastle swww-daemon[2923164]:     8190ms [INFO]  (transition) BumpPool with: 3 buffers. Size: 18225Kb
Jul 30 15:49:33 ponycastle swww-daemon[2923164]:     8191ms [INFO]  (transition) BumpPool with: 3 buffers. Size: 32400Kb
Jul 30 15:49:33 ponycastle swww-daemon[2923164]:     8220ms [INFO]  (transition) BumpPool with: 4 buffers. Size: 43200Kb
Jul 30 15:49:37 ponycastle swww-daemon[2923164]:    12346ms [INFO]  (clear) BumpPool with: 4 buffers. Size: 24300Kb
Jul 30 15:49:38 ponycastle swww-daemon[2923164]:    12351ms [INFO]  (clear) BumpPool with: 4 buffers. Size: 24300Kb
Jul 30 15:49:41 ponycastle swww-daemon[2923164]:    16059ms [INFO]  (transition) BumpPool with: 5 buffers. Size: 30375Kb
Jul 30 15:49:41 ponycastle swww-daemon[2923164]: thread 'main' panicked at daemon/src/wayland/interfaces.rs:53:13:
Jul 30 15:49:41 ponycastle swww-daemon[2923164]: Protocol error on interface wl_display. Code 1: invalid arguments for [email protected]_buffer
Jul 30 15:49:41 ponycastle swww-daemon[2923164]: note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Jul 30 15:49:41 ponycastle swww-daemon[2923164]:    16059ms [INFO]  (main) Removed socket at /run/user/1001/swww-wayland-1.socket
Jul 30 15:49:41 ponycastle systemd[6027]: swww-daemon.service: Main process exited, code=exited, status=101/n/a
Jul 30 15:49:41 ponycastle systemd[6027]: swww-daemon.service: Failed with result 'exit-code'.
Jul 30 15:49:41 ponycastle systemd[6027]: swww-daemon.service: Consumed 1.044s CPU time.
Jul 30 15:49:56 ponycastle systemd[6027]: swww-daemon.service: Scheduled restart job, restart counter is at 1.
Jul 30 15:49:56 ponycastle systemd[6027]: Started swww daemon.
Jul 30 15:49:56 ponycastle swww-daemon[2923474]:        0ms [INFO]  (main) Selected wl_shm format: Bgr
Jul 30 15:49:57 ponycastle swww-daemon[2923474]:      244ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 6075Kb
Jul 30 15:49:57 ponycastle swww-daemon[2923474]:      254ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 6075Kb
Jul 30 15:49:57 ponycastle swww-daemon[2923474]:      270ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 10800Kb

@Jas-SinghFSU
Copy link

Jas-SinghFSU commented Aug 8, 2024

Same here... It seems to not want to work on my primary monitor (ultra widescreen) and for every subsequent transition it fails, it seems to increase the buffer count and size. Additionally, when it fails and you quit swww it generates a bunch of broken pipe errors.

       0ms [INFO]  (main) Forced usage of wl_shm format: Xrgb
       0ms [INFO]  (main) Selected wl_shm format: Xrgb
      62ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 24000Kb
      71ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 14400Kb
      71ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 14400Kb
    3421ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 14400Kb
    3421ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 24000Kb
    3421ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 14400Kb
    3454ms [INFO]  (transition) BumpPool with: 2 buffers. Size: 28800Kb
    3454ms [INFO]  (transition) BumpPool with: 2 buffers. Size: 48000Kb
    3464ms [INFO]  (transition) BumpPool with: 2 buffers. Size: 28800Kb
   58409ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 48000Kb
   58442ms [INFO]  (transition) BumpPool with: 2 buffers. Size: 48000Kb
   60866ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 28800Kb
   60866ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 48000Kb
   60866ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 28800Kb
   60899ms [INFO]  (transition) BumpPool with: 2 buffers. Size: 28800Kb
   60899ms [INFO]  (transition) BumpPool with: 2 buffers. Size: 48000Kb
   60907ms [INFO]  (transition) BumpPool with: 2 buffers. Size: 28800Kb
   65047ms [INFO]  (transition) BumpPool with: 1 buffers. Size: 48000Kb
   65081ms [INFO]  (transition) BumpPool with: 2 buffers. Size: 48000Kb
  125395ms [INFO]  (transition) BumpPool with: 3 buffers. Size: 72000Kb
  135874ms [INFO]  (transition) BumpPool with: 4 buffers. Size: 96000Kb
  139090ms [INFO]  (transition) BumpPool with: 5 buffers. Size: 120000Kb
  143029ms [INFO]  (transition) BumpPool with: 6 buffers. Size: 144000Kb
  146262ms [INFO]  (transition) BumpPool with: 7 buffers. Size: 168000Kb
  174521ms [INFO]  (clear) BumpPool with: 8 buffers. Size: 192000Kb
  180794ms [INFO]  (transition) BumpPool with: 9 buffers. Size: 216000Kb
  190586ms [INFO]  (clear) BumpPool with: 3 buffers. Size: 43200Kb
  190594ms [INFO]  (clear) BumpPool with: 3 buffers. Size: 43200Kb
  190602ms [INFO]  (clear) BumpPool with: 10 buffers. Size: 240000Kb
  191081ms [INFO]  (clear) BumpPool with: 4 buffers. Size: 57600Kb
  191089ms [INFO]  (clear) BumpPool with: 4 buffers. Size: 57600Kb
  191096ms [INFO]  (clear) BumpPool with: 11 buffers. Size: 264000Kb
  191306ms [INFO]  (clear) BumpPool with: 5 buffers. Size: 72000Kb
  191314ms [INFO]  (clear) BumpPool with: 5 buffers. Size: 72000Kb
  191322ms [INFO]  (clear) BumpPool with: 12 buffers. Size: 288000Kb
  191486ms [INFO]  (clear) BumpPool with: 6 buffers. Size: 86400Kb
  191494ms [INFO]  (clear) BumpPool with: 6 buffers. Size: 86400Kb
  191502ms [INFO]  (clear) BumpPool with: 13 buffers. Size: 312000Kb
^C  202580ms [INFO]  (transition) BumpPool with: 7 buffers. Size: 100800Kb
  202581ms [INFO]  (transition) BumpPool with: 14 buffers. Size: 336000Kb
  202591ms [INFO]  (transition) BumpPool with: 7 buffers. Size: 100800Kb
thread 'thread 'transitiontransition' panicked at ' panicked at daemon/src/wallpaper.rsdaemon/src/wallpaper.rs::464464::7070:
:
called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }

note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread 'thread 'animation spawneranimation spawner' panicked at ' panicked at daemon/src/animations/mod.rsdaemon/src/animations/mod.rs::8383::1717:
:
a scoped thread panickeda scoped thread panicked

thread 'transition' panicked at daemon/src/wayland/bump_pool.rs:147:87:
called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
thread 'transition' panicked at daemon/src/wallpaper.rs:440:45:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread 'clear' panicked at daemon/src/wallpaper.rs:440:45:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread 'animation spawner' panicked at daemon/src/animations/mod.rs:83:17:
thread 'a scoped thread panickedtransition
' panicked at daemon/src/wallpaper.rs:440:45:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
thread 'transitionthread '' panicked at animation spawnerdaemon/src/wallpaper.rs' panicked at :daemon/src/animations/mod.rs440::8345::
17called `Result::unwrap()` on an `Err` value: PoisonError { .. }:

a scoped thread panicked
thread 'transition' panicked at daemon/src/wallpaper.rsthread ':animation spawner440' panicked at :daemon/src/animations/mod.rs45::
83called `Result::unwrap()` on an `Err` value: PoisonError { .. }:
17:
a scoped thread panicked
thread 'transition' panicked at daemon/src/wallpaper.rs:440:thread '45animation spawner:
' panicked at called `Result::unwrap()` on an `Err` value: PoisonError { .. }daemon/src/animations/mod.rs
:83:17:
a scoped thread panicked
thread 'clear' panicked at thread 'daemon/src/wallpaper.rsanimation spawner:' panicked at 440daemon/src/animations/mod.rs::4583:
:called `Result::unwrap()` on an `Err` value: PoisonError { .. }17
:
a scoped thread panicked
thread 'thread 'transitionclear' panicked at ' panicked at daemon/src/wallpaper.rsdaemon/src/wallpaper.rs::464440::7045:
:
called `Result::unwrap()` on an `Err` value: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }called `Result::unwrap()` on an `Err` value: PoisonError { .. }

thread 'clear' panicked at daemon/src/wallpaper.rs:440:45:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }thread '
animation spawner' panicked at daemon/src/animations/mod.rs:83:17:
thread 'a scoped thread panickedclear
' panicked at daemon/src/wallpaper.rs:440:45:
called `Result::unwrap()` on an `Err` value: PoisonError { .. }
  202607ms [ERROR] (main) error destroying wl_surface: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202607ms [ERROR] (main) error destroying wp_viewport: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202607ms [ERROR] (main) error destroying wp_fractional_scale_v1: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202607ms [ERROR] (main) error destroying zwlr_layer_surface_v1: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202608ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202608ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202608ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202608ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202608ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202608ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202608ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202608ms [ERROR] (main) failed to destroy wl_shm_pool: Broken pipe (os error 32)
  202621ms [ERROR] (main) error destroying wl_surface: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202621ms [ERROR] (main) error destroying wp_viewport: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202621ms [ERROR] (main) error destroying wp_fractional_scale_v1: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202621ms [ERROR] (main) error destroying zwlr_layer_surface_v1: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202622ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202622ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202622ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202622ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202622ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202622ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202622ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202622ms [ERROR] (main) failed to destroy wl_shm_pool: Broken pipe (os error 32)
  202635ms [ERROR] (main) error destroying wl_surface: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) error destroying wp_viewport: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) error destroying wp_fractional_scale_v1: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) error destroying zwlr_layer_surface_v1: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202635ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202636ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202636ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202636ms [ERROR] (main) failed to destroy wl_buffer: Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }
  202636ms [ERROR] (main) failed to destroy wl_shm_pool: Broken pipe (os error 32)
  202680ms [INFO]  (main) Removed socket at "/run/user/1000/swww-wayland-1.socket"
  202680ms [INFO]  (main) Goodbye!

Seems to happen very frequently.

@LGFae
Copy link
Owner

LGFae commented Aug 12, 2024

This seems to be a problem when using multiple monitors of different resolution. I appears we may be building the shared memory pool wrong when this happens.

@LGFae LGFae added the bug Something isn't working label Aug 12, 2024
@AhJi26
Copy link
Contributor

AhJi26 commented Oct 24, 2024

@LGFae Actually, img change sucked half way even if I'm using only one monitor some time. And I noticed that if I'm running swww img manually on a terminal, it's more likely to work fine. But when I do the same in a shell script, a wallpaper change is like a roll of the dice.🙁 So IDK if it's a multi monitor issue.

@muni-corn
Copy link
Author

As of swww 0.9.5-masterV2 I don't seem to have this issue anymore 😁

@uwidev
Copy link

uwidev commented Nov 27, 2024

I still have the issue as of the latest version on arch git (0.9.5.r172.g0db3f4e-1).

My behavior seems to slightly differ but seems somewhat related. My BumpPool buffer slowly and somewhat inconsistently until eventually crashing because of memory.

When I run swww by itself (and not within a script), it seems to transition mostly fine while still climbing in memory.

However when brought into a script, it starts to freeze mid-transition. This mostly seems to occur when doing somewhat heavy operations after invoking swww.

In my case, it was swww -> wallust (pywal, but more powerful) -> reload hyprland.

When I commented out wallust and the reloading of hyprland, transitions worked. When I added a ~2s sleep before moving on, that also helped with transitions. the BumpPool buffer kept on rising, however.

I also have a dual monitor setup with different resolutions. On my laptop, it is up to date and it does not appear to have this issue. So maybe it does have something to do with that, as stated in an earlier post.

What is strange is that this only started occurring rather recently. I did an oopsie and blew up my linux, so I had to reinstall it from scratch. I don't remember being THAT out of date with swww, as the last time I did a system upgrade was less than 2 weeks ago. So that implies that something changed from those two weeks ago, or I set something up incorrectly compared to my previous system; and that incorrect setup is doing weird things with swww.

@LGFae
Copy link
Owner

LGFae commented Nov 27, 2024

So that implies that something changed from those two weeks ago, or I set something up incorrectly compared to my previous system; and that incorrect setup is doing weird things with swww.

swww last update was in the end of October. That said, it could be that something else in the stack changed, and has exposed a problem that was hidden before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants