You are not logged in.

#26 2023-01-30 00:17:30

jhagerer
Member
Registered: 2023-01-30
Posts: 5

Re: Linux 6.1.1 breaks suspend on AMD laptop

Laptop: Acer Swift 3 SF314-43
CPU: AMD Ryzen 5 5500U with Radeon Graphics

I got sleep working using linux-zen-6.0.1.zen1-1 kernel.

pacman -U https://archive.archlinux.org/packages/l/linux-zen/linux-zen-6.0.1.zen1-1-x86_64.pkg.tar.zst
pacman -U https://archive.archlinux.org/packages/l/linux-zen/linux-zen-headers-6.0.1.zen1-1-x86_64.pkg.tar.zst

Then updated the grub file like this:

https://itsfoss.com/switch-kernels-arch-linux/

PS: All standard linux kernels 6.0.* and 6.1.* didn't work. I tried all of them which were suggested in this thread beforehand.
PPS: After all, it works now under linux-6.0.12, i.e., the non-zen version.
PPPS: I realized that it only works ONCE after reboot. After shutting down the machine and booting again, it does not work anymore. See https://bbs.archlinux.org/viewtopic.php … 2#p2076372.

Last edited by jhagerer (2023-01-30 00:57:02)

Offline

#27 2023-01-30 00:51:35

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: Linux 6.1.1 breaks suspend on AMD laptop

@jhagerer what about 6.1.8 with https://git.kernel.org/pub/scm/linux/ke … b7f474aec4 applied?  Which is the fix from https://gitlab.freedesktop.org/drm/amd/-/issues/2357
https://drive.google.com/file/d/134ZZBt … share_link linux-6.1.8.arch1-1.1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1nOFdOd … share_link linux-headers-6.1.8.arch1-1.1-x86_64.pkg.tar.zst

Offline

#28 2023-01-30 01:06:43

jhagerer
Member
Registered: 2023-01-30
Posts: 5

Re: Linux 6.1.1 breaks suspend on AMD laptop

loqs wrote:

@jhagerer what about 6.1.8 with https://git.kernel.org/pub/scm/linux/ke … b7f474aec4 applied?  Which is the fix from https://gitlab.freedesktop.org/drm/amd/-/issues/2357
https://drive.google.com/file/d/134ZZBt … share_link linux-6.1.8.arch1-1.1-x86_64.pkg.tar.zst
https://drive.google.com/file/d/1nOFdOd … share_link linux-headers-6.1.8.arch1-1.1-x86_64.pkg.tar.zst

Thanks, I tried it. But nope, this does not work. Not even once, as it was the case with linux-6.0.12 or linux-zen-6.0.1.

Offline

#29 2023-01-30 01:12:52

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: Linux 6.1.1 breaks suspend on AMD laptop

jhagerer wrote:

Thanks, I tried it. But nope, this does not work. Not even once, as it was the case with linux-6.0.12 or linux-zen-6.0.1.

Thank you for testing.  Is there an upstream bug report for your issue?

Offline

#30 2023-01-30 01:16:02

jhagerer
Member
Registered: 2023-01-30
Posts: 5

Re: Linux 6.1.1 breaks suspend on AMD laptop

loqs wrote:

Thank you for testing.  Is there an upstream bug report for your issue?

You're welcome! I didn't create one, and I didn't check if there is one. So I guess not?

Offline

#31 2023-01-30 01:31:24

Laoceau
Member
Registered: 2023-01-27
Posts: 7

Re: Linux 6.1.1 breaks suspend on AMD laptop

Same here (6800H, 6.1.8-arch1-1). Suspend works the first time, second time it hangs. Sometimes it hangs the first time.

Offline

#32 2023-02-07 15:00:15

ArchieMeng
Member
Registered: 2019-09-26
Posts: 6

Re: Linux 6.1.1 breaks suspend on AMD laptop

rrvv33 wrote:

Lenovo 15ALC6 (same as original poster); found this:

https://gitlab.freedesktop.org/drm/amd/-/issues/2357

This fixes the issue for me:
echo disabled > /sys/bus/i2c/devices/i2c-MSFT0001:00/power/wakeup

Has anyone tried using the patch mentioned in the issue? (commit d63f11c02b8d3e54bdb65d8c309f73b7f474aec4)
I tried patching linux package v6.1.9 with the commit, but it didn't fix the suspend issue for me. (On Lenovo 14s 2021 Ryzen 5800H)

