hyprwm / Hyprland

Hyprland is an independent, highly customizable, dynamic tiling Wayland compositor that doesn't sacrifice on its looks.
https://hyprland.org
BSD 3-Clause "New" or "Revised" License
21.97k stars 913 forks source link

Virtual superresolution. #1882

Open grappas opened 1 year ago

grappas commented 1 year ago

I know that the project is still early in development and you have plenty more important jobs to be done, but... It would be awesome to set higher resolution than monitor can handle, but it would be scaled down to it. I'll give you an example:

I have two monitors: one HD (DPi unscaled) other 4K (2x scale). There are plenty bugs and inconveniences according to this setup like Qt5 transition bugs where whole windows flickers, blurs, sometimes renders them unusable or ugly, blurry xwayland apps. But if I would set 4K resolution, set DPi 2x and downscale it to HD I could've have 2 conform screens, with the same DPi. I could've set xwayland apps to scale them 2x in DPi also that wouldn't grow enormous on that HD display. According to this there should be a way to disable wm xwayland scaling.

We could also gain some stupid yet effective antialiasing ( ͡° ͜ʖ ͡°)

coatlessali commented 1 year ago

This is the only thing I have Xorg still on my system for. On my CRT monitor, I can't display 240p unless it's a resolution of 2560x240 in order to meet the minimum pixel clock for my HDMI adapter and GPU, which scales from 320x240.

gfhdhytghd commented 1 year ago

I meet some thing like this too, when I move my windows from 1080p to hidpi display, it still rendered in low dpi and look like a piece of shit

Acumane commented 1 year ago

The PPI on my screen is high enough to make most text feel a touch too large. When scaling <1 on most DEs/WMs (incl. Hyprland), conventional antialiasing just isn't enough. This would be a welcome change +1

ThatOneCalculator commented 6 months ago

+1 on this -- would also be great for temporarily enabling a 2-4x resolution for screenshots