[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2022-01-04 Thread Georgi Boiko
Got a newer nvidia driver (470) to work with this kernel over the
holidays.

The issue still applies, regardless of the GPU selected in prime-select.

I started getting new ACPI errors with it, which could be unrelated
(empty lines are in actual output):

[  196.405777] ACPI Error: Thread 25047680 cannot release Mutex [ECMX]
acquired by thread 14745600 (20210604/exmutex-378)

[  196.405804] No Local Variables are initialized for Method [_Q66]

[  196.405809] No Arguments are initialized for method [_Q66]

[  196.405815] ACPI Error: Aborting method \_SB.PCI0.LPCB.ECDV._Q66 due to 
previous error (AE_AML_NOT_OWNER) (20210604/psparse-529)
[  196.426883] input: U as 
/devices/pci:00/:00:1c.0/:02:00.0/:03:04.0/:39:00.0/:3a:04.0/:3c:00.0/:3d:01.0/:3e:00.0/usb5/5-1/5-1.1/5-1.1.4/5-1.1.4:1.0/0003:2A7A:4103.000F/input/input44
[  196.483631] hid-generic 0003:2A7A:4103.000F: input,hidraw4: USB HID v1.10 
Keyboard [U] on usb-:3e:00.0-1.1.4/input0
[  196.489779] input: U Consumer Control as 
/devices/pci:00/:00:1c.0/:02:00.0/:03:04.0/:39:00.0/:3a:04.0/:3c:00.0/:3d:01.0/:3e:00.0/usb5/5-1/5-1.1/5-1.1.4/5-1.1.4:1.1/0003:2A7A:4103.0010/input/input45
[  196.547646] input: U System Control as 
/devices/pci:00/:00:1c.0/:02:00.0/:03:04.0/:39:00.0/:3a:04.0/:3c:00.0/:3d:01.0/:3e:00.0/usb5/5-1/5-1.1/5-1.1.4/5-1.1.4:1.1/0003:2A7A:4103.0010/input/input46
[  196.547809] hid-generic 0003:2A7A:4103.0010: input,hidraw5: USB HID v1.10 
Device [U] on usb-:3e:00.0-1.1.4/input1
[  196.563812] ACPI Error: Thread 24988608 cannot release Mutex [ECMX] acquired 
by thread 14745600 (20210604/exmutex-378)

[  196.563851] No Local Variables are initialized for Method [_Q66]

[  196.563859] No Arguments are initialized for method [_Q66]

[  196.563869] ACPI Error: Aborting method \_SB.PCI0.LPCB.ECDV._Q66 due
to previous error (AE_AML_NOT_OWNER) (20210604/psparse-529)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta-oem-5.6 package in Ubuntu:
  Invalid
Status in linux-oem-5.10 package in Ubuntu:
  Won't Fix
Status in linux-oem-5.13 package in Ubuntu:
  Won't Fix
Status in linux-oem-5.14 package in Ubuntu:
  Won't Fix

Bug 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 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-12-15 Thread Georgi Boiko
@koba

nvidia module won't even build against oem kernel 5.14, so I can't test
that. Removing i915.enable_psr=0 is not really a supported configuration
on this machine. Keeping PSR on causes it to occasionally hard freeze
after hours of work.

tbh after all this time I've lost any hope of this getting fixed and any
will to continue trying different configurations. It must be something
very non-trivial if we haven't even been able to pin this down after 8
months of back and forth with all the debug logs switched on, so I am
thinking of just ditching this laptop and getting a Mac instead.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta-oem-5.6 package in Ubuntu:
  Invalid
Status in linux-oem-5.10 package in Ubuntu:
  Won't Fix
Status in linux-oem-5.13 package in Ubuntu:
  Won't Fix
Status in linux-oem-5.14 package in Ubuntu:
  Won't Fix

Bug 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 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-11-10 Thread Georgi Boiko
-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta-oem-5.6 package in Ubuntu:
  New
Status in linux-oem-5.10 package in Ubuntu:
  New
Status in linux-oem-5.13 package in Ubuntu:
  New
Status in linux-oem-5.14 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-10-28 Thread Georgi Boiko
** Also affects: linux-oem-5.14 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.14 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta-oem-5.6 package in Ubuntu:
  New
Status in linux-oem-5.10 package in Ubuntu:
  New
Status in linux-oem-5.13 package in Ubuntu:
  New
Status in linux-oem-5.14 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-09-23 Thread Georgi Boiko
If that would help, I could run the same scenario on a 9560 laptop to
maybe see what's different in the logs?

The 9560 does not have this problem, although it comes with a previous-
gen Intel GPU, HD630 vs UHD630 on the 9500.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta-oem-5.6 package in Ubuntu:
  New
Status in linux-oem-5.10 package in Ubuntu:
  New
Status in linux-oem-5.13 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-09-23 Thread Georgi Boiko
@koba, the issue still present on that one. Logging seems borked in that
RC, it only started ~1s into boot.

In the attached log,

1. the affected monitor (BenQ) "went away" after logging in at boot
2. came back after getting power cycled
3. suspended and woke fine on first Super+L
4. went away again on second Super+L
5. came back after getting power cycled

The second monitor (LG) suspended and woke up fine in each case.

This is with:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash i915.enable_psr=0 i915.modeset=1 
nvidia_drm.modeset=1 usbcore.autosuspend=-1 drm.debug=0x10e"
GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0 ipv6.disable=1"

The PSR=0 flag is needed to avoid random hard freezes on this laptop
model (unrelated issue even with Windows).

** Attachment added: "5.15-rc2-2.log"
   
https://bugs.launchpad.net/dell-sputnik/+bug/1922334/+attachment/5527314/+files/5.15-rc2-2.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta-oem-5.6 package in Ubuntu:
  New
Status in linux-oem-5.10 package in Ubuntu:
  New
Status in linux-oem-5.13 package in Ubuntu:
  New

Bug 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 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-09-20 Thread Georgi Boiko
Latest BIOS 1.9.1, TBT firmware v65, TB16 firmware 1.0.5 and kernel
5.13.0-1012-oem still affected

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta-oem-5.6 package in Ubuntu:
  New
Status in linux-oem-5.10 package in Ubuntu:
  New
Status in linux-oem-5.13 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: 

[Kernel-packages] [Bug 1922336] Re: ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop into a dock (9500, TB16)

2021-09-20 Thread Georgi Boiko
FWIW, the C-states workaround from this post works for me and resolves
the hot-plugging issue with TB16:
https://www.dell.com/community/XPS/XPS-13-9300-and-WD19TB-linux-
problem/m-p/7842208/highlight/true#M81522

Currently running BIOS 1.9.1, TBT firmware V65, TB16 firmware 1.0.5 and
kernel 5.13.0-1012-oem.

I hope this helps pin down the bug or at least becomes useful for others
who run into this.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  Confirmed
Status in linux-oem-5.10 package in Ubuntu:
  New
Status in linux-oem-5.13 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-08-16 Thread Georgi Boiko
Latest BIOS 1.8.1, TBT firmware v65, TB16 firmware 1.0.5 and OEM kernel
5.13 still affected

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta-oem-5.6 package in Ubuntu:
  New
Status in linux-oem-5.10 package in Ubuntu:
  New
Status in linux-oem-5.13 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller 

[Kernel-packages] [Bug 1922336] Re: ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop into a dock (9500, TB16)

2021-08-16 Thread Georgi Boiko
BIOS 1.8.1, TBT firmware v65, TB16 firmware 1.0.5 and OEM kernel 5.13
still affected

** Also affects: linux-oem-5.13 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-oem-5.13 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  Confirmed
Status in linux-oem-5.10 package in Ubuntu:
  New
Status in linux-oem-5.13 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-08-06 Thread Georgi Boiko
No change in linux-oem-5.13 (5.13.0-1009-oem), issue still applies as
described.

** Also affects: linux-oem-5.13 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta-oem-5.6 package in Ubuntu:
  New
Status in linux-oem-5.10 package in Ubuntu:
  New
Status in linux-oem-5.13 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-07-29 Thread Georgi Boiko
** Also affects: linux-oem-5.10 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta-oem-5.6 package in Ubuntu:
  New
Status in linux-oem-5.10 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] xhci_hcd 

