for this laptop screen with a screen that 2560x1440 / 344mm x 194mm / 189dpi, I'd expect it to trigger 200% scaling, as without it, text is barely readable.
Actual behaviour
The display will be always stuck at 100%, forcing me to all the time, manually switch the scaling, every time I hook / unhook an external monitor (which can be multiple times a day, annoying).
I did some debugging, and the failt to auto detect seems linked to 2 criterea (defined ~4 years ago by @vkareh):
My laptop case seems to be turning into a common scenario with recent laptop models (eg: 1, 2). Based on these new common use cases, IMHO, this auto-detection needs to be updated to cover them, as they are super close to current thresholds.
My suggestion:
#define HIDPI_MIN_HEIGHT 1440 (match the common new resolution).
Expected behaviour
When setting scaling to "auto-detect"
for this laptop screen with a screen that 2560x1440 / 344mm x 194mm / 189dpi, I'd expect it to trigger 200% scaling, as without it, text is barely readable.
Actual behaviour
The display will be always stuck at 100%, forcing me to all the time, manually switch the scaling, every time I hook / unhook an external monitor (which can be multiple times a day, annoying).
I did some debugging, and the failt to auto detect seems linked to 2 criterea (defined ~4 years ago by @vkareh):
#define HIDPI_MIN_HEIGHT 1500
, monitor is 1440#define HIDPI_LIMIT (DPI_FALLBACK * 2)
(with DPI_FALLBACK being 96, this equals to 192), monitor is 189dpi.My laptop case seems to be turning into a common scenario with recent laptop models (eg: 1, 2). Based on these new common use cases, IMHO, this auto-detection needs to be updated to cover them, as they are super close to current thresholds.
My suggestion:
#define HIDPI_MIN_HEIGHT 1440
(match the common new resolution).#define HIDPI_LIMIT (DPI_FALLBACK * 2 * 90 * 100)
(give it ~10% room).An alternative could be to expose these values as dconf settings, that could be tweaked (eg: at Mate Tweak).
I have been using MATE in these conditions with scaling without any issues.
Steps to reproduce the behaviour
MATE general version
1.26.0
Package version
mate-settings-daemon-1.26.0
Linux Distribution
Ubuntu 22.04.1 LTS