Bug 1275258 - Displays stop working after lock screen
Summary: Displays stop working after lock screen
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-intel
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-26 11:58 UTC by Tomas Mlcoch
Modified: 2016-07-19 18:20 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-19 18:20:36 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Tomas Mlcoch 2015-10-26 11:58:19 UTC
I'm using my lapton docked in docking station with lid closed (laptop's display is inactive). I have two external displays connected to the docking station, one with DVI and one with VGA. Both displays are the same (NEC MultiSync E231W).
When I lock my screen and then unlock it, the third display (the one connected via VGA) is still sleeping, only the second display (connected via DVI) is woken.


Details
=======

How to reproduce
----------------
1) Start the system - Everything is OK
2) Lock the screen (Ctrl+Alt+L)
3) Wait a sec untill both my external displays go to sleep
4) Press any key or move with mouse
5) Only the second diplay connected via DVI goes up,
   the third display connected via VGA is still sleeping

Workaround
----------
To get display no. 3 (connected via VGA cable) working again I have to use this:
1) Open system setings
2) Select "Displays"
3) Select the display no. 3
4) Select "Turn Off"
5) Click "Apply"
6) Click "Revert Settings"
Then the sleeping display no. 3 goes on again.


My configuration
================

Laptop Lenovo ThinkPad T440s with Fedora 22

$ uname -a
Linux blackbox 4.2.3-200.fc22.x86_64 #1 SMP Thu Oct 8 03:23:55 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

$ lspci | grep -i vga
00:02.0 VGA compatible controller: Intel Corporation Haswell-ULT Integrated Graphics Controller (rev 0b)

$ sudo lshw -numeric -C display
  *-display               
       description: VGA compatible controller
       product: Haswell-ULT Integrated Graphics Controller [8086:A16]
       vendor: Intel Corporation [8086]
       physical id: 2
       bus info: pci@0000:00:02.0
       version: 0b
       width: 64 bits
       clock: 33MHz
       capabilities: msi pm vga_controller bus_master cap_list rom
       configuration: driver=i915 latency=0
       resources: irq:46 memory:f0000000-f03fffff memory:e0000000-efffffff ioport:3000(size=64)

$ rpm -qa | grep -i xorg
xorg-x11-drv-fbdev-0.4.3-20.fc22.x86_64
xorg-x11-xauth-1.0.9-2.fc22.x86_64
xorg-x11-server-Xorg-1.17.2-2.fc22.2.x86_64
xorg-x11-fonts-Type1-7.5-14.fc22.noarch
xorg-x11-drv-intel-2.99.917-15.20150729.fc22.x86_64
xorg-x11-server-utils-7.7-15.fc22.x86_64
xorg-x11-drv-vmware-13.0.2-8.20150211git8f0cf7c.fc22.x86_64
xorg-x11-fonts-ISO8859-1-100dpi-7.5-14.fc22.noarch
xorg-x11-drv-openchrome-0.3.3-14.fc22.x86_64
xorg-x11-drv-wacom-0.29.0-2.fc22.x86_64
xorg-x11-drv-nouveau-1.0.11-2.fc22.x86_64
xorg-x11-utils-7.5-19.fc22.x86_64
xorg-x11-server-Xwayland-1.17.2-2.fc22.2.x86_64
xorg-x11-server-common-1.17.2-2.fc22.2.x86_64
xorg-x11-xkb-utils-7.7-13.fc22.x86_64
xorg-x11-drv-synaptics-1.8.2-2.fc22.x86_64
xorg-x11-drv-vesa-2.3.2-20.fc22.x86_64
abrt-addon-xorg-2.6.1-5.fc22.x86_64
xorg-x11-drv-ati-7.5.0-3.fc22.x86_64
xorg-x11-drv-evdev-2.9.2-1.fc22.x86_64
xorg-x11-drv-vmmouse-13.0.99-1.fc22.x86_64
xorg-x11-drv-qxl-0.1.3-2.fc22.x86_64
xorg-x11-xinit-1.3.4-8.fc22.x86_64
xorg-x11-font-utils-7.5-28.fc22.x86_64


Logs
====

Logs from locking and unlocking the screen:
-------------------------------------------

říj 26 12:35:45 blackbox kernel: [drm:check_crtc_state [i915]] *ERROR* mismatch in ips_enabled (expected 1, found 0)
říj 26 12:35:45 blackbox kernel: [drm:check_crtc_state [i915]] *ERROR* mismatch in ips_enabled (expected 1, found 0)