[Kernel-packages] [Bug 1922336] Re: ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop into a dock (9500, TB16)

2021-07-29 Thread Georgi Boiko
** Also affects: linux-oem-5.10 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  Confirmed
Status in linux-oem-5.10 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions


-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-07-16 Thread Georgi Boiko
@koba, would it be better to move this issue to
https://gitlab.freedesktop.org/drm/intel/-/issues, or is this more
likely related to Thunderbolt in this generation of XPS going to Titan
Ridge?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-06-23 Thread Georgi Boiko
@koba, the latest drm-tip triggers it more reliably. When I lock the
screen, the issue triggers every single time after the external monitor
goes into standby, and it needs to be power-cycled to wake up.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-06-22 Thread Georgi Boiko
A couple of other behaviours I have observed now that may be useful for
figuring this one out:

1. When this monitor (Benq EX2780Q) goes to standby, it stops showing
signs of life on the signal line. This manifests as it disappearing
completely from the system, including the sound output and the display
device. Must be a power saving feature. I have not seen this on other
monitors I've owned, so I thought this may be a contributing factor.
Still, this does not result in the "fail to wake" issue on the XPS 9560
and on my Windows desktop connected to another input, so I don't think
it is the monitor's fault.

2. When 2 external monitors are connected (not my original post's use
case), Benq EX2780Q and LG 24MP57, and I power cycle the Benq for it to
wake up, the LG 24MP57 goes into a slow loop where it blanks for a
second, comes back for about 20 seconds, blanks for a second, repeat. If
I get lucky and everything boots up on first attempt, without power
cycling the Benq, this does not happen - which is why I thought it may
be related.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  In Progress
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-05-13 Thread Georgi Boiko
@koba,
Yes. Even if I disconnect everything but the monitor from TB16 and the 
remaining USB-Cs on the laptop, keep the laptop lid open and use the built-in 
kb/touchpad to lock/unlock the screen, it triggers about 1 in 3 times. With the 
lid open, the laptop screen wakes up, but the external remains stuck asleep.

Start up -> Log on -> Super+L -> Wait for the monitor to show "No signal
detected" -> Wait for the monitor to sleep, the LED indicator on it goes
orange -> Wait 3-5 seconds -> Press any key -> 1 in 3 times (but not
every third, can be many working/not working a row) reliably triggers it
and the monitor does not wake up.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 

[Kernel-packages] [Bug 1922336] Re: ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop into a dock (9500, TB16)

2021-05-07 Thread Georgi Boiko
@koba, with everything removed there is no ACPI error on plugging the
dock back in. However, if I start plugging external devices back into
the dock after it has registered with the system, the USB reset loop
behaviour is still exactly the same as in the original post.

In the attached log, I removed the dock (with nothing attached to it) at
22:00:11, plugged it back in at 22:00:23 with nothing attached to it,
started attaching external devices to it at 22:01:33.

** Attachment added: "kern-nousb-nomonitor.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux-meta-oem-5.6/+bug/1922336/+attachment/5495605/+files/kern-nousb-nomonitor.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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: 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-05-07 Thread Georgi Boiko
@koba,

5.12 logs attached.

It was triggered a few times during boot, but I checked dmesg before
locking the screen and triggering the issue - it was at timestamp
20:18:43, so the lines you are interested in will be shortly after that.

** 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

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change 

[Kernel-packages] [Bug 1922336] Re: ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop into a dock (9500, TB16)

2021-05-07 Thread Georgi Boiko
I should add that on 5.12 there is no USB reset loop observed in my
original post; USB devices attached to the dock just don't work at all
when re-plugging in the dock, even sporadically. After re-plugging in
the dock, the built-in laptop keyboard works, but calling anything that
relies on sudo/root, even just "sudo dmesg" or "reboot" hangs
indefinitely. The terminal keeps blinking, so it's not a complete hard
freeze. Removing the dock again does not make it recover. Hard-reset is
the only thing that is left at that point to get the system operational
again.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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: 

[Kernel-packages] [Bug 1922336] Re: ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop into a dock (9500, TB16)

2021-05-07 Thread Georgi Boiko
@koba, please find the logs attached for 5.12 with debug enabled as
instructed

** Attachment added: "kern-5.12-generic-acpi2.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux-meta-oem-5.6/+bug/1922336/+attachment/5495268/+files/kern-5.12-generic-acpi2.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-05-05 Thread Georgi Boiko
@Koba,

Not sure what you meant by that, could you elaborate? Do you want me to
send the laptop into s2idle suspend?

That is not necessary to trigger the issue; merely locking the screen or
letting the monitor go blank after a timeout triggers it, although it
may take a couple of attempts sometimes.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change 

[Kernel-packages] [Bug 1922336] Re: ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop into a dock (9500, TB16)

2021-05-05 Thread Georgi Boiko
@koba, I updated as soon as this BIOS was available. All of my testing
over the last few days was done on 1.7.1 already.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1922336] Re: ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop into a dock (9500, TB16)

2021-05-04 Thread Georgi Boiko
@koba, if I understood you correctly, yes, ACPI errors still appear on
drm-tip. Actually, all hell broke loose on that kernel: after triggering
the issue, Bluetooth became unresponsive; calling sudo to edit
/etc/default/grub ended up hanging indefinitely; other applications
being launched were showing weird rendering glitches and became
unresponsive. Logs attached.

** Attachment added: "kernel-drmtip-hotplug.log"
   
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+attachment/5494658/+files/kernel-drmtip-hotplug.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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
  

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-05-04 Thread Georgi Boiko
@koba, please find it attached.

In this instance, it took several monitor power cycles and reopenings of
the lid for it to put output on the external monitor after logon, even
though it was clearly showing up in Display Settings.


** Attachment added: "kernel-1025.log"
   
https://bugs.launchpad.net/dell-sputnik/+bug/1922334/+attachment/5494656/+files/kernel-1025.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config 

[Kernel-packages] [Bug 1922336] Re: ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop into a dock (9500, TB16)

2021-05-02 Thread Georgi Boiko
@koba, please find them attached and thanks for looking into this.

** Attachment added: "boltctl-1922336.log"
   
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+attachment/5494206/+files/boltctl-1922336.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-05-02 Thread Georgi Boiko
@koba, please find it attached and thanks for looking into this.

In this instance, the lid was closed and the laptop suspended itself
after losing the monitor on logon (@100.856966)

** Attachment added: "kern-1922334.log"
   
https://bugs.launchpad.net/dell-sputnik/+bug/1922334/+attachment/5494205/+files/kern-1922334.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd 

[Kernel-packages] [Bug 1922336] Re: ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop into a dock (9500, TB16)

2021-05-02 Thread Georgi Boiko
** Attachment added: "fwupdmgr-1922336.log"
   
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+attachment/5494207/+files/fwupdmgr-1922336.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-04-06 Thread Georgi Boiko
The apport-collect run for this was actually perfect: the external
screen didn't wake for LUKS and didn't wake for the greeter afterwards,
so I had to get the laptop out of the stand and open the lid to be able
to finish booting. I hope the logs have captured all relevant
information.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state 

[Kernel-packages] [Bug 1922334] acpidump.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "acpidump.txt"
   
https://bugs.launchpad.net/bugs/1922334/+attachment/5484890/+files/acpidump.txt

