ThinkPad X201 external screen might blank when connected over displayport.

Bug #1211394 reported by Conrad Yang
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Incomplete
Medium
Unassigned

Bug Description

[ 28.560855] Pid: 1422, comm: modprobe Tainted: PF O 3.8.0-27-generic #40-Ubuntu
[ 28.560855] Call Trace:
[ 28.560861] [<ffffffff810587ef>] warn_slowpath_common+0x7f/0xc0
[ 28.560863] [<ffffffff810588ec>] warn_slowpath_fmt+0x4c/0x50
[ 28.560875] [<ffffffffa07bd182>] intel_wait_for_pipe_off+0xe2/0x1a0 [i915]
[ 28.560886] [<ffffffffa07bd376>] intel_disable_pipe+0x136/0x170 [i915]

I'm having this issue on both precise and raring on ThinkPad X201.
This issue only appears when external display attached to DisplayPort.

The behavior is consistent with stock/mainline kernel with stock or intel linuxgraphics drivers (3.8.0-26-generic, 3.8.0-27-generic, 3.8.0-27-generic with intel linux-graphics 2013Q2, 3.10.0-997-generic,3.10.0-997-generic with intel linux-graphics 2013Q2).

External display works perfectly on VGA port.

ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: linux-image-3.8.0-27-generic 3.8.0-27.40
ProcVersionSignature: Ubuntu 3.8.0-27.40-generic 3.8.13.4
Uname: Linux 3.8.0-27-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
ApportVersion: 2.9.2-0ubuntu8.3
Architecture: amd64
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: coyang 5192 F.... pulseaudio
Date: Tue Aug 13 00:09:38 2013
HibernationDevice: RESUME=UUID=a5e3bbe9-32c8-45b5-bb80-7992a11ee933
InstallationDate: Installed on 2010-11-08 (1008 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
MachineType: LENOVO 3680N48
MarkForUpload: True
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: boot=zfs bootfs=rpool/ROOT/raring clocksource=acpi_pm noapic usbcore.autosuspend=1 nmi_watchdog=0 processor.ignore_ppc=1 enable_mtrr_cleanup mtrr_spare_reg_nr=1 pciehp.pciehp_force=1 i915.semaphores=1
PulseList:
 Error: command ['pacmd', 'list'] failed with exit code 1: Home directory not accessible: Permission denied
 No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions:
 linux-restricted-modules-3.8.0-27-generic N/A
 linux-backports-modules-3.8.0-27-generic N/A
 linux-firmware 1.106
SourcePackage: linux
UpgradeStatus: Upgraded to raring on 2011-10-10 (672 days ago)
WifiSyslog:
 Aug 13 00:09:32 coyang kernel: [ 905.922614] type=1400 audit(1376323772.402:88): apparmor="ALLOWED" operation="open" parent=10533 profile="/opt/google/chrome/google-chrome//chrome_sandbox" name="/sys/devices/system/cpu/online" pid=10537 comm="nacl_helper_boo" requested_mask="r" denied_mask="r" fsuid=1001 ouid=0
 Aug 13 00:14:41 coyang NetworkManager[3222]: <warn> nl_recvmsgs() error: (-33) Dump inconsistency detected, interrupted
dmi.bios.date: 10/11/2012
dmi.bios.vendor: LENOVO
dmi.bios.version: 6QET70WW (1.40 )
dmi.board.name: 3680N48
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6QET70WW(1.40):bd10/11/2012:svnLENOVO:pn3680N48:pvrThinkPadX201:rvnLENOVO:rn3680N48:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable:
dmi.product.name: 3680N48
dmi.product.version: ThinkPad X201
dmi.sys.vendor: LENOVO

Revision history for this message
Conrad Yang (cpyang) wrote :
tags: added: precise
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Conrad Yang (cpyang) wrote :
Revision history for this message
Conrad Yang (cpyang) wrote :
Revision history for this message
Conrad Yang (cpyang) wrote :
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.11 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.11-rc5-saucy/

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Conrad Yang (cpyang) wrote :

My system is running on ZFS, which is not compatible with v3.11-rc5-saucy now. I'll test it once the ZFS compatibility issue got solved. This issue exists with v3.10.0-997 from http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-intel-next/2013-07-13-saucy. Disable internal screen might have better chance that displayport will work, but not always.

And has been seen on ThinkPad X220 for a few times, but it's mostly work with dual screen (internal+displayport) on ThinkPad X220.

penalvch (penalvch)
tags: added: latest-bios-1.40 needs-upstream-testing regression-potential
Revision history for this message
Conrad Yang (cpyang) wrote :
Download full text (6.7 KiB)

Still got the trace message in dmesg with v3.11-rc5-saucy, while dual screen works on reboot.
Switching screen layout might generate more trace messages, but screen display is fine.

[ 89.480071] ------------[ cut here ]------------
[ 89.480122] WARNING: CPU: 2 PID: 2859 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:822 intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]()
[ 89.480126] pipe_off wait timed out
[ 89.480128] Modules linked in: pci_stub vboxpci(OF) vboxnetadp(OF) vboxnetflt(OF) vboxdrv(OF) zram(C) deflate ctr twofish_generic twofish_x86_64_3way twofish_x86_64 twofish_common camellia
_generic camellia_x86_64 serpent_sse2_x86_64 xts serpent_generic lrw gf128mul glue_helper blowfish_generic blowfish_x86_64 blowfish_common cast5_generic cast_common ablk_helper cryptd des_gen
eric cmac xcbc rmd160 crypto_null af_key xfrm_algo dm_crypt arc4 parport_pc ppdev iwldvm usblp bnep mac80211 rfcomm btusb bluetooth i915 iwlwifi joydev snd_hda_codec_hdmi snd_hda_codec_conexa
nt snd_hda_intel snd_hda_codec dm_multipath cfg80211 scsi_dh drm_kms_helper psmouse drm i2c_algo_bit snd_hwdep snd_pcm serio_raw mei_me mei tpm_tis snd_page_alloc video lpc_ich mac_hid intel_
ips wmi nfsd sata_sil24 auth_rpcgss nfs_acl thinkpad_acpi nfs nvram snd_seq_midi snd_seq_midi_event lockd snd_rawmidi snd_seq snd_seq_device sunrpc snd_timer fscache snd binfmt_misc soundcore
 kvm_intel kvm intelfb coretemp lp parport ext2 zfs(POF) zunicode(POF) zavl(POF) zcommon(POF) znvpair(POF) spl(OF) zlib_deflate hid_generic usbhid hid e1000e ahci ptp libahci pps_core microco
