Thunderbolt display turns off randomly, and causes hotplug storm

Asked by Sam Hunt on 2013-02-03

Current system is a gigabyte z77x-up5-th Moherboard with an I7 processor & hd4000 graphics connected to 2 apple thunderbolt displays.

running ubuntu 12.10,
current kernerl is:

Linux desktop 3.7.0-7-generic #15-Ubuntu SMP Sat Dec 15 16:34:25 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

The problem is that after a while, one, or both monitors start to flicker and then turn off. This is associated with a hotplug "storm" in the dmesg output and eventual system freeze.

Other symptoms include intermittent mouse and keyboard USB lag.

The only solution is to unplug the display which works sometimes or to hard reset the system. However even after doing this the hotplug output continues to loop in dmesg.

I have installed the Xorg-edgers repo and tried various kernels and I915 versions to no avail.

Below is the dmesg output, xrandr -v output

#dmesg loop:

[ 3449.384096] [drm:drm_mode_addfb], [FB:38]
[ 3449.455524] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3449.655306] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3449.855070] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3450.054937] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3450.254720] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3450.454585] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3450.654305] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3450.854126] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3451.053935] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3451.253821] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3451.453603] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3451.653447] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3451.853235] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3452.053039] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3452.252853] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3452.452641] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3452.652426] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 3452.852321] [drm:i915_hotplug_work_func], running encoder hotplug functions

#when display fails, dmesg gives this output:

[ 1828.730779] [drm:i915_hotplug_work_func], running encoder hotplug functions
[ 1828.738627] [drm:intel_dp_check_link_status], TMDS-22: channel EQ not ok, retraining
[ 1828.739133] [drm:intel_dp_start_link_train], training pattern 1 signal levels 00000000
[ 1828.740649] [drm:intel_dp_start_link_train], training pattern 1 signal levels 04000000
[ 1828.742264] [drm:intel_dp_start_link_train], training pattern 1 signal levels 04000000
[ 1828.743879] [drm:intel_dp_start_link_train], training pattern 1 signal levels 04000000
[ 1828.745392] [drm:intel_dp_start_link_train], training pattern 1 signal levels 04000000
[ 1828.747005] [drm:intel_dp_start_link_train], training pattern 1 signal levels 04000000
[ 1828.748518] [drm:intel_dp_start_link_train], training pattern 1 signal levels 04000000
[ 1828.750131] [drm:intel_dp_start_link_train], too many voltage retries, give up

#xrandr -verbose output:

Screen 0: minimum 320 x 200, current 5120 x 1440, maximum 32767 x 32767
VGA1 disconnected (normal left inverted right x axis y axis)
 Identifier: 0x42
 Timestamp: 8769
 Subpixel: unknown
 Clones:
 CRTCs: 1 0 2
 Transform: 1.000000 0.000000 0.000000
             0.000000 1.000000 0.000000
             0.000000 0.000000 1.000000
            filter:
HDMI1 disconnected (normal left inverted right x axis y axis)
 Identifier: 0x43
 Timestamp: 8769
 Subpixel: unknown
 Clones:
 CRTCs: 1 0 2
 Transform: 1.000000 0.000000 0.000000
             0.000000 1.000000 0.000000
             0.000000 0.000000 1.000000
            filter:
 Broadcast RGB: Full
  supported: Full Limited 16:2
 audio: auto
  supported: force-dvi off auto on
DP1 connected 2560x1440+2560+0 (0x4a) normal (normal left inverted right x axis y axis) 597mm x 336mm
 Identifier: 0x44
 Timestamp: 8769
 Subpixel: unknown
 Gamma: 1.0:1.0:1.0
 Brightness: 1.0
 Clones:
 CRTC: 1
 CRTCs: 1 0 2
 Transform: 1.000000 0.000000 0.000000
             0.000000 1.000000 0.000000
             0.000000 0.000000 1.000000
            filter:
 EDID:
  00ffffffffffff000610279239082316
  23160104b53c2278226fb1a7554c9e25
  0c505400000001010101010101010101
  010101010101565e00a0a0a029503020
  350055502100001a1a1d008051d01c20
  4080350055502100001c000000ff0043
  30324a39315458463247430a000000fc
  005468756e646572626f6c740a2001c8
  02030cc12309070783010000565e00a0
  a0a029503020350055502100001a1a1d
  008051d01c204080350055502100001c
  00000000000000000000000000000000
  00000000000000000000000000000000
  00000000000000000000000000000000
  00000000000000000000000000000000
  00000000000000000000000000000013
 Broadcast RGB: Full
  supported: Full Limited 16:2
 audio: auto
  supported: force-dvi off auto on
  2560x1440 (0x4a) 241.5MHz +HSync -VSync *current +preferred
        h: width 2560 start 2608 end 2640 total 2720 skew 0 clock 88.8KHz
        v: height 1440 start 1443 end 1448 total 1481 clock 60.0Hz
  1280x720 (0x4b) 74.5MHz -HSync +VSync
        h: width 1280 start 1344 end 1472 total 1664 skew 0 clock 44.8KHz
        v: height 720 start 723 end 728 total 748 clock 59.9Hz