** Attachment removed: "WifiSyslog.txt"
   
https://bugs.launchpad.net/dell-sputnik/+bug/1922334/+attachment/5484889/+files/WifiSyslog.txt

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  

[Kernel-packages] [Bug 1922334] WifiSyslog.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "WifiSyslog.txt"
   
https://bugs.launchpad.net/bugs/1922334/+attachment/5484889/+files/WifiSyslog.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] 

[Kernel-packages] [Bug 1922334] UdevDb.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "UdevDb.txt"
   https://bugs.launchpad.net/bugs/1922334/+attachment/5484888/+files/UdevDb.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] xhci_hcd 

[Kernel-packages] [Bug 1922334] RfKill.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "RfKill.txt"
   https://bugs.launchpad.net/bugs/1922334/+attachment/5484887/+files/RfKill.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] xhci_hcd 

[Kernel-packages] [Bug 1922334] PulseList.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "PulseList.txt"
   
https://bugs.launchpad.net/bugs/1922334/+attachment/5484886/+files/PulseList.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] xhci_hcd 

[Kernel-packages] [Bug 1922334] ProcModules.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "ProcModules.txt"
   
https://bugs.launchpad.net/bugs/1922334/+attachment/5484885/+files/ProcModules.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] 

[Kernel-packages] [Bug 1922334] ProcInterrupts.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "ProcInterrupts.txt"
   
https://bugs.launchpad.net/bugs/1922334/+attachment/5484884/+files/ProcInterrupts.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] 

[Kernel-packages] [Bug 1922334] ProcEnviron.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "ProcEnviron.txt"
   
https://bugs.launchpad.net/bugs/1922334/+attachment/5484883/+files/ProcEnviron.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] 

[Kernel-packages] [Bug 1922334] ProcCpuinfoMinimal.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "ProcCpuinfoMinimal.txt"
   
https://bugs.launchpad.net/bugs/1922334/+attachment/5484882/+files/ProcCpuinfoMinimal.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  

[Kernel-packages] [Bug 1922334] ProcCpuinfo.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "ProcCpuinfo.txt"
   
https://bugs.launchpad.net/bugs/1922334/+attachment/5484881/+files/ProcCpuinfo.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] 

[Kernel-packages] [Bug 1922334] Lsusb-v.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "Lsusb-v.txt"
   
https://bugs.launchpad.net/bugs/1922334/+attachment/5484880/+files/Lsusb-v.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] xhci_hcd 

[Kernel-packages] [Bug 1922334] Lsusb-t.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "Lsusb-t.txt"
   
https://bugs.launchpad.net/bugs/1922334/+attachment/5484879/+files/Lsusb-t.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] xhci_hcd 

[Kernel-packages] [Bug 1922334] Lsusb.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "Lsusb.txt"
   https://bugs.launchpad.net/bugs/1922334/+attachment/5484878/+files/Lsusb.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] xhci_hcd 

[Kernel-packages] [Bug 1922334] Lspci-vt.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "Lspci-vt.txt"
   
https://bugs.launchpad.net/bugs/1922334/+attachment/5484877/+files/Lspci-vt.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] xhci_hcd 

[Kernel-packages] [Bug 1922334] Lspci.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "Lspci.txt"
   https://bugs.launchpad.net/bugs/1922334/+attachment/5484876/+files/Lspci.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] xhci_hcd 

[Kernel-packages] [Bug 1922336] PulseList.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "PulseList.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484906/+files/PulseList.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922334] IwConfig.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "IwConfig.txt"
   
https://bugs.launchpad.net/bugs/1922334/+attachment/5484875/+files/IwConfig.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] xhci_hcd 

[Kernel-packages] [Bug 1922334] CurrentDmesg.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "CurrentDmesg.txt"
   
https://bugs.launchpad.net/bugs/1922334/+attachment/5484874/+files/CurrentDmesg.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] 

[Kernel-packages] [Bug 1922336] ProcCpuinfo.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "ProcCpuinfo.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484901/+files/ProcCpuinfo.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] ProcEnviron.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "ProcEnviron.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484903/+files/ProcEnviron.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] ProcCpuinfoMinimal.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "ProcCpuinfoMinimal.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484902/+files/ProcCpuinfoMinimal.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922334] CRDA.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "CRDA.txt"
   https://bugs.launchpad.net/bugs/1922334/+attachment/5484873/+files/CRDA.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] xhci_hcd 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-04-06 Thread Georgi Boiko
apport information

** Tags added: apport-collected focal

** Description changed:

  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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] xhci_hcd :0b:00.0: PCI post-resume error -19!
  [  250.778343] xhci_hcd :0b:00.0: HC died; cleaning up
  [  250.778374] xhci_hcd :0b:00.0: remove, state 4
  [  250.778380] usb usb6: USB disconnect, device number 1
  [  250.778895] xhci_hcd :0b:00.0: USB bus 6 deregistered
  [  250.778905] xhci_hcd :0b:00.0: remove, state 4
  [  250.778910] usb usb5: USB disconnect, device number 1
  [  250.779396] xhci_hcd :0b:00.0: Host halt failed, -19
  

[Kernel-packages] [Bug 1922336] Lspci-vt.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "Lspci-vt.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484897/+files/Lspci-vt.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] acpidump.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "acpidump.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484910/+files/acpidump.txt

** Attachment removed: "WifiSyslog.txt"
   
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+attachment/5484909/+files/WifiSyslog.txt

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:

[Kernel-packages] [Bug 1922336] Lsusb-t.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "Lsusb-t.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484899/+files/Lsusb-t.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] CurrentDmesg.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "CurrentDmesg.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484894/+files/CurrentDmesg.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] Lsusb.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "Lsusb.txt"
   https://bugs.launchpad.net/bugs/1922336/+attachment/5484898/+files/Lsusb.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] WifiSyslog.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "WifiSyslog.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484909/+files/WifiSyslog.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] Re: ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop into a dock (9500, TB16)

2021-04-06 Thread Georgi Boiko
apport information

** Tags added: apport-collected focal

** Description changed:

  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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.
  
  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.
  
  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.
  
  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.
  
  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 rebinding the XHCI controller after reconnecting the dock. I
  have attempted disabling USB autosuspend and ASPM via a GRUB kernel
  parameter. 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.
  
  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:
+  USERPID ACCESS COMMAND
+  /dev/snd/controlC3:  gboiko 1990 F pulseaudio
+  /dev/snd/controlC2:  gboiko 1990 F pulseaudio
+  /dev/snd/controlC1:  gboiko 1990 F pulseaudio
+  /dev/snd/controlC0:  gboiko 1990 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 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.

** Attachment added: "AlsaInfo.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484892/+files/AlsaInfo.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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.

  

[Kernel-packages] [Bug 1922336] UdevDb.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "UdevDb.txt"
   https://bugs.launchpad.net/bugs/1922336/+attachment/5484908/+files/UdevDb.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] RfKill.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "RfKill.txt"
   https://bugs.launchpad.net/bugs/1922336/+attachment/5484907/+files/RfKill.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] Lspci.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "Lspci.txt"
   https://bugs.launchpad.net/bugs/1922336/+attachment/5484896/+files/Lspci.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] CRDA.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "CRDA.txt"
   https://bugs.launchpad.net/bugs/1922336/+attachment/5484893/+files/CRDA.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] ProcModules.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "ProcModules.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484905/+files/ProcModules.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] Lsusb-v.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "Lsusb-v.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484900/+files/Lsusb-v.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] IwConfig.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "IwConfig.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484895/+files/IwConfig.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922336] ProcInterrupts.txt

2021-04-06 Thread Georgi Boiko
apport information

** Attachment added: "ProcInterrupts.txt"
   
