cassidyjames / dippi

Calculate display info like DPI and aspect ratio
https://cassidyjames.com/dippi
GNU General Public License v3.0
74 stars 26 forks source link

Suggest a fractional scales for imperfect DPIs #129

Open Kekun opened 2 months ago

Kekun commented 2 months ago

I have devices with DPIs imperfect for integer scaling, Dippi helps me to know that but it doesn't help me know what scaling is the best for that device, even if that means using fractional scaling which isn't perfectly supported yet.

I'd love to see the Very Low DPI, Fairly Low DPI, Potentially Problematic, Fairly High DPI and Very High DPI messages be more usful and less judgmental of my otherwise perfectly fine hardware.

E.g. I have a laptop with a 14" 3840×2160 screen, Dippi tells me its 314 DPI is fairly high, it's 16:9 and it's equivalent to 1920×1080@2x. What I'd love for Dippi to tell me in such a case is:

Of course GNOME doesn't officially support fractional scaling yet, but this isn't just about GNOME nor Linux.

AdrianVovk commented 1 month ago

Target logical DPI for laptops is something that's ultimately going to be DE-specific.

Anyway, for Mutter and thus GNOME you can find the target values here: https://gitlab.gnome.org/GNOME/mutter/-/blob/422ee451/src/backends/meta-monitor.c#L1845-1867