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

HiDPI - expected resolution not applied under scaled output #134

Open
ChrisRenfrow opened this issue Jun 4, 2024 · 2 comments
Open

HiDPI - expected resolution not applied under scaled output #134

ChrisRenfrow opened this issue Jun 4, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@ChrisRenfrow
Copy link

I saw #15 but am unsure whether this is related or a different issue.

I am using a dual monitor setup, one scaled by 1.5x, the other not scaled at all. When images are opened by swayimg in any terminal (Alacritty, foot) under the scaled output, swayimg is very blurry. If opened under the unscaled output, the resolution is as expected.

Scaled 1.5x (595x325):
2024-06-04-140226_grim
Un-scaled (596x258):
2024-06-04-140203_grim

These screen-grabs are roughly the same width (see dimensions) so it should accurately demonstrate the issue. I am using version 2.2 of swayimg with the default config outside of font selection and setting a background color. Let me know if there's any additional information I can provide that may help!

@artemsen artemsen self-assigned this Jun 5, 2024
@artemsen artemsen added the bug Something isn't working label Jun 5, 2024
@artemsen
Copy link
Owner

I reproduced the bug.
But at the moment I have no idea how to fix this =)
For some reason, composer doesn't send the scaling factor for one of my displays, so the image buffer defaults to a 1:1 ratio.

@ChrisRenfrow
Copy link
Author

No worries! Thanks for taking the time to look into it. :)

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

2 participants