You are not logged in.

#1 2017-10-13 08:10:08

windy
Member
Registered: 2013-11-10
Posts: 46

Wrong display resolution after screen lock / standby

Hello,

when I lock my screen, the display is going into standby mode. Sometimes, but not always, the display resolution is different when I try to unlock the screen again. The corresponding log looks like:

gnome-shell[1316]: Failed to use stored monitor configuration: Invalid mode 2560x1440 (59,950550) for monitor 'DEL DELL U2715H'
/usr/lib/gdm/gdm-x-session[1269]: (II) intel(0): resizing framebuffer to 2048x1152
/usr/lib/gdm/gdm-x-session[1269]: (II) intel(0): switch to mode 2048x1152@60.0 on DP1 using pipe 0, position (0, 0), rotation normal, reflection none

Turning the display off and on again fixes the issue:

/usr/lib/gdm/gdm-x-session[1269]: (II) intel(0): EDID vendor "DEL", prod id 53350
/usr/lib/gdm/gdm-x-session[1269]: (II) intel(0): Using hsync ranges from config file
/usr/lib/gdm/gdm-x-session[1269]: (II) intel(0): Using vrefresh ranges from config file
/usr/lib/gdm/gdm-x-session[1269]: (II) intel(0): Printing DDC gathered Modelines:
/usr/lib/gdm/gdm-x-session[1269]: (II) intel(0): Modeline "2560x1440"x0.0  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync (88.8 kHz eP)
/usr/lib/gdm/gdm-x-session[1269]: (II) intel(0): Modeline "1920x1080"x0.0  148.50  1920 2008 2052 2200  1080 1084 1089 1125 +hsync +vsync (67.5 kHz e)
...

Could this be related to a recent kernel upgrade?

lspci reports the VGA device as:

Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06)

Offline

#2 2017-10-14 06:52:26

brainfucksec
Member
Registered: 2017-03-01
Posts: 40
Website

Re: Wrong display resolution after screen lock / standby

If the problem arises after upgrade, try to reinstall the driver video.

Last edited by brainfucksec (2017-10-14 06:56:34)


--= [ |<!55 ]=--

Offline

#3 2017-10-14 07:32:39

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: Wrong display resolution after screen lock / standby

As a workaround try adding  /etc/X11/xorg.conf.d/11-monitor.conf

Section "Monitor"
	Identifier "DP1"
        Modeline "2560x1440_60.00"  241.50  2560 2608 2640 2720  1440 1443 1448 1481 +hsync -vsync
        Option "PreferredMode" "2560x1440_60.00"
EndSection

It smells as if gnome tries to be smart and updates the resolution when leaving dpms but the monitor hasn't (always) woken up and doesn't respond to EDID/DDC queries

Offline

#4 2017-10-16 15:06:38

windy
Member
Registered: 2013-11-10
Posts: 46

Re: Wrong display resolution after screen lock / standby

Thanks for the suggestion with the hardcoded config, but it did not work. Now the display stays black and I have to reboot. sad

Offline

#5 2017-10-16 15:09:21

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: Wrong display resolution after screen lock / standby

"Stays black" after the lock or right at booting?

Offline

#6 2017-10-16 18:53:22

windy
Member
Registered: 2013-11-10
Posts: 46

Re: Wrong display resolution after screen lock / standby

After the lock. Switching to the console is not possible. There are no suspicious entries in the journal when that happens.

Offline

#7 2017-10-16 18:58:36

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: Wrong display resolution after screen lock / standby

Can you ssh into that machine?

Offline

#8 2017-10-18 08:52:55

windy
Member
Registered: 2013-11-10
Posts: 46

Re: Wrong display resolution after screen lock / standby

Yes, ssh is possible. But there are no helpful log messages and restarting gdm does not work. So I have to reboot.

Offline

#9 2017-10-18 11:16:25

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: Wrong display resolution after screen lock / standby

export DISPLAY=:0
xrandr -q

... maybe you can "revive" setting a mode?

Offline

#10 2017-10-23 11:10:23

windy
Member
Registered: 2013-11-10
Posts: 46

Re: Wrong display resolution after screen lock / standby

New information: The issue is not related to Xorg. I switched to Wayland and here the same problem occurs. So perhaps it is caused by Gnome?

Offline

#11 2017-10-23 14:24:16

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: Wrong display resolution after screen lock / standby

"triggered" - maybe. probably. caused? rather not. Check dmesg for error messages, notably of the i915 module.
Also try passing i915.enable_rc6=0 (or alter it at runtime, see https://wiki.archlinux.org/index.php/In … ble_rc6.29 )

Offline

#12 2017-10-24 09:24:45

windy
Member
Registered: 2013-11-10
Posts: 46

Re: Wrong display resolution after screen lock / standby

i915.enable_rc6=0 did not change anything.

dmesg does not report any warnings with the i915 module, even when setting i915.verbose_state_checks=1. The only thing I see is when the USB hub of the display disappears and appears again when going in and out of standby.

Offline

#13 2017-10-28 11:57:31

brainfucksec
Member
Registered: 2017-03-01
Posts: 40
Website

Re: Wrong display resolution after screen lock / standby

I think is a problem of GDM try to reinstall it


--= [ |<!55 ]=--

Offline

#14 2017-11-02 12:25:34

windy
Member
Registered: 2013-11-10
Posts: 46

Re: Wrong display resolution after screen lock / standby

brainfucksec wrote:

I think is a problem of GDM try to reinstall it

I just installed the latest updates for GDM, but the problem persists.

Offline

#15 2017-11-14 12:24:49

windy
Member
Registered: 2013-11-10
Posts: 46

Re: Wrong display resolution after screen lock / standby

seth wrote:

The issue is not related to Xorg. I switched to Wayland and here the same problem occurs. So perhaps it is caused by Gnome?

"triggered" - maybe. probably. caused? rather not.

It seems you were right here. Today I tried Cinnamon with its own screensaver and the problem is exactly the same.

Offline

#16 2017-11-14 12:52:13

seth
Member
Registered: 2012-09-03
Posts: 49,992

Re: Wrong display resolution after screen lock / standby

Cinnamon basically is gnome.

Offline

Board footer

Powered by FluxBB