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

Bug #1998673 reported by Michael K
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Undecided
Unassigned

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
version.xserver-xorg-input-evdev: xserver-xorg-input-evdev N/A
version.xserver-xorg-video-ati: xserver-xorg-video-ati 1:19.1.0-2ubuntu1
version.xserver-xorg-video-intel: xserver-xorg-video-intel 2:2.99.917+git20210115-1
version.xserver-xorg-video-nouveau: xserver-xorg-video-nouveau 1:1.0.17-2build1

Revision history for this message
Michael K (michael-kr) wrote :
affects: ubuntu → xorg (Ubuntu)
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

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
affects: xorg (Ubuntu) → linux (Ubuntu)
summary: - 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
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Michael K (michael-kr) wrote :

1. As already written: In this issue I'll only report on topic 1
2. As already written: Did some cross checks with Kernel 5.15.0-56 (stable) - summary: the issue is there as well, except for a very minor difference: If HDMI is connected during boot it works on 5.15.0-56 while it doesn't on mainline. Still it's far from "works as it should".

Revision history for this message
Kai-Heng Feng (kaihengfeng) wrote :
Revision history for this message
Steven Hong (halotechincs) wrote :

I have same issue like u. did you update your bios?
I have same issue after updating my BIOS.

Used so well until bios updates.

The bios Code is : JVEC31WW

Revision history for this message
Michael K (michael-kr) wrote : Re: [Bug 1998673] Re: [amdgpu] External Display via Lenovo TB3 Dock on AMD Ryzen CPU not working
Download full text (5.8 KiB)

No, my BIOS version is K5CN34WW
Do you have exactly the same computer model (Yoga 7 14ARB7)?
Do you have exactly the same Lenovo TB Dock?

12.12.2022 19:05:22 Steven Hong <email address hidden>:

> I have same issue like u. did you update your bios?
> I have same issue after updating my BIOS.
>
> Used so well until bios updates.
>
> The bios Code is : JVEC31WW
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> 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:
>   Confirmed
>
> 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 situa...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.