Logs from the workaround:
-------------------------

říj 26 12:37:18 blackbox org.gtk.vfs.Daemon[2251]: dc07: Object File Name STRING data type GET/SET
říj 26 12:37:18 blackbox org.gtk.vfs.Daemon[2251]: dc09: Date Modified STRING data type DATETIME FORM READ ONLY
říj 26 12:37:18 blackbox org.gtk.vfs.Daemon[2251]: dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
říj 26 12:37:18 blackbox org.gtk.vfs.Daemon[2251]: dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
říj 26 12:37:18 blackbox org.gtk.vfs.Daemon[2251]: dc44: Name STRING data type READ ONLY
říj 26 12:37:18 blackbox org.gtk.vfs.Daemon[2251]: dce0: Display Name STRING data type READ ONLY
říj 26 12:37:18 blackbox org.gtk.vfs.Daemon[2251]: dc4e: Date Added STRING data type DATETIME FORM READ ONLY
říj 26 12:37:18 blackbox org.gtk.vfs.Daemon[2251]: Storage Devices:
říj 26 12:37:18 blackbox org.gtk.vfs.Daemon[2251]: StorageID: 0x00010001
říj 26 12:37:18 blackbox org.gtk.vfs.Daemon[2251]: StorageType: 0x0003 fixed RAM storage
říj 26 12:37:39 blackbox /usr/libexec/gdm-x-session[2193]: (II) intel(0): resizing framebuffer to 1920x1080
říj 26 12:37:39 blackbox /usr/libexec/gdm-x-session[2193]: (II) intel(0): switch to mode 1920x1080 on DP2-2 using pipe 0, position (0, 0), rotation normal, reflection none
říj 26 12:37:39 blackbox kernel: [drm:check_crtc_state [i915]] *ERROR* mismatch in ips_enabled (expected 1, found 0)
říj 26 12:37:40 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-2' does not exist
říj 26 12:37:40 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-3' does not exist
říj 26 12:37:40 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='eDP1' does not exist
říj 26 12:37:40 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-2' does not exist
říj 26 12:37:40 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-3' does not exist
říj 26 12:37:40 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='eDP1' does not exist
říj 26 12:37:40 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-2' does not exist
říj 26 12:37:40 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-3' does not exist
říj 26 12:37:40 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='eDP1' does not exist
říj 26 12:37:40 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-2' does not exist
říj 26 12:37:40 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-3' does not exist
říj 26 12:37:40 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='eDP1' does not exist
říj 26 12:37:44 blackbox /usr/libexec/gdm-x-session[2193]: (II) intel(0): resizing framebuffer to 3840x1080
říj 26 12:37:44 blackbox kernel: [drm:check_crtc_state [i915]] *ERROR* mismatch in ips_enabled (expected 1, found 0)
říj 26 12:37:44 blackbox /usr/libexec/gdm-x-session[2193]: (II) intel(0): switch to mode 1920x1080 on DP2-3 using pipe 1, position (0, 0), rotation normal, reflection none
říj 26 12:37:44 blackbox kernel: [drm:check_crtc_state [i915]] *ERROR* mismatch in ips_enabled (expected 1, found 0)
říj 26 12:37:44 blackbox /usr/libexec/gdm-x-session[2193]: (II) intel(0): switch to mode 1920x1080 on DP2-2 using pipe 0, position (1920, 0), rotation normal, reflection none
říj 26 12:37:44 blackbox kernel: [drm:check_crtc_state [i915]] *ERROR* mismatch in ips_enabled (expected 1, found 0)
říj 26 12:37:45 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-2' does not exist
říj 26 12:37:45 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-3' does not exist
říj 26 12:37:45 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='eDP1' does not exist
říj 26 12:37:45 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-2' does not exist
říj 26 12:37:45 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-3' does not exist
říj 26 12:37:45 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='eDP1' does not exist
říj 26 12:37:45 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-2' does not exist
říj 26 12:37:45 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='DP2-3' does not exist
říj 26 12:37:45 blackbox gnome-session[2260]: (gnome-settings-daemon:2386): color-plugin-WARNING **: could not find device: property match 'XRANDR_name'='eDP1' does not exist

Comment 1 Daniel Kopeček 2015-10-26 14:00:45 UTC
I'm experiencing the same or very similar issue. I'm running on i3 with 2 monitors connected to a dock station (Lenovo T540p). One of the monitors usually doesn't come up after it goes to suspend/standby mode. It can be revived by manually running xrandr to turn it off and on again.

