system crash when attaching external display
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
xorg (Ubuntu) |
Expired
|
Low
|
Unassigned |
Bug Description
After upgrading to 16.04, my thinkpad x1 carbon (3rd edition) freezes and reboots when I attach an external display.
Process:
- put laptop to sleep.
- come into work the next day
- open up laptop
- plug in external display
- observe bug
Expected behavior: I can attach the external display
Observed behavior: system shows black screen on both laptop and display and after a minute or two reboots. Laptop drives external display fine after reboot.
I ssh to the laptop from another machine and monitored /var/log/syslog, /var/log/
[ 34289.447] (II) intel(0): Enabled output DP1-8
[ 34289.448] (II) intel(0): Enabled output DP1-1
[ 34289.460] (II) intel(0): resizing framebuffer to 2560x1440
[ 34289.482] (II) intel(0): switch to mode 2560x1440@60.0 on DP1-8 using pipe 0,
(0, 0), rotation normal, reflection none
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: xorg 1:7.7+13ubuntu3
ProcVersionSign
Uname: Linux 4.4.0-22-generic x86_64
.tmp.unity_
ApportVersion: 2.20.1-0ubuntu2
Architecture: amd64
CompizPlugins: [core,composite
CompositorRunning: compiz
CompositorUnred
CompositorUnred
CurrentDesktop: Unity
Date: Fri May 13 09:24:07 2016
DistUpgraded: 2016-04-21 20:51:13,846 ERROR got error from PostInstallScript ./xorg_
DistroCodename: xenial
DistroVariant: ubuntu
DkmsStatus:
virtualbox, 5.0.18, 4.2.0-30-generic, x86_64: installed
virtualbox, 5.0.18, 4.4.0-21-generic, x86_64: installed
virtualbox, 5.0.18, 4.4.0-22-generic, x86_64: installed
ExtraDebuggingI
GraphicsCard:
Intel Corporation Broadwell-U Integrated Graphics [8086:1616] (rev 09) (prog-if 00 [VGA controller])
Subsystem: Lenovo Broadwell-U Integrated Graphics [17aa:2227]
InstallationDate: Installed on 2015-09-10 (245 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
MachineType: LENOVO 20BS0031US
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/zsh
ProcKernelCmdLine: BOOT_IMAGE=
SourcePackage: xorg
UpgradeStatus: Upgraded to xenial on 2016-04-22 (21 days ago)
dmi.bios.date: 05/08/2015
dmi.bios.vendor: LENOVO
dmi.bios.version: N14ET29W (1.07 )
dmi.board.
dmi.board.name: 20BS0031US
dmi.board.vendor: LENOVO
dmi.board.version: SDK0E50510 WIN
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 20BS0031US
dmi.product.
dmi.sys.vendor: LENOVO
drirc:
version.compiz: compiz 1:0.9.12.
version.ia32-libs: ia32-libs N/A
version.libdrm2: libdrm2 2.4.67-1
version.
version.
version.
version.
version.
version.
version.
version.
xserver.bootTime: Fri May 13 09:04:56 2016
xserver.configfile: default
xserver.errors:
xserver.logfile: /var/log/Xorg.0.log
xserver.outputs:
product id 4669
vendor AUO
xserver.version: 2:1.18.3-1ubuntu2
tags: | added: bios-outdated-1.13 |
Sometimes, my laptop does not freeze. Just now I was able to see the external display upon my second attempt, and found 8 backtraces in dmesg:
[26529.773617] [drm:intel_ dp_link_ training_ clock_recovery [i915]] *ERROR* failed dp_link_ training_ channel_ equalization [i915]] *ERROR* mst_pre_ enable_ dp [i915]] *ERROR* failed to allocate v linux-FvcHlK/ linux-4. 4.0/drivers/ gpu/drm/ i915/intel_ display. c:12740 intel_modeset_ check_state+ 0x5b3/0x8a0 [i915]() temp_thermal intel_powerclamp coretemp kvm_intel arc4 kvm snd_hda_codec_hdmi irqbypass crct10dif_pclmul crc32_pclmul aesni_intel iwlmvm aes_x86_64 lrw gf128mul mac80211 glue_helper snd_seq_midi snd_seq_midi_event ablk_helper snd_rawmidi cryptd input_leds joydev snd_hda_ codec_realtek iwlwifi serio_raw snd_hda_ codec_generic thinkpad_acpi nvram cfg80211 snd_hda_intel intel_pch_thermal snd_hda_codec mei_me snd_hda_core mei lpc_ich snd_hwdep snd_pcm shpchp snd_seq snd_seq_device snd_timer snd soundcore 20BS0031US, BIOS N14ET29W (1.07 ) 05/08/2015 c53>] dump_stack+ 0x63/0x90 fb2>] warn_slowpath_ common+ 0x82/0xc0 04c>] warn_slowpath_ fmt+0x5c/ 0x80 483>] intel_modeset_ check_state+ 0x5b3/0x8a0 [i915] bcb>] intel_atomic_ commit+ 0x4bb/0x6f0 [i915] c47>] drm_atomic_ commit+ 0x37/0x60 [drm] 9f6>] drm_atomic_ helper_ set_config+ 0x76/0xb0 [drm_kms_helper] e02>] drm_mode_ set_config_ internal+ 0x62/0x100 [drm] 322>] drm_mode_ setcrtc+ 0x3d2/0x4f0 [drm] 712>] drm_ioctl+ 0x152/0x540 [drm] a76>] ? __set_current_ blocked+ 0x36/0x60 f50>] ? drm_mode_ setplane+ 0x1b0/0x1b0 [drm] 26f>] do_vfs_ ioctl+0x29f/ 0x490
to enable link training
[26529.776319] [drm:intel_
failed to start channel equalization
[26529.778857] [drm:intel_
cpi
[26529.845810] ------------[ cut here ]------------
[26529.845837] WARNING: CPU: 3 PID: 1780 at /build/
[26529.845838] encoder detached but still enabled on pipe A.
[26529.845839] Modules linked in: cpuid pci_stub vboxpci(OE) vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) drbg ansi_cprng ctr ccm rfcomm bnep binfmt_misc uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_v4l2 videobuf2_core v4l2_common videodev media btusb btrtl btbcm btintel bluetooth intel_rapl x86_pkg_
[26529.845870] mac_hid parport_pc ppdev lp parport autofs4 ses enclosure uas usb_storage i915 i2c_algo_bit drm_kms_helper psmouse syscopyarea sysfillrect e1000e sysimgblt ahci fb_sys_fops libahci drm ptp pps_core wmi video fjes
[26529.845882] CPU: 3 PID: 1780 Comm: Xorg Tainted: G W OE 4.4.0-22-generic #40-Ubuntu
[26529.845884] Hardware name: LENOVO 20BS0031US/
[26529.845885] 0000000000000286 0000000088216a49 ffff880034c97b08 ffffffff813e9c53
[26529.845887] ffff880034c97b50 ffffffffc027ca50 ffff880034c97b40 ffffffff81080fb2
[26529.845889] ffff8802443c4318 ffff8800356b1000 ffff8802443c4348 ffff8802443c4330
[26529.845890] Call Trace:
[26529.845895] [<ffffffff813e9
[26529.845898] [<ffffffff81080
[26529.845899] [<ffffffff81081
[26529.845916] [<ffffffffc020d
[26529.845932] [<ffffffffc0218
[26529.845947] [<ffffffffc005c
[26529.845954] [<ffffffffc0171
[26529.845964] [<ffffffffc004b
[26529.845974] [<ffffffffc0050
[26529.845981] [<ffffffffc0041
[26529.845984] [<ffffffff81090
[26529.845992] [<ffffffffc004f
[26529.845995] [<ffffffff81220
[26529.845997] [<...