Offline

#33 2023-02-07 16:54:26

ArchieMeng
Member
Registered: 2019-09-26
Posts: 6

Re: Linux 6.1.1 breaks suspend on AMD laptop

ArchieMeng wrote:

Has anyone tried using the patch mentioned in the issue? (commit d63f11c02b8d3e54bdb65d8c309f73b7f474aec4)
I tried patching linux package v6.1.9 with the commit, but it didn't fix the suspend issue for me. (On Lenovo 14s 2021 Ryzen 5800H)

I patched the master branch of archlinux-linux, (It might be v6.2-rc7) and suspending works again.

Update:
From the commit history, the patch has already been included in version 6.1.10: https://github.com/archlinux/linux/tree/v6.1.10-arch1
And it is now in testing repo. Suspending works on this version.

Last edited by ArchieMeng (2023-02-07 17:28:34)

Offline

#34 2023-02-09 16:02:49

solatle
Member
Registered: 2023-01-13
Posts: 2

Re: Linux 6.1.1 breaks suspend on AMD laptop

ArchieMeng wrote:
ArchieMeng wrote:

Has anyone tried using the patch mentioned in the issue? (commit d63f11c02b8d3e54bdb65d8c309f73b7f474aec4)
I tried patching linux package v6.1.9 with the commit, but it didn't fix the suspend issue for me. (On Lenovo 14s 2021 Ryzen 5800H)

I patched the master branch of archlinux-linux, (It might be v6.2-rc7) and suspending works again.

Update:
From the commit history, the patch has already been included in version 6.1.10: https://github.com/archlinux/linux/tree/v6.1.10-arch1
And it is now in testing repo. Suspending works on this version.

Thanks Archie. I confirm 6.1.10 works fine now on my amd machine.

Offline

#35 2023-02-10 21:40:03

jhagerer
Member
Registered: 2023-01-30
Posts: 5

Re: Linux 6.1.1 breaks suspend on AMD laptop

When will this fix become part of core?

Offline

#36 2023-02-10 21:48:11

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: Linux 6.1.1 breaks suspend on AMD laptop

jhagerer wrote:

When will this fix become part of core?

Which fix?  linux 6.1.10.arch1-1 is in core.

Offline

#37 2023-02-10 21:56:36

jhagerer
Member
Registered: 2023-01-30
Posts: 5

Re: Linux 6.1.1 breaks suspend on AMD laptop

loqs wrote:
jhagerer wrote:

When will this fix become part of core?

Which fix?  linux 6.1.10.arch1-1 is in core.

This one: https://bbs.archlinux.org/viewtopic.php … 3#p2083433

I just updated my Arch core based installation, and I am running linux 6.1.10-arch1-1. The suspend problem is still in there. I am assuming that the bugfix, which is part of that same kernel version in testing, must still be migrated towards core in order to provide my Arch installation with a bugfix.

Offline

#38 2023-02-10 22:25:28

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: Linux 6.1.1 breaks suspend on AMD laptop

You have a different issue as proved in post #26.

Offline

#39 2023-02-11 00:11:14

chicagonyc
Member
Registered: 2023-02-11
Posts: 3

Re: Linux 6.1.1 breaks suspend on AMD laptop

I have the same problem, running 6.1.10 Zen kernel on a Ryzen 6800u-equipped HP Elitebook 845 G9. Can't revive the suspended laptop.

Offline

#40 2023-02-12 21:18:10

Laoceau
Member
Registered: 2023-01-27
Posts: 7

Re: Linux 6.1.1 breaks suspend on AMD laptop

Laoceau wrote:

Same here (6800H, 6.1.8-arch1-1). Suspend works the first time, second time it hangs. Sometimes it hangs the first time.

Updated 6.1.8 to 6.1.11 and now suspend works properly big_smile

Offline

#41 2023-02-12 21:42:52

chicagonyc
Member
Registered: 2023-02-11
Posts: 3

Re: Linux 6.1.1 breaks suspend on AMD laptop

Updated to 6.1.11 and no change for me. First suspend/resume worked ok, second resume is frozen.

Laoceau wrote:
Laoceau wrote:

Same here (6800H, 6.1.8-arch1-1). Suspend works the first time, second time it hangs. Sometimes it hangs the first time.

Updated 6.1.8 to 6.1.11 and now suspend works properly big_smile

Offline

#42 2023-03-07 01:38:51

tshrpl
Member
Registered: 2022-11-06
Posts: 7

Re: Linux 6.1.1 breaks suspend on AMD laptop

today i tried the newest kernel "6.2.2.zen1-1", and it boots properly, and suspend works too

Offline

#43 2023-03-07 06:51:55

kotteswaran85
Member
Registered: 2023-02-11
Posts: 16

Re: Linux 6.1.1 breaks suspend on AMD laptop

Kernel 6.0.14 does not boot; black screen
my laptop model is : hp-15bs658tx
Processor : 4 × Intel® Core™ i3-6006U CPU @ 2.00GHz
Mesa Intel® HD Graphics 520
AMD GPU

Archlinux kernel 6.0.14 and above cannot boot- blackscreen iam getting
please help me to fix this blackscreen....

Offline

#44 2023-03-07 07:22:53

tshrpl
Member
Registered: 2022-11-06
Posts: 7

Re: Linux 6.1.1 breaks suspend on AMD laptop

kotteswaran85 wrote:

Kernel 6.0.14 does not boot; black screen

my laptop's model is `15-bs670tx`, almost the same as yours, have you tried the newest kernel ? a full system upgrade might fix this, the 6.1 kernel had this issue for me

Offline

#45 2023-03-07 10:07:59

kotteswaran85
Member
Registered: 2023-02-11
Posts: 16

Re: Linux 6.1.1 breaks suspend on AMD laptop

Bro I tried latest archlinux kernel 6.2.2
Still problem is not fixed...
I also tried to compile kernel but not succeed...still trying..with different configurations...
Any suggestions and solutions to fix it ... guide me...TQ

Offline

#46 2023-03-07 16:10:51

chicagonyc
Member
Registered: 2023-02-11
Posts: 3

Re: Linux 6.1.1 breaks suspend on AMD laptop

6.2.2 on a HP 845 G9 (6800U) and still resume problems from a long suspend. I also notice that changing wifi access points (eg going from work to home or vice versa) triggers freezes upon resume.

Offline

#47 2023-03-07 16:44:49

loqs
Member
Registered: 2014-03-06
Posts: 17,197

Re: Linux 6.1.1 breaks suspend on AMD laptop

The original issue was fixed in 6.1.10.  I would suggest starting a new thread with all the information relating to the ongoing issue.

Offline

#48 2023-03-15 17:40:05

CjK
Member
Registered: 2008-10-17
Posts: 23

Re: Linux 6.1.1 breaks suspend on AMD laptop

rrvv33 wrote:

Lenovo 15ALC6 (same as original poster); found this:

https://gitlab.freedesktop.org/drm/amd/-/issues/2357

This fixes the issue for me:
echo disabled > /sys/bus/i2c/devices/i2c-MSFT0001:00/power/wakeup

I'm on Kernel v6.2.6 now and the issue still persists for me. The workaround described above still works, but according to the issue it should have been fixed in Kernel 6.2.x

Anybody else still having this issue as well?

Offline

#49 2023-03-22 14:04:10

givtrah
Member
Registered: 2023-03-22
Posts: 1

Re: Linux 6.1.1 breaks suspend on AMD laptop

I still experience this issue as well.

It seems to have been gone for some kernel versions, but have been back at least since 6.2.6.

It's also still present on 6.2.7.

Disabling wake from touchpad by:

# echo disabled > /sys/bus/i2c/devices/i2c-ELAN0678\:00/power/wakeup

Solves the issue.

Hardware: Lenovo ThinkPad T14 Gen 3 - 14" - Ryzen 5 Pro 6650U.

Last edited by givtrah (2023-03-22 15:02:52)

Offline

#50 2023-03-24 20:46:38

tshrpl
Member
Registered: 2022-11-06
Posts: 7

Re: Linux 6.1.1 breaks suspend on AMD laptop

kotteswaran85 wrote:

Bro I tried latest archlinux kernel 6.2.2

are you still having this issue, i tried to reinstall arch with the latest iso, and it didn't even boot for me ... while my installation with 6.2.8 boots fine, i suspect the wifi driver might be the culprit

if you are, try this, get an older iso from nov last year, use it to chroot into your installation and blacklist the wifi driver `rtw88_8723de` `rtw88_8723d` `rtw88_core` & `rtw88_pci` (i got the correct names from `lspci -k` in the live shell)

Last edited by tshrpl (2023-03-24 20:47:31)

Offline

Board footer

Powered by FluxBB