-
Notifications
You must be signed in to change notification settings - Fork 58
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
Handle surface scale parameter #57
Comments
Note that surface scale is integral, this is for very good reasons which you can read on wayland mailing lists. Non-integral scaling can be still done by setting output resolution with wlc_output_set_resolution. |
👍 for this all the way. This is what's preventing me, and everyone else with a modern display, from using SirCmpwn/sway. |
@JonathanReeve it helps as a workaround to set your display's resolution to half of the actual resolution in your sway config. That's what I do for my macbook. |
Hi. Could the scale parameter of wl_output be what we want?
|
That's partially related, but not the whole picture. |
Ok. Adding |
In order to do this, you need both scale parameter in wl_output and scale parameter in wl_surface. If surface scale == output scale, you don't need to do anything, the client is already rendering in native resolution. If surface scale > output scale, you need to downscale the surface. If surface scale < output scale, you need to scale the surface up. The scaling should be done during render phase in gles2.c, it won't affect anything else but visual output. The visible bounds probably need to be multiplied / divided accordingly. |
If/when hidpi is available I'd be more than willing to try it (sway + wlc) via Arch and/or AUR. Mildly unrelated my use case for hidpi is a dell 7370 where I would like to get my 2 external monitors + laptop screen all working (in sway) - I know configuration for multiple monitors may not entirely fall on wlc but if there are good resources for that and someone could point me to the docs that would be fantastic (again since I'll have 1 hidpi display and 2 non-hidpi displays) |
I would need access to such display, or at least someone willing to spare their time at IRC to write this feature myself. |
I can't do much for getting you a display of your own but I can be in IRC to assist in some capacity - very much willing to do bleeding edge stuff, I have all of X working so it's not like I'm relying on the wlc stack for my day-to-day operations (yet, but that's what I'd like) |
Apparently @SirCmpwn offered as black box tester for me as well. I won't probably be doing much this month though. |
Understood - whenever you get there, if I can be of any assistance let me know! |
Can I help? I started using Sway a week ago or so. I have a 14' FullHD display, and I'd love to see things a little bigger, without the blur of the output res hack that people suggest in the sway repo (add |
Regarding to the non integral scaling, |
Any progress on this? Using 12.5' FHD display stops me from moving to wayland/sway. |
I have been pretty busy till today, there's still issue on xwayland scale handling , I 'll try to fix it in few days. |
Let me know if you want me to try out any changes! I have a 13'' FHD On Fri, Jul 15, 2016, 05:59 ss1h2a3tw notifications@github.com wrote:
|
I am able to beta-test before it's pushed too. |
We have 4k 28" screens and FHD 15" laptops at work. I can beta-test too! |
See #173. Does this mean we can now scale without the windows blurring?? On Sat, Jul 30, 2016, 11:09 George Dobrovolsky notifications@github.com
|
@tinchou blurring will still happen when the client don't support surface scale bigger than 1 ex. weston-terminal |
Needed for hidpi clients and scaling non hidpi clients.
The text was updated successfully, but these errors were encountered: