-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Apps crash if sway output scaling is not equal to 1 #6014
Comments
Duplicate of swaywm/swaylock#166 |
Hm, that's news to me. |
Can you get a |
Sure: https://gist.github.com/gmykhailiuta/b5c3879e80c8f6e3f5aef4706b121872. |
Firefox version: 85.0.2-1 Chromium works fine on scale >1, but crashes if gets rescaled to 1. Switching between 1.25 <-> 1.5, as well as 1-> 1.25 and 1->1.5 works fine. |
Maybe it's possible to revert swaywm/wlroots@91fa2ff until the proper fix/workaround is implemented? |
@heroin-moose, wouldn't it be easier to build and install the older version, which does not include that commit? For instance, wlroots 0.12.0.r322.g9396d843-1 and sway r6590.169b90f9-1 work fine for me. |
Well yeah, but since this affects everyone with HiDPI screens I believe it would be easier to place a "fix" in one place. |
FYI, this also affects programs that create the buffer first and then resize it with the proper scaling and height/width after entering the surface (like https://github.com/eXeC64/imv does). If I understand correctly that's an application bug, but just in case. |
A libwayland-cursor bug [1] makes many clients crash. [1]: https://gitlab.freedesktop.org/wayland/wayland/-/issues/194 Fixes: 91fa2ff ("surface: check buffer size is compatible with scale") Closes: swaywm/sway#6014
Thanks! Works perfectly fine for me with wlroots 0.12.0.r344.g641c223d-1. |
Sway Version:
Debug Log:
Configuration File:
Steps to reproduce:
/usr/bin/sway -d --config /etc/sway/config $@ &>>/tmp/sway-debug.log
swaylock -f
. It will work as expected.swaymsg output eDP-1 scale 1.25
(also tried with scale 2).swaylock -f
.wl_surface@16: error 2: Buffer size not divisible by scale
Also, at least Firefox, Wofi and Sublime Text 3 crash once mouse pointer gets over any input field. But only if scale is not equal to 1. Error message:
Presumably, breaking change was introduced after next upgrades:
But few other things also got updated. Would pacman logs be valuable?
The text was updated successfully, but these errors were encountered: