[Desktop-packages] [Bug 1876534] Re: ThinkPad P72 - Very serious issues with external monitors on Thunderbolt dock

2020-05-04 Thread Daniel van Vugt
Note:

1. It's likely all of your display ports are connected to the Intel GPU
so we can probably ignore Nvidia here. To be sure please try disabling
the discrete GPU in your BIOS and verify the bug still occurs.

2. If older kernels like 4.19 work then this should be assigned to the
kernel.

** Package changed: xorg (Ubuntu) => linux (Ubuntu)

** Tags added: multimonitor

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

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

Title:
  ThinkPad P72 - Very serious issues with external monitors on
  Thunderbolt dock

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  I'm running Ubuntu 20.04 LTS on a ThinkPad P72 with a Quadro P5200. I
  recently purchased the ThinkPad Workstation Dock Gen2 and have been
  having issues with external displays on it.

  There are a multitude of issues with this. Sometimes you can plug in
  displays and both will show up fine after running xrandr --auto.
  Sometimes only one will appear and the other will stay black.

  There is a chance for any of these things to happen after making a display 
configuration change:
  - Nothing (displays work fine)
  - One display stays black
  - All displays including laptop internal display freeze, which is recoverable 
only by physically disconnecting the displays from the dock
  - Displays flicker on and off rapidly before every one goes dark including 
the laptop's internal display, requiring a hard reset.

  I have tried:
  - Upgrading to a newer kernel version (5.6.7) via mainline
  - Upgrading all system firmware, including dock, to latest via Lenovo Vantage 
in Windows dual boot
  - Downgrading the dock firmware from 3166 to 3164 - despite suggestions by 
people in this thread in the Lenovo community 
https://forums.lenovo.com/t5/Ubuntu/Thinkpad-P1-Gen2-amp-Thunderbolt-3-Workstation-Dock-amp-Linux-Ubuntu-Monitor-s-black/m-p/4575709?page=3
 - this did not work
  - Downgrading the NVIDIA driver version to both 435 and 390 - neither worked

  Downgrading to an older kernel (4.19) appears to work, but it still
  has some issues with locking up while repositioning displays using
  xrandr.

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: xorg 1:7.7+19ubuntu14
  ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
  Uname: Linux 5.4.0-28-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset 
nvidia
  .proc.driver.nvidia.gpus..01.00.0: Error: [Errno 21] Is a directory: 
'/proc/driver/nvidia/gpus/:01:00.0'
  .proc.driver.nvidia.registry: Binary: ""
  .proc.driver.nvidia.suspend: suspend hibernate resume
  .proc.driver.nvidia.suspend_depth: default modeset uvm
  .proc.driver.nvidia.version:
   NVRM version: NVIDIA UNIX x86_64 Kernel Module  440.64  Fri Feb 21 01:17:26 
UTC 2020
   GCC version:  gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  Date: Sun May  3 00:37:27 2020
  DistUpgraded: 2020-03-04 19:48:20,592 DEBUG Running PostInstallScript: 
'./xorg_fix_proprietary.py'
  DistroCodename: focal
  DistroVariant: ubuntu
  DkmsStatus:
   acpi-call, 1.1.0, 5.4.0-28-generic, x86_64: installed
   nvidia, 440.64, 5.4.0-28-generic, x86_64: installed
   v4l2loopback, 0.12.3, 5.4.0-28-generic, x86_64: installed
   wireguard, 1.0.20200413, 5.4.0-28-generic, x86_64: installed (WARNING! Diff 
between built and installed module!)
  ExtraDebuggingInterest: Yes, including running git bisection searches
  GpuHangFrequency: This is the first time
  GraphicsCard:
   Intel Corporation Device [8086:3e94] (prog-if 00 [VGA controller])
     Subsystem: Lenovo Device [17aa:2269]
   NVIDIA Corporation GP104GLM [Quadro P5200 Mobile] [10de:1bb5] (rev a1) 
