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

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

Open
chmanie opened this issue May 24, 2024 · 2 comments
Open

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

chmanie opened this issue May 24, 2024 · 2 comments
Labels
bug Something isn't working has workaround

Comments

@chmanie
Copy link

chmanie commented May 24, 2024

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
Copy link
Owner

LGFae commented May 25, 2024

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
Copy link
Author

chmanie commented May 25, 2024

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.

@LGFae LGFae added the bug Something isn't working label May 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working has workaround
Projects
None yet
Development

No branches or pull requests

2 participants