https://bugs.launchpad.net/bugs/1922336/+attachment/5484904/+files/ProcInterrupts.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-meta-oem-5.6 in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC3:  gboiko 1990 F pulseaudio
   /dev/snd/controlC2:  gboiko 1990 F pulseaudio
   /dev/snd/controlC1:  gboiko 1990 F pulseaudio
   /dev/snd/controlC0:  gboiko 1990 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 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : 

[Kernel-packages] [Bug 1922334] Re: External monitor does not wake up on Titan Ridge laptops when docked (9500, TB16)

2021-04-02 Thread Georgi Boiko
** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux-meta-oem-5.6 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1922334

Title:
  External monitor does not wake up on Titan Ridge laptops when docked
  (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  New
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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 :09:04.0: pciehp: Slot(0-1): Card not present
  [  250.777695] xhci_hcd :0b:00.0: can't change power state from D3cold to 
D0 (config space inaccessible)
  [  250.778293] xhci_hcd :0b:00.0: can't change power state from D3hot to 
D0 (config space inaccessible)
  [  250.778336] xhci_hcd :0b:00.0: Controller not ready at resume -19
  [  250.778340] 

[Kernel-packages] [Bug 1922336] Re: ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop into a dock (9500, TB16)

2021-04-02 Thread Georgi Boiko
Kernel logs with the ACPI errors

** Attachment added: "usb-acpi-reset-loop.log"
   
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+attachment/5483390/+files/usb-acpi-reset-loop.log

** Also affects: linux (Ubuntu)
   Importance: Undecided
   Status: New

** Also affects: linux-meta-oem-5.6 (Ubuntu)
   Importance: Undecided
   Status: New

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1922336

Title:
  ACPI errors and USB reset loop when hot-plugging a Titan Ridge laptop
  into a dock (9500, TB16)

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  New
Status in linux-meta-oem-5.6 package in Ubuntu:
  New

Bug 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, hot-plugging the dock causes ACPI 
errors in dmesg and some kind of reset loop with USB peripherals connected via 
the dock.

  
  details:
  USB peripherals keep reconnecting according to dmesg, but in practice they 
barely ever finish registering with the system before disappearing again. Maybe 
1 out of 40 USB keyboard presses registers while this is happening. At this 
point my choices are to either reboot with the dock connected or work without 
the dock and consequently without any peripherals on my desk. Booting with an 
open lid and the dock connected works fine until I re-plug the dock.

  Notably, it hot-plugs fine every time when using XPS 9560 or Precision
  5520 in the same setup which I have been using for ages and which had
  similar problems until around kernel 4.13.

  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.

  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 rebinding the XHCI controller after reconnecting the
  dock. I have attempted disabling USB autosuspend and ASPM via a GRUB
  kernel parameter. 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.

  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)

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1922336/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1766076] Re: USB over thunderbolt turns off every once in a while

2020-10-26 Thread Georgi Boiko
I used to run into this regularly before and just recently ran into it
again with the TB16. Previously I had the same issue with a different
USB hub without a dock, occurring both on Windows and Linux Dell 5520
and Dell XPS 9560. Without the dock both systems were able to recover.
With the dock, only Windows recovers successfully.

I believe this is related to USB bandwidth exhaustion triggering a reset
in some edge case. Windows recovers from this after a bit even with the
dock, whereas on Linux having it occur with the dock in the chain seems
to be preventing recovery.

The issue is that with the dock and a daisy-chained USB hub you end up
with too much stuff hanging off a single wire or possibly a single
controller. It could be about power draw, heat, 5 Gigs of USB3 not being
able to fit more than a single 480 Mbit USB2 bus, or that even the 5
Gigs are actually getting saturated.

The reset will only occur sporadically when all USB devices happen to be
under heavy load at the same instant.

Attached the lsusb output from the USB-heavy XPS 9560+TB16 setup that
triggers this every 20 minutes when actively using ethernet, audio
interfaces, the USB3 NVME SSD and the Android device in an IDE.

** Attachment added: "lsusb.log"
   
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1766076/+attachment/5427600/+files/lsusb.log

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1766076

Title:
  USB over thunderbolt turns off every once in a while

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm using a USB hub in the Dell TB16 (240W) connected to a Dell
  Precision 5520 using Thunderbolt 3.

  Every so often (can be several times in an hour if I'm really unlucky,
  some days it is less of a problem), the USB hub disconnects from the
  computer and the devices connected to it lose power and stop
  responding.

  disconnecting and reconnecting the USB cables has no effect. I can
  restore functionality by instructing the xhci_hcd driver to unbind
  from the USB 3.0 Host Controller in the dock and to rebind to it using
  the commands:

  echo -n ":0e:00.0" > /sys/bus/pci/drivers/xhci_hcd/unbind
  echo -n ":0e:00.0" > /sys/bus/pci/drivers/xhci_hcd/bind

  Here's the dmesg output when the USB hub disconnects:

  279278.102701] xhci_hcd :0e:00.0: ERROR unknown event type 15
  [279283.021802] xhci_hcd :0e:00.0: xHCI host not responding to stop 
endpoint command.
  [279283.022145] xhci_hcd :0e:00.0: xHCI host controller not responding, 
assume dead
  [279283.022161] r8152 4-1.2:1.0 enxd481d731b2b1: Tx status -108
  [279283.022199] xhci_hcd :0e:00.0: HC died; cleaning up
  [279283.07] usb 3-1.5: Failed to suspend device, error -22
  [279283.022234] usb 3-1: USB disconnect, device number 2
  [279283.022235] usb 3-1.1: USB disconnect, device number 3
  [279283.022236] usb 3-1.1.1: USB disconnect, device number 5
  [279283.022237] usb 3-1.1.1.1: USB disconnect, device number 8
  [279283.022238] usb 3-1.1.1.1.4: USB disconnect, device number 11
  [279283.022326] usb 4-1: USB disconnect, device number 2
  [279283.022328] usb 4-1.1: USB disconnect, device number 3
  [279283.022329] usb 4-1.1.1: USB disconnect, device number 5
  [279283.022998] usb 4-1.2: USB disconnect, device number 4
  [279283.191217] usb 3-1.1.1.5: USB disconnect, device number 9
  [279283.191730] usb 3-1.1.3: USB disconnect, device number 6
  [279283.260810] usb 3-1.1.5: USB disconnect, device number 7
  [279283.261350] usb 3-1.5: USB disconnect, device number 4

  Here's dmesg output during the USB host controller reset:

  279389.813889] xhci_hcd :0e:00.0: remove, state 1 

  
  [279389.813894] usb usb4: USB disconnect, device number 1 

   
  [279389.814103] xhci_hcd :0e:00.0: USB bus 4 deregistered 

   
  [279389.814107] xhci_hcd :0e:00.0: remove, state 1

   
  [279389.814110] usb usb3: USB disconnect, device number 1 

   
  [279389.881651] xhci_hcd :0e:00.0: USB bus 3 deregistered 

   
  [279389.882133] xhci_hcd :0e:00.0: xHCI Host Controller   

 

[Kernel-packages] [Bug 1871917] Re: Unable to boot 20.04 installer on Dell XPS 15 9560

2020-05-22 Thread Georgi Boiko
Same issue on XPS 9560, 8GB USB stick. Created in Rufus from
ubuntu-20.04-desktop-amd64.iso, both ISO and DD mode behave the same.
Can't install 20.04 as a result. No way to collect the logs, because the
laptop shuts down after disks checks and there is no interaction other
than Ctrl+C to cancel disk checks and speed this up.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1871917

Title:
  Unable to boot 20.04 installer on Dell XPS 15 9560

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  I tried to boot the 20.04 nightly image (focal-desktop-amd64.iso
  2020-04-05 11:06 ) as well as an older one (a week ago) on my Dell XPS
  15 9560, and I got the same error message each time.

  The live system performs a filesystem check while showing a progress
  bar on a screen with dell and ubuntu logo, then the linux console
  shows with following error:

  sd 2:0:0:0: [sda] tag#0 access beyond end of device
  blk_update_request: I/O error, dev sda, sector 30529408 op 0x0:(READ) flags 
