Lenovo T440s freezes when connected to docking station
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Linux |
Fix Released
|
Medium
|
|||
linux (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
This bug report looks to be for the same issue:
https:/
I came across the above bug report here:
https:/
I'm running with a Thinkpad T440s and ultra dock with hdmi<->hdmi. In my case if I dock when hdmi is connected to the dock, the mouse and keyboard freeze once connected. When I undock they unfreeze. If I dock when hdmi is not connected to the dock, the mouse and keyboard don't freeze.
Ubuntu release: 14.04 Trusty Tahr (development branch)
---
ApportVersion: 2.13.2-0ubuntu2
Architecture: amd64
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
/dev/snd/
CurrentDesktop: Unity
DistroRelease: Ubuntu 14.04
EcryptfsInUse: Yes
HibernationDevice: RESUME=
InstallationDate: Installed on 2014-01-31 (3 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140130)
MachineType: LENOVO 20AQCTO1WW
Package: linux (not installed)
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=
ProcVersionSign
RelatedPackageV
linux-
linux-
linux-firmware 1.123
Tags: trusty
Uname: Linux 3.13.0-5-generic x86_64
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip kvm libvirtd lpadmin plugdev sambashare sudo
_MarkForUpload: True
dmi.bios.date: 12/10/2013
dmi.bios.vendor: LENOVO
dmi.bios.version: GJET67WW (2.17 )
dmi.board.
dmi.board.name: 20AQCTO1WW
dmi.board.vendor: LENOVO
dmi.board.version: 0B98405 STD
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 20AQCTO1WW
dmi.product.
dmi.sys.vendor: LENOVO
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #21 |
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #22 |
Created attachment 88694
dmesg 3.11.6 (drm.debug=0x7)
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #23 |
Created attachment 88695
Xorg.0.log (intel git:dc61705, --enable-
In freedesktop.org Bugzilla #71267, Daniel-ffwll (daniel-ffwll) wrote : | #24 |
Can you please boot with drm.debug=0xe added to your kernel cmdline, reproduce the issue (up to the stuck task backtrace) and then grab the complete dmesg? Also retesting on 3.12 might be worth a shot.
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #25 |
Created attachment 88700
dmesg 3.11.6 (drm.debug=0xe)
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #26 |
(In reply to comment #3)
> Can you please boot with drm.debug=0xe added to your kernel cmdline,
> reproduce the issue (up to the stuck task backtrace) and then grab the
> complete dmesg?
Done.
> Also retesting on 3.12 might be worth a shot.
Still takes some time. But, will be done.
In freedesktop.org Bugzilla #71267, Daniel-ffwll (daniel-ffwll) wrote : | #27 |
(In reply to comment #4)
> Created attachment 88700 [details]
> dmesg 3.11.6 (drm.debug=0xe)
There seems to be nothing terrible going wrong leading up to the backtrace. So looks like a new kind of bug. Can you please recompile with lockdep (CONFIG_
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #28 |
Created attachment 88748
dmesg 3.12.0 (drm.debug=0xe)
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #29 |
(In reply to comment #7)
> Created attachment 88748 [details]
> dmesg 3.12.0 (drm.debug=0xe)
Anything else I can/should provide?
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #30 |
Just rushed through some tests:
- I've tested all the other connectors (HDMI, DVI and VGA) at the docking station with the same technique (boot with notebook in docking station, external monitor not plugged in, start X, connect monitor, enable output via xrandr):
o The xrandr output was always DP2.
o All had the same problem, the hung timer showed up for ironlake_
- Additionally, I've tried to boot with the monitor already connected. Here the maschine gets stuck in a very early state (No output on the monitor nor LVDS - well eDP) where the network is not up. So I can't grab any logs here.
In freedesktop.org Bugzilla #71267, Chris Wilson (ickle) wrote : | #31 |
Ah, we maybe corrupting the panel_vdd_work item. Try
diff --git a/drivers/
index bf961698f847.
--- a/drivers/
+++ b/drivers/
@@ -1161,9 +1161,14 @@ void ironlake_
-
+ if (cancel_
+ mutex_unlock(
+ cancel_
+ mutex_lock(
+ }
+
if (sync) {
} else {
In freedesktop.org Bugzilla #71267, Chris Wilson (ickle) wrote : | #32 |
And now compiles:
diff --git a/drivers/
index bf961698f847.
--- a/drivers/
+++ b/drivers/
@@ -1161,9 +1161,16 @@ void ironlake_
-
+ if (cancel_
+ struct drm_device *dev = intel_dp_
+
+ mutex_unlock(
+ cancel_
+ mutex_lock(
+ }
+
if (sync) {
} else {
In freedesktop.org Bugzilla #71267, Daniel-ffwll (daniel-ffwll) wrote : | #33 |
Dropping just the config.mutex is dangerous, especially when we also call this function from the disable/enable hooks where we always also hold the relevant crtc->mutex.
I wonder a bit though who's hogging the kms lock - we chase an awful lot of pointers to get at it, so if someone's corrupting this I expect we'd blow up. And lockdep shouldn't be too happy about it either. Confusing.
In freedesktop.org Bugzilla #71267, Chris Wilson (ickle) wrote : | #34 |
(In reply to comment #12)
> I wonder a bit though who's hogging the kms lock - we chase an awful lot of
> pointers to get at it, so if someone's corrupting this I expect we'd blow
> up. And lockdep shouldn't be too happy about it either. Confusing.
My theory is that the work item is being called twice. Crazy, huh? But since we seem to be very cavalier in scheduling the work even if it is already queued, I think it is reasonable to assume that we shoot ourselves in the foot.
In freedesktop.org Bugzilla #71267, Daniel-ffwll (daniel-ffwll) wrote : | #35 |
On Sat, Nov 9, 2013 at 12:17 PM, <email address hidden> wrote:
> --- Comment #13 from Chris Wilson <email address hidden> ---
> (In reply to comment #12)
>> I wonder a bit though who's hogging the kms lock - we chase an awful lot of
>> pointers to get at it, so if someone's corrupting this I expect we'd blow
>> up. And lockdep shouldn't be too happy about it either. Confusing.
>
> My theory is that the work item is being called twice. Crazy, huh? But since we
> seem to be very cavalier in scheduling the work even if it is already queued, I
> think it is reasonable to assume that we shoot ourselves in the foot.
The work item should check whether it's run already (or whether we
killed the vdd synchronously), so double-scheduling shouldn't be
harmful. If that isn't, we have a big bug.
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #36 |
(Sorry, I've been stuck at meetings this week and so will I during the rest of the week.)
(In reply to comment #11)
Just had time for a quick boot test with the patch. As soon as i915 loads it raises a kernel panic "unbalanced lock". I'll grab the log later.
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #37 |
Created attachment 89187
dmesg, v3.12.0 + Patch from comment #11 - BUG: bad unlock balance detected!
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #38 |
Created attachment 89905
dmesg 3.12.0-rc1 (WITHOUT DOCK! - monitor directly at laptop)
dmesg wo/ docking station as reference
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #39 |
(In reply to comment #17)
> Created attachment 89905 [details]
> dmesg 3.12.0-rc1 (WITHOUT DOCK! - monitor directly at laptop)
Ups, 3.13.0-rc1.
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #40 |
Created attachment 89906
dmesg 3.13.0-rc1
dmesg w/ docking station
38 comments hidden Loading more comments | view all 194 comments |
Ubuntu Foundations Team Bug Bot (crichton) wrote : | #1 |
Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https:/
To change the source package that this bug is filed about visit https:/
[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]
tags: | added: bot-comment |
affects: | ubuntu → linux (Ubuntu) |
Brad Figg (brad-figg) wrote : Missing required logs. | #2 |
This bug is missing log files that will aid in diagnosing the problem. From a terminal window please run:
apport-collect 1275794
and then change the status of the bug to 'Confirmed'.
If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.
This change has been made by an automated script, maintained by the Ubuntu Kernel Team.
Changed in linux (Ubuntu): | |
status: | New → Incomplete |
Joseph Salisbury (jsalisbury) wrote : | #3 |
Would it be possible for you to test the latest upstream kernel? Refer to https:/
If this bug is fixed in the mainline kernel, please add the following tag 'kernel-
If the mainline kernel does not fix this bug, please add the tag: 'kernel-
If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".
Thanks in advance.
[0] http://
Changed in linux (Ubuntu): | |
importance: | Undecided → Medium |
tags: | added: trusty |
Corey Bryant (corey.bryant) wrote : AlsaInfo.txt | #4 |
tags: | added: apport-collected |
description: | updated |
Corey Bryant (corey.bryant) wrote : BootDmesg.txt | #5 |
Corey Bryant (corey.bryant) wrote : CRDA.txt | #6 |
Corey Bryant (corey.bryant) wrote : CurrentDmesg.txt | #7 |
Corey Bryant (corey.bryant) wrote : IwConfig.txt | #8 |
Corey Bryant (corey.bryant) wrote : Lspci.txt | #9 |
Corey Bryant (corey.bryant) wrote : Lsusb.txt | #10 |
Corey Bryant (corey.bryant) wrote : ProcCpuinfo.txt | #11 |
Corey Bryant (corey.bryant) wrote : ProcEnviron.txt | #12 |
Corey Bryant (corey.bryant) wrote : ProcInterrupts.txt | #13 |
Corey Bryant (corey.bryant) wrote : ProcModules.txt | #14 |
Corey Bryant (corey.bryant) wrote : PulseList.txt | #15 |
Corey Bryant (corey.bryant) wrote : RfKill.txt | #16 |
Corey Bryant (corey.bryant) wrote : UdevDb.txt | #17 |
Corey Bryant (corey.bryant) wrote : UdevLog.txt | #18 |
Corey Bryant (corey.bryant) wrote : WifiSyslog.txt | #19 |
Corey Bryant (corey.bryant) wrote : | #20 |
I just booted with the latest kernel and it's not fixed there.
linux-image-
Changed in linux: | |
importance: | Unknown → Medium |
status: | Unknown → Incomplete |
tags: | added: kernel-bug-exists-upstream |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
Changed in linux (Ubuntu): | |
status: | Confirmed → Triaged |
134 comments hidden Loading more comments | view all 194 comments |
In freedesktop.org Bugzilla #71267, Jani-nikula (jani-nikula) wrote : | #155 |
(In reply to comment #133)
> (In reply to comment #132)
> > I have got the following devices:
> > * T440s (Kernel 3.13.2)
> > * Dock (fw2.10)
> > * Dock (fw2.17)
> >
> > If I can provide additional logs, please give me infos on which scenarios
> > (/patches).
>
> Apply the patches from this thread:
> http://
> linux-3.13.2 and provide dmesg output with 'drm.debug=0xe' kernel parameter.
For convenience, rebased on top of v3.13.2:
http://
In freedesktop.org Bugzilla #71267, Theodore Ts'o (tytso) wrote : | #156 |
Jani, for the record, I did my tests with your two patches before I updated the dock firmware, and it definitely did make the hangs go away --- and as I mentioned, I was even able to connect to an external Dell LCD panel using DP without any problems (although the "too many retries" debug message did trigger).
Many thanks for working on this issue, and I agree that the kernel should not be hanging even if the dock is buggy. I have two Ultradocks (one at work and one at home) --- would it be helpful if I keep one unupgraded for now? From looking at the intel-gfx list it sounds like you are planning on changing the infrastructure to use some new infrastructure in the next kernel version or two? If you'd like me to do some testing of the new code with a buggy dock, I'm happy to keep one of my docks at the old firmware version, especially since the two patches seem to be an adequate workaround.
In freedesktop.org Bugzilla #71267, Mailings-f (mailings-f) wrote : | #157 |
(In reply to comment #135)
> Many thanks for working on this issue, and I agree that the kernel should
> not be hanging even if the dock is buggy. I have two Ultradocks (one at
> work and one at home) --- would it be helpful if I keep one unupgraded for
Me too.
I can help as well.
> now? From looking at the intel-gfx list it sounds like you are planning on
> changing the infrastructure to use some new infrastructure in the next
> kernel version or two? If you'd like me to do some testing of the new code
> with a buggy dock, I'm happy to keep one of my docks at the old firmware
> version, especially since the two patches seem to be an adequate workaround.
In freedesktop.org Bugzilla #71267, bfrancom@gmail.com (bfrancom) wrote : | #158 |
(In reply to comment #124)
> (In reply to comment #122)
> > I also get a mirrored output on VGA, however I could not extend to that
> > adapter. (it seems to be a hardware mirror, I only see one external display,
> > DP2, in XrandR...)
>
> Same here. Switching to one external DP display now works like a charm. Gets
> identified as DP2 in xrandr.
>
> Connecting a second DP display result in a mirrored output. Both external
> displays are identified as DP2.
>
> There seems to be still a problem enumerating the devices connected to the
> DP hub
Same on a Thinkpad W540 with Ultra Dock. Ubuntu 13.10 3.14.0-
In freedesktop.org Bugzilla #71267, Jmvalin (jmvalin) wrote : | #159 |
I have a W540 that also freezes when trying to use DP, with the difference that I don't see any oops or error message in neither the kernel logs, nor the X logs. When I plug in an external monitor, xranrd shows it as connected to DP2, regardless of whether it's connected to DP1, DP2, DVI or HDMI. On one occasion, I have been able to get a mirror output on both DP1 and DP2 (still after 1-2 min of freezing), even though xrandr still showed only DP2 as being connected. I have been unable to reproduce that partial success since. During the freeze, Xorg keeps using a steady 20% CPU, but any attempt at attaching gdb to the Xorg process only resulted in gdb feezing (had to kill -9 it). Anything I can run to help debugging this?
In freedesktop.org Bugzilla #71267, Bernhard (schlimmchen) wrote : | #160 |
(In reply to comment #138)
> When I plug in an external monitor, xranrd shows it as connected
> to DP2, regardless of whether it's connected to DP1, DP2, DVI or HDMI.
From how I understand it, this is because all the display connectors are provided through a DP MST hub that is working in the dock. This hub then provides three possible outputs (VGA, digital group 1 and digital group 2). We need DP MST support.
It looks like MST is required to drive 4k monitors
If this is true i think it will be implemented soon. Does anybody know if there is still work for MSt support? i can't find anything about it.
In freedesktop.org Bugzilla #71267, Roland Dreier (roland.dreier) wrote : | #162 |
Is MST actually required for 4K / 60Hz monitors, or is HBR2 / DP 1.2 sufficient? (My understanding is that Intel Linux drivers already support HBR2)
I don't know. So without MST support there will be no way to connect more than one monitor to the dock?
In freedesktop.org Bugzilla #71267, Freedesktop-s (freedesktop-s) wrote : | #164 |
Created attachment 93971
dmesg-jani-
dmesg output from drm module with changes proposed by Jani while the computer was booted while docked.
In freedesktop.org Bugzilla #71267, Freedesktop-s (freedesktop-s) wrote : | #165 |
Created attachment 93972
dmesg-jani-
dmesg output from drm module with changes proposed by Jani while the computer was booted while undocked. The computer is then docked and the display spilt using xrandr.
In freedesktop.org Bugzilla #71267, Freedesktop-s (freedesktop-s) wrote : | #166 |
(In reply to comment #131)
> From the kernel perspective it's fixed when we don't freeze the machine even
> when a dock with buggy firmware is connected, which is what my patches fix.
>
> Plus we need to follow-up on comment #125.
Jani, my earlier comment was a false alarm. My apologies. I confirm that your patches work very well for my T440s with an Ultra Dock (firmware not updated). I tested with following two scenarios:
1. Booting while docked and then using xrandr to split the display.
2. Booting undocked and then dock and use xrandr to split the display.
The changes worked well for both scenarios, albeit some minor delay which is very much acceptable.
As mentioned by Tso earlier, there were some "*ERROR* too many retries, giving up" messages. Here are the dmesg outputs for the above two scenarios.
https:/
https:/
This bug may now be closed.
Thanks!
In freedesktop.org Bugzilla #71267, Daniel-ffwll (daniel-ffwll) wrote : | #167 |
Thanks everyone for reporting this and testing patches, fix is now on track for 3.14 and stable kernels:
commit 2f589112609b0a9
Author: Jani Nikula <email address hidden>
Date: Tue Feb 11 11:52:05 2014 +0200
drm/i915/dp: add native aux defer retry limit
In freedesktop.org Bugzilla #71267, Jmvalin (jmvalin) wrote : | #168 |
Created attachment 94007
dmesg with patch applied, old firmware
I applied the patch on the FC20 3.12 kernel and although there was no freeze, I got some scary error messages in my kernel logs. See attached output. This is a Lenovo W540 laptop running Fedora 20 with the latest laptop BIOS, but the old dock firmware.
Changed in linux: | |
status: | Incomplete → Fix Released |
In freedesktop.org Bugzilla #71267, Jani-nikula (jani-nikula) wrote : | #169 |
(In reply to comment #147)
> Created attachment 94007 [details]
> dmesg with patch applied, old firmware
>
> I applied the patch on the FC20 3.12 kernel and although there was no
> freeze, I got some scary error messages in my kernel logs. See attached
> output. This is a Lenovo W540 laptop running Fedora 20 with the latest
> laptop BIOS, but the old dock firmware.
That is to be expected if the display port sink replies with repeated aux defer messages. Error for the retry limit first, then error for the modeset failing due to this. Don't worry about it.
(The modeset failure message comes from the post-modeset state checker. We could handle this more gracefully, but there are scenarios where the failures we detect during modeset do not result in a non-working display... while bailing out early would definitely result in a non-working display.)
In freedesktop.org Bugzilla #71267, Jani-nikula (jani-nikula) wrote : | #170 |
(In reply to comment #85)
> I care about getting this fixed, so I'm offering USD 100.00 via
> FreedomSponsors to the first person who fix it.
>
> Offer link:
> http://
> when-enabling-
>
> You can also join me and throw in a few bucks there and we'll get it fixed
> faster :)
>
> If you fix this issue (see my acceptance criteria there) please use that
> site to request your payment.
We had a bug in the driver, and thanks to this bug report it's now fixed. Everyone, thanks for the report and testing! I hear a firmware upgrade in the dock also fixes the issue, but it doesn't mean we didn't have a bug.
As the fix ended up being my commit, I feel I should express my view on the offered bounty. This is speaking solely for myself, not for my employer or colleagues. Regardless of the firmware fix, I think it would be unethical of me to accept any part of the bounty.
I am employed to work on the driver, and fixing issues like this is part of the job. Personal prize money should not directly affect, or give an impression that it would affect, the priorities I set and am given as an employed developer. This is also a team effort. I contributed the fix, but many developers were involved in the triage, and people who tested the patches likely spent more time on this than I did! (Thanks again!)
All that said, I appreciate the offer and FreedomSponsors in general, and I would have no qualms about accepting bounties for things I work on in a hobbyist capacity.
If you still feel indebted for having made the offer, please consider sponsoring some other task or donating to a charity of your choosing.
Thanks.
In freedesktop.org Bugzilla #71267, Mailings-f (mailings-f) wrote : | #171 |
Jani,
Well spoken, respect.
That is why I love Open Source!
It tends to attract people with the 'right kind' of attitude AFAIC.
So thanks to everyone involved!
Keep up the good work :-)
In freedesktop.org Bugzilla #71267, Nemauen (nemauen) wrote : | #172 |
Hi Jani
Awesome attitude, thanks for fixing this.
Do you know when there is an official new driver including this fix available on https:/
Thanks in advance!
In freedesktop.org Bugzilla #71267, Jani-nikula (jani-nikula) wrote : | #173 |
(In reply to comment #151)
> Do you know when there is an official new driver including this fix
> available on https:/
> or similar site (I for some reason cannot connect to the site right now, but
> I think it's where I got my last Intel linux driver).
CC Rodrigo, I think this question is for you. ;) The fix itself is queued to 3.14 and -stable.
In freedesktop.org Bugzilla #71267, Anastas-stoyanovsky (anastas-stoyanovsky) wrote : | #174 |
Dual display is confirmed working after firmware upgrade.
I'm dual booting Arch Linux (uname -r: kernel 3.12.9-2-ARCH) and Windows 7 on a Thinkpad T440 and using the Thinkpad Pro Dock; after installing dock firmware version 2.17.00 linked above on Windows and rebooting into Arch, dual display (monitor model Acer V236HL) is confirmed working over DVI, including extended desktop.
Thank you to everyone that contributed to this fix.
In freedesktop.org Bugzilla #71267, Anastas-stoyanovsky (anastas-stoyanovsky) wrote : | #175 |
(In reply to comment #153)
> Dual display is confirmed working after firmware upgrade.
>
> I'm dual booting Arch Linux (uname -r: kernel 3.12.9-2-ARCH) and Windows 7
> on a Thinkpad T440 and using the Thinkpad Pro Dock; after installing dock
> firmware version 2.17.00 linked above on Windows and rebooting into Arch,
> dual display (monitor model Acer V236HL) is confirmed working over DVI,
> including extended desktop.
>
> Thank you to everyone that contributed to this fix.
Elaboration: I have not applied any patches to the kernel at all. The firmware upgrade was enough in my case.
In freedesktop.org Bugzilla #71267, Georg Pichler (georgpichler) wrote : | #176 |
(In reply to comment #149)
> As the fix ended up being my commit, I feel I should express my view on the
> offered bounty. This is speaking solely for myself, not for my employer or
> colleagues. Regardless of the firmware fix, I think it would be unethical of
> me to accept any part of the bounty.
Thank you all very much. And very well spoken, Jani. It's a great community at work here.
In freedesktop.org Bugzilla #71267, Mark A. Hershberger (hexmode) wrote : | #177 |
Additional datapoint since I just ran into this bug but haven't yet managed to upgrade the firmware.
I am running Debian Testing right now on a new x240 with the ultradock. I was testing this and, just as gdm was about to start up, I docked the system.
Kernel is now saying "task kworker/1:3:1450 blocked for more than 120 seconds" and "task Xorg:1647 blocked for more than 120 seconds" followed by "Not tainted 3.12-1-amd64 #1"
I'll apply the firmware updates, but it I thought this might help someone who was searching for an answer.
In freedesktop.org Bugzilla #71267, Jani-nikula (jani-nikula) wrote : | #178 |
(In reply to comment #156)
> Additional datapoint since I just ran into this bug but haven't yet managed
> to upgrade the firmware.
>
> I am running Debian Testing right now on a new x240 with the ultradock. I
> was testing this and, just as gdm was about to start up, I docked the system.
>
> Kernel is now saying "task kworker/1:3:1450 blocked for more than 120
> seconds" and "task Xorg:1647 blocked for more than 120 seconds" followed by
> "Not tainted 3.12-1-amd64 #1"
>
> I'll apply the firmware updates, but it I thought this might help someone
> who was searching for an answer.
Was this with or without the kernel patches? If without, please try with them. Thanks.
1 comments hidden Loading more comments | view all 194 comments |
In freedesktop.org Bugzilla #71267, Mark A. Hershberger (hexmode) wrote : | #180 |
without. I haven't had time to compile a new one.
In freedesktop.org Bugzilla #71267, Giles Carré (giles-carre) wrote : | #179 |
I confirm this behaviour: with the dock firmware update (T440s in a ProDock for me), I can use external displays. I can have two external displays (two 1680x1050), one on HDMI port, an another on VGA port.
In normal mode, the two external displays are mirrored.
But I can put them in extended desktop mode and have something like one 3360x1050 display. I'd preffer have two distinct displays, because today it's difficult to manage the windows size of the graphic applications (in particular, the automatic resize facility when you push the window to the bottom/
Nevertheless, the good news is that I can use 3 displays in the same time: the internal one and the two externals.
1 comments hidden Loading more comments | view all 194 comments |
Corey Bryant (corey.bryant) wrote : | #181 |
Tested successfully on 3.14.0-
In freedesktop.org Bugzilla #71267, Thomas-fogh-damgaard (thomas-fogh-damgaard) wrote : | #182 |
Using Fedora 20 with kernel 3.13.6-
xrandr output with two monitor connected (same output with only one external monitor):
$ xrandr
Screen 0: minimum 320 x 200, current 3600 x 1080, maximum 8192 x 8192
eDP1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 309mm x 173mm
1920x1080 60.0*+
1400x1050 60.0
1280x1024 60.0
1280x960 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP2 connected 1680x1050+1920+0 (normal left inverted right x axis y axis) 459mm x 296mm
1680x1050 60.0*+
3360x1050 60.0
2560x1024 60.0
1280x1024 75.0 60.0
1440x900 75.0 59.9
1280x960 60.0
1280x800 74.9 59.8
1152x864 75.0
1024x768 75.1 70.1 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
640x480 75.0 72.8 66.7 60.0
720x400 70.1
HDMI2 disconnected (normal left inverted right x axis y axis)
In freedesktop.org Bugzilla #71267, Consume-noise-7 (consume-noise-7) wrote : | #183 |
(In reply to comment #159)
> Using Fedora 20 with kernel 3.13.6-
> T440s and the ThinkPad Pro Dock and 1 external monitor. However if I connect
> a second monitor it just gets a mirror of the first external monitor. I can
> connect the first monitor to VGA or DVI and that works fine.
Duplicate of comment #122, an answer can be found in comment #128 or search for MST in this report.
In freedesktop.org Bugzilla #71267, Notadrian (notadrian) wrote : | #184 |
(In reply to comment #159)
> DP2 connected 1680x1050+1920+0 (normal left inverted right x axis y axis)
> 459mm x 296mm
> 1680x1050 60.0*+
> 3360x1050 60.0
This is perhaps the wrong place, but I'm curious; if you select the 3360x1050 mode, does it stretch across both monitors?
In freedesktop.org Bugzilla #71267, Thomas-fogh-damgaard (thomas-fogh-damgaard) wrote : | #185 |
Thanks! Yes. It stretches across both monitors.
In freedesktop.org Bugzilla #71267, Ms-l (ms-l) wrote : | #186 |
So, to my understanding MST is not supported meaning that multiple (DP) connected monitors will become mirrored. However, it seems like also the DVI output is mirrored - is this expected?
I am running Ubuntu 14.04 (i.e. 3.13.0-24-generic) on a T440p attached to an ultra dock (firmware 2.17), and attaching one DP monitor works flawlessly together with the builtin display. However attaching an additional monitor (occurs for both DP and DVI) simply mirrors the first DP connected display. xrandr outputs the same in either case:
martin@
Screen 0: minimum 320 x 200, current 1920 x 1200, maximum 32767 x 32767
eDP1 connected (normal left inverted right x axis y axis)
1600x900 60.0 +
1440x900 59.9
1360x768 59.8 60.0
1152x864 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI1 disconnected (normal left inverted right x axis y axis)
DP2 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 518mm x 324mm
1920x1200 60.0*+
3840x1200 60.0
2560x1024 60.0
1920x1080 60.0
1600x1200 60.0
1680x1050 60.0
1280x1024 60.0
1440x900 59.9
1280x800 59.8
1280x720 60.0
1024x768 60.0
800x600 60.3
640x480 60.0
720x400 70.1
HDMI2 disconnected (normal left inverted right x axis y axis)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
I would expect the DVI port to be working independently of the DP port - is this not the case?
thanks,
Martin
Im not sure but i think all outputs (DP, DVI, VGA) are converted from DP. So one big DP Hub with direct DP, VGA-converter and DVI-converter.
Corey Bryant (corey.bryant) wrote : | #188 |
This is no longer an issue in the released version of 14.04 LTS.
In freedesktop.org Bugzilla #71267, Ms-l (ms-l) wrote : | #189 |
So no matter what we do, we can only reach a maximum of two unique displays (the builtin and one external) without MST?
i currently have 1x mDP > HDMI; 1x DVI on Dock; and builtin. so 3 displays are possible with dock and builtin. and vga on the laptop directly may be also usable. i read that MST is currently in progress by some intel devs, i think it was on phoronix.
In freedesktop.org Bugzilla #71267, Ms-l (ms-l) wrote : | #191 |
Thanks Jan, I will try the mDP solution whenever I can get hold of an adapter/cable.
I guess the post you are referring to is this http://
In freedesktop.org Bugzilla #71267, Mailings-f (mailings-f) wrote : | #192 |
(In reply to comment #166)
> i currently have 1x mDP > HDMI; 1x DVI on Dock; and builtin. so 3 displays
> are possible with dock and builtin. and vga on the laptop directly may be
> also usable. i read that MST is currently in progress by some intel devs, i
> think it was on phoronix.
That information is wrong.
David Airlie of Red Hat is hacking on it, see http://
In freedesktop.org Bugzilla #71267, Theinric (theinric) wrote : | #193 |
(In reply to comment #166)
> i currently have 1x mDP > HDMI; 1x DVI on Dock; and builtin. so 3 displays
> are possible with dock and builtin.
I can confirm that this setup works.
> and vga on the laptop directly may be also usable.
I've tried using it and it appears disabled when the laptop is docked.
In freedesktop.org Bugzilla #71267, Proninyaroslav (proninyaroslav) wrote : | #194 |
The same problem on MacBook Air 2014 in the transition to the standby mode. After that set the brightness below 90% is not possible, the screen goes off completely. I think the problem in the module wl.
WARNING: CPU: 3 PID: 86 at drivers/
HW: Lenovo T440s with a Thinkpad Ultra Dock and a Dell U2410
The T440s was at the docking station when powering on.
If I start the X-server, plugin the Monitor to a DP connector at the docking station and call `xrandr --output DP2 --preferred` the X-server freezes. (Doesn't happen without the docking station at the mDP connector directly at the notebook.)
By freeze I mean:
- no cursor movement
- no VT switching
Though the maschine is reachable via ssh:
- X-server ignores `kill -9`
After 2 minutes the following kernel message shows up: kernel/ hung_task_ timeout_ secs" disables this message. panel_vdd_ work [i915] 884>] ? dequeue_ entity+ 0x144/0x4d0 815>] ? set_next_ entity+ 0x95/0xb0 5a8>] ? __switch_ to+0x118/ 0x4e0 029>] schedule+0x29/0x70 463>] schedule_ preempt_ disabled+ 0x23/0x30 9d8>] __mutex_ lock_slowpath+ 0x168/0x3b0 c32>] mutex_lock+ 0x12/0x30 8b5>] ironlake_ panel_vdd_ work+0x25/ 0x40 [i915] 6e7>] process_ one_work+ 0x167/0x450 0f1>] worker_ thread+ 0x121/0x3a0 fd0>] ? manage_ workers. isra.23+ 0x2b0/0x2b0 960>] kthread+0xc0/0xd0 8a0>] ? kthread_ create_ on_node+ 0x120/0x120 52c>] ret_from_ fork+0x7c/ 0xb0 8a0>] ? kthread_ create_ on_node+ 0x120/0x120
[ 480.195776] INFO: task kworker/0:1:34 blocked for more than 120 seconds.
[ 480.195779] "echo 0 > /proc/sys/
[ 480.195781] kworker/0:1 D 0000000000000246 0 34 2 0x00000000
[ 480.195803] Workqueue: events ironlake_
[ 480.195805] ffff880118cebd50 0000000000000046 0000000000014500 ffff880118cebfd8
[ 480.195809] ffff880118cebfd8 0000000000014500 ffff880119218870 ffff88011f214570
[ 480.195812] 0000000000000001 ffff880118cebcd8 ffffffff8109a884 ffff88011f2d4500
[ 480.195816] Call Trace:
[ 480.195822] [<ffffffff8109a
[ 480.195825] [<ffffffff81099
[ 480.195829] [<ffffffff81013
[ 480.195833] [<ffffffff814e1
[ 480.195835] [<ffffffff814e1
[ 480.195839] [<ffffffff814df
[ 480.195843] [<ffffffff814df
[ 480.195852] [<ffffffffa060a
[ 480.195855] [<ffffffff8107c
[ 480.195858] [<ffffffff8107d
[ 480.195861] [<ffffffff8107c
[ 480.195865] [<ffffffff81083
[ 480.195868] [<ffffffff81083
[ 480.195871] [<ffffffff814ea
[ 480.195875] [<ffffffff81083
The bug occured with
o kernel 3.10.12
o xorg 1.14.3
o xf86-video-intel 2.11.15
For this test and the following logs it has been reproduced with
o kernel 3.11.6
o xorg 1.14.4
o xf86-video-intel (at git head - dc61705 sna: Use an inplace exchange for large untiled BO).
A test with kernel 3.12 is in the queue.