Created attachment 917156 [details] boot log from affected system Description of problem: On certain Lenovo laptops (tested on multiple T540p laptops), the screen will freeze for 1 second every 5 seconds (4 seconds normal, 1 second frozen, repeat). This only happens when an external monitor is attached, and it is the only display (the laptop lid is closed or the built-in display is disabled through the use of the <Fn-F7> monitor selection button. When both the internal and external monitors are enabled it does not happen. There are no CPU spikes and audio is not affected. I tried disabling all Gnome extensions, and the problem still occurs. Version-Release number of selected component (if applicable): xorg-x11-drv-intel-2.21.15-7.fc20.x86_64 How reproducible: Happens every time Steps to Reproduce: 1. Attach external monitor to mini-DisplayPort 2. Close lid or disable internal screen 3. Actual results: Screen freezes for 1 second every 5 seconds. Can easily be seen while playing a video. Expected results: Screen works without freezing Additional info:
Created attachment 917171 [details] journalctl output from latest boot (drm.debug=6)
Created attachment 917172 [details] Xorg log from latest boot and X startup I closed and opened the lid several times. This bug is triggered when I close the lid (disabling the internal monitor on my laptop)
I really need a dmesg with drm.debug=6, not journalctl output at least the one here doesn't contain any events 4s apart which I can see.
I too am experiencing this issue on a t540p. I've noticed that the issue is far less impactful (or perhaps entirely gone) when using kernel 3.13.10-200.fc20.x86_64.
Created attachment 917408 [details] dmesg with drm.debug=6
Created attachment 917410 [details] Additional dmesg with more time run with lid closed
Note that if I open the lid on the laptop, the periodic messages to dmesg stop. In fact, almost nothing else gets logged. If I close the lid, I get the hotplug and other messages repeatedly.
I am running kernel 3.14.9-200.fc20.x86_64, FWIW
is this happening with the 3.15 kernels as well for anyone?
also what models of T540p? screen panels etc. I just got a lend of a t540p with 2880x1620 panel, and it doesn't seem to be doing it for me.
(In reply to Dave Airlie from comment #11) > also what models of T540p? screen panels etc. My T540p has a 1920 x 1080 screen built-in. This one has the Intel integrated graphics. If the one that you have has a high-res screen, does it also have the nVidia GPU? That could be a core difference. Were you trying it with an external monitor plugged into the mini-DisplayPort? I haven't tried it with the VGA external port, I just know that it happens with the mini-DisplayPort when plugged in either to the port on the laptop or plugged into the docking station. It happens whether or not the laptop is docked. It has an Intel Core i7-4800MQ CPU @ 2.70GHz. 16GB of RAM. Would you like any more details about the laptop hardware? I can get you the BIOS firmware version if you'd like.
I don't think I saw this issue when I used the VGA out on the laptop... only with the dock. I'll test later today.
Confirmed that using the VGA output on the laptop itself instead of the dock resolves the issue when using multiple monitors.
I'm wrong. I'm still having the issue without the mst kernel using the laptop vga output. I was too eager to try to narrow down the cause.
@jack and dan, can you post your model and bios information so we can help out David here. Mine is as follows: [bbaude@localhost ~]$ journalctl -b |grep DMI | grep LENOVO Aug 26 18:24:15 localhost.localdomain kernel: DMI: LENOVO 20BFS0EC00/20BFS0EC00, BIOS GMET65WW (2.13 ) 05/15/2014
(In reply to Brent Baude from comment #16) > @jack and dan, can you post your model and bios information so we can help > out David here. Mine is as follows: Mine is: [dsneddon@dsneddon-t540p ~]$ journalctl -b | grep DMI | grep LENOVO Aug 12 10:33:30 dsneddon-t540p kernel: DMI: LENOVO 20BFS0EC00/20BFS0EC00, BIOS GMET31WW (1.11 ) 10/16/2013
Created attachment 931218 [details] dmesg w/drm.debug=6 and kernel-3.17.0-0.rc2.git0.1.fc22.x86_64
@Dan, we appear to have the same model # which differs from David. So I think we are onto something. One difference in behaviour however is that with mine, I can operate with the lid closed (docked) and only one external monitor. The pauses for me only occur with the laptop lid closed (or deactivated) AND two external monitors. FWIW
Aug 13 11:04:15 galileo kernel: DMI: LENOVO 20BFS0EC00/20BFS0EC00, BIOS GMET31WW (1.11 ) 10/16/2013
My coworker picked up a T540p this morning and does NOT have the issue. Here is the output from the command for bios version: DMI: LENOVO 20BFS0EC00/20BFS0EC00, BIOS GMET62WW (2.10 ) 03/19/2014
Hi Dave, were you able to get the same model from your outfit to test with?
Hi Dave, it doesnt seem like new kernels fix this. Can you confirm on where you are at with this?
At David, I built Fedora-3.17.2-200.fc20.x86_64 with the patch you told me about -> https://www.freedesktop.org/patch/35188/ While I did need to reformat the patch to apply clean to 3.17, it apparently fixes the issue. So far I have tested with two external monitors and the lid closed from bootup. I see no pauses. Are there other tests you'd like me to test? If not, can we get this into Fedora proper?
I've created a scratch build (http://koji.fedoraproject.org/koji/taskinfo?taskID=8094657) with this patch and the latest from the Fedora Kernel package git repo which fixes the issue for me as well.
I have the same problem on F20. It happens if I use a docking station or not. The only common thread is that I'm using an external monitor. I've tried both VGA and DVI connectors - same problem, no difference. Here is my kernel: 3.17.3-200.fc20.x86_64 #1 SMP Fri Nov 14 19:45:42 UTC 2014 sudo journalctl -b|grep DMI|grep LENOVO Nov 25 19:43:34 localhost.localdomain kernel: DMI: LENOVO 20BFS0EC00/20BFS0EC00, BIOS GMET62WW (2.10 ) 03/19/2014 Any chance we can get a fix for this in F20?
Same problem as well on F20. Doesn't occur in kernel 3.16.7-200.fc20.x86_64 or prior. Noticed it with kernel-3.17.2-200, 3.17.3-200 and now 3.17.4-200. Hardware is Lenovo T540p and docking station. Occurs when I am connected to external monitor with laptop lid closed. Once I open laptop the freezes stop. If I boot into 3.16.7-200 kernel, problem doesn't occur. 3.17.4-200.fc20.x86_64 #1 SMP Fri Nov 21 23:26:41 UTC 2014 journalctl -b |grep DMI | grep LENOVO Dec 02 14:53:30 kht540p kernel: DMI: LENOVO 20BFS0EC00/20BFS0EC00, BIOS GMET66WW (2.14 ) 07/01/2014
just FYI patch for this is queued up for the next F20 kernel.
problem still occurs for me on 3.17.4-301.fc21.x86_64
please test 3.17.6-200.
Running 3.17.6-200 on F20 now with in my docking station and the freeze is gone. Thank you.
(In reply to Dave Airlie from comment #30) > please test 3.17.6-200. Works for me! Thanks!
(In reply to Dave Airlie from comment #30) > please test 3.17.6-200. It looks like the bug is fixed. Thanks.
Works for me! Thanks!
To finally close out this ticket, I can report that the newer kernels have fixed this issue for me. Thanks!!!