Bug 1339885 - Lenovo Thinkpad 13 completely hangs (freezes) when connecting external monitor
Summary: Lenovo Thinkpad 13 completely hangs (freezes) when connecting external monitor
Keywords:
Status: CLOSED DUPLICATE of bug 1323410
Alias: None
Product: Fedora
Classification: Fedora
Component: xorg-x11-drv-intel
Version: 24
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: 2016-05-26 05:20 UTC by Noam Cohen
Modified: 2016-06-19 09:27 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-06-19 09:27:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Relevant section from journal log and the output of the lshw command (26.14 KB, text/plain)
2016-05-26 05:20 UTC, Noam Cohen
no flags Details
List of all processes, services and packages on my computer (450.58 KB, text/plain)
2016-05-26 16:50 UTC, Noam Cohen
no flags Details

Description Noam Cohen 2016-05-26 05:20:50 UTC
Created attachment 1161723 [details]
Relevant section from journal log and the output of the lshw command

Description of problem:
When connected to external display while the lid is open, graphics shows on both displays. But if I try to change display configuration (for example - set external monitor as Primary Display) - everything will freeze completely. Even if I don't try to change anything - after a while the freeze will happen. While freezing even the mouse cursor won't and any magic key sequences won't work.

Version-Release number of selected component (if applicable):
[noam@noamThinkpad ~]$ sudo dnf list --all | grep xorg | grep intel
xorg-x11-drv-intel.x86_64            2.99.917-23.20160512.fc24  @updates-testing
xorg-x11-drv-intel.i686              2.99.917-23.20160512.fc24  updates-testing 
xorg-x11-drv-intel-devel.i686        2.99.917-23.20160512.fc24  updates-testing 
xorg-x11-drv-intel-devel.x86_64      2.99.917-23.20160512.fc24  updates-testing 

How reproducible:


Steps to Reproduce:
1. Connect the laptop to external monitor and turn it on while the lid is open
2. Login
3. Open up Displays settings
4. Try to set external monitor as a Primary display.

Actual results:
Entire system freeze


Additional info:
Attached is the Call Trace from the journal log and the entire hardware listing (lshw)

Comment 1 Richard Chan 2016-05-26 14:36:40 UTC
Do you happen to have tlp "Advanced power management tool for Linux" running?

I encountered external-display-induced hard freezes on a Asus UX305UA (Skylake) - e.g. connecting the microHDMI, changing resolutions, disabling a display etc - when running tlp.service.

When I disabled the tlp, everything went back to normal.

Comment 2 Noam Cohen 2016-05-26 16:50:57 UTC
Created attachment 1162196 [details]
List of all processes, services and packages on my computer

Comment 3 Noam Cohen 2016-05-26 16:52:22 UTC
I'm afraid that's probably not the case because I don't have the "tlp" package installed. In case that's helpful - I'm attaching the output of the following commands:
systemctl
ps -if
dnf list installed

Comment 4 Noam Cohen 2016-05-29 07:08:44 UTC
I had another freeze this morning when I accidently connected the external monitor without closing the laptop lid. This time, the trace dump looks different than the one I originally attached. I'm adding it just in case it may prove helpful:

May 29 09:35:24 noamThinkpad org.gnome.Shell.desktop[1485]: (gnome-shell:1485): Gjs-WARNING **: JS ERROR: could not get remote objects for service org.gnome.SettingsDaemon.Smartcard path /org/gnome/SettingsDaemo
May 29 09:35:24 noamThinkpad org.gnome.Shell.desktop[1485]: _proxyInvoker/asyncCallback@resource:///org/gnome/gjs/modules/overrides/Gio.js:83
May 29 09:35:25 noamThinkpad kernel: ------------[ cut here ]------------
May 29 09:35:25 noamThinkpad kernel: WARNING: CPU: 1 PID: 1485 at drivers/gpu/drm/i915/intel_display.c:13910 skl_max_scale.part.96+0x6e/0x80 [i915]()
May 29 09:35:25 noamThinkpad kernel: WARN_ON_ONCE(!crtc_clock || cdclk < crtc_clock)
May 29 09:35:25 noamThinkpad kernel: Modules linked in:
May 29 09:35:25 noamThinkpad kernel:  cmac ccm xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reject_ipv6 xt_conntrack ip_set nf
May 29 09:35:25 noamThinkpad kernel:  kvm_intel snd_pcm_dmaengine i2c_designware_platform i2c_designware_core ac97_bus kvm snd_hda_intel snd_hda_codec iwlwifi cfg80211 irqbypass snd_hda_core snd_hwdep uvcvideo s
May 29 09:35:25 noamThinkpad kernel: CPU: 1 PID: 1485 Comm: gnome-shell Tainted: G        W  OE   4.5.5-300.fc24.x86_64 #1
May 29 09:35:25 noamThinkpad kernel: Hardware name: LENOVO 20GJ0048IV/20GJ0048IV, BIOS R0CET21W (1.09 ) 03/07/2016
May 29 09:35:25 noamThinkpad kernel:  0000000000000286 000000002319fac2 ffff88040f1dfa10 ffffffff813d35af
May 29 09:35:25 noamThinkpad kernel:  ffff88040f1dfa58 ffffffffa0282e60 ffff88040f1dfa48 ffffffff810a5f12
May 29 09:35:25 noamThinkpad kernel:  ffff8800d1eca240 ffff88040eb97c00 ffff88040aa84000 ffff88040eb97c00
May 29 09:35:25 noamThinkpad kernel: Call Trace:
May 29 09:35:25 noamThinkpad kernel:  [<ffffffff813d35af>] dump_stack+0x63/0x84
May 29 09:35:25 noamThinkpad kernel:  [<ffffffff810a5f12>] warn_slowpath_common+0x82/0xc0
May 29 09:35:25 noamThinkpad kernel:  [<ffffffff810a5fac>] warn_slowpath_fmt+0x5c/0x80
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa011232b>] ? drm_plane_helper_check_update+0xbb/0x1e0 [drm_kms_helper]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa0225bc0>] ? intel_plane_atomic_calc_changes+0x50/0x6e0 [i915]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa021344e>] skl_max_scale.part.96+0x6e/0x80 [i915]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa0213502>] intel_check_primary_plane+0xa2/0xe0 [i915]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa02064ae>] intel_plane_atomic_check+0x12e/0x1f0 [i915]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa0119b88>] drm_atomic_helper_check_planes+0x48/0x1d0 [drm_kms_helper]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa02203fe>] intel_atomic_check+0x85e/0x10e0 [i915]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa00db39e>] ? drm_modeset_lock+0x4e/0xd0 [drm]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa00dc362>] drm_atomic_check_only+0x182/0x600 [drm]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa00dcaa8>] ? drm_atomic_set_mode_prop_for_crtc+0x28/0x110 [drm]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa00dc7f7>] drm_atomic_commit+0x17/0x60 [drm]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa011bba6>] drm_atomic_helper_set_config+0x76/0xb0 [drm_kms_helper]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa00cbb42>] drm_mode_set_config_internal+0x62/0x100 [drm]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa00d025f>] drm_mode_setcrtc+0x2ef/0x520 [drm]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa00c1712>] drm_ioctl+0x152/0x540 [drm]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffffa00cff70>] ? drm_mode_setplane+0x1b0/0x1b0 [drm]
May 29 09:35:25 noamThinkpad kernel:  [<ffffffff81256183>] do_vfs_ioctl+0xa3/0x5d0
May 29 09:35:25 noamThinkpad kernel:  [<ffffffff812443be>] ? ____fput+0xe/0x10
May 29 09:35:25 noamThinkpad kernel:  [<ffffffff810c2dfd>] ? task_work_run+0x7d/0xa0
May 29 09:35:25 noamThinkpad kernel:  [<ffffffff81256729>] SyS_ioctl+0x79/0x90
May 29 09:35:25 noamThinkpad kernel:  [<ffffffff817cecee>] entry_SYSCALL_64_fastpath+0x12/0x6d
May 29 09:35:25 noamThinkpad kernel: ---[ end trace 7d8b368159f4a0e9 ]---

Comment 5 Yevgeny Zaspitsky 2016-06-02 12:26:17 UTC
Pretty the same happens on my Lenovo laptop. Please let me know if you need my logs.

Comment 6 Noam Cohen 2016-06-19 09:26:41 UTC
Still happens after upgrade to kernel version 4.5.7-300.fc24.x86_64.
From journal log:


Jun 19 11:31:18 noamThinkpad audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=user@1000 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Jun 19 11:31:18 noamThinkpad kernel: ------------[ cut here ]------------
Jun 19 11:31:18 noamThinkpad kernel: WARNING: CPU: 0 PID: 1096 at drivers/gpu/drm/drm_irq.c:1320 drm_wait_one_vblank+0x17b/0x1c0 [drm]()
Jun 19 11:31:18 noamThinkpad kernel: vblank not available on crtc 0, ret=-22
Jun 19 11:31:18 noamThinkpad kernel: Modules linked in: rfcomm fuse ccm cmac xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reje
Jun 19 11:31:18 noamThinkpad kernel:  x86_pkg_temp_thermal cfg80211 coretemp kvm_intel snd_hda_codec i2c_designware_platform i2c_designware_core kvm snd_hda_core snd_hwdep snd_seq uvcvideo videobuf2_vmalloc irqb
Jun 19 11:31:18 noamThinkpad kernel: 
Jun 19 11:31:18 noamThinkpad kernel: CPU: 0 PID: 1096 Comm: systemd-logind Tainted: G        W  OE   4.5.5-300.fc24.x86_64 #1
Jun 19 11:31:18 noamThinkpad kernel: Hardware name: LENOVO 20GJ0048IV/20GJ0048IV, BIOS R0CET21W (1.09 ) 03/07/2016
Jun 19 11:31:18 noamThinkpad kernel:  0000000000000286 00000000210c5527 ffff88040c7876e0 ffffffff813d35af
Jun 19 11:31:18 noamThinkpad kernel:  ffff88040c787728 ffffffffa00ea9dc ffff88040c787718 ffffffff810a5f12
Jun 19 11:31:18 noamThinkpad kernel:  ffff88040a715800 0000000000000000 ffff880409ca6c00 ffff88040a715ba8
Jun 19 11:31:18 noamThinkpad kernel: Call Trace:
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff813d35af>] dump_stack+0x63/0x84
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff810a5f12>] warn_slowpath_common+0x82/0xc0
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff810a5fac>] warn_slowpath_fmt+0x5c/0x80
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa00bea54>] ? drm_vblank_get+0x74/0xd0 [drm]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa00becbb>] drm_wait_one_vblank+0x17b/0x1c0 [drm]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa0207b60>] ? gen9_write64+0x350/0x350 [i915]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa01b9ba1>] skl_update_wm+0x4e1/0x610 [i915]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa01bd22e>] intel_update_watermarks+0x1e/0x30 [i915]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa0229592>] haswell_crtc_enable+0x322/0x8d0 [i915]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa0224ed6>] intel_atomic_commit+0x776/0x1860 [i915]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa00d7362>] ? drm_atomic_check_only+0x182/0x600 [drm]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa00d7817>] drm_atomic_commit+0x37/0x60 [drm]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa012e7c8>] restore_fbdev_mode+0x238/0x260 [drm_kms_helper]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa0130984>] drm_fb_helper_restore_fbdev_mode_unlocked+0x34/0x80 [drm_kms_helper]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa01309fd>] drm_fb_helper_set_par+0x2d/0x50 [drm_kms_helper]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa023c60a>] intel_fbdev_set_par+0x1a/0x60 [i915]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff8144da56>] fb_set_var+0x236/0x460
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff811bb66f>] ? free_hot_cold_page_list+0x3f/0xa0
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff81443b3f>] fbcon_blank+0x30f/0x350
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff814ce812>] do_unblank_screen+0xd2/0x1a0
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff814c4576>] vt_ioctl+0x4f6/0x1270
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff812558c9>] ? fasync_remove_entry+0x29/0xb0
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff814b7c1a>] tty_ioctl+0x35a/0xc20
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff8121baff>] ? kfree+0x14f/0x170
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff817ceb79>] ? tty_unlock+0x29/0x50
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff8125a0c5>] ? dput+0xa5/0x200
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff81256183>] do_vfs_ioctl+0xa3/0x5d0
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff812443be>] ? ____fput+0xe/0x10
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff810c2dfd>] ? task_work_run+0x7d/0xa0
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff81256729>] SyS_ioctl+0x79/0x90
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff817cecee>] entry_SYSCALL_64_fastpath+0x12/0x6d
Jun 19 11:31:18 noamThinkpad kernel: ---[ end trace 8db2c11366645201 ]---
Jun 19 11:31:18 noamThinkpad kernel: ------------[ cut here ]------------
Jun 19 11:31:18 noamThinkpad kernel: WARNING: CPU: 0 PID: 1096 at drivers/gpu/drm/i915/intel_pm.c:3554 skl_update_other_pipe_wm+0x16c/0x180 [i915]()
Jun 19 11:31:18 noamThinkpad kernel: WARN_ON(!wm_changed)
Jun 19 11:31:18 noamThinkpad kernel: Modules linked in: rfcomm fuse ccm cmac xt_CHECKSUM ipt_MASQUERADE nf_nat_masquerade_ipv4 tun nf_conntrack_netbios_ns nf_conntrack_broadcast ip6t_rpfilter ip6t_REJECT nf_reje
Jun 19 11:31:18 noamThinkpad kernel:  x86_pkg_temp_thermal cfg80211 coretemp kvm_intel snd_hda_codec i2c_designware_platform i2c_designware_core kvm snd_hda_core snd_hwdep snd_seq uvcvideo videobuf2_vmalloc irqb
Jun 19 11:31:18 noamThinkpad kernel: 
Jun 19 11:31:18 noamThinkpad kernel: CPU: 0 PID: 1096 Comm: systemd-logind Tainted: G        W  OE   4.5.5-300.fc24.x86_64 #1
Jun 19 11:31:18 noamThinkpad kernel: Hardware name: LENOVO 20GJ0048IV/20GJ0048IV, BIOS R0CET21W (1.09 ) 03/07/2016
Jun 19 11:31:18 noamThinkpad kernel:  0000000000000286 00000000210c5527 ffff88040c787660 ffffffff813d35af
Jun 19 11:31:18 noamThinkpad kernel:  ffff88040c7876a8 ffffffffa02827f8 ffff88040c787698 ffffffff810a5f12
Jun 19 11:31:18 noamThinkpad kernel:  ffff88040a9e4000 ffff880409f19bd4 ffff88040a9e2000 ffff88040a715ba8
Jun 19 11:31:18 noamThinkpad kernel: Call Trace:
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff813d35af>] dump_stack+0x63/0x84
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff810a5f12>] warn_slowpath_common+0x82/0xc0
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff810a5fac>] warn_slowpath_fmt+0x5c/0x80
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa01b96ac>] skl_update_other_pipe_wm+0x16c/0x180 [i915]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa01b983c>] skl_update_wm+0x17c/0x610 [i915]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa02462bf>] ? intel_ddi_enable_transcoder_func+0x17f/0x260 [i915]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa01bd22e>] intel_update_watermarks+0x1e/0x30 [i915]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa0229592>] haswell_crtc_enable+0x322/0x8d0 [i915]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa0224ed6>] intel_atomic_commit+0x776/0x1860 [i915]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa00d7362>] ? drm_atomic_check_only+0x182/0x600 [drm]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa00d7817>] drm_atomic_commit+0x37/0x60 [drm]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa012e7c8>] restore_fbdev_mode+0x238/0x260 [drm_kms_helper]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa0130984>] drm_fb_helper_restore_fbdev_mode_unlocked+0x34/0x80 [drm_kms_helper]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa01309fd>] drm_fb_helper_set_par+0x2d/0x50 [drm_kms_helper]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffffa023c60a>] intel_fbdev_set_par+0x1a/0x60 [i915]
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff8144da56>] fb_set_var+0x236/0x460
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff811bb66f>] ? free_hot_cold_page_list+0x3f/0xa0
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff81443b3f>] fbcon_blank+0x30f/0x350
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff814ce812>] do_unblank_screen+0xd2/0x1a0
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff814c4576>] vt_ioctl+0x4f6/0x1270
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff812558c9>] ? fasync_remove_entry+0x29/0xb0
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff814b7c1a>] tty_ioctl+0x35a/0xc20
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff8121baff>] ? kfree+0x14f/0x170
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff817ceb79>] ? tty_unlock+0x29/0x50
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff8125a0c5>] ? dput+0xa5/0x200
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff81256183>] do_vfs_ioctl+0xa3/0x5d0
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff812443be>] ? ____fput+0xe/0x10
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff810c2dfd>] ? task_work_run+0x7d/0xa0
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff81256729>] SyS_ioctl+0x79/0x90
Jun 19 11:31:18 noamThinkpad kernel:  [<ffffffff817cecee>] entry_SYSCALL_64_fastpath+0x12/0x6d
Jun 19 11:31:18 noamThinkpad kernel: ---[ end trace 8db2c11366645202 ]---

Comment 7 Noam Cohen 2016-06-19 09:27:20 UTC

*** This bug has been marked as a duplicate of bug 1323410 ***


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