Activity log for bug #1922334

Date Who What changed Old value New value Message
2021-04-02 08:48:07 Georgi Boiko bug added bug
2021-04-02 08:48:07 Georgi Boiko attachment added apport.linux-image-5.6.0-1052-oem.o1ukgtpr.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5483378/+files/apport.linux-image-5.6.0-1052-oem.o1ukgtpr.txt
2021-04-02 08:48:48 Georgi Boiko attachment added external-wake-xhci-state.log https://bugs.launchpad.net/dell-sputnik/+bug/1922334/+attachment/5483379/+files/external-wake-xhci-state.log
2021-04-02 08:49:11 Georgi Boiko attachment added external-wake-crash.log https://bugs.launchpad.net/dell-sputnik/+bug/1922334/+attachment/5483380/+files/external-wake-crash.log
2021-04-02 09:04:20 Georgi Boiko bug task added linux (Ubuntu)
2021-04-02 09:05:33 Georgi Boiko bug task added linux-meta-oem-5.6 (Ubuntu)
2021-04-02 09:30:12 Ubuntu Kernel Bot linux (Ubuntu): status New Incomplete
2021-04-06 20:05:11 Georgi Boiko tags apport-collected focal
2021-04-06 20:05:12 Georgi Boiko description I've recently upgraded my workhorse from XPS 9560 (2016) to a newer generation XPS 9500 (2020) and ran into several things that feel like regressions, but are probably related to hardware changes. This is one of them. tl;dr: When using XPS 9500 with a TB16 dock and an external monitor (Benq EX2780Q) connected to the dock via USB-C to USB-C (DP alternate mode), most of the time the monitor fails to wake up after going blank. details: Simplest way to reproduce is for hit Super+L, wait for the monitor to properly go in standby, then type something in or move the mouse to wake it up. 8 times out of 10 it does not wake up when using XPS 9500. Most of the time this can be fixed by power cycling the monitor, however this has a seemingly random chance of triggering two other issues: 1. The system to lose sight of the monitor for a brief period of time, which sometimes causes it to hang with a black screen and needs some combination of restarting the monitor, the dock, and the laptop, because there is a separate USB issue making hot-plugging unusable. 2. The monitor itself gets stuck in a weird standby state where it stops reacting to button presses and I need to hold the power button a bit longer for it to sort of hard reset? Notably, it wakes up fine every time when using XPS 9560 or Precision 5520 in the same setup which I have been using for ages. This becomes particularly troublesome when screens go into short-lived standby during boot: after the Dell logo, after entering the LUKS password, after logging in. Each of these points has a chance of triggering the bug, because it looks like there is some sort of mode change and waking signal submission happening between them that triggers it. I had to disable screen timeout as a temporary workaround to be able to work on this system at all without having to play "monitor wake lottery" every time I go brew a cuppa. The workaround at boot time is to either re-roll the lottery, or boot with the dock connected and lid open, then close the lid and keep working from there. The dock, the monitor, all USB peripherals are the same in both cases - it's literally just the TB16 cable plugged into a different laptop. I have attempted 5.8 Ubuntu generic, 5.6 OEM (-20.04) and 5.10 OEM (-20.04b and -20.04-edge) kernels on the 9500 with same results. I have attempted disabling USB autosuspend via a GRUB kernel parameter to usbcore. I have attempted both NVidia and Intel GPUs. I have attempted playing with BIOS settings: wake on dell usb-c docks, disable early sign of life for both checkboxes, disabling SGX and SMM, checking all 3 boxes for Thunderbolt and switching off Thunderbolt security. None of these make a noticeable difference. Since it was fine with 9560, 5520 and a friend with a 9570 has no issues either, my gut feeling is that this is due to the upgrade from Alpine Ridge to a Titan Ridge Thunderbolt controller that happened in this generation - something wrong with the driver, or the firmware may have missed some of the "lessons learned" in Alpine Ridge and caused this regression. That would also make it applicable to 9300, which has a "developer edition" option under Project Sputnik and several reports of the same problem scattered across the internet: https://www.dell.com/community/XPS/XPS-13-9300-with-WD19TB-External-display-not-coming-on-after/td-p/7676922 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1889342 (may be a duplicate, but for WD19TB dock on 9300, so may be slightly different too) https://www.reddit.com/r/linuxquestions/comments/ka0w2j/monitor_doesnt_wake_from_sleep/ etc etc. Those reports suggest high bandwidth usage sometimes affects it, so it's worth noting that my external monitor is a 1440p 144Hz one that uses tons of bandwidth indeed. The only hint in terms of logs seems to be this message in dmesg that I see when power cycling the monitor and getting back into the system: [ 250.777684] pcieport 0000:09:04.0: pciehp: Slot(0-1): Card not present [ 250.777695] xhci_hcd 0000:0b:00.0: can't change power state from D3cold to D0 (config space inaccessible) [ 250.778293] xhci_hcd 0000:0b:00.0: can't change power state from D3hot to D0 (config space inaccessible) [ 250.778336] xhci_hcd 0000:0b:00.0: Controller not ready at resume -19 [ 250.778340] xhci_hcd 0000:0b:00.0: PCI post-resume error -19! [ 250.778343] xhci_hcd 0000:0b:00.0: HC died; cleaning up [ 250.778374] xhci_hcd 0000:0b:00.0: remove, state 4 [ 250.778380] usb usb6: USB disconnect, device number 1 [ 250.778895] xhci_hcd 0000:0b:00.0: USB bus 6 deregistered [ 250.778905] xhci_hcd 0000:0b:00.0: remove, state 4 [ 250.778910] usb usb5: USB disconnect, device number 1 [ 250.779396] xhci_hcd 0000:0b:00.0: Host halt failed, -19 [ 250.779400] xhci_hcd 0000:0b:00.0: Host not accessible, reset failed. [ 250.779484] xhci_hcd 0000:0b:00.0: USB bus 5 deregistered And there was one time when the i915 driver crashed in the process of power cycling the external monitor, which I could not reproduce. Just in case, I attached the kernel logs for it too. System config: XPS 9500, i7, 32GB RAM BIOS 1.6.1, TB3 firmware NVM60 Ubuntu 20.04.02 LTS, kernels 5.6-oem, 5.8-generic, 5.10-oem (same behaviour) TB16 dock firmware 1.0.4 (MST 3.12.02) I've recently upgraded my workhorse from XPS 9560 (2016) to a newer generation XPS 9500 (2020) and ran into several things that feel like regressions, but are probably related to hardware changes. This is one of them. tl;dr: When using XPS 9500 with a TB16 dock and an external monitor (Benq EX2780Q) connected to the dock via USB-C to USB-C (DP alternate mode), most of the time the monitor fails to wake up after going blank. details: Simplest way to reproduce is for hit Super+L, wait for the monitor to properly go in standby, then type something in or move the mouse to wake it up. 8 times out of 10 it does not wake up when using XPS 9500. Most of the time this can be fixed by power cycling the monitor, however this has a seemingly random chance of triggering two other issues: 1. The system to lose sight of the monitor for a brief period of time, which sometimes causes it to hang with a black screen and needs some combination of restarting the monitor, the dock, and the laptop, because there is a separate USB issue making hot-plugging unusable. 2. The monitor itself gets stuck in a weird standby state where it stops reacting to button presses and I need to hold the power button a bit longer for it to sort of hard reset? Notably, it wakes up fine every time when using XPS 9560 or Precision 5520 in the same setup which I have been using for ages. This becomes particularly troublesome when screens go into short-lived standby during boot: after the Dell logo, after entering the LUKS password, after logging in. Each of these points has a chance of triggering the bug, because it looks like there is some sort of mode change and waking signal submission happening between them that triggers it. I had to disable screen timeout as a temporary workaround to be able to work on this system at all without having to play "monitor wake lottery" every time I go brew a cuppa. The workaround at boot time is to either re-roll the lottery, or boot with the dock connected and lid open, then close the lid and keep working from there. The dock, the monitor, all USB peripherals are the same in both cases - it's literally just the TB16 cable plugged into a different laptop. I have attempted 5.8 Ubuntu generic, 5.6 OEM (-20.04) and 5.10 OEM (-20.04b and -20.04-edge) kernels on the 9500 with same results. I have attempted disabling USB autosuspend via a GRUB kernel parameter to usbcore. I have attempted both NVidia and Intel GPUs. I have attempted playing with BIOS settings: wake on dell usb-c docks, disable early sign of life for both checkboxes, disabling SGX and SMM, checking all 3 boxes for Thunderbolt and switching off Thunderbolt security. None of these make a noticeable difference. Since it was fine with 9560, 5520 and a friend with a 9570 has no issues either, my gut feeling is that this is due to the upgrade from Alpine Ridge to a Titan Ridge Thunderbolt controller that happened in this generation - something wrong with the driver, or the firmware may have missed some of the "lessons learned" in Alpine Ridge and caused this regression. That would also make it applicable to 9300, which has a "developer edition" option under Project Sputnik and several reports of the same problem scattered across the internet: https://www.dell.com/community/XPS/XPS-13-9300-with-WD19TB-External-display-not-coming-on-after/td-p/7676922 https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1889342 (may be a duplicate, but for WD19TB dock on 9300, so may be slightly different too) https://www.reddit.com/r/linuxquestions/comments/ka0w2j/monitor_doesnt_wake_from_sleep/ etc etc. Those reports suggest high bandwidth usage sometimes affects it, so it's worth noting that my external monitor is a 1440p 144Hz one that uses tons of bandwidth indeed. The only hint in terms of logs seems to be this message in dmesg that I see when power cycling the monitor and getting back into the system: [ 250.777684] pcieport 0000:09:04.0: pciehp: Slot(0-1): Card not present [ 250.777695] xhci_hcd 0000:0b:00.0: can't change power state from D3cold to D0 (config space inaccessible) [ 250.778293] xhci_hcd 0000:0b:00.0: can't change power state from D3hot to D0 (config space inaccessible) [ 250.778336] xhci_hcd 0000:0b:00.0: Controller not ready at resume -19 [ 250.778340] xhci_hcd 0000:0b:00.0: PCI post-resume error -19! [ 250.778343] xhci_hcd 0000:0b:00.0: HC died; cleaning up [ 250.778374] xhci_hcd 0000:0b:00.0: remove, state 4 [ 250.778380] usb usb6: USB disconnect, device number 1 [ 250.778895] xhci_hcd 0000:0b:00.0: USB bus 6 deregistered [ 250.778905] xhci_hcd 0000:0b:00.0: remove, state 4 [ 250.778910] usb usb5: USB disconnect, device number 1 [ 250.779396] xhci_hcd 0000:0b:00.0: Host halt failed, -19 [ 250.779400] xhci_hcd 0000:0b:00.0: Host not accessible, reset failed. [ 250.779484] xhci_hcd 0000:0b:00.0: USB bus 5 deregistered And there was one time when the i915 driver crashed in the process of power cycling the external monitor, which I could not reproduce. Just in case, I attached the kernel logs for it too. System config: XPS 9500, i7, 32GB RAM BIOS 1.6.1, TB3 firmware NVM60 Ubuntu 20.04.02 LTS, kernels 5.6-oem, 5.8-generic, 5.10-oem (same behaviour) TB16 dock firmware 1.0.4 (MST 3.12.02) --- ProblemType: Bug ApportVersion: 2.20.11-0ubuntu27.16 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC4: gboiko 2233 F.... pulseaudio /dev/snd/controlC3: gboiko 2233 F.... pulseaudio /dev/snd/controlC1: gboiko 2233 F.... pulseaudio /dev/snd/controlC0: gboiko 2233 F.... pulseaudio CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME DistroRelease: Ubuntu 20.04 InstallationDate: Installed on 2021-03-31 (6 days ago) InstallationMedia: Ubuntu 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210209.1) MachineType: Dell Inc. XPS 15 9500 NonfreeKernelModules: nvidia_modeset nvidia Package: linux-meta-oem-5.6 ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.6.0-1052-oem root=/dev/mapper/vgubuntu-root ro net.ifnames=0 biosdevname=0 ipv6.disable=1 quiet splash pcie_aspm=off vt.handoff=7 ProcVersionSignature: Ubuntu 5.6.0-1052.56-oem 5.6.19 RelatedPackageVersions: linux-restricted-modules-5.6.0-1052-oem N/A linux-backports-modules-5.6.0-1052-oem N/A linux-firmware 1.187.10 Tags: focal Uname: Linux 5.6.0-1052-oem x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin lxd plugdev sambashare sudo _MarkForUpload: True dmi.bios.date: 12/24/2020 dmi.bios.vendor: Dell Inc. dmi.bios.version: 1.6.1 dmi.board.name: 0RHXRG dmi.board.vendor: Dell Inc. dmi.board.version: A03 dmi.chassis.type: 10 dmi.chassis.vendor: Dell Inc. dmi.modalias: dmi:bvnDellInc.:bvr1.6.1:bd12/24/2020:svnDellInc.:pnXPS159500:pvr:rvnDellInc.:rn0RHXRG:rvrA03:cvnDellInc.:ct10:cvr: dmi.product.family: XPS dmi.product.name: XPS 15 9500 dmi.product.sku: 097D dmi.sys.vendor: Dell Inc.
2021-04-06 20:05:13 Georgi Boiko attachment added AlsaInfo.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484872/+files/AlsaInfo.txt
2021-04-06 20:05:17 Georgi Boiko attachment added CRDA.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484873/+files/CRDA.txt
2021-04-06 20:05:18 Georgi Boiko attachment added CurrentDmesg.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484874/+files/CurrentDmesg.txt
2021-04-06 20:05:20 Georgi Boiko attachment added IwConfig.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484875/+files/IwConfig.txt
2021-04-06 20:05:21 Georgi Boiko attachment added Lspci.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484876/+files/Lspci.txt
2021-04-06 20:05:23 Georgi Boiko attachment added Lspci-vt.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484877/+files/Lspci-vt.txt
2021-04-06 20:05:24 Georgi Boiko attachment added Lsusb.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484878/+files/Lsusb.txt
2021-04-06 20:05:25 Georgi Boiko attachment added Lsusb-t.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484879/+files/Lsusb-t.txt
2021-04-06 20:05:27 Georgi Boiko attachment added Lsusb-v.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484880/+files/Lsusb-v.txt
2021-04-06 20:05:28 Georgi Boiko attachment added ProcCpuinfo.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484881/+files/ProcCpuinfo.txt
2021-04-06 20:05:29 Georgi Boiko attachment added ProcCpuinfoMinimal.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484882/+files/ProcCpuinfoMinimal.txt
2021-04-06 20:05:31 Georgi Boiko attachment added ProcEnviron.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484883/+files/ProcEnviron.txt
2021-04-06 20:05:32 Georgi Boiko attachment added ProcInterrupts.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484884/+files/ProcInterrupts.txt
2021-04-06 20:05:33 Georgi Boiko attachment added ProcModules.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484885/+files/ProcModules.txt
2021-04-06 20:05:35 Georgi Boiko attachment added PulseList.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484886/+files/PulseList.txt
2021-04-06 20:05:36 Georgi Boiko attachment added RfKill.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484887/+files/RfKill.txt
2021-04-06 20:05:38 Georgi Boiko attachment added UdevDb.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484888/+files/UdevDb.txt
2021-04-06 20:05:40 Georgi Boiko attachment added WifiSyslog.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484889/+files/WifiSyslog.txt
2021-04-06 20:05:42 Georgi Boiko attachment added acpidump.txt https://bugs.launchpad.net/bugs/1922334/+attachment/5484890/+files/acpidump.txt
2021-04-06 20:06:31 Georgi Boiko attachment removed WifiSyslog.txt https://bugs.launchpad.net/dell-sputnik/+bug/1922334/+attachment/5484889/+files/WifiSyslog.txt
2021-04-06 20:08:03 Georgi Boiko linux (Ubuntu): status Incomplete Confirmed
2021-04-12 11:21:00 Kai-Heng Feng bug added subscriber koba
2021-04-12 11:21:13 Kai-Heng Feng bug added subscriber Dell/Somerville
2021-05-02 12:27:29 Georgi Boiko attachment added kern-1922334.log https://bugs.launchpad.net/dell-sputnik/+bug/1922334/+attachment/5494205/+files/kern-1922334.log
2021-05-04 08:13:56 Georgi Boiko attachment added kernel-1025.log https://bugs.launchpad.net/dell-sputnik/+bug/1922334/+attachment/5494656/+files/kernel-1025.log
2021-05-06 19:28:07 Georgi Boiko attachment added kern-5.12-generic.log https://bugs.launchpad.net/ubuntu/+source/linux-meta-oem-5.6/+bug/1922334/+attachment/5495267/+files/kern-5.12-generic.log
2021-05-13 02:22:02 koba linux (Ubuntu): assignee koba (kobako)
2021-05-17 02:32:51 koba linux (Ubuntu): status Confirmed In Progress
2021-07-29 08:47:11 Georgi Boiko bug task added linux-oem-5.10 (Ubuntu)
2021-08-06 10:38:07 Georgi Boiko bug task added linux-oem-5.13 (Ubuntu)
2021-09-23 08:36:32 Georgi Boiko attachment added 5.15-rc2-2.log https://bugs.launchpad.net/dell-sputnik/+bug/1922334/+attachment/5527314/+files/5.15-rc2-2.log
2021-10-28 14:53:14 Georgi Boiko bug task added linux-oem-5.14 (Ubuntu)
2021-11-17 13:01:34 Timo Aaltonen linux-oem-5.10 (Ubuntu): status New Won't Fix
2021-11-17 13:01:37 Timo Aaltonen linux-meta-oem-5.6 (Ubuntu): status New Invalid
2021-11-17 13:01:42 Timo Aaltonen linux-oem-5.13 (Ubuntu): status New Won't Fix
2021-11-17 13:04:04 Timo Aaltonen linux-oem-5.14 (Ubuntu): status New Won't Fix
2022-01-04 14:00:55 Romain Couturat bug added subscriber Romain Couturat