You are not logged in.

#26 2022-04-02 09:42:18

tubize
Member
Registered: 2021-06-07
Posts: 17

Re: Laptop randomly unable to wake from suspend state

Hey all!
This problem seems to be back since updating to 5.17.1 sad
Only difference is that there are no logs whatsoever to go by. It seems more consistent as well, before I could go a couple of days with working suspend, now it seem like every morning I have to hard reset the laptop.
Anyone else experiencing this regression?

KInd regards!

Offline

#27 2022-04-02 13:53:04

larsch
Member
Registered: 2017-07-13
Posts: 9

Re: Laptop randomly unable to wake from suspend state

I can confirm on my T495 as well: Suspend/resume was always a bit unstable, but now I can absolutely never resume from suspend on kernel 5.17.1. Both when docked and when on battery. USB comes online (keyboard, mouse lights up), Display and Ethernet doesn't.

https://bugs.archlinux.org/index.php?do … k_id=74285

Nothing here yet: https://bugzilla.kernel.org/buglist.cgi … esolution=---

Last edited by larsch (2022-04-04 16:05:48)

Offline

#28 2022-04-04 16:04:13

larsch
Member
Registered: 2017-07-13
Posts: 9

Re: Laptop randomly unable to wake from suspend state

Upstream bug report: https://bugzilla.kernel.org/show_bug.cgi?id=215797

Patch to revert offending commit: https://lkml.org/lkml/2022/4/3/35

Offline

#29 2022-04-05 15:28:42

mass_t
Member
Registered: 2015-04-21
Posts: 57

Re: Laptop randomly unable to wake from suspend state

I had the same problem on Lenovo Legion 5 15ARH05H, I started using the nouveau driver and the problem disappeared.

Offline

#30 2022-04-05 15:30:00

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: Laptop randomly unable to wake from suspend state

Probably not the same issue, but https://download.nvidia.com/XFree86/Lin … ement.html ?

Offline

#31 2022-04-05 21:07:09

Lone_Gunman
Member
Registered: 2010-02-17
Posts: 18

Re: Laptop randomly unable to wake from suspend state

tubize wrote:

Hey all!
This problem seems to be back since updating to 5.17.1 sad
Only difference is that there are no logs whatsoever to go by. It seems more consistent as well, before I could go a couple of days with working suspend, now it seem like every morning I have to hard reset the laptop.
Anyone else experiencing this regression?

KInd regards!

Same here, unable to resume from suspend since last kernel update.
Running AMD Ryzen 3700U
No entry in journal sad

Offline

#32 2022-04-06 11:38:29

tubize
Member
Registered: 2021-06-07
Posts: 17

Re: Laptop randomly unable to wake from suspend state

larsch wrote:

Cool that you found the exact commit!! Incredible what one line of code can do smile
How did you even get to that post?

This time I'm not going to bother patching and building my own kernel, I downgraded to 5.16 and it is suspending just fine.
I guess 5.18 will fix things?

mass_t wrote:

I had the same problem on Lenovo Legion 5 15ARH05H, I started using the nouveau driver and the problem disappeared.

Hmm, are we talking about the same issue? I don't think this is graphics related, but what do I know... tongue
What I do know is that nouveau has terrible screentearing on my T495 setup, so I want to stick to amdgpu.

Last edited by tubize (2022-04-06 11:40:14)

Offline

#33 2022-04-06 14:33:53

tubize
Member
Registered: 2021-06-07
Posts: 17

Re: Laptop randomly unable to wake from suspend state

https://git.kernel.org/pub/scm/linux/ke … =v5.18-rc1

^When I look at the source of 5.18 mainline, this if statement at line 573 (before the flush cpu cache) is still present.

I guess that means that we won't be able to use 5.18 either?

Offline

#34 2022-04-07 08:47:30

mass_t
Member
Registered: 2015-04-21
Posts: 57

Re: Laptop randomly unable to wake from suspend state

tubize wrote:

Hmm, are we talking about the same issue? I don't think this is graphics related, but what do I know... tongue
What I do know is that nouveau has terrible screentearing on my T495 setup, so I want to stick to amdgpu.

I'm sorry, I thought that fixed the problem, but it really didn't. I managed to avoid this problem by turning off the setting Dim Screen (off) and Screen Blank (Never). And I don't know if it will work tomorrow or in an hour. Also a problem with the brightness of the keyboard backlight, but I do not write a bug report because it is hopeless, no one will fix it sad

Offline

#35 2022-04-07 11:38:05

seth
Member
Registered: 2012-09-03
Posts: 51,029

Offline

#36 2022-04-07 12:14:01

mass_t
Member
Registered: 2015-04-21
Posts: 57

Re: Laptop randomly unable to wake from suspend state

my keyboard backlight works but changes brightness level arbitrarily after waking up. also, my laptop is legion 5 (with amd), not legion 7i.

Offline

#37 2022-04-07 12:28:01

seth
Member
Registered: 2012-09-03
Posts: 51,029

Re: Laptop randomly unable to wake from suspend state

If you can control it (?, https://wiki.archlinux.org/title/Keyboard_backlight ) you could use some sleep hooks to re/store the value.
As it's rather weird for this to alter during an S3, teh standard question is whether there's a parallel OS (window) and then see the 3rd link below…

Offline

#38 2022-04-09 08:10:39

larsch
Member
Registered: 2017-07-13
Posts: 9

Re: Laptop randomly unable to wake from suspend state

tubize wrote:
larsch wrote:

Cool that you found the exact commit!! Incredible what one line of code can do smile
How did you even get to that post?

Wasn't me who found it the commit. Just googled the commit-id that was reported as offending and found the submission to revert it :-)

Offline

#39 2022-04-14 08:54:34

larsch
Member
Registered: 2017-07-13
Posts: 9

Re: Laptop randomly unable to wake from suspend state

tubize wrote:

I guess that means that we won't be able to use 5.18 either?

This revert commit is in 5.18-rc2: https://github.com/torvalds/linux/commi … b2f80134d3

Offline

#40 2022-04-14 19:39:15

tubize
Member
Registered: 2021-06-07
Posts: 17

Re: Laptop randomly unable to wake from suspend state

larsch wrote:
tubize wrote:

I guess that means that we won't be able to use 5.18 either?

This revert commit is in 5.18-rc2: https://github.com/torvalds/linux/commi … b2f80134d3

Ah fantastic that rc2 fixes this! Then I can get back up-to-date.
Thanks for the heads up!

Offline

#41 2022-04-15 06:17:48

larsch
Member
Registered: 2017-07-13
Posts: 9

Re: Laptop randomly unable to wake from suspend state

Confirmed fix is also in 5.17.3, which works for me!

Offline

#42 2022-04-27 14:47:55

nexus
Member
Registered: 2022-04-26
Posts: 3

Re: Laptop randomly unable to wake from suspend state

What is currently the best workaround for this issue?

I reverted to 5.17.3-arch1-1. It worked for a couple of weeks, but I've had two freezes in the last day.

Has the mainline (5.18-rc4, as I write) worked?

Last edited by nexus (2022-04-27 15:06:35)

Offline

Board footer

Powered by FluxBB