HDMI2 disconnected (normal left inverted right x axis y axis)
 Identifier: 0x45
 Timestamp: 8769
 Subpixel: unknown
 Clones:
 CRTCs: 1 0 2
 Transform: 1.000000 0.000000 0.000000
             0.000000 1.000000 0.000000
             0.000000 0.000000 1.000000
            filter:
 Broadcast RGB: Full
  supported: Full Limited 16:2
 audio: auto
  supported: force-dvi off auto on
HDMI3 disconnected (normal left inverted right x axis y axis)
 Identifier: 0x46
 Timestamp: 8769
 Subpixel: unknown
 Clones:
 CRTCs: 1 0 2
 Transform: 1.000000 0.000000 0.000000
             0.000000 1.000000 0.000000
             0.000000 0.000000 1.000000
            filter:
 Broadcast RGB: Full
  supported: Full Limited 16:2
 audio: auto
  supported: force-dvi off auto on
DP2 connected 2560x1440+0+0 (0x4a) normal (normal left inverted right x axis y axis) 597mm x 336mm
 Identifier: 0x47
 Timestamp: 8769
 Subpixel: unknown
 Gamma: 1.0:1.0:1.0
 Brightness: 1.0
 Clones:
 CRTC: 0
 CRTCs: 1 0 2
 Transform: 1.000000 0.000000 0.000000
             0.000000 1.000000 0.000000
             0.000000 0.000000 1.000000
            filter:
 EDID:
  00ffffffffffff00061027921a001616
  16160104b53c2278226fb1a7554c9e25
  0c505400000001010101010101010101
  010101010101565e00a0a0a029503020
  350055502100001a1a1d008051d01c20
  4080350055502100001c000000ff0043
  30324852303053463247430a000000fc
  005468756e646572626f6c740a20011c
  02030cc12309070783010000565e00a0
  a0a029503020350055502100001a1a1d
  008051d01c204080350055502100001c
  00000000000000000000000000000000
  00000000000000000000000000000000
  00000000000000000000000000000000
  00000000000000000000000000000000
  00000000000000000000000000000013
 Broadcast RGB: Full
  supported: Full Limited 16:2
 audio: auto
  supported: force-dvi off auto on
  2560x1440 (0x4a) 241.5MHz +HSync -VSync *current +preferred
        h: width 2560 start 2608 end 2640 total 2720 skew 0 clock 88.8KHz
        v: height 1440 start 1443 end 1448 total 1481 clock 60.0Hz
  1280x720 (0x4b) 74.5MHz -HSync +VSync
        h: width 1280 start 1344 end 1472 total 1664 skew 0 clock 44.8KHz
        v: height 720 start 723 end 728 total 748 clock 59.9Hz
DP3 disconnected (normal left inverted right x axis y axis)
 Identifier: 0x48
 Timestamp: 8769
 Subpixel: unknown
 Clones:
 CRTCs: 1 0 2
 Transform: 1.000000 0.000000 0.000000
             0.000000 1.000000 0.000000
             0.000000 0.000000 1.000000
            filter:
 Broadcast RGB: Full
  supported: Full Limited 16:2
 audio: auto
  supported: force-dvi off auto on

Thanks,

Sam

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu xserver-xorg-video-intel Edit question
Assignee:
No assignee Edit question
Last query:
2013-02-04
Last reply:
2013-02-04

Try with the kernel intended for your release, rather than the one from Raring.

Sam Hunt (zoggels) said : #2

Hi,
thanks for your reply, I have changed kernels:

uname -a
Linux desktop 3.7.4-030704-generic #201301211706 SMP Mon Jan 21 22:07:46 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Unfortunately however the issue remains, and now my mouse and keyboard are both very slow to respond.

Cheers,
Sam

The kernel for Quantal is 3.5, not 3.7

Sam Hunt (zoggels) said : #4

Sorry I probably should have clarified,

 I have tried the 3.5 kernel. I also tried the 3.7 build found here:"http://kernel.ubuntu.com/~kernel-ppa/mainline/"

 "v3.7-rc2-quantal/"

I assume this is meant for quantal?

All had the same effect however,

The kernel for Quantal is 3.5, that's why it's the version for it in the repos. If you start using kernels outside the official repis then we cannot guarantee the results

Sam Hunt (zoggels) said : #6

That makes sense, I have reinstalled ubuntu 12.10 however now the system is almost unusable. For some reason in top there is a kworker client using all the cpu.

echo "options drm_kms_helper poll=N" | sudo tee -a /etc/modprobe.d/local.conf

Reboot to test

Can you help with this problem?

Provide an answer of your own, or ask Sam Hunt for more information if necessary.

To post a message you must log in.