Using eDP leaves kernel log with "Timed out waiting for DP idle patterns" messages

Bug #1138700 reported by James M. Leddy on 2013-03-01
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
HWE Next
Undecided
Unassigned
Linux
Fix Released
High
linux (Ubuntu)
Low
Timo Aaltonen
Quantal
Low
Timo Aaltonen
Raring
Undecided
Unassigned

Bug Description

[Impact]

 * This confuses end users. They think that this is a relevant message instead of an
   unimportant accident to the eDP

[Test Case]

 * Use an eDP haswell system
 * See this message in dmesg

[Regression Potential]

 * Low. This patch just skips a port check on eDP machines
 * It has already been tested on eDP machines

[Other Info]

 * private bug 1097143

[Original message]

eDP on haswell graphics puts some stuff in dmsg that is scary to users. Worse, these messages are displayed on suspend/resume, and because we don't have vt-switchless resume support in ubuntu yet, when the graphics don't work it seems like these messages are the culprit.

Dmesg:
[11577.928164] [drm:intel_dp_set_link_train] *ERROR* Timed out waiting for DP idle patterns
[11577.928167] [drm:i915_write32] *ERROR* Unknown unclaimed register before writing to 64040

Created attachment 72120
dmesg.log

GDM can't show and screen freeze after screen saver and turn off backlight command("gnome-screensaver-command -l;sleep 3;xset dpms force off")
But, if you press Ctrl+Alt+F3(tty3) then press Ctrl+Alt+F2(tty0), GDM will show.

Dmesg:
[11577.928164] [drm:intel_dp_set_link_train] *ERROR* Timed out waiting for DP idle patterns
[11577.928167] [drm:i915_write32] *ERROR* Unknown unclaimed register before writing to 64040

Expected output: it enter to screensaver and turn off backlight, then press any key to resume system, it should shows GDM.

This only happens on Haswell chipset, but it is OK on Ivybridge.
Kernel 3.7.0 added intel 3.7.0 branch kernel patch
Xorg1.12.0
Model: Lenovo Y410 Y510

Could you help to update the issue status?
If you need any information, please let me know!

description: updated
description: updated
Changed in linux:
importance: Unknown → High
status: Unknown → Confirmed
Brad Figg (brad-figg) wrote :

This bug is awaiting verification that the kernel in -proposed solves the problem. Please test the kernel and update this bug with the results. If the problem is solved, change the tag 'verification-needed' to 'verification-done'.

If verification is not done by one week from today, this fix will be dropped from the source code, and this bug will be closed.

See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you!

tags: added: verification-needed-quantal
James M. Leddy (jm-leddy) wrote :

Related to bug 1097143.

James M. Leddy (jm-leddy) wrote :

Hi Tammy,

Would you test that we no longer get the error messages with the -proposed kernel in quantal. Thank you very much.

Anthony Wong (anthonywong) wrote :

Got a positive test report from another tester using -proposed kernel.

tags: added: verification-done-quantal
removed: verification-needed-quantal

The verification of this Stable Release Update has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

Launchpad Janitor (janitor) wrote :
Download full text (13.2 KiB)

This bug was fixed in the package linux - 3.5.0-27.46

---------------
linux (3.5.0-27.46) quantal-proposed; urgency=low

  [Steve Conklin]

  * Release Tracking Bug
    - LP: #1159991

  [ Steve Conklin ]

  * Start New Release

  [ Upstream Kernel Changes ]

  * crypto: user - fix info leaks in report API
    - LP: #1156790, #1156795, #1156799
    - CVE-2013-2546
  * brcmsmac: fix mismatch in number of custom regulatory rules
    - LP: #1156769

  [ Xiangliang Yu ]

  * SAUCE: PCI: define macro for marvell vendor ID
    - LP: #1159863
  * SAUCE: PCI: fix system hang issue of Marvell SATA host controller
    - LP: #1159863

linux (3.5.0-27.45) quantal-proposed; urgency=low

  [Steve Conklin]

  * no change

linux (3.5.0-27.44) quantal-proposed; urgency=low

  [Steve Conklin]

  * no change

