<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - Unplugging external monitor reliably wedges X on thinkpad t450s"
href="https://bugs.freedesktop.org/show_bug.cgi?id=94578">94578</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>Unplugging external monitor reliably wedges X on thinkpad t450s
</td>
</tr>
<tr>
<th>Product</th>
<td>DRI
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>major
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>DRM/Intel
</td>
</tr>
<tr>
<th>Assignee</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>njs@pobox.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>CC</th>
<td>intel-gfx-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>Created <span class=""><a href="attachment.cgi?id=122353" name="attach_122353" title="intel_reg dump --all output, before plugging external monitor in">attachment 122353</a> <a href="attachment.cgi?id=122353&action=edit" title="intel_reg dump --all output, before plugging external monitor in">[details]</a></span>
intel_reg dump --all output, before plugging external monitor in
On a thinkpad t450s (broadwell), I can plug in an external monitor and it works
great. But when I unplug it, then the most common outcome is that I drop into a
weird crash state:
- I get dropped to a text console on vt1, which functions fine -- I can log in,
collect debugging information, etc.
- the X server itself is still running -- e.g. I can do "DISPLAY=:0 xrandr" and
it happily reports back that the external monitor is disconnected and that the
built-in panel is configured and running.
- applications connected to the X server in general are still running (e.g.
they show up on 'ps', clementine continues to play music out the speakers,
etc.)
- exception: there's a line in dmesg saying "traps: gnome-shell[1172] trap
int3 ip:7f31e41a887b sp:7ffe72d29a70 error:0", so I guess gnome-shell has
probably crashed?
- aside from this line about gnome-shell, there's nothing at all reported in
dmesg -- no BUG or backtrace or anything like that
- there's nothing at all reported in Xorg.0.log
- if I then press alt-f2 to switch back to vt2, where the X server is running,
then the screen goes blank and input locks up.
- except, if I press control-alt-del to reboot, then systemd successfully
sees the control-alt-del, and successfully prints some stuff on the screen, so
I guess it's really showing vt2 in text mode?
This is using Debian testing's userspace (xserver-xorg-core 1.18.1,
xserver-xorg-video-intel 2.99.917+git20160307-2), and I get the same behavior
with both Debian's default 4.3 kernel and with a 4.5.0rc7 from Debian
experimental.
~$ uname -a
Linux branna 4.5.0-rc7-amd64 #1 SMP Debian 4.5~rc7-1~exp1 (2016-03-07) x86_64
GNU/Linux
The external monitor is an HDMI cable attached to an HDMI-to-miniDP dongle,
plugged into the miniDP port on the laptop.
This is extremely frustrating (basically makes my big work monitor unusable)
and extremely reproducible, so if you have any debugging suggestions I'm very
motivated to try :-). (Difficulty level: I've written (small) kernel and Xorg
patches before; I'd be debugging it myself already if I had any idea where to
start :-).)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
<li>You are the assignee for the bug.</li>
<li>You are the QA Contact for the bug.</li>
</ul>
</body>
</html>