de
[ 89.480224] CPU: 2 PID: 2859 Comm: Xorg Tainted: PF WC O 3.11.0-031100rc5-generic #201308112135
[ 89.480225] Hardware name: LENOVO 3680N48/3680N48, BIOS 6QET70WW (1.40 ) 10/11/2012
[ 89.480227] 0000000000000336 ffff8801f6567a18 ffffffff8171f5a0 0000000000000007
[ 89.480229] ffff8801f6567a68 ffff8801f6567a58 ffffffff8106532c ffff8802301c0000
[ 89.480231] ffff88020aa74000 0000000000071008 00000000ffff322f ffff8801f6567fd8
[ 89.480234] Call Trace:
[ 89.480241] [<ffffffff8171f5a0>] dump_stack+0x46/0x58
[ 89.480245] [<ffffffff8106532c>] warn_slowpath_common+0x8c/0xc0
[ 89.480248] [<ffffffff81065416>] warn_slowpath_fmt+0x46/0x50
[ 89.480260] [<ffffffffa075badc>] intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]
[ 89.480271] [<ffffffffa075bb9e>] intel_disable_pipe+0xae/0xb0 [i915]
[ 89.480281] [<ffffffffa075d1f2>] ironlake_crtc_disable+0xd2/0x290 [i915]
[ 89.480292] [<ffffffffa075ff48>] __intel_set_mode+0x168/0x370 [i915]
[ 89.480303] [<ffffffffa0761306>] intel_set_mode+0x16/0x30 [i915]
[ 89.480313] [<ffffffffa07615bd>] intel_crtc_set_config+0x29d/0x310 [i915]
[ 89.480326] [<ffffffffa0538fcc>] drm_mode_set_config_internal+0x5c/0xe0 [drm]
[ 89.480335] [<ffffffffa053bbd8>] drm_mode_setcrtc+0x328/0x560 [drm]
[ 89.480345] [<ffffffffa075b6e9>] ? intel_crtc_load_lut+0xd9/0x190 [i915]
[ 89.480352] [<ffffffffa052b48a>] drm_ioctl+0x50a/0x640 [drm]
[ 89.480360] [<ffffffffa053b8b0>] ? drm_mode_setplane+0x3f0/0x3f0 [drm]
[ 89.480364] [<ffffffff811c429c>] do_vfs_ioctl+0x7c/0x2f0
[ 89.480368] [<ffffffff810210e9>] ? syscall_trace_enter+0x29/0x270
[ 89...

Read more...

Revision history for this message
Conrad Yang (cpyang) wrote :

$ dmesg |grep pipe_off
[ 37.136447] WARNING: CPU: 3 PID: 808 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:822 intel_wait_for_pipe_of +0x1bc/0x1d0 [i915]()
[ 37.136448] pipe_off wait timed out
[ 37.136548] [<ffffffffa075badc>] intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]
[ 89.480122] WARNING: CPU: 2 PID: 2859 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:822 intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]()
[ 89.480126] pipe_off wait timed out
[ 89.480260] [<ffffffffa075badc>] intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]
[ 337.310561] WARNING: CPU: 0 PID: 2859 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:822 intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]()
[ 337.310563] pipe_off wait timed out
[ 337.310732] [<ffffffffa075badc>] intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]
[ 9948.533761] WARNING: CPU: 2 PID: 2859 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:822 intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]()
[ 9948.533763] pipe_off wait timed out
[ 9948.533933] [<ffffffffa075badc>] intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]