0x80700 phys_seg 1 prio class 0
  sd 2:0:0:0: [sda] tag#0 access beyond end of device
  blk_update_request: I/O error, dev sda, sector 30529408 op 0x0:(READ) flags 
0x0 phys_seg 1 prio class 0
  Buffer I/O error on dev sda, logical block 3816176 async page read

  This happens with two different 16GB usb sticks on the Dell XPS 15.
  They both worked fine on an old samsung netbook.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1871917/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1766076] Re: USB over thunderbolt turns off every once in a while

2019-04-25 Thread Georgi Boiko
Still seeing this on 5.0.8 mainline. Connecting a USB device after a few
hours results in this:

[17093.624705] usb 3-1.1: USB disconnect, device number 7
[17144.801167] usb 3-1.1: new high-speed USB device number 8 using xhci_hcd
[17145.201116] usb 3-1.1: New USB device found, idVendor=04e8, idProduct=6860, 
bcdDevice= 4.00
[17145.201119] usb 3-1.1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=3
[17145.201121] usb 3-1.1: Product: SAMSUNG_Android
[17145.201123] usb 3-1.1: Manufacturer: SAMSUNG
[17145.201124] usb 3-1.1: SerialNumber: REDACTED
[17147.966175] usb 3-1.1: USB disconnect, device number 8
[17153.161110] xhci_hcd :0e:00.0: xHCI host not responding to stop endpoint 
command.
[17153.169934] xhci_hcd :0e:00.0: xHCI host controller not responding, 
assume dead
[17153.169953] r8152 4-1.2:1.0 eth0: Tx status -108
[17153.169954] r8152 4-1.2:1.0 eth0: Tx status -108
[17153.169955] r8152 4-1.2:1.0 eth0: Tx status -108
[17153.169957] r8152 4-1.2:1.0 eth0: Tx status -108
[17153.169980] xhci_hcd :0e:00.0: HC died; cleaning up
[17153.170181] usb 3-1: USB disconnect, device number 2
[17153.170187] usb 4-1: USB disconnect, device number 2
[17153.170189] usb 4-1.2: USB disconnect, device number 3
[17153.170760] usb 3-1.4: USB disconnect, device number 5
[17153.193302] bridge-eth0: disabling the bridge on dev down
[17153.193426] bridge-eth0: down
[17153.194899] bridge-eth0: detached
[17153.194939] /dev/vmnet: open called by PID 1961 (vmnet-bridge)
[17153.194944] /dev/vmnet: hub 0 does not exist, allocating memory.
[17153.194956] /dev/vmnet: port on hub 0 successfully opened
[17153.194962] bridge-wlan0: device is wireless, enabling SMAC
[17153.194964] bridge-wlan0: up
[17153.194965] bridge-wlan0: attached
[17153.277696] usb 3-1.5: USB disconnect, device number 3
[17153.278118] usb 3-1.6: USB disconnect, device number 4
[17153.393326] userif-3: sent link down event.
[17153.393328] userif-3: sent link up event.

Daisy-chained DP monitors connected to the dock still work, reconnecting
the dock fixes it.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1766076

Title:
  USB over thunderbolt turns off every once in a while

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm using a USB hub in the Dell TB16 (240W) connected to a Dell
  Precision 5520 using Thunderbolt 3.

  Every so often (can be several times in an hour if I'm really unlucky,
  some days it is less of a problem), the USB hub disconnects from the
  computer and the devices connected to it lose power and stop
  responding.

  disconnecting and reconnecting the USB cables has no effect. I can
  restore functionality by instructing the xhci_hcd driver to unbind
  from the USB 3.0 Host Controller in the dock and to rebind to it using
  the commands:

  echo -n ":0e:00.0" > /sys/bus/pci/drivers/xhci_hcd/unbind
  echo -n ":0e:00.0" > /sys/bus/pci/drivers/xhci_hcd/bind

  Here's the dmesg output when the USB hub disconnects:

  279278.102701] xhci_hcd :0e:00.0: ERROR unknown event type 15
  [279283.021802] xhci_hcd :0e:00.0: xHCI host not responding to stop 
endpoint command.
  [279283.022145] xhci_hcd :0e:00.0: xHCI host controller not responding, 
assume dead
  [279283.022161] r8152 4-1.2:1.0 enxd481d731b2b1: Tx status -108
  [279283.022199] xhci_hcd :0e:00.0: HC died; cleaning up
  [279283.07] usb 3-1.5: Failed to suspend device, error -22
  [279283.022234] usb 3-1: USB disconnect, device number 2
  [279283.022235] usb 3-1.1: USB disconnect, device number 3
  [279283.022236] usb 3-1.1.1: USB disconnect, device number 5
  [279283.022237] usb 3-1.1.1.1: USB disconnect, device number 8
  [279283.022238] usb 3-1.1.1.1.4: USB disconnect, device number 11
  [279283.022326] usb 4-1: USB disconnect, device number 2
  [279283.022328] usb 4-1.1: USB disconnect, device number 3
  [279283.022329] usb 4-1.1.1: USB disconnect, device number 5
  [279283.022998] usb 4-1.2: USB disconnect, device number 4
  [279283.191217] usb 3-1.1.1.5: USB disconnect, device number 9
  [279283.191730] usb 3-1.1.3: USB disconnect, device number 6
  [279283.260810] usb 3-1.1.5: USB disconnect, device number 7
  [279283.261350] usb 3-1.5: USB disconnect, device number 4

  Here's dmesg output during the USB host controller reset:

  279389.813889] xhci_hcd :0e:00.0: remove, state 1 

  
  [279389.813894] usb usb4: USB disconnect, device number 1 

   
  [279389.814103] xhci_hcd :0e:00.0: USB bus 4 deregistered 

   
  [279389.814107] 

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2019-04-17 Thread Georgi Boiko
Thanks for tipping me off. Support for 5.x kernels was added in
390.>=116 (legacy branch) and the 418.>=43 (bleeding edge) drivers, but
not to the current stable or any other branch, so it was failing for me.

Mainline 5.0.8 with 418.56 also works fine, so it's "just" the LTS
kernel branches that have the bug. Back to running mainline Frankenbuntu
on prod I suppose.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2019-04-10 Thread Georgi Boiko
Updating to 5.0.x does not fix it; it disables the nvidia driver because
that kernel version is not supported in non-bleeding edge drivers yet.
If you update to 5.0.x you will end up with nouveau/intel, depending on
your blacklisting setup.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 

[Kernel-packages] [Bug 1766076] Re: USB over thunderbolt turns off every once in a while

2019-04-05 Thread Georgi Boiko
Started seeing something similar on Precision 5520 with TB16 dock after
a recent kernel update. The original 4.18 worked fine, but 4.18.0-16 and
4.18.0-17 are definitely affected, possibly some earlier ones too.

After a while, e.g. 2 hours of work, connecting a new device to the dock
causes the xhci_hcd module to go belly up and one of the following
happens:

1. USB devices connected to the dock stop working, but daisy-chained DP 
monitors still work. Reconnecting the dock causes display drivers to die 
without recovering and requires a hard reset; although this second part is 
probably a new i915/nvidia issue and a regression to LP#1752165.
2. The system completely freezes and requires a hard reset.

I haven't had the chance to play around with this yet, if anyone has any
ideas on what to try to reproduce this and what logs to capture I'll
find some time.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1766076

