Using Dell dock WD19TB - no display after boot

Hi all,
wonder if someone has similar issue.

When Booting my FW16 - and it is connected to the dock - which is in turn connected to a Benq DR3200U 4K calibrated display - everything works.

To reproduce:

  1. Grub won’t show up on the external screen. But boots automatically.
  2. Once booted, I can enter the decryption password to unlock the home partition.
  3. Sddm displays on the external screen fine, and shows login screen.
  4. I type in the password - and BAM - external screen turns black.

I have to unplug the W16 from the dock, wait 10 seconds, and 7 times out of 10 I mange to get the external screen working again.

What’s the best way to troubleshoot what’s going on here. Any advice?

1 Like

Is this a regression?

  1. You’ll probably want to look at the kernel logs.
  2. While in the bad state look at the output for boltctl.

Also what kernel version are you on? There are some very recent changes that affect the bootup behavior for some TBT3 and USB4 devices.

1 Like

Hi Mario,
thx for the hints.
I’ll check the kernel logs next time.
Current boltctl output:

smurphy@jupiter:~$ boltctl 
 ● Dell WD19TB Thunderbolt Dock
   ├─ type:          peripheral
   ├─ name:          WD19TB Thunderbolt Dock
   ├─ vendor:        Dell
   ├─ uuid:          ca030000-0060-6c0e-835b-33144c64d821
   ├─ generation:    Thunderbolt 3
   ├─ status:        authorized
   │  ├─ domain:     7bba3804-e1f4-2aa2-ffff-ffffffffffff
   │  ├─ rx speed:   40 Gb/s = 2 lanes * 20 Gb/s
   │  ├─ tx speed:   40 Gb/s = 2 lanes * 20 Gb/s
   │  └─ authflags:  none
   ├─ authorized:    mer. 22 mai 2024 07:19:41
   ├─ connected:     mer. 22 mai 2024 07:19:41
   └─ stored:        mer. 13 mars 2024 09:34:23
      ├─ policy:     iommu
      └─ key:        no

I’ll try to access it remotely to see what is going on. I have a PiKVM here that is here just for that.

Kernel version is:

Linux jupiter.solsys.org 6.5.0-35-generic #35~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May  7 09:00:52 UTC 2 x86_64 x86_64 x86_64 GNU/Linux

Maybe I should upgrade the kernel?

Maybe I should upgrade the kernel?

Yeah it’s worth checking if this is still a bug occurring in 6.9.1. Here’s a mainline PPA build to try.
Index of /mainline/v6.9.1 (ubuntu.com)

Looked at the kernels. It is a good pointer, but it is a production machine, so I can’t just change it (encryption etc. active), and these kernels are not signed. Can’t boot as secure boot is enabled.
I have a workaround now (replug etc.). As soon as a new signed kernel is available, I’ll check it out. Thx for the pointer though.

Can you try a Ubuntu 24.04 live image perhaps? That’s got a signed 6.8 kernel at least. It’s missing the thing from 6.9 I was talking about that changes things at bootup, but it could be a good data point.

I can do that. Will report back.
UPDATE: So, Ubuntu 24.04 live boots - but it opens a expanded display (internal + external) while internal remains enabled. So when I close the lid and try to boot by powering the dock (bios setting), I only see the extended desktop with no panel. Have to open the screen to actually access to the rest.
Can’t get it to live boot only into the external screen.
Kernel seems to work so far.

I’ll troubleshoot a little more when I have time again - Middle next week.

Interesting. it almost sounds like a bug that the eDP isn’t being turned off by default when it’s booted closed.

Would really love if you can boot a mainline 6.9 kernel off an SD card or USB stick or something to see if this still exists in 6.9. It’s quite a surprising behavior.

Tried looking for a 6.9 kernel enable linux distribution, but didn’t find any.
You have something I could try?

Arch Linux based distros have it, as does Fedora rawhide. You. An find it for Ubuntu here:

https://kernel.ubuntu.com/mainline/v6.9.1/

But yeah this requires turn off secure boot since not signed. So if need be I would say install on a USB stick or something.

ok. Did disable force secure boot during lunchtime to boot dmesg-6.9.1-060901-generic
Unable to copy & paste. Forum software always shows me a 403…

I did paste my results here: Cutout Warning from DMESG. on my private site’s pastebin.

If you want the full dmesg, let me know.

I’m aware of this warning, but it should be harmless. We have a bug on drm/amd tracking it.