(prog-if 00 [VGA controller])
     Subsystem: Lenovo GP104GLM [Quadro P5200 Mobile] [17aa:2269]
  InstallationDate: Installed on 2019-10-19 (196 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 20MCS08200
  ProcEnviron:
   LANGUAGE=en_GB:en
   TERM=xterm-256color
   PATH=(custom, no user)
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-28-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash intel_iommu=on 
default_hugepagesz=1G hugepagesz=1G hugepages=32 transparent_hugepage=never 
vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  Title: Xorg freeze
  UpgradeStatus: Upgraded to focal on 2020-03-04 (59 days ago)
  dmi.bios.date: 01/15/2020
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N2CET50W (1.33 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20MCS08200
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0Q40104 WIN
  dmi.chassis.asset.tag: 00040
  dmi.chassis.ty

[Desktop-packages] [Bug 1876534] Re: ThinkPad P72 - Very serious issues with external monitors on Thunderbolt dock

2020-05-03 Thread Joseph Marsden
** Description changed:

  I'm running Ubuntu 20.04 LTS on a ThinkPad P72 with a Quadro P5200. I
  recently purchased the ThinkPad Workstation Dock Gen2 and have been
  having issues with external displays on it.
  
  There are a multitude of issues with this. Sometimes you can plug in
  displays and both will show up fine after running xrandr --auto.
  Sometimes only one will appear and the other will stay black.
  
  There is a chance for any of these things to happen after making a display 
configuration change:
  - Nothing (displays work fine)
  - One display stays black
  - All displays including laptop internal display freeze, which is recoverable 
only by physically disconnecting the displays from the dock
  - Displays flicker on and off rapidly before every one goes dark including 
the laptop's internal display, requiring a hard reset.
  
  I have tried:
  - Upgrading to a newer kernel version (5.6.7) via mainline
  - Upgrading all system firmware, including dock, to latest via Lenovo Vantage 
in Windows dual boot
  - Downgrading the dock firmware from 3166 to 3164 - despite suggestions by 
people in this thread in the Lenovo community 
https://forums.lenovo.com/t5/Ubuntu/Thinkpad-P1-Gen2-amp-Thunderbolt-3-Workstation-Dock-amp-Linux-Ubuntu-Monitor-s-black/m-p/4575709?page=3
 - this did not work
  - Downgrading the NVIDIA driver version to both 435 and 390 - neither worked
  
+ Downgrading to an older kernel (4.19) appears to work, but it still has
+ some issues with locking up while repositioning displays using xrandr.
+ 
  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: xorg 1:7.7+19ubuntu14
  ProcVersionSignature: Ubuntu 5.4.0-28.32-generic 5.4.30
  Uname: Linux 5.4.0-28-generic x86_64
  NonfreeKernelModules: zfs zunicode zavl icp zcommon znvpair nvidia_modeset 
nvidia
  .proc.driver.nvidia.gpus..01.00.0: Error: [Errno 21] Is a directory: 
'/proc/driver/nvidia/gpus/:01:00.0'
  .proc.driver.nvidia.registry: Binary: ""
  .proc.driver.nvidia.suspend: suspend hibernate resume
  .proc.driver.nvidia.suspend_depth: default modeset uvm
  .proc.driver.nvidia.version:
-  NVRM version: NVIDIA UNIX x86_64 Kernel Module  440.64  Fri Feb 21 01:17:26 
UTC 2020
-  GCC version:  gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)
+  NVRM version: NVIDIA UNIX x86_64 Kernel Module  440.64  Fri Feb 21 01:17:26 
UTC 2020
+  GCC version:  gcc version 9.3.0 (Ubuntu 9.3.0-10ubuntu2)
  ApportVersion: 2.20.11-0ubuntu27
  Architecture: amd64
  CasperMD5CheckResult: skip
  CompizPlugins: No value set for 
`/apps/compiz-1/general/screen0/options/active_plugins'
  CompositorRunning: None
  Date: Sun May  3 00:37:27 2020
  DistUpgraded: 2020-03-04 19:48:20,592 DEBUG Running PostInstallScript: 
'./xorg_fix_proprietary.py'
  DistroCodename: focal
  DistroVariant: ubuntu
  DkmsStatus:
-  acpi-call, 1.1.0, 5.4.0-28-generic, x86_64: installed
-  nvidia, 440.64, 5.4.0-28-generic, x86_64: installed
-  v4l2loopback, 0.12.3, 5.4.0-28-generic, x86_64: installed
-  wireguard, 1.0.20200413, 5.4.0-28-generic, x86_64: installed (WARNING! Diff 
between built and installed module!)
+  acpi-call, 1.1.0, 5.4.0-28-generic, x86_64: installed
+  nvidia, 440.64, 5.4.0-28-generic, x86_64: installed
+  v4l2loopback, 0.12.3, 5.4.0-28-generic, x86_64: installed
+  wireguard, 1.0.20200413, 5.4.0-28-generic, x86_64: installed (WARNING! Diff 
between built and installed module!)
  ExtraDebuggingInterest: Yes, including running git bisection searches
  GpuHangFrequency: This is the first time
  GraphicsCard:
-  Intel Corporation Device [8086:3e94] (prog-if 00 [VGA controller])
-Subsystem: Lenovo Device [17aa:2269]
-  NVIDIA Corporation GP104GLM [Quadro P5200 Mobile] [10de:1bb5] (rev a1) 
(prog-if 00 [VGA controller])
-Subsystem: Lenovo GP104GLM [Quadro P5200 Mobile] [17aa:2269]
+  Intel Corporation Device [8086:3e94] (prog-if 00 [VGA controller])
+    Subsystem: Lenovo Device [17aa:2269]
+  NVIDIA Corporation GP104GLM [Quadro P5200 Mobile] [10de:1bb5] (rev a1) 
(prog-if 00 [VGA controller])
+    Subsystem: Lenovo GP104GLM [Quadro P5200 Mobile] [17aa:2269]
  InstallationDate: Installed on 2019-10-19 (196 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  MachineType: LENOVO 20MCS08200
  ProcEnviron:
-  LANGUAGE=en_GB:en
-  TERM=xterm-256color
-  PATH=(custom, no user)
-  LANG=en_GB.UTF-8
-  SHELL=/bin/bash
+  LANGUAGE=en_GB:en
+  TERM=xterm-256color
+  PATH=(custom, no user)
+  LANG=en_GB.UTF-8
+  SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-5.4.0-28-generic 
root=/dev/mapper/vgubuntu-root ro quiet splash intel_iommu=on 
default_hugepagesz=1G hugepagesz=1G hugepages=32 transparent_hugepage=never 
vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  Title: Xorg freeze
  UpgradeStatus: Upgraded to focal on 2020-03-04 (59 days ago)
  dmi.bios.date: 01/15/2020
  dmi.bios.vendor: LENOVO
  dmi.bios.version: N2CET50W (1.33 )
  dmi.board.asset.tag: Not Available
  dmi.board.name: 20MCS08200
  dmi.b