Title:
  USB over thunderbolt turns off every once in a while

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm using a USB hub in the Dell TB16 (240W) connected to a Dell
  Precision 5520 using Thunderbolt 3.

  Every so often (can be several times in an hour if I'm really unlucky,
  some days it is less of a problem), the USB hub disconnects from the
  computer and the devices connected to it lose power and stop
  responding.

  disconnecting and reconnecting the USB cables has no effect. I can
  restore functionality by instructing the xhci_hcd driver to unbind
  from the USB 3.0 Host Controller in the dock and to rebind to it using
  the commands:

  echo -n ":0e:00.0" > /sys/bus/pci/drivers/xhci_hcd/unbind
  echo -n ":0e:00.0" > /sys/bus/pci/drivers/xhci_hcd/bind

  Here's the dmesg output when the USB hub disconnects:

  279278.102701] xhci_hcd :0e:00.0: ERROR unknown event type 15
  [279283.021802] xhci_hcd :0e:00.0: xHCI host not responding to stop 
endpoint command.
  [279283.022145] xhci_hcd :0e:00.0: xHCI host controller not responding, 
assume dead
  [279283.022161] r8152 4-1.2:1.0 enxd481d731b2b1: Tx status -108
  [279283.022199] xhci_hcd :0e:00.0: HC died; cleaning up
  [279283.07] usb 3-1.5: Failed to suspend device, error -22
  [279283.022234] usb 3-1: USB disconnect, device number 2
  [279283.022235] usb 3-1.1: USB disconnect, device number 3
  [279283.022236] usb 3-1.1.1: USB disconnect, device number 5
  [279283.022237] usb 3-1.1.1.1: USB disconnect, device number 8
  [279283.022238] usb 3-1.1.1.1.4: USB disconnect, device number 11
  [279283.022326] usb 4-1: USB disconnect, device number 2
  [279283.022328] usb 4-1.1: USB disconnect, device number 3
  [279283.022329] usb 4-1.1.1: USB disconnect, device number 5
  [279283.022998] usb 4-1.2: USB disconnect, device number 4
  [279283.191217] usb 3-1.1.1.5: USB disconnect, device number 9
  [279283.191730] usb 3-1.1.3: USB disconnect, device number 6
  [279283.260810] usb 3-1.1.5: USB disconnect, device number 7
  [279283.261350] usb 3-1.5: USB disconnect, device number 4

  Here's dmesg output during the USB host controller reset:

  279389.813889] xhci_hcd :0e:00.0: remove, state 1 

  
  [279389.813894] usb usb4: USB disconnect, device number 1 

   
  [279389.814103] xhci_hcd :0e:00.0: USB bus 4 deregistered 

   
  [279389.814107] xhci_hcd :0e:00.0: remove, state 1

   
  [279389.814110] usb usb3: USB disconnect, device number 1 

   
  [279389.881651] xhci_hcd :0e:00.0: USB bus 3 deregistered 

   
  [279389.882133] xhci_hcd :0e:00.0: xHCI Host Controller   

   
  [279389.882138] xhci_hcd :0e:00.0: new USB bus registered, assigned bus 
number 3
 
  [279389.949391] xhci_hcd :0e:00.0: hcc params 0x0200e081 hci version 
0x100 quirks 0x1410 

  [279389.949979] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002 

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2019-04-05 Thread Georgi Boiko
Started seeing this again on nvidia-396.54 with 4.18.0-16 and 4.18.0-17,
possibly 4.18.0-15 - I don't recall having hot-plugged it on -15.

It's worse now as the system never recovers any of the displays after
hot-plugging and even after removing the dock following a hot-plug the
built-in laptop display remains blank. There is no error spam in kernel
logs either, in fact USB devices seem to recover fine after hot-
plugging, just not the monitors.

Once I have a chance I will try out kernel 5.0 and see if it's any
different. Since this is potentially a new issue/regression, do we need
a new ticket?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh 

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2019-02-06 Thread Georgi Boiko
@Slava, this ticket was specifically related to issues when using nvidia
drivers on machines with nvidia GPUs. If you are experiencing this on an
Intel-only machine, please raise a new one.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2019-02-06 Thread Georgi Boiko
We've reached February now and HWE kernel on 18.04.1 (4.18.0-14-generic)
with nvidia-390.77 works fine, no need for running mainline through
Ukuu.

** Changed in: dell-sputnik
   Status: New => Fix Released

** Changed in: linux (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  Fix Released
Status in linux package in Ubuntu:
  Fix Released

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2018-11-02 Thread Georgi Boiko
@Christoph,

Your previous post referred to a different error. If i915 drm errors are
what you are actually getting please ignore me :)

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
 

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2018-11-02 Thread Georgi Boiko
@Christoph,

That looks like an entirely different issue with different errors. You
should create a separate bug report for it.

** Tags added: bionic

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2018-10-31 Thread Georgi Boiko
I can confirm this is fixed on the combination of:

- mainline kernel 4.18.16
- installed on 18.04 LTS via UKUU 
- running nvidia 390.77

The issue still occurs on 4.15.0-36, which is the latest kernel
available in Bionic repositories. We won't be getting a "clean" 4.18
until HWE update in February 2019 (3 months to go).

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  

[Kernel-packages] [Bug 1728238] Re: update-initramfs not adding i915 GuC firmware for Kaby Lake, firmware fails to load

2018-07-20 Thread Georgi Boiko
This issue with being unable to load GuC blobs also affects xenial at
4.13.0-45 kernel (latest).

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1728238

Title:
  update-initramfs not adding i915 GuC firmware for Kaby Lake, firmware
  fails to load

Status in initramfs-tools:
  Invalid
Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Bionic:
  In Progress

Bug description:
  == SRU Justification ==
  This firmware was optional when the MODULE_FIRMWARE statements were
  removed in bug 1626740 by Bionic commit dc0f16f9b50.  The firmware is now
  available and in use, so these statements need to be added back.

  Without these statements, The i915 Kabylake GuC firmware is failing to load
  on boot, and generating dmesg errors.

  == Fix ==
  Revert Bionic commit dc0f16f9b5084e6be2b8c79f8c6cd499a3451791.

  == Regression Potential ==
  Low.  Adding a statement back that was removed by a SAUCE patch.

  == Test Case ==
  A test kernel was built with this patch and tested by the original bug 
reporter.
  The bug reporter states the test kernel resolved the bug.

  
  == Original Bug Report ==
  The i915 Kabylake GuC firmware is failing to load on boot, and generating 
dmesg errors.  The Kabylake HuC firmware succeeds.  All files exist.  I've also 
verified the Kabylake GuC firmware matches the correct file size and md5 listed 
on 01.org.

  I then ran update-initramfs verbosely, and see that only
  /lib/firmware/i915/skl_guc_ver6_1.bin is being added.
  /lib/firmware/i915/bxt_guc_ver8_7.bin and
  /lib/firmware/i915/kbl_guc_ver9_14.bin seem to be ignored.

  I'm running a Dell XPS 13 9360 w/ Kabylake on Ubuntu 17.10 and
  initramfs-tools 0.125ubuntu12.  Perhaps Broxton systems might have the
  same issue?

  Output and logs:
  -

  ls -al /lib/firmware/i915/kbl_*

  -rw-r--r-- 1 root root   8616 Aug 17 11:08 
/lib/firmware/i915/kbl_dmc_ver1_01.bin
  lrwxrwxrwx 1 root root 19 Aug 17 11:08 
/lib/firmware/i915/kbl_dmc_ver1.bin -> kbl_dmc_ver1_01.bin
  -rw-r--r-- 1 root root 142656 Oct 20 21:12 
/lib/firmware/i915/kbl_guc_ver9_14.bin
  -rw-r--r-- 1 root root 218688 Aug 17 11:09 