Not sure whether it's related, but I'm seeing these backtraces in dmesg:

kernel: ---[ end trace 211d4aecc3d54de3 ]---
kernel:  [<ffffffff81778bee>] entry_SYSCALL_64_fastpath+0x12/0x71
kernel:  [<ffffffff810acf1e>] ? SyS_rt_sigprocmask+0x8e/0xc0
kernel:  [<ffffffff81231509>] SyS_ioctl+0x79/0x90
kernel:  [<ffffffff8132930d>] ? selinux_file_ioctl+0x4d/0xc0
kernel:  [<ffffffff812312b5>] do_vfs_ioctl+0x295/0x470
kernel:  [<ffffffffa008a420>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
kernel:  [<ffffffffa007b365>] drm_ioctl+0x125/0x610 [drm]
kernel:  [<ffffffffa008a809>] drm_mode_setcrtc+0x3e9/0x500 [drm]
kernel:  [<ffffffffa0086326>] drm_mode_set_config_internal+0x66/0x100 [drm]
kernel:  [<ffffffffa0156ee6>] intel_crtc_set_config+0x2b6/0x580 [i915]
kernel:  [<ffffffffa015154f>] ? intel_modeset_compute_config+0x3af/0xb60 [i915]
kernel:  [<ffffffffa014fc48>] __intel_set_mode+0x568/0xb60 [i915]
kernel:  [<ffffffffa0141206>] haswell_crtc_compute_clock+0x16/0x40 [i915]
kernel:  [<ffffffff81202ee8>] ? __kmalloc_track_caller+0x1a8/0x250
kernel:  [<ffffffffa014558b>] ? intel_check_primary_plane+0xdb/0x330 [i915]
kernel:  [<ffffffffa0095ee2>] ? drm_atomic_get_crtc_state+0x32/0xd0 [drm]
kernel:  [<ffffffffa016dd44>] intel_ddi_pll_select+0x44/0xf00 [i915]
kernel:  [<ffffffffa016d72d>] intel_ddi_get_crtc_new_encoder+0x8d/0xa0 [i915]
kernel:  [<ffffffff8109e535>] warn_slowpath_fmt+0x55/0x70
kernel:  [<ffffffff8109e4a6>] warn_slowpath_common+0x86/0xc0
kernel:  [<ffffffff8177220a>] dump_stack+0x45/0x57
kernel: Call Trace:
kernel:  0000000000000000 ffff880409188800 ffff880036e17000 ffff8800b6fe4000
kernel:  0000000000000000 ffff8804099279d0 ffff8804099279b8 ffffffff8109e4a6
kernel:  0000000000000000 00000000cd0ba6ac ffff880409927978 ffffffff8177220a
kernel: Hardware name: LENOVO 20BFS0W50C/20BFS0W50C, BIOS GMET70WW (2.18 ) 03/05/2015
kernel: CPU: 0 PID: 1602 Comm: Xorg Not tainted 4.2.3-200.fc22.x86_64 #1
kernel:  coretemp videodev iwlwifi kvm_intel thinkpad_acpi cfg80211 kvm mei_me snd_timer media lpc_ich e1000e snd mei tpm_tis tpm rfkill ie31200_edac edac_core soundcore ptp i2c_i801 wmi shpc
kernel: Modules linked in: md4 nls_utf8 cifs dns_resolver fscache xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun ccm ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ebtable_nat e
kernel: 2 encoders on crtc for pipe A
kernel: WARNING: CPU: 0 PID: 1602 at drivers/gpu/drm/i915/intel_ddi.c:603 intel_ddi_get_crtc_new_encoder+0x8d/0xa0 [i915]()
kernel: ------------[ cut here ]------------


Versions:
kernel-4.2.3-200.fc22.x86_64
xorg-x11-drv-intel-2.99.917-15.20150729.fc22.x86_64

Comment 2 Tomas Mlcoch 2015-10-26 14:35:56 UTC
I would like mention that this issue appeared about week or two ago. Before that everything worked properly. So this is probably some kind of regression.

Comment 3 Ladi Prosek 2016-01-15 08:13:31 UTC
Daniel's intermittent issue could be related to bug 1179924.

Comment 4 Fedora End Of Life 2016-07-19 18:20:36 UTC
Fedora 22 changed to end-of-life (EOL) status on 2016-07-19. Fedora 22 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.