linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.56k stars 744 forks source link

[BUG] Display settings are not saved after monitors wake from sleep #11114

Open avma opened 2 years ago

avma commented 2 years ago
 * Cinnamon version (cinnamon --version)
 * Cinnamon 5.4.11
   - Please specify if you are using the daily builds PPA - No
     (https://launchpad.net/~linuxmint-daily-build-team/+archive/ubuntu/daily-builds).
 * Distribution - Mint 21
* Graphics hardware *and* driver used
  ** Device-1: NVIDIA GP108 [GeForce GT 1030] vendor: Gigabyte driver: nvidia v: 515.65.01 pcie:
    speed: 8 GT/s lanes: 4 ports: active: none off: HDMI-A-1 empty: DVI-D-1 bus-ID: 06:00.0
    chip-ID: 10de:1d01
   **Display: x11 server: X.Org v: 1.21.1.3 driver: X: loaded: nvidia
    unloaded: fbdev,modesetting,nouveau,vesa gpu: nvidia display-ID: :0 screens: 1
   **Screen-1: 0 s-res: 4384x2466 s-dpi: 168
   **Monitor-1: HDMI-0 res: 4384x2466 dpi: 183 diag: 699mm (27.5")
   **OpenGL: renderer: NVIDIA GeForce GT 1030/PCIe/SSE2 v: 4.6.0 NVIDIA 515.65.01
    direct render: Yes
 *  64 bit
 * Attach ~/.xsession-errors, or /var/log/syslog

Issue

When the displays go to sleep and wake back up, the scaling is turned back to 100% and the window id resized wich makes it really hard to read on a hidipi 27.5 Samsung screen.

Steps to reproduce

  1. let the system go to sleep
  2. wake up the system
  3. there it is! Everything is so tiny...

Expected behavior

leave the original scaling ratio settings as it was (and all other settings) at 175%.

Other information

on wake up, if instead of entering my password, I do a 'ALT-CTRL-BACKSPACE', occasionally it will wake up normally, but it is not constant.

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.

Inrumpo commented 2 years ago

I'm experiencing the same issue. If my system comes back from suspend-mode after the lid was closed (notebook), the monitor scale will be reverted to 100% (instead of 125%).

etazeta commented 2 years ago

Same as Inrumpo.

Dell XPS 17 9700

futuretech6 commented 2 years ago

My Surface go 2 has the same bug, and I am sure it's caused by the screen saver. (After closing the screen saver, the monitor settings will not change waking from sleep)

etazeta commented 2 years ago

Hi. On my system I have never activated the screensaver while I have lock on sleep and the problem exists although it is not constant. On my system I have fingerprint login enabled and I have noticed that when I wake up it asks me for the fingerprint the system restarts fine while if it does not ask me for the fingerprint but the password then it forgets the settings. I hope this will help.

mtwebster commented 2 years ago

Hi, please take a look at this comment:

https://github.com/linuxmint/cinnamon-screensaver/issues/416#issuecomment-1256233029 Thanks

etazeta commented 2 years ago

Fixed on Dell XPS 17 9700 - many many thanks

futuretech6 commented 2 years ago

Works for me too. Thanks a lot.

Muhammad-Altabba commented 8 months ago

Hi, please take a look at this comment:

linuxmint/cinnamon-screensaver#416 (comment) Thanks

I updated and the issue now sometimes come and sometimes does not.

It resets the multiple screens configurations (including the percentage) upon suspend and resume.

Thanks,

Muhammad-Altabba commented 7 months ago

It is worth noting that not only the screens configurations are reset, but also the voice (both input and output) configuration is reset after waking up from sleep.

Muhammad-Altabba commented 7 months ago

Regarding the screens configuration: I noticed that when switching on of the screens off and then on, the last manual configuration is restored. So, currently after every turn on the computer forgot about the manual configuration that I made. Then I switch off then on one of the screens and the configuration that I made is used again.