/lib/firmware/i915/kbl_huc_ver02_00_1810.bin

  sudo cat /sys/kernel/debug/dri/0/i915_guc_load_status

  GuC firmware status:
  path: i915/kbl_guc_ver9_14.bin
  fetch: FAIL
  load: NONE
  version wanted: 9.14
  version found: 0.0
  header: offset is 0; size = 0
  uCode: offset is 0; size = 0
  RSA: offset is 0; size = 0

  GuC status 0x0001:
  Bootrom status = 0x0
  uKernel status = 0x0
  MIA Core status = 0x0

  Scratch registers:
  0: 0x0
  1: 0x0
  2: 0x0
  3: 0x0
  4: 0x0
  5: 0x0
  6: 0x0
  7: 0x0
  8: 0x0
  9: 0x0
  10: 0x0
  11: 0x0
  12: 0x0
  13: 0x0
  14: 0x0
  15: 0x0

  sudo cat /sys/kernel/debug/dri/0/i915_huc_load_status

  HuC firmware status:
  path: i915/kbl_huc_ver02_00_1810.bin
  fetch: SUCCESS
  load: SUCCESS
  version wanted: 2.0
  version found: 2.0
  header: offset is 0; size = 128
  uCode: offset is 128; size = 218304
  RSA: offset is 218432; size = 256

  HuC status 0x6000:

  dmesg

  [1.052879] hidraw: raw HID events driver (C) Jiri Kosina
  [1.056426] wmi_bus wmi_bus-PNP0C14:01: WQBC data block query control 
method not found
  [1.080320] rtsx_pci :3b:00.0: enabling device ( -> 0002)
  [1.082308] nvme nvme0: pci function :3c:00.0
  [1.095073] Setting dangerous option enable_guc_loading - tainting kernel
  [1.095075] Setting dangerous option enable_guc_submission - tainting 
kernel
  [1.097867] [drm] Memory usable by graphics device = 4078M
  [1.097869] checking generic (9000 1fb) vs hw (9000 1000)
  [1.097869] fb: switching to inteldrmfb from EFI VGA
  [1.097899] Console: switching to colour dummy device 80x25
  [1.098049] [drm] Replacing VGA console driver
  [1.104157] [drm] Supports vblank timestamp caching Rev 2 (21.10.2013).
  [1.104157] [drm] Driver supports precise vblank timestamp query.
  [1.112506] [drm] Finished loading DMC firmware i915/kbl_dmc_ver1_01.bin 
(v1.1)
  [1.113055] i915 :00:02.0: vgaarb: changed VGA decodes: 
olddecodes=io+mem,decodes=io+mem:owns=io+mem
  [1.284194] usb 1-1: new low-speed USB device number 2 using xhci_hcd
  [1.298572]  nvme0n1: p1 p2
  [1.433241] usb 1-1: New USB device found, idVendor=0d62, idProduct=001c
  [1.433242] usb 1-1: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
  [1.433243] usb 1-1: Product: USB+PS2 Keyboard
  [1.433244] usb 1-1: Manufacturer: Generic
  [1.446460] usbcore: registered new interface driver usbhid
  [1.446461] usbhid: USB HID core driver
  [1.448067] input: Generic USB+PS2 Keyboard as 
/devices/pci:00/:00:14.0/usb1/1-1/1-1:1.0/0003:0D62:001C.0001/input/input7
  [1.508451] hid-generic 0003:0D62:001C.0001: input,hidraw0: USB HID 

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2018-03-29 Thread Georgi Boiko
Different monitors used in #26, same monitors in all other cases.
Hopefully Bionic installer will be fixed in the .4 release and I will be
able to try it out.

Possibly helpful: I was trying out 4.15 kernels from xenial-proposed for
another ticket and the issue remains the same on 4.15. nVidia drivers
have gone up to 390.25 since the original post too and the issue
remains.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  

[Kernel-packages] [Bug 1729674] Re: TB16 dock ethernet corrupts data with hw checksum silently failing

2018-03-22 Thread Georgi Boiko
At 6 iterations of ubuntu-17.04-server-amd64.img (4.2 gigs) I no longer
see the corruptions on both 4.13.0-38 and 4.15.0-13 from xenial-
proposed. Thanks!

** Tags removed: verification-needed-xenial
** Tags added: verification-done-xenial

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1729674

Title:
  TB16 dock ethernet corrupts data with hw checksum silently failing

Status in Dell Sputnik:
  Triaged
Status in linux package in Ubuntu:
  Fix Released
Status in linux source package in Xenial:
  Fix Committed
Status in linux source package in Artful:
  Fix Committed
Status in linux source package in Bionic:
  Fix Released
Status in linux package in Fedora:
  Confirmed

Bug description:
  It looks like TCP  rx and tx checksum offloading is broken on the TB16 dock's 
ethernet adapter. For example downloading a large file such as the Ubuntu ISO, 
and then running an md5sum on it yields the incorrect md5sum.  This is because
  rx-checksumming: on
  tx-checksumming: on
  and both set to on by default.

  Running sudo ethtool -K  tx off rx off, allows the
  download to complete correctly.  This is very bad since this can cause
  very bad untrustworthy behavior.

  This was conducted using an Dell Precision 5520 on Ubuntu 16.04+linux-
  generic-hwe-16.04-edge.

  Thank you

To manage notifications about this bug go to:
https://bugs.launchpad.net/dell-sputnik/+bug/1729674/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp


[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2018-03-03 Thread Georgi Boiko
I did some additional testing to see if this is thunderbolt in general
or just the TB16. The issue does not occur when using external monitors
via HDMI + thunderbolt-to-HDMI connections directly on the laptop. It
looks like the issue is indeed specific to TB16.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2018-03-02 Thread Georgi Boiko
Spent this evening attempting to get Bionic to work with no success. The
installer crashes halfway (#1752535) so the only way to test is was to
hotswap nouveau for nvidia while running in a textmode VT from a
LiveUSB. To this end, prime-select is not working on Bionic, showing
"unknown" on "query" and complaining about lack of alternatives on
"prime-select nvidia". Consequently, X won't start after unloading
nouveau and replacing it with nvidia.

Is there any alternative test I could run that does not require a
working Bionic installer?

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2018-03-01 Thread Georgi Boiko
5520 native resolution is 2160p, 9560 is 1080p. Both are configured to
run 1080p through GNOME settings.

I will try out Bionic tonight or latest Monday - don't have it at hand
at the moment.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 

[Kernel-packages] [Bug 1752165] WifiSyslog.txt

2018-02-28 Thread Georgi Boiko
apport information

** Attachment added: "WifiSyslog.txt"
   
https://bugs.launchpad.net/bugs/1752165/+attachment/5065234/+files/WifiSyslog.txt

** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

** Attachment removed: "WifiSyslog.txt"
   
https://bugs.launchpad.net/dell-sputnik/+bug/1752165/+attachment/5065234/+files/WifiSyslog.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  

[Kernel-packages] [Bug 1752165] PulseList.txt

2018-02-28 Thread Georgi Boiko
apport information

** Attachment added: "PulseList.txt"
   
https://bugs.launchpad.net/bugs/1752165/+attachment/5065231/+files/PulseList.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: 

[Kernel-packages] [Bug 1752165] ProcEnviron.txt

2018-02-28 Thread Georgi Boiko
apport information

** Attachment added: "ProcEnviron.txt"
   
https://bugs.launchpad.net/bugs/1752165/+attachment/5065228/+files/ProcEnviron.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: 

[Kernel-packages] [Bug 1752165] Re: TB16 dock freezes X on hotplug when used with external displays

2018-02-28 Thread Georgi Boiko
Tested this on XPS 15 9560 (GTX 1050) and it does not have this problem,
hotplugging works fine on it. I was using this very setup - just plugged
the thunderbolt cable into a different laptop. Exact same drivers and
the same linux-firmware package from upstream (1.170) that I have
installed for WiFi and Bluetooth reasons.

Added the apport logs as requested.

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00

[Kernel-packages] [Bug 1752165] ProcInterrupts.txt

2018-02-28 Thread Georgi Boiko
apport information

** Attachment added: "ProcInterrupts.txt"
   
https://bugs.launchpad.net/bugs/1752165/+attachment/5065229/+files/ProcInterrupts.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  

[Kernel-packages] [Bug 1752165] ProcCpuinfoMinimal.txt

2018-02-28 Thread Georgi Boiko
apport information

** Attachment added: "ProcCpuinfoMinimal.txt"
   
https://bugs.launchpad.net/bugs/1752165/+attachment/5065227/+files/ProcCpuinfoMinimal.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  

[Kernel-packages] [Bug 1752165] UdevDb.txt

2018-02-28 Thread Georgi Boiko
apport information

** Attachment added: "UdevDb.txt"
   https://bugs.launchpad.net/bugs/1752165/+attachment/5065233/+files/UdevDb.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  

[Kernel-packages] [Bug 1752165] JournalErrors.txt

2018-02-28 Thread Georgi Boiko
apport information

** Attachment added: "JournalErrors.txt"
   
https://bugs.launchpad.net/bugs/1752165/+attachment/5065224/+files/JournalErrors.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  

[Kernel-packages] [Bug 1752165] CurrentDmesg.txt

2018-02-28 Thread Georgi Boiko
apport information

** Attachment added: "CurrentDmesg.txt"
   
https://bugs.launchpad.net/bugs/1752165/+attachment/5065222/+files/CurrentDmesg.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  

[Kernel-packages] [Bug 1752165] ProcCpuinfo.txt

2018-02-28 Thread Georgi Boiko
apport information

** Attachment added: "ProcCpuinfo.txt"
   
https://bugs.launchpad.net/bugs/1752165/+attachment/5065226/+files/ProcCpuinfo.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: 

[Kernel-packages] [Bug 1752165] Lspci.txt

2018-02-28 Thread Georgi Boiko
apport information

** Attachment added: "Lspci.txt"
   https://bugs.launchpad.net/bugs/1752165/+attachment/5065225/+files/Lspci.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: Precision
  

[Kernel-packages] [Bug 1752165] ProcModules.txt

2018-02-28 Thread Georgi Boiko
apport information

** Attachment added: "ProcModules.txt"
   
https://bugs.launchpad.net/bugs/1752165/+attachment/5065230/+files/ProcModules.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: 

[Kernel-packages] [Bug 1752165] IwConfig.txt

2018-02-28 Thread Georgi Boiko
apport information

** Attachment added: "IwConfig.txt"
   
https://bugs.launchpad.net/bugs/1752165/+attachment/5065223/+files/IwConfig.txt

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1752165

Title:
  TB16 dock freezes X on hotplug when used with external displays

Status in Dell Sputnik:
  New
Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Precision 5520 with Quadro GPU. Latest Ubuntu 16.04, kernel Linux
  REDACTED 4.13.0-36-generic #40~16.04.1-Ubuntu SMP Fri Feb 16 23:25:58
  UTC 2018 x86_64 x86_64 x86_64 GNU/Linux, latest BIOS 1.7.0 released
  12/15/2017. If it can be of any help, I can get this tested on an XPS
  9560 (GTX 1050) too.

  Steps to reproduce:

  1. Plug in monitors into DP and miniDP on the dock. In my case, DP-to-DVI 
cables are used, but I doubt that it matters.
  2. Ubuntu 16.04 GNOME + nVidia drivers with PRIME.
  3. Select nVidia GPU in PRIME settings, reboot if needed.
  4. Either boot with the dock connected or connect it after booting into user 
session.
  5. Set up monitors if necessary. At this point everything should be working 
fine.
  6. Disconnect the dock, give it a moment to adjust to the new window layout 
etc.
  7. Re-connect the dock. Within a few seconds laptop screen should freeze and 
external monitors should remain blank, as if not connected.
  8. Disconnect the dock. Within a few seconds laptop screen should unfreeze. 
There is a small chance that it won't if you repeat this procedure multiple 
times.

  Errors in dmesg indicate that i915 driver is somehow involved:

  [  328.966128] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  328.967848] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF B idle bit
  [  329.048839] [drm:intel_dp_set_idle_link_train [i915]] *ERROR* Timed out 
waiting for DP idle patterns
  [  329.050547] [drm:intel_wait_ddi_buf_idle [i915]] *ERROR* Timeout waiting 
for DDI BUF C idle bit

  The kernel logs are flooded with these between steps 7 and 8 above.

  This behaviour does not occur when Intel GPU is selected in PRIME
  settings or when nouveau is used. However, nouveau performance leaves
  a lot to be desired, particularly with 3D acceleration in Windows 10
  VMs.

  I have tried nvidia_drm.modeset=1 in boot options, but it doesn't make
  any difference.

  Other reports that may be related:

  https://devtalk.nvidia.com/default/topic/989704/linux/plugging-a
  -docking-station-w-two-monitors-into-a-quadro-m1000m-laptop-crashes-
  hangs-the-whole-machine/ - same error messages

  
https://www.reddit.com/r/Dell/comments/5nas3t/tb16_dock_with_5510_ubuntulinux/ddzjlu8/?st=je63h7lw=40bf8189
  - "Connecting and disconnecting the TB16 sometimes freeze the laptop."

  
https://www.dell.com/community/Sputnik/TB16-Dock-Linux-Support/m-p/5109128/highlight/true#M7466
 - "Hot-plugging the screen does not work."
  --- 
  ApportVersion: 2.20.1-0ubuntu2.15
  Architecture: amd64
  AudioDevicesInUse:
   USERPID ACCESS COMMAND
   /dev/snd/controlC0:  gboiko 2491 F pulseaudio
  CurrentDesktop: GNOME
  DistroRelease: Ubuntu 16.04
  HibernationDevice: RESUME=UUID=08bba264-8658-442f-995d-6a745925ac6c
  InstallationDate: Installed on 2017-10-01 (149 days ago)
  InstallationMedia: Ubuntu-GNOME 16.04.3 LTS "Xenial Xerus" - Release amd64 
(20170801)
  Lsusb:
   Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
   Bus 001 Device 003: ID 04f3:24a1 Elan Microelectronics Corp. 
   Bus 001 Device 002: ID 8087:0a2b Intel Corp. 
   Bus 001 Device 004: ID 1bcf:2b95 Sunplus Innovation Technology Inc. 
   Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  MachineType: Dell Inc. Precision 5520
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  Package: linux (not installed)
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.13.0-36-generic 
root=/dev/mapper/ubuntu--gnome--vg-root ro ipv6.disable=1 net.ifnames=0 
biosdevname=0 nvidia_drm.modeset=1 quiet splash vt.handoff=7
  ProcVersionSignature: Ubuntu 4.13.0-36.40~16.04.1-generic 4.13.13
  RelatedPackageVersions:
   linux-restricted-modules-4.13.0-36-generic N/A
   linux-backports-modules-4.13.0-36-generic  N/A
   linux-firmware 1.170
  Tags:  xenial
  Uname: Linux 4.13.0-36-generic x86_64
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dialout dip lpadmin plugdev sambashare sudo
  _MarkForUpload: True
  dmi.bios.date: 12/15/2017
  dmi.bios.vendor: Dell Inc.
  dmi.bios.version: 1.7.0
  dmi.board.name: 0R6JFH
  dmi.board.vendor: Dell Inc.
  dmi.board.version: A00
  dmi.chassis.type: 10
  dmi.chassis.vendor: Dell Inc.
  dmi.modalias: 
dmi:bvnDellInc.:bvr1.7.0:bd12/15/2017:svnDellInc.:pnPrecision5520:pvr:rvnDellInc.:rn0R6JFH:rvrA00:cvnDellInc.:ct10:cvr:
  dmi.product.family: 

  1   2   >