Open kryssb opened 4 years ago
Do you have a log of this or something? Use mintreport to report if possible.
Mintreport shows no errors. I could post a video instead. If there is a way to log DPI-scaling setting events I am willing to produce it, but I need instructions. Whatever I can do to support, including testing solutions, scripts, fixes, patches, I am willing to do. This is system info.
System: Kernel: 5.4.0-42-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.6.6
wm: muffin dm: LightDM Distro: Linux Mint 20 Ulyana base: Ubuntu 20.04 focal
Machine: Type: Convertible System: Dell product: XPS 13 9365 v: N/A serial:
Additional info: DPI scaling is also lost with Zoom conference because Zoom goes full screen; when leaving, scaling goes back to 1x and everything is very small.
Hi, it sounds like part of the problem here is that hidpi scaling is now part of the xrandr configuration, rather than a separate 'global' setting. I have a couple of ideas for mitigating this in these situations that I'll play around with.
Do have automatic screen rotation enabled?
Yes, the problem shows up when "Cinnamon Settings Daemon - xrandr" is active. When it is active, automatic rotation is available and every event that changes the screen configuration (including automatic rotations, Zoom full screen etc.) breaks DPI scaling. When "Cinnamon Settings Daemon - xrandr" is turned off, DPI scaling never breaks. If you have code to test I am available to try.
I am experiencing a similar issue and I bet it's related. I have a Dell Inspiron 7000 2in1 and connect to external displays at work and home. When connected to the docking station (D6000) everything works fine and I can run two external displays without issue. Connecting to a single display though through a HDMI to USB-C adapter sets the fractional scaling on both displays to 200%, which messes up the external monitor as it's not a high definition device. I cannot select the fractional scaling separately (it's greyed out), so either display is unusable. There is a reproducible solution however: Select some random setting, hit apply, then revert back to previous configuration. The select restore to defaults, et voila, scaling is set appropriately on both displays (100% on external, 200% on laptop screen). Whether this is a bug that fixes a bug, I am not sure. I should probably also mention that this only happens with certain displays that have relatively high resolution (below HD though), e.g. a slightly smaller screen (23" vs 24") didn't have the problem. Regards, M
Brief update on the situation: Various kernel updates in the 5.8 line have this problem in different versions. There is no consistency to it. In the latest iteration I can have both screens scaled appropriately using the method detailed above, however if I change which monitor is the primary display it will mess it all up again - in part because the above recovery method doesn't work I guess, i.e. if hit restore defaults primary and secondary restore to the default config too. No system reports, system info attached below.
Edit: I should also mention that the mouse pointer suffers from an annoying flicker on the HIDPI screen but behaves normally on the lower resolution external screen. This would suggest there's a rendering problem.
System: Kernel: 5.8.0-45-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 4.8.6
wm: muffin dm: LightDM Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal
Machine: Type: Convertible System: Dell product: Inspiron 7591 2n1 v: N/A serial:
Regarding your:
Edit: I should also mention that the mouse pointer suffers from an annoying flicker on the HIDPI screen but behaves normally on the lower resolution external screen. This would suggest there's a rendering problem.
I raised this as a separate issue last week (not having seen this comment), with the title:
Mouse pointer flickers at 200% scaling, with two monitors #12333
I would add that the mouse does not flicker at 175%. Which is lucky, as a workaround! (I'm also on a dell 7000 2-in-1)
Issue
On Dell XPS 13 2-in-1 notebook, Hi-DPI scaling is randomly broken (i.e. icons and text are very small) immediately after logging in; it is systematically broken if the notebook is rotated and the screen changes to vertical configuration.
Steps to reproduce
First way: 1) Keep "Cinnamon Settings Daemon - xrandr" activated with no delay 2) log in and out - approximately half of the times the DPI scaling is ignored and text and icons are very small. The bad behavior disappears if the "Cinnamon Settings Daemon - xrandr" is disabled; The bad behavior is highly mitigated if the "Cinnamon Settings Daemon - xrandr" starts 10s after login;
Second way: 1) With "Cinnamon Settings Daemon - xrandr" activated, rotate the notebook to cause screen reconfiguration to vertical mode: DPI scaling settings are ignored. 2) With "Cinnamon Settings Daemon - xrandr" activated, rotate the notebook to cause screen reconfiguration to horizontal mode: DPI scaling settings are ignored.
Expected behaviour
I would expect that DPI scaling is applied irrespective of the screen orientation. My impression is that DPI scaling is applied only at logon and in the monitor resolution dialog, and is ignored in any other automatic reconfiguration event.
Other information
Configuration info, if applicable If this bug report is related to an Applet, Desklet or Extension, please paste (or use a pastebin service) the offending extension's settings, if it has any. You can obtain this by opening its configuration, clicking the 'hamburger' button in the upper-right corner of the window, and selecting "Export to a file". Please be sure to review the contents and remove any personal data it may contain.