Bug 101359 - [DP] [SKL] Desktop freeze when connected to external display on login
Summary: [DP] [SKL] Desktop freeze when connected to external display on login
Status: CLOSED FIXED
Alias: None
Product: DRI
Classification: Unclassified
Component: DRM/Intel (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium major
Assignee: Intel GFX Bugs mailing list
QA Contact: Intel GFX Bugs mailing list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-09 02:22 UTC by Ram Manohar
Modified: 2017-06-30 20:48 UTC (History)
1 user (show)

See Also:
i915 platform: SKL
i915 features: display/Other


Attachments
dmesg output (13.06 KB, text/plain)
2017-06-09 02:22 UTC, Ram Manohar
no flags Details
hardware information (20.06 KB, text/plain)
2017-06-09 02:23 UTC, Ram Manohar
no flags Details
journalctl log since boot (246.00 KB, text/plain)
2017-06-09 02:23 UTC, Ram Manohar
no flags Details

Description Ram Manohar 2017-06-09 02:22:52 UTC
Created attachment 131820 [details]
dmesg output

Description of problem:

3 out of 5 times if my laptop (T460p) is connected to external display via display port and I reboot the machine, then after login screen the desktop is completely frozen. Also, while the desktop/display is frozen - I am able to SSH to the machine remotely and do my stuff. I have gathered journalctl and dmesg logs via remote SSH when this happened. 

My laptop (Thinkpad T460p) although has Nvidia card - I have noveou module blacklisted and I always use integrated intel graphics.  My external display is a AOC 4K monitor connected via display port.


Version-Release number of selected component (if applicable):

Linux pern 4.11.3-200.fc25.x86_64 #1 SMP Thu May 25 19:03:07 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux



How reproducible:


Steps to Reproduce:
1. Connect the laptop to an external display via display port.
2. Reboot the laptop.
3. Enter username & password at login screen and watch the desktop freeze.



Actual results:

Desktop is frozen


Expected results:

Desktop should not be frozen.
Comment 1 Ram Manohar 2017-06-09 02:23:25 UTC
Created attachment 131821 [details]
hardware information
Comment 2 Ram Manohar 2017-06-09 02:23:42 UTC
Created attachment 131822 [details]
journalctl log since boot
Comment 3 Ram Manohar 2017-06-09 02:24:31 UTC
I am running fully updated Fedora 25 with latest kernel.
Comment 4 Ram Manohar 2017-06-09 02:27:35 UTC
Also my mesa version is:

─~> glxinfo|grep Mesa
client glx vendor string: Mesa Project and SGI
    Device: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)  (0x191b)
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) 
OpenGL core profile version string: 4.5 (Core Profile) Mesa 17.0.5
OpenGL version string: 3.0 Mesa 17.0.5
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 17.0.5
Comment 5 Kenneth Graunke 2017-06-09 02:32:38 UTC
I don't see any GPU hangs here, so I suspect the 3D driver is not at fault.  I do see several vblank waits failing.  Reassigning to the kernel for now, as it sounds like a modesetting bug.
Comment 6 Ram Manohar 2017-06-09 11:43:58 UTC
Could this be related to https://bugs.freedesktop.org/show_bug.cgi?id=93782 ? I am also using a docking station for connecting the external display.
Comment 7 Elizabeth 2017-06-09 21:15:45 UTC
Hello, could you please try to replicate the bug without the docking station. Also add the kern.log
Thanks.
Comment 8 Ram Manohar 2017-06-11 13:35:18 UTC
I can't seem to reproduce this with external display connected directly via display port cable.

I just did bunch of reboot cycles.
Comment 9 Elizabeth 2017-06-15 16:53:13 UTC
(In reply to Ram Manohar from comment #8)
> I can't seem to reproduce this with external display connected directly via
> display port cable.
> 
> I just did bunch of reboot cycles.

Hello again, it seems that there are some features of docking stations that are only available on kernel 4.12, is possible for you to change to 4.12 and try to replicate the problem with the docking station???
Comment 10 Armando Antonio 2017-06-29 22:08:48 UTC
Hello, I could not reproduce the issue with the following configuration:

======================================
        Graphic stack
======================================

======================================
             Software
======================================
kernel version              : 4.12.0-rc3-drm-tip-ww22-commit-187376e+
architecture                : x86_64
os version                  : Ubuntu 17.04
os codename                 : zesty
kernel driver               : i915
bios revision               : 5.12
bios release date           : 09/12/2016

======================================
        Graphic drivers
======================================
mesa                        : 17.0.3
modesetting                 : modesetting_drv.so
xorg-xserver                : 1.19.3
libdrm                      : 2.4.81
cairo                       : 1.14.8
xserver                     : X.Org X Server 1.19.99.1
intel-gpu-tools (tag)       : intel-gpu-tools-1.18-211-g00ce341b
intel-gpu-tools (commit)    : 00ce341b

======================================
             Hardware
======================================
platform                   : KBL-Nuc
motherboard model          : MS-B142
motherboard id             : MS-B1421
form factor                : Desktop
manufacturer               : Micro-StarInternationalCo.,Ltd.
cpu family                 : Core i7
cpu family id              : 6
cpu information            : Intel(R) Core(TM) i7-7500U CPU @ 2.70GHz
gpu card                   : Intel Corporation Device 5916 (rev 02) (prog-if 00 [VGA controller])
memory ram                 : 7.65 GB
max memory ram             : 64 GB
display resolution         : 1600x900
cpu thread                 : 4
cpu core                   : 2
cpu model                  : 142
cpu stepping               : 9
socket                     : Other
signature                  : Type 0, Family 6, Model 142, Stepping 9
hard drive                 : 111GiB (120GB)
current cd clock frequency : 337500 kHz
maximum cd clock frequency : 675000 kHz
displays connected         : DP-1

======================================
             Firmware
======================================
dmc fw loaded             : yes
dmc version               : 1.1
guc fw loaded             : NONE
guc version wanted        : 0.0
guc version found         : 0.0

======================================
             kernel parameters
======================================
quiet splash fastboot drm.debug=0xe

Regards.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.