swaywm / sway

i3-compatible Wayland compositor
https://swaywm.org
MIT License
14.74k stars 1.11k forks source link

Blurry scaling for native wayland apps #8131

Open maya-doshi opened 7 months ago

maya-doshi commented 7 months ago

image

akelmanson commented 6 months ago

You can enable fractional scaling in firefox by visiting the about:config page and setting the widget.wayland.fractional-scale.enabled preference.

sefidel commented 3 months ago

I can reproduce this issue, although foot is also affected on my end. Works fine on 1.8.1, bisected to v1.9-rc1 and the scaling is worse on v1.10. Possibly caused by fractional scaling changes made on wlroots 0.17?

1.8.1

1 8 1

1.9-rc1

1 9-rc1

1.10-dev

1 10-dev

maya-doshi commented 3 months ago

I've been on NixOS 24.05 and I thought the issue was gone. But it comes back at 1.0 scale on an external 4k monitor when there is an overlap between it and my 1.5 scaled laptop. Maybe it has to do with overlapping displays with different scaling?

sefidel commented 3 months ago

Hmm, I'm experiencing this issue on my internal display (at 1.25 scale factor) without any external displays connected.

maya-doshi commented 3 months ago

@sefidel it happened for me even when the external display was just in the outputs of the config and not actually plugged in. maybe i just found another way to trigger it 🤷‍♀️

GoldsteinE commented 2 months ago

Reproduces for me on 1.5 scale, no external displays. Kinda visible in foot, but much worse in Firefox.