Public bug reported:

Issue Description:
When shutting down the system with an external monitor connected via HDMI, the 
OS finishes the shutdown process normally, but the laptop hardware remains 
powered on (the power LED stays illuminated and the machine does not fully 
power off).
If the HDMI cable is disconnected before the shutdown, the laptop powers off 
completely and correctly.

Important note: Once the system enters this "stuck" state (black screen,
power LED on), unplugging the HDMI cable does not recover the system or
allow it to finish powering off. It remains completely frozen. The HDMI
cable must be unplugged before initiating the shutdown sequence to avoid
the hang.

Regression Details:
This is a regression introduced in kernel 7.0.0-28.
I have tested previous kernels on the exact same hardware and they work 
perfectly (the system powers off completely even with the HDMI connected).

Fails in: Kernel 7.0.0-28
Works in: Kernel 7.0.0-14-generic
Works in: Kernel 6.x branch (tested on Linux Mint's default 6.x kernel)

Steps to Reproduce:
1. Boot the laptop with kernel 7.0.0-28.
2, Connect an external monitor via the HDMI port.
3. Shut down the system from the GUI (or via sudo shutdown now).
4. Notice the OS halts, but the laptop's power LED remains on and the machine 
does not fully power down.
5. Unplugging the HDMI cable at this frozen stage does nothing; the machine 
remains stuck and must be forced off by holding the physical power button.

System Information:
OS: Linux Mint 22.3 Zena (Ubuntu 24.04 noble base)
Hardware: LENOVO IdeaPad 5 15ALC05
CPU: AMD Ryzen 7 5700U with Radeon Graphics (Lucienne / Zen 2)
GPU: AMD Lucienne (amdgpu driver)
BIOS: H2CN33WW (08/30/2023)

System:
  Kernel: 7.0.0-14-generic arch: x86_64 bits: 64 compiler: gcc v: 13.3.0 
clocksource: tsc
  Desktop: Cinnamon v: 6.6.9 tk: GTK v: 3.24.41 wm: Muffin v: 6.6.3 with: plank 
vt: 7 dm: LightDM
    v: 1.30.0 Distro: Linux Mint 22.3 Zena base: Ubuntu 24.04 noble
Machine:
  Type: Laptop System: LENOVO product: 82LN v: IdeaPad 5 15ALC05 
  Mobo: LENOVO model: LNVNB161216 UEFI: LENOVO v: H2CN33WW date: 08/30/2023
CPU:
  Info: 8-core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 type: MT 
MCP smt: enabled
    arch: Zen 2 rev: 1 
Graphics:
  Device-1: AMD Lucienne vendor: Lenovo driver: amdgpu v: kernel arch: GCN-5 
pcie: speed: 8 GT/s
    lanes: 16 ports: active: eDP-1 empty: DP-1,HDMI-A-1 bus-ID: 03:00.0 
chip-ID: 1002:164c
    class-ID: 0300

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amdgpu hdmi lenovo regression shutdown

** Attachment added: "System logs, lspci and dmesg for kernel 7.0.0-28"
   
https://bugs.launchpad.net/bugs/2163121/+attachment/5990834/+files/logs_kernel_7.0.0-28.zip

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2163121

Title:
  [Regression] Laptop fails to power off completely when HDMI is
  connected in kernel 7.0.0-28

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to