Most importantly did the lid behavior you described happen?

Yes. It still happens … :frowning:

Got it; I think it’s the same problem as this issue then.
Laptop screen enabled after booting with lid closed (#3349) · Issues · drm / amd · GitLab

It sounds generic somewhere in the GPU driver not specific to Phoenix.

I’ve reproduced and I think I have a fix. I’ve posted it to that bug. Can you please test it?

Is there a build somewhere, or do I have to get the source, apply the patch and compile it?
Havn´t done that in a while (15+ years) :slight_smile:

I tried to build it on a PPA for you but it failed for some non obvious reason. But it seems to build just fine locally.

https://launchpad.net/~superm1/+archive/ubuntu/gitlab3149

I added the repo but don’t know which to install.

# apt-cache dump | grep 'linux-image' | grep '6\.9'

Any hint? Thx.

The build failed, I don’t know what’s wrong with it on the PPA.

Hi @Mario_Limonciello
I am using 6.10.6 at this time, and booting through the dock still fails to display the desktop.

Linux jupiter.solsys.org 6.10.6-061006-generic #202408190440 SMP PREEMPT_DYNAMIC Mon Aug 19 04:53:21 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

I actually get the password prompt for entering the password to decrypt my drive. SDDM shows up, I can enter the password - then nothing.
I have to unplug the USB-C, open the laptop screen, and then only will the login process finish.

see the dmesg output where the stop happens, check the time jumping from 08:33 to 08:42

[mer. août 28 08:33:54 2024] amdgpu 0000:03:00.0: amdgpu: ring mes_kiq_3.1.0 uses VM inv eng 14 on hub 0
[mer. août 28 08:33:54 2024] amdgpu 0000:03:00.0: [drm] Cannot find any crtc or sizes
[mer. août 28 08:33:54 2024] [drm] ring gfx_32772.1.1 was added
[mer. août 28 08:33:54 2024] [drm] ring compute_32772.2.2 was added
[mer. août 28 08:33:54 2024] [drm] ring sdma_32772.3.3 was added
[mer. août 28 08:33:54 2024] [drm] ring gfx_32772.1.1 ib test pass
[mer. août 28 08:33:54 2024] [drm] ring compute_32772.2.2 ib test pass
[mer. août 28 08:33:54 2024] [drm] ring sdma_32772.3.3 ib test pass
[mer. août 28 08:33:55 2024] amdgpu 0000:03:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[mer. août 28 08:33:55 2024] amdgpu 0000:c5:00.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=none:owns=none
[mer. août 28 08:33:57 2024] r8152 8-1.4:1.0 enxd8d0902425b6: carrier on
[mer. août 28 08:42:50 2024] usb 8-1.3.2: new SuperSpeed USB device number 8 using xhci_hcd
[mer. août 28 08:42:50 2024] usb 8-1.3.2: New USB device found, idVendor=05e3, idProduct=0620, bcdDevice=52.10
[mer. août 28 08:42:50 2024] usb 8-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[mer. août 28 08:42:50 2024] usb 8-1.3.2: Product: USB3.1 Hub
[mer. août 28 08:42:50 2024] usb 8-1.3.2: Manufacturer: GenesysLogic
[mer. août 28 08:42:50 2024] hub 8-1.3.2:1.0: USB hub found
[mer. août 28 08:42:50 2024] hub 8-1.3.2:1.0: 3 ports detected

The full dmesg output is on my pastebin: Dell Dock WD19TB dmesg 6.10.6
I really have to unplug and replug the USB-C to be able to use the dock.

$ boltctl
 ● Dell WD19TB Thunderbolt Dock
   ├─ type:          peripheral
   ├─ name:          WD19TB Thunderbolt Dock
   ├─ vendor:        Dell
   ├─ uuid:          ca030000-0060-6c0e-835b-33144c64d821
   ├─ generation:    Thunderbolt 3
   ├─ status:        authorized
   │  ├─ domain:     7bba3804-e1f4-2aa2-ffff-ffffffffffff
   │  ├─ rx speed:   40 Gb/s = 2 lanes * 20 Gb/s
   │  ├─ tx speed:   40 Gb/s = 2 lanes * 20 Gb/s
   │  └─ authflags:  none
   ├─ authorized:    mer. 28 août 2024 06:43:33
   ├─ connected:     mer. 28 août 2024 06:43:33
   └─ stored:        mer. 13 mars 2024 09:34:23
      ├─ policy:     iommu
      └─ key:        no