[Touch-packages] [Bug 1998673] Re: External Display via Lenovo TB3 Dock on AMD Ryzen CPU not working

2022-12-04 Thread Daniel van Vugt
Thanks for the bug report. Please:

1. Choose a single issue for this bug to be about; and

2. Confirm the bug is present in the supported Ubuntu kernel
5.15.0-56.62

** Tags added: amdgpu

** Tags added: multimonitor

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

** Summary changed:

- External Display via Lenovo TB3 Dock on AMD Ryzen CPU not working
+ [amdgpu] External Display via Lenovo TB3 Dock on AMD Ryzen CPU not working

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1998673

Title:
  [amdgpu] External Display via Lenovo TB3 Dock on AMD Ryzen CPU not
  working

Status in linux package in Ubuntu:
  New

Bug description:
  I have a Lenovo Yoga 7 Gen 7 (14ARB7) with AMD Ryzen 7 6800U CPU, with
  integrated AMD Radeon Graphics and USB4. I know this is quite new
  hardware, but I am astonished that many things work right out of the
  box.

  Ubuntu 22.04 with Mainline Kernel Linux 6.0.9-060009-generic 
#202211170559-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 17 06:06:21 UTC x86_64 x86_64 
x86_64 GNU/Linux
  Did some cross checks with Kernel 5.15.0-56 (stable)
  Monitor Samsung U32R592CWU UHD 4K (3.840 x 2.160 Pixel, VA-Panel, 16:9 
Format, 60 Hz, 4ms)

  What I have issues with (In this issue I'll only report on topic 1):

  1) External Monitor
  2) Touchscreen not working after suspend by closing lid; suspend only works 
once
  3) Integrated keyboard only works with Kernel 6 (Mainline) (kind of solved)

  I tested multiple ways connecting external monitors, each of them only 
working to some extent:
  i) directly via HDMI port of Notebook
  ii) via Lenovo Thinkpad Thunderbolt 3 Dock 40AC DisplayPort or HDMI 
(preferred solution)
  iii) via an Razer Core X eGPU with Radeon RX570 DisplayPort or HDMI

  Problems/Observations:
  1) DP/HDMI via Dock mostly not working (exception see point 3). USB via Dock 
works however.
  2) Booting with HDMI connected to Dock on Kernel 6 stalls. When unplugging 
the monitor the boot process immediately resumes successfully.
  3) Booting with HDMI connected to Dock on Kernel 5 brings up the screen, 
after that Hot Plug is also working, even DP
  4) Booting with DP connected to Dock on Kernel 5 does not bring up the 
screen, neither after Hot-Plug of HDMI or DP
  5) Booting without Monitor connected on Kernel 5 does not bring up the screen 
on Hot Plug, neither HDMI nor DP
  6) Hot Plugging the monitors (way i and iii) sometimes freezes the system, 
needs hard reset.
  7) Turning off or disconnecting TB cable of eGPU may also cause a freeze (as 
this also disconnects the monitor it may have the same cause as 2)

  So to sum it up: External Screens via this Docking Stations is only
  working on Kernel 5 when the monitor is connected via HDMI during
  boot, but not in any other case.

  Side observations:
  1) The USB devices connected to the TB3 Dock come up very slowly after hot 
plugging the TB3 connector to the Notebook.
  2) Mouse cursor (external mouse connected to Dock) hangs from time to time on 
Kernel 5.

  Please notify me if you need further logs. The automatically collected
  logs were captured in situation 2 above. You'll see the gap in the
  timestamps of th DMESG output.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: xorg 1:7.7+23ubuntu2
  Uname: Linux 6.0.9-060009-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.2
  Architecture: amd64
  BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: MATE
  Date: Sat Dec  3 18:10:13 2022
  DistUpgraded: Fresh install
  DistroCodename: jammy
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [1002:1681] (rev c1) 
(prog-if 00 [VGA controller])
 Subsystem: Lenovo Device [17aa:3801]
  InstallationDate: Installed on 2022-11-23 (9 days ago)
  InstallationMedia: Ubuntu-MATE 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  MachineType: LENOVO 82QF
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.0.9-060009-generic 
root=UUID=3031ba9e-0a88-4dc4-8cb6-65fab38e8fda ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/19/2022
  dmi.bios.release: 1.34
  dmi.bios.vendor: LENOVO
  dmi.bios.version: K5CN34WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76461 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Yoga 7 14ARB7
  dmi.ec.firmware.release: 1.34
  dmi.modalias: 
dmi:bvnLENOVO:bvrK5CN34WW:bd08/19/2022:br1.34:efr1.34:svnLENOVO:pn82QF:pvrYoga714ARB7:rvnLENOVO:rnLNVNB161216:rvrSDK0T76461WIN:cvnLENOVO:ct31:cvrYoga714ARB7:skuLENOVO_MT_82QF_BU_idea_FM_Yoga714ARB7:
  dmi.product.family: Yoga 7 14ARB7
 

[Touch-packages] [Bug 1998673] Re: External Display via Lenovo TB3 Dock on AMD Ryzen CPU not working

2022-12-03 Thread Ubuntu Foundations Team Bug Bot
** Package changed: ubuntu => xorg (Ubuntu)

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to xorg in Ubuntu.
https://bugs.launchpad.net/bugs/1998673

Title:
  External Display via Lenovo TB3 Dock on AMD Ryzen CPU not working

Status in xorg package in Ubuntu:
  New

Bug description:
  I have a Lenovo Yoga 7 Gen 7 (14ARB7) with AMD Ryzen 7 6800U CPU, with
  integrated AMD Radeon Graphics and USB4. I know this is quite new
  hardware, but I am astonished that many things work right out of the
  box.

  Ubuntu 22.04 with Mainline Kernel Linux 6.0.9-060009-generic 
#202211170559-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 17 06:06:21 UTC x86_64 x86_64 
x86_64 GNU/Linux
  Did some cross checks with Kernel 5.15.0-56 (stable)
  Monitor Samsung U32R592CWU UHD 4K (3.840 x 2.160 Pixel, VA-Panel, 16:9 
Format, 60 Hz, 4ms)

  What I have issues with (In this issue I'll only report on topic 1):

  1) External Monitor
  2) Touchscreen not working after suspend by closing lid; suspend only works 
once
  3) Integrated keyboard only works with Kernel 6 (Mainline) (kind of solved)

  I tested multiple ways connecting external monitors, each of them only 
working to some extent:
  i) directly via HDMI port of Notebook
  ii) via Lenovo Thinkpad Thunderbolt 3 Dock 40AC DisplayPort or HDMI 
(preferred solution)
  iii) via an Razer Core X eGPU with Radeon RX570 DisplayPort or HDMI

  Problems/Observations:
  1) DP/HDMI via Dock mostly not working (exception see point 3). USB via Dock 
works however.
  2) Booting with HDMI connected to Dock on Kernel 6 stalls. When unplugging 
the monitor the boot process immediately resumes successfully.
  3) Booting with HDMI connected to Dock on Kernel 5 brings up the screen, 
after that Hot Plug is also working, even DP
  4) Booting with DP connected to Dock on Kernel 5 does not bring up the 
screen, neither after Hot-Plug of HDMI or DP
  5) Booting without Monitor connected on Kernel 5 does not bring up the screen 
on Hot Plug, neither HDMI nor DP
  6) Hot Plugging the monitors (way i and iii) sometimes freezes the system, 
needs hard reset.
  7) Turning off or disconnecting TB cable of eGPU may also cause a freeze (as 
this also disconnects the monitor it may have the same cause as 2)

  So to sum it up: External Screens via this Docking Stations is only
  working on Kernel 5 when the monitor is connected via HDMI during
  boot, but not in any other case.

  Side observations:
  1) The USB devices connected to the TB3 Dock come up very slowly after hot 
plugging the TB3 connector to the Notebook.
  2) Mouse cursor (external mouse connected to Dock) hangs from time to time on 
Kernel 5.

  Please notify me if you need further logs. The automatically collected
  logs were captured in situation 2 above. You'll see the gap in the
  timestamps of th DMESG output.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: xorg 1:7.7+23ubuntu2
  Uname: Linux 6.0.9-060009-generic x86_64
  ApportVersion: 2.20.11-0ubuntu82.2
  Architecture: amd64
  BootLog: Error: [Errno 13] Keine Berechtigung: '/var/log/boot.log'
  CasperMD5CheckResult: pass
  CompositorRunning: None
  CurrentDesktop: MATE
  Date: Sat Dec  3 18:10:13 2022
  DistUpgraded: Fresh install
  DistroCodename: jammy
  DistroVariant: ubuntu
  ExtraDebuggingInterest: Yes
  GraphicsCard:
   Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [1002:1681] (rev c1) 
(prog-if 00 [VGA controller])
 Subsystem: Lenovo Device [17aa:3801]
  InstallationDate: Installed on 2022-11-23 (9 days ago)
  InstallationMedia: Ubuntu-MATE 22.04.1 LTS "Jammy Jellyfish" - Release amd64 
(20220809.1)
  MachineType: LENOVO 82QF
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.0.9-060009-generic 
root=UUID=3031ba9e-0a88-4dc4-8cb6-65fab38e8fda ro quiet splash vt.handoff=7
  SourcePackage: xorg
  Symptom: display
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 08/19/2022
  dmi.bios.release: 1.34
  dmi.bios.vendor: LENOVO
  dmi.bios.version: K5CN34WW
  dmi.board.asset.tag: NO Asset Tag
  dmi.board.name: LNVNB161216
  dmi.board.vendor: LENOVO
  dmi.board.version: SDK0T76461 WIN
  dmi.chassis.asset.tag: NO Asset Tag
  dmi.chassis.type: 31
  dmi.chassis.vendor: LENOVO
  dmi.chassis.version: Yoga 7 14ARB7
  dmi.ec.firmware.release: 1.34
  dmi.modalias: 
dmi:bvnLENOVO:bvrK5CN34WW:bd08/19/2022:br1.34:efr1.34:svnLENOVO:pn82QF:pvrYoga714ARB7:rvnLENOVO:rnLNVNB161216:rvrSDK0T76461WIN:cvnLENOVO:ct31:cvrYoga714ARB7:skuLENOVO_MT_82QF_BU_idea_FM_Yoga714ARB7:
  dmi.product.family: Yoga 7 14ARB7
  dmi.product.name: 82QF
  dmi.product.sku: LENOVO_MT_82QF_BU_idea_FM_Yoga 7 14ARB7
  dmi.product.version: Yoga 7 14ARB7
  dmi.sys.vendor: LENOVO
  version.compiz: compiz N/A
  version.libdrm2: libdrm2 2.4.110-1ubuntu1
  version.libgl1-mesa-dri: libgl1-mesa-dri 22.0.5-0ubuntu0.1
  version.libgl1-mesa-glx: libgl1-mesa-glx N/A
  version.xserver-xorg-core: xserver-xorg-core 2:21.1.3-2ubuntu2.3