linux (3.5.0-27.43) quantal-proposed; urgency=low

  [Steve Conklin]

  * Release Tracking Bug
    - LP: #1156821

  [ Adam Lee ]

  * SAUCE: Bluetooth: Add support for 04ca:2007
    - LP: #1153448

  [ Andy Whitcroft ]

  * [Config] re-disable CONFIG_SOUND_OSS_PRECLAIM
    - LP: #1105230

  [ Brad Figg ]

  * Start new release

  [ Kamal Mostafa ]

  * SAUCE: alx: use github.com/qca/alx repo
    - LP: #1154238

  [ Luis Henriques ]

  * [Config] CONFIG_NFS_V4_1=y
    - LP: #1111416

  [ Qualcomm Atheros, Inc ]

  * SAUCE: alx: Update to heads/master
    - LP: #1154238

  [ Upstream Kernel Changes ]

  * Revert "drm: Add EDID_QUIRK_FORCE_REDUCED_BLANKING for ASUS VW222S"
    - LP: #1144961
  * genirq: Avoid deadlock in spurious handling
    - LP: #1144961
  * KVM: s390: Handle hosts not supporting s390-virtio.
    - LP: #1144961
  * v4l: Reset subdev v4l2_dev field to NULL if registration fails
    - LP: #1144961
  * powerpc/eeh: Fix crash when adding a device in a slot with DDW
    - LP: #1144961
  * pcmcia/vrc4171: Add missing spinlock init
    - LP: #1144961
  * USB: DWC3: Generate interrupt on each TRB as default option
    - LP: #1144961
  * usb: dwc3: gadget: fix skip LINK_TRB on ISOC
    - LP: #1144961
  * usb: dwc3: gadget: req->queued must be forced to false in cleanup
    - LP: #1144961
  * Purge existing TLB entries in set_pte_at and ptep_set_wrprotect
    - LP: #1144961
  * ARM: PXA3xx: program the CSMSADRCFG register
    - LP: #1144961
  * ab8500-chargalg: Only root should have write permission on sysfs file
    - LP: #1144961
  * USB: option: add and update Alcatel modems
    - LP: #1144961
  * uprobes/powerpc: Add dependency on single step emulation
    - LP: #1144961
  * drivers/video: fsl-diu-fb: fix pixel formats for 24 and 16 bpp
    - LP: #1144961
  * s390/kvm: Fix store status for ACRS/FPRS
    - LP: #1144961
  * staging: comedi: disallow COMEDI_DEVCONFIG on non-board minors
    - LP: #1144961
  * ALSA: usb-audio: fix Roland A-PRO support
    - LP: #1144961
  * x86-32, mm: Rip out x86_32 NUMA remapping code
    - LP: #1144961
  * x86-32, mm: Remove reference to resume_map_numa_kva()
    - LP: #1144961
  * x86-32, mm: Remove reference to alloc_remap()
    - LP: #1144961
  * ALSA: hda - Release assigned pin/cvt at error path of hdmi_pcm_open()
    - LP: #1144961
  * ab8500_btemp: Demote initcall sequence
    - LP: #1144961
  * Driver co...

Changed in linux (Ubuntu):
status: Confirmed → Fix Released

In theory, Haswell is now in much better working order.

Changed in linux:
status: Confirmed → Incomplete
tags: added: blocks-hwcert-enablement

Can you please test whether disabling the ACPI backlight ala https://patchwork.kernel.org/patch/2697681/ fixes the issue?

Presuming one of the many HSW dp fixes actually took effect.

Changed in linux:
status: Incomplete → Fix Released
Changed in hwe-next:
status: New → Fix Released
Timo Aaltonen (tjaalton) on 2013-10-14
no longer affects: linux (Ubuntu Precise)
Timo Aaltonen (tjaalton) on 2013-10-15
Changed in linux (Ubuntu Quantal):
status: New → In Progress
Andy Whitcroft (apw) on 2013-10-15
Changed in linux (Ubuntu Quantal):
status: In Progress → Fix Committed
importance: Undecided → Low
assignee: nobody → Timo Aaltonen (tjaalton)
Changed in linux (Ubuntu):
importance: Undecided → Low
Andy Whitcroft (apw) on 2013-10-15
Changed in linux (Ubuntu Quantal):
status: Fix Committed → In Progress
Launchpad Janitor (janitor) wrote :
Download full text (19.1 KiB)

This bug was fixed in the package linux - 3.5.0-43.66

---------------
linux (3.5.0-43.66) quantal; urgency=low

  [ Brad Figg ]

  * Release Tracking Bug
    - LP: #1242895

  [ Timo Aaltonen ]

  * SAUCE: ubuntu/i915: silence unclaimed register poking debug messages
    - LP: #1138787

  [ Upstream Kernel Changes ]

  * Revert "xfs: fix _xfs_buf_find oops on blocks beyond the filesystem
    end"
    - LP: #1236041
    - CVE-2013-1819 fix backport:
  * Revert "sctp: fix call to SCTP_CMD_PROCESS_SACK in
    sctp_cmd_interpreter()"
    - LP: #1241093
  * get rid of full-hash scan on detaching vfsmounts
    - LP: #1226726
  * Smack: Fix the bug smackcipso can't set CIPSO correctly
    - LP: #1236743
  * SAUCE: (no-up) Only let characters through when there are active
    readers.
    - LP: #1208740
  * usb: xhci: define port register names and use them instead of magic
    numbers
    - LP: #1229576
  * usb: xhci: add USB2 Link power management BESL support
    - LP: #1229576
  * iwl4965: fix rfkill set state regression
    - LP: #1241093
  * ath9k_htc: Restore skb headroom when returning skb to mac80211
    - LP: #1241093
  * ALSA: opti9xx: Fix conflicting driver object name
    - LP: #1241093
  * SUNRPC: Fix memory corruption issue on 32-bit highmem systems
    - LP: #1241093
  * drm/i915: ivb: fix edp voltage swing reg val
    - LP: #1241093
  * drm/vmwgfx: Split GMR2_REMAP commands if they are to large
    - LP: #1241093
  * ALSA: ak4xx-adda: info leak in ak4xxx_capture_source_info()
    - LP: #1241093
  * Bluetooth: Add support for Foxconn/Hon Hai [0489:e04d]
    - LP: #1241093
  * [SCSI] sg: Fix user memory corruption when SG_IO is interrupted by a
    signal
    - LP: #1241093
  * xen-gnt: prevent adding duplicate gnt callbacks
    - LP: #1241093
  * usb: config->desc.bLength may not exceed amount of data returned by the
    device
    - LP: #1241093
  * USB: cdc-wdm: fix race between interrupt handler and tasklet
    - LP: #1241093
  * xhci-plat: Don't enable legacy PCI interrupts.
    - LP: #1241093
  * ASoC: wm8960: Fix PLL register writes
    - LP: #1241093
  * rculist: list_first_or_null_rcu() should use list_entry_rcu()
    - LP: #1241093
  * USB: mos7720: use GFP_ATOMIC under spinlock
    - LP: #1241093
  * USB: mos7720: fix big-endian control requests
    - LP: #1241093
  * staging: comedi: dt282x: dt282x_ai_insn_read() always fails
    - LP: #1241093
  * usb: ehci-mxc: check for pdata before dereferencing
    - LP: #1241093
  * usb: xhci: Disable runtime PM suspend for quirky controllers
    - LP: #1241093
  * USB: OHCI: Allow runtime PM without system sleep
    - LP: #1241093
  * ACPI / EC: Add HP Folio 13 to ec_dmi_table in order to skip DSDT scan
    - LP: #1241093
  * ACPI / EC: Add ASUSTEK L4R to quirk list in order to validate ECDT
    - LP: #1241093
  * USB: fix build error when CONFIG_PM_SLEEP isn't enabled
    - LP: #1241093
  * ALSA: hda - hdmi: Fallback to ALSA allocation when selecting CA
    - LP: #1241093
  * regmap: silence GCC warning
    - LP: #1241093
  * target: Fix trailing ASCII space usage in INQUIRY vendor+model
    - LP: #1241093
  * iwlwifi: dvm: don't send BT_CONFIG on devices w/o Bluetooth
    - LP: #1...

Changed in linux (Ubuntu Quantal):
status: In Progress → Fix Released
status: In Progress → Fix Released
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in linux (Ubuntu Raring):
status: New → Confirmed
Denis Koryavov (dkoryavov) wrote :

> no longer affects: linux (Ubuntu Precise)

This is not true. I have this bug on 12.04:

[ 8.485683] [drm:intel_dp_set_link_train] *ERROR* Timed out waiting for DP idle patterns
[ 8.485684] [drm:i915_write32] *ERROR* Unknown unclaimed register before writing to 64040

 uname -a
Linux laptop 3.8.0-34-generic #49~precise1-Ubuntu SMP Wed Nov 13 18:05:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Timo Aaltonen (tjaalton) wrote :

it won't be fixed for the precise kernel, that's what it meant..

Timo Aaltonen (tjaalton) wrote :

oh, you use the raring kernel, and as you see that task is still open

Lee H (popov-ghost) wrote :

I have this bug on 12.04.3:

 [14683.999394] [drm:intel_dp_set_link_train] *ERROR* Timed out waiting for DP idle patterns
 [14683.999398] [drm:i915_write32] *ERROR* Unknown unclaimed register before writing to 64040

uname -a
Linux titania 3.8.0-34-generic #49~precise1-Ubuntu SMP Wed Nov 13 18:05:00 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

So I guess the raring kernel also.

I see this message in syslog after I try to log out to switch user, and the screen freezes (goes black and responsive) and ctrl+alt+fn1 is needed. Does this message really have nothing to do with the "crash" then?

Timo Aaltonen (tjaalton) wrote :

raring is EOL, closing

Changed in linux (Ubuntu Raring):
status: Confirmed → Won't Fix
mabuka (martin-bund) wrote :

It is hard for me to believe that this bug won't be fixed for 12.04 / Precise. Can anyone tell me a workaround that I could apply? It is a real pain working with a machine that switches to text mode more than once a minute and displays the message

[drm:intel_dp_set_link_train] *ERROR* Timed out waiting for DP idle patterns
[drm:i915_write32] *ERROR* Unknown unclaimed register before writing to 64040,

When this happens, I have to press the Alt key in order to return to the graphic display. Please help me. Thanks in advance!

Robert Hooker (sarvatt) wrote :

sudo apt-get install xserver-xorg-lts-saucy

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

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