Oct 27 08:27:01 danielpc-arch kernel: pcieport 0000:00:1d.6: PCIe Bus Error: severity=Corrected, type=Physical Layer, id=00ee(Receiver ID) Oct 27 08:27:01 danielpc-arch kernel: pcieport 0000:00:1d.6: AER: Corrected error received: id=00ee Oct 27 08:27:01 danielpc-arch kernel: ] *ERROR* failed to enable link training Oct 27 08:26:56 danielpc-arch kernel: xhci_hcd 0000:3e:00.0: HC died cleaning up Oct 27 08:26:56 danielpc-arch kernel: xhci_hcd 0000:3e:00.0: xHCI host controller not responding, assume dead Possibly notable entries in the log include: I have set the following options for the i915 kernel module: The USB-C port is connected to an adapter ( ), which is connected to a Dell U2515H with a displayport cable.
The HDMI port is connected to a external Viewsonic VX2433WM with HDMI
Mutter 3.26.1 with patch from here: (doesn't affect the hard lock but prevents the shell from crashing on disconnect) The laptop has an HDMI output and a USB-C port, both connected to the intel graphics. I have a laptop (Dell XPS 9560) with internal graphics (Kaby Lake) and also NVIDIA discrete graphics, but this is not used in my setup. Using the mesa intel driver, when I disconnect an external screen, all the screens turn on and off repeatedly, and then when I reconnect it, I get a hard system lock. System log including disconnecting and reconnecting the display