Revision history for this message
Conrad Yang (cpyang) wrote :

No signal on DisplayPort after switch off both screen (close the lid) and resume with extended screen layout.
Trying to switch layout for couple times, the external display never come back.

[13367.372763] WARNING: CPU: 0 PID: 2859 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:822 intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]()
[13367.372766] pipe_off wait timed out
[13367.372967] [<ffffffffa075badc>] intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]
[13385.143381] WARNING: CPU: 0 PID: 2859 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:822 intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]()
[13385.143384] pipe_off wait timed out
[13385.143585] [<ffffffffa075badc>] intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]
[13616.594419] WARNING: CPU: 0 PID: 2859 at /home/apw/COD/linux/drivers/gpu/drm/i915/intel_display.c:822 intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]()
[13616.594422] pipe_off wait timed out
[13616.594562] [<ffffffffa075badc>] intel_wait_for_pipe_off+0x1bc/0x1d0 [i915]

Conrad Yang (cpyang)
tags: added: kernel-bug-exists-upstream
removed: needs-upstream-testing
tags: added: saucy
Revision history for this message
Patrik Lundquist (patrik-lundquist) wrote :
Download full text (4.5 KiB)

I get this crash every time during boot. Got a Xeon E3-1245 V2 (HD Graphics P4000) connected to a Dell U2713HM via DisplayPort. Seems related to the bug report.

[ 1.460294] ------------[ cut here ]------------
[ 1.460309] WARNING: CPU: 2 PID: 161 at /build/buildd/linux-3.11.0/drivers/gpu/drm/i915/intel_display.c:822 intel_wait_for_pipe_off+0xfb/0x1c0 [i915]()
[ 1.460309] pipe_off wait timed out
[ 1.460325] Modules linked in: i915(+) crct10dif_pclmul(F) crc32_pclmul(F) ghash_clmulni_intel(F) video(F) i2c_algo_bit aesni_intel(F) drm_kms_helper aes_x86_64(F) lrw(F) gf128mul(F) glue_helper(F) ablk_helper(F) cryptd(F) microcode(F) drm ahci(F) libahci(F) e1000e(F) ptp(F) pps_core(F) wmi
[ 1.460327] CPU: 2 PID: 161 Comm: systemd-udevd Tainted: GF 3.11.0-9-generic #16-Ubuntu
[ 1.460327] Hardware name: Hewlett-Packard HP Z220 CMT Workstation/1790, BIOS K51 v01.65 09/03/2013
[ 1.460329] 0000000000000009 ffff8804035bd2c8 ffffffff816f3219 ffff8804035bd310
[ 1.460330] ffff8804035bd300 ffffffff81061dbd 0000000000070008 ffff880402a00000
[ 1.460330] 00000000fffedc72 ffff8804035bdfd8 ffff880402919c70 ffff8804035bd360
[ 1.460331] Call Trace:
[ 1.460335] [<ffffffff816f3219>] dump_stack+0x45/0x56
[ 1.460338] [<ffffffff81061dbd>] warn_slowpath_common+0x7d/0xa0
[ 1.460339] [<ffffffff81061e2c>] warn_slowpath_fmt+0x4c/0x50
[ 1.460347] [<ffffffffa01c7e16>] ? i915_read32+0x66/0x140 [i915]
[ 1.460354] [<ffffffffa01f27db>] intel_wait_for_pipe_off+0xfb/0x1c0 [i915]
[ 1.460360] [<ffffffffa01f292d>] intel_disable_pipe+0x8d/0xa0 [i915]
[ 1.460365] [<ffffffffa01f4716>] ironlake_crtc_disable+0xd6/0x8c0 [i915]
[ 1.460371] [<ffffffffa01f9b14>] __intel_set_mode+0x314/0x880 [i915]
[ 1.460377] [<ffffffffa01fc106>] intel_set_mode+0x16/0x30 [i915]
[ 1.460383] [<ffffffffa01fc962>] intel_crtc_set_config+0x742/0x910 [i915]
[ 1.460390] [<ffffffffa0097f8d>] drm_mode_set_config_internal+0x5d/0xe0 [drm]
[ 1.460392] [<ffffffffa013b681>] drm_fb_helper_set_par+0x71/0xf0 [drm_kms_helper]
[ 1.460394] [<ffffffff813cb574>] fbcon_init+0x504/0x580
[ 1.460397] [<ffffffff814440ec>] visual_init+0xbc/0x120
[ 1.460399] [<ffffffff814468d3>] do_bind_con_driver+0x163/0x330
[ 1.460400] [<ffffffff81447084>] do_take_over_console+0x114/0x1c0
[ 1.460401] [<ffffffff813c7013>] do_fbcon_takeover+0x63/0xd0
[ 1.460402] [<ffffffff813cc1ad>] fbcon_event_notify+0x6dd/0x830
[ 1.460404] [<ffffffff816fe93c>] notifier_call_chain+0x4c/0x70
[ 1.460406] [<ffffffff8108a2dd>] __blocking_notifier_call_chain+0x4d/0x70
[ 1.460407] [<ffffffff8108a316>] blocking_notifier_call_chain+0x16/0x20
[ 1.460409] [<ffffffff813bc66b>] fb_notifier_call_chain+0x1b/0x20
[ 1.460410] [<ffffffff813be64d>] register_framebuffer+0x1dd/0x310
[ 1.460412] [<ffffffffa013b31f>] drm_fb_helper_initial_config+0x32f/0x510 [drm_kms_helper]
[ 1.460414] [<ffffffff8104dee9>] ? default_spin_lock_flags+0x9/0x10
[ 1.460423] [<ffffffffa021d481>] intel_fbdev_initial_config+0x21/0x30 [i915]
[ 1.460430] [<ffffffffa01cc311>] i915_driver_load+0xdc1/0xdf0 [i915]
[ 1.460435] [<ffffffffa0093826>] drm_get_pci_dev+0x166/0x2...

Read more...

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

This issue appears to be an upstream bug, since you tested the latest upstream kernel. Would it be possible for you to open an upstream bug report[0]? That will allow the upstream Developers to examine the issue, and may provide a quicker resolution to the bug.

Please follow the instructions on the wiki page[0]. The first step is to email the appropriate mailing list. If no response is received, then a bug may be opened on bugzilla.kernel.org.

Once this bug is reported upstream, please add the tag: 'kernel-bug-reported-upstream'.

[0] https://wiki.ubuntu.com/Bugs/Upstream/kernel

Revision history for this message
Patrik Lundquist (patrik-lundquist) wrote :

Let's wait for https://bugzilla.kernel.org/show_bug.cgi?id=59841 and see if it solves the problem.

Revision history for this message
Patrik Lundquist (patrik-lundquist) wrote :

Possible fix has been pulled for 3.12.

https://bugzilla.kernel.org/show_bug.cgi?id=59841#c237

Revision history for this message
penalvch (penalvch) wrote :

Conrad Yang, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this in a live environment of the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please capture the call trace.

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.