LGFae / swww

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

Scaling issues (when using with way-displays?) #317

Open chmanie opened 5 months ago

chmanie commented 5 months ago

I am having a similar problem as #285 (the result looks similar).

I am using way-displays and here's how I start the daemons in the sway config:

exec way-displays > /tmp/way-displays.1.log 2>&1
exec swww-daemon > /tmp/swww-daemon.1.log 2>&1
exec swww img --transition-type fade --transition-duration 1 img.jpg

swww query also reports the wrong scale (should be 1.5):

eDP-1: 1440x900, scale: 2, currently displaying: image: img.jpg

Killing the swww-daemon and restarting it fixes the problem. I feel like there's a race condition going on when starting up.

Let me know if I can help somehow debugging this further.

LGFae commented 5 months ago

What version of swww are you using?

EDIT: also, to test if it really is a race condition, you could try doing something like:

exec sleep 1 && swww-daemon > /tmp/swww-daemon.1.log 2>&1
chmanie commented 5 months ago

What version of swww are you using?

Ah, sorry I forgot to mention that earlier, it's 0.9.5.

EDIT: also, to test if it really is a race condition, you could try doing something like:

Yes, that fixes it.