9

I have a really annoying problem after a clean installation of Ubuntu 18.04.

Setup

A 24" monitor connected to a Dell XPS 13 (9365 2-in-1) laptop via a Dell dock connected to the ThunderBolt port. From the dock I use a mini-display port to display-port to connect the dock to the monitor.

Problem

When I turn on the laptop, the monitor works, and I can see the startup information (BIOS) and the password prompt for the encrypted drive. When the login (gnome) screen is about to be displayed, the monitor turns off and does not recover from that state. I have to disconnect the laptop from the dock, log in, then plug the dock/monitor back in. Sometimes both screens are purple, mouse pointer moves in the screen but nothing else happens.

Driver info

WARNING: you should run this program as super-user.
*-display                 
   description: VGA compatible controller
   product: Intel Corporation
   vendor: Intel Corporation
   physical id: 2
   bus info: pci@0000:00:02.0
   version: 02
   width: 64 bits
   clock: 33MHz
   capabilities: vga_controller bus_master cap_list rom
   configuration: driver=i915 latency=0

lspci output

00:00.0 Host bridge: Intel Corporation Device 590c (rev 02)
00:02.0 VGA compatible controller: Intel Corporation Device 591e 
(rev02)
00:04.0 Signal processing controller: Intel Corporation Skylake          
Processor Thermal Subsystem (rev 02)
00:13.0 Non-VGA unclassified device: Intel Corporation Sunrise Point-LP 
Integrated Sensor Hub (rev 21)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:14.2 Signal processing controller: Intel Corporation Sunrise Point- LP Thermal subsystem (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point- LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point- LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:16.3 Serial controller: Intel Corporation Device 9d3d (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1d.1 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port (rev f1)
00:1f.0 ISA bridge: Intel Corporation Device 9d4b (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
02:00.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
02:01.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
02:02.0 PCI bridge: Intel Corporation JHL6340 Thunderbolt 3 Bridge (C step) [Alpine Ridge 2C 2016] (rev 02)
39:00.0 USB controller: Intel Corporation Device 15db (rev 02)
3a:00.0 Non-Volatile memory controller: Sandisk Corp WD Black NVMe SSD
3b:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS525A PCI Express Card Reader (rev 01)
3c:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)

Any ideas on what to check or what to do?

Thanks in advance.

3

Your dock is probably not supported in linux unless its a true thunderbolt dock or has its own driver.

Please update your question with the full lspci output.

Thunderbolt 2 is the same physical connector as mini displayport , on a true thunderbolt dock the displayport is just another socket for the display card. I use an OWC thunderbolt dock this way , its almost invisible to the computer as its basically pci-e hotlpug.

If your dock is made by dell it almost certainly uses a displaylink chipset it will need a driver for it to work properly, you can get one here. It will be laggy and slow , these are barely usable in linux. http://www.displaylink.com/downloads/ubuntu

Unless you need the dock for the other ports i would just plug the monitor directly in to the thunderbolt socket, you might need an adapter.

  • i would just get a usb-c to displayport adapter , they are not expensive and you a likely to need it elsewhere anyway. especially if you have multiple usb-c ports. FYI- usb-c is thunderbolt 3 not 2 , it doesn't do the passthrough quite so easily. – Amias May 30 '18 at 13:30
  • Hey Amias, thanks for your reply. I just updated the question with the output of lspci command. – Philippe Delteil May 30 '18 at 20:28
  • I just updated the setup info. – Philippe Delteil May 30 '18 at 21:19
  • Amias, I need the dock because I use several ports and I also charge the laptop with the same cable. – Philippe Delteil May 30 '18 at 21:51
  • ok so its proper thunderbolt device as lspci shows it has hotplugged as a pci bridge. That wayland switch is not on by default , you should have mentioned that ;) – Amias May 31 '18 at 8:53
3

This could be related to gdm3 using wayland. Please try disabling wayland for gdm3.

In order to make gdm3 use xorg instead of wayland, edit the file /etc/gdm3/custom.conf, find the line containing WaylandEnable=false and remove the comment sign (#). After you made the change, reboot and test if your problem still persists.

  • Thanks for your help, but this answer did not solve the issue. – Philippe Delteil Jun 5 '18 at 21:18
  • It did not help in my case either, also I have problem with displays layout resetting from time to time (weird enough not on every reboot) – K. Kowalczyk Jun 15 '18 at 6:40
  • This works for me. At least partialy. I have 2 monitors connected to computer dock. Before when i reboot with dock connected i can't see login screen. Now i can see it at Laptop screen. – scaamanho Jun 21 '18 at 6:19
1

I seem to have a issue which is very similar...

I had issues with Ubuntu 18.04 totally locking up when I had my laptop closed into the docking station for some reason.

I couldn't fix the issue so I updated with in mind that it might have been an update of 18.04 that fucked it up.

This seemed to have solved the lockup issue for me, but now when docked the second screen isn't begin detected from the login screen on, unless my laptop is open or when i switch up the monitor cables in the docking to make screen 1, screen 2 en screen 2, screen 1. No idea why this helps, but it does work...

Maybe this helps in your case too...

protected by Community Jun 14 '18 at 14:13

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.