Bug 218292

Summary: Built in Screen (Laptop) won't wake up from sleep (AMD Graphics)
Product: Drivers Reporter: mail
Component: Video(DRI - non Intel)Assignee: drivers_video-dri
Status: NEW ---    
Severity: normal CC: bagasdotme
Priority: P3    
Hardware: All   
OS: Linux   
Kernel Version: Subsystem:
Regression: No Bisected commit-id:
Attachments: dmesg6.1.x_working
dmesg6.6.x_not_working

Description mail 2023-12-20 08:33:08 UTC
Hello all!

I’ve a problem with the wake up from screen sleep (not whole computer sleeo, only display) and latest kernels. When the computer screen goes to sleep it won’t wake up anymore. No mouse cursor nor i can change to tty (Strg + Alt + F1 …). The journals logs are also empty and only a hard reset helps. I’ve tested it with the lastest Linux Kernel 6.6.6 and 6.6.7. Funnily if the whole computer goes to sleep (for example Sleep, Hybrid Sleep or Hibernate), and i disable Screen Sleep before, the screen wakes up. The problem exists only when the screen goes to sleep. With older kernels (i don't know the exact version, i think before 6.6.x) it does work. I've tested the same behaviour on OpenSUSE Tumbleweed and Arch Linux. Also i changed to Wayland, but the same problem.

Info for my System:

Graphics Platform: X11
Processors: 16 × AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics
Memory: 30,1 GiB of RAM
Graphics Processor: AMD Radeon Graphics
Manufacturer: LENOVO
Product Name: 21F80041GE
System Version: ThinkPad T14s Gen 4

Maybe someone have an idea. Thank you very much.

Best regards!
Comment 1 Bagas Sanjaya 2023-12-20 12:34:52 UTC
(In reply to mail from comment #0)
> Hello all!
> 
> I’ve a problem with the wake up from screen sleep (not whole computer sleeo,
> only display) and latest kernels. When the computer screen goes to sleep it
> won’t wake up anymore. No mouse cursor nor i can change to tty (Strg + Alt +
> F1 …). The journals logs are also empty and only a hard reset helps. I’ve
> tested it with the lastest Linux Kernel 6.6.6 and 6.6.7. Funnily if the
> whole computer goes to sleep (for example Sleep, Hybrid Sleep or Hibernate),
> and i disable Screen Sleep before, the screen wakes up. The problem exists
> only when the screen goes to sleep. With older kernels (i don't know the
> exact version, i think before 6.6.x) it does work. I've tested the same
> behaviour on OpenSUSE Tumbleweed and Arch Linux. Also i changed to Wayland,
> but the same problem.
> 

Does waking up from sleep work on v6.5.y? v6.1.y? Also, can you attach
full dmesg (from both v6.6.y and working kernel)?

> Info for my System:
> 
> Graphics Platform: X11
> Processors: 16 × AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics
> Memory: 30,1 GiB of RAM
> Graphics Processor: AMD Radeon Graphics

What amdgpu model?

> Manufacturer: LENOVO
> Product Name: 21F80041GE
> System Version: ThinkPad T14s Gen 4
> 

Confused...
Comment 2 mail 2023-12-20 14:35:28 UTC
Created attachment 305634 [details]
dmesg6.1.x_working
Comment 3 mail 2023-12-20 14:36:22 UTC
Created attachment 305635 [details]
dmesg6.6.x_not_working
Comment 4 mail 2023-12-20 14:41:23 UTC
(In reply to Bagas Sanjaya from comment #1)
> (In reply to mail from comment #0)
> > Hello all!
> > 
> > I’ve a problem with the wake up from screen sleep (not whole computer
> sleeo,
> > only display) and latest kernels. When the computer screen goes to sleep it
> > won’t wake up anymore. No mouse cursor nor i can change to tty (Strg + Alt
> +
> > F1 …). The journals logs are also empty and only a hard reset helps. I’ve
> > tested it with the lastest Linux Kernel 6.6.6 and 6.6.7. Funnily if the
> > whole computer goes to sleep (for example Sleep, Hybrid Sleep or
> Hibernate),
> > and i disable Screen Sleep before, the screen wakes up. The problem exists
> > only when the screen goes to sleep. With older kernels (i don't know the
> > exact version, i think before 6.6.x) it does work. I've tested the same
> > behaviour on OpenSUSE Tumbleweed and Arch Linux. Also i changed to Wayland,
> > but the same problem.
> > 
> 
> Does waking up from sleep work on v6.5.y? v6.1.y? Also, can you attach
> full dmesg (from both v6.6.y and working kernel)?

First of all thank you for the reply. I've attached the logs. I hope i made it correctly.

> 
> > Info for my System:
> > 
> > Graphics Platform: X11
> > Processors: 16 × AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics
> > Memory: 30,1 GiB of RAM
> > Graphics Processor: AMD Radeon Graphics
> 
> What amdgpu model?
> 
> > Manufacturer: LENOVO
> > Product Name: 21F80041GE
> > System Version: ThinkPad T14s Gen 4
> > 
> 
> Confused...

I'm also confused. ;-) Did you mean this?


[root@xyz user]# lspci -k | grep -EA2 'VGA|3D'
pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not permitted
c3:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Phoenix1 (rev dd)
        Subsystem: Lenovo Phoenix1
        Kernel driver in use: amdgpu

Thanks again.
Comment 5 mail 2023-12-20 14:43:06 UTC
Sorry i forgot to say. I don't tried the 6.5 Kernel. v6.1. works. v6.6. doesn't work.
Comment 6 Bagas Sanjaya 2023-12-21 03:03:18 UTC
(In reply to mail from comment #4)
> > 
> > > Info for my System:
> > > 
> > > Graphics Platform: X11
> > > Processors: 16 × AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics
> > > Memory: 30,1 GiB of RAM
> > > Graphics Processor: AMD Radeon Graphics
> > 
> > What amdgpu model?
> > 
> > > Manufacturer: LENOVO
> > > Product Name: 21F80041GE
> > > System Version: ThinkPad T14s Gen 4
> > > 
> > 
> > Confused...
> 
> I'm also confused. ;-) Did you mean this?
> 
> 
> [root@xyz user]# lspci -k | grep -EA2 'VGA|3D'
> pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation not
> permitted
> c3:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
> Phoenix1 (rev dd)
>         Subsystem: Lenovo Phoenix1
>         Kernel driver in use: amdgpu
> 

I mean I'd like to know what gpu chipset is (hint: see laptop specification).
Comment 7 mail 2023-12-21 07:19:35 UTC
(In reply to Bagas Sanjaya from comment #6)
> (In reply to mail from comment #4)
> > > 
> > > > Info for my System:
> > > > 
> > > > Graphics Platform: X11
> > > > Processors: 16 × AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics
> > > > Memory: 30,1 GiB of RAM
> > > > Graphics Processor: AMD Radeon Graphics
> > > 
> > > What amdgpu model?
> > > 
> > > > Manufacturer: LENOVO
> > > > Product Name: 21F80041GE
> > > > System Version: ThinkPad T14s Gen 4
> > > > 
> > > 
> > > Confused...
> > 
> > I'm also confused. ;-) Did you mean this?
> > 
> > 
> > [root@xyz user]# lspci -k | grep -EA2 'VGA|3D'
> > pcilib: Error reading /sys/bus/pci/devices/0000:00:08.3/label: Operation
> not
> > permitted
> > c3:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI]
> > Phoenix1 (rev dd)
> >         Subsystem: Lenovo Phoenix1
> >         Kernel driver in use: amdgpu
> > 
> 
> I mean I'd like to know what gpu chipset is (hint: see laptop specification).

Sorry i mean that i have posted this on the first post.

Here is the data:

CPU: AMD Ryzen 7 PRO 7840U
Graphics: AMD Radeon 780M
Chipset: AMD SoC (System on Chip) platform

https://psref.lenovo.com/syspool/Sys/PDF/ThinkPad/ThinkPad_T14s_Gen_4_AMD/ThinkPad_T14s_Gen_4_AMD_Spec.PDF

Thank you for your help.