hyprpaper icon indicating copy to clipboard operation
hyprpaper copied to clipboard

Switching wallpapers causes hyprpaper crash

Open J4ckTh3R1pper opened this issue 2 years ago • 2 comments

I used a bash script to switch wallpaper using hyprpaper on workspace switches, but after a few switches the hyprpaper crashed, leaving the error message below:

[LOG] Submitting viewport dest size 1504x1002 for 68001890 [LOG] handlePreferredScale: 1.50 for 7ff768001890 zwlr_layer_surface_v1@52: error 0: wrong configure serial: 45405

Version: built from master WM: Hyprland, built from master bundled with HIDPI patched wlroots. It happens on both Arch Linux and NixOS.

J4ckTh3R1pper avatar Feb 16 '23 14:02 J4ckTh3R1pper

Is this the same issue I had in #45 ? What happens if you insert a delay of say 0.5s between switches?

2e0byo avatar Feb 24 '23 11:02 2e0byo

I've this problem too and I just wrote a systemd service file to have hyprpaper always restart after it crashes:

[Unit]
Description=Hyprpaper

[Service]
ExecStart=/usr/bin/hyprpaper
Restart=always

[Install]
WantedBy=default.target

Then systemctl enable --user hyprpaper; systemctl start --user hyprpaper

This has to be delayed by a bit after the user logs in

lenianiva avatar May 06 '23 00:05 lenianiva