You are not logged in.

#1 2024-02-27 00:21:20

dmarkey
Member
Registered: 2013-11-01
Posts: 9

Framework 13 (AMD) Inconsistent Hibernate (hard freeze)

Hey,

Tried Framework forums, but running out of road there.

Setup: Framework 13 AMD laptop (7640U) 64G memory, 2T Corsair w/ 65GB swap partition.

Every 6/7 hibernation cycles the hibernation freezes the computer

One interesting artifact is that the screen goes into full brightness when the failure happens and required a "5 second power button" to recover.

I've tried nomodeset to disable KMS and yes that seems to make the problem go away.. but gfx seems crippled.

Any idea? Seems like an amdgpu problem.

I'm up to date as of today (6.7.6-arch1-1)

Thanks,

David

Offline

#2 2024-02-27 08:57:49

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,330

Re: Framework 13 (AMD) Inconsistent Hibernate (hard freeze)

nomodeset leaves you with the latest and greatest VESA technology of the mid-90ies
Don't.

Only S4 or also S3?
Is the swap encrypted?
https://bbs.archlinux.org/viewtopic.php?id=293028 ?

Offline

#3 2024-02-27 20:56:30

dmarkey
Member
Registered: 2013-11-01
Posts: 9

Re: Framework 13 (AMD) Inconsistent Hibernate (hard freeze)

This Ryzen does not support S3, just S2ildle. That seems OK.

Swap is not encrypted and is on it's own partition. Yes I know nomodeset is crap, but proves to me that the problem seems to be amdgpu.

Seems to be a problem with other people too https://community.frame.work/t/responde … vid_markey

Offline

#4 2024-02-27 22:29:13

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,330

Re: Framework 13 (AMD) Inconsistent Hibernate (hard freeze)

In case this is related to the APU eviction bug and by inference https://gitlab.freedesktop.org/drm/amd/-/issues/3132 your best shot would be the upcoming 6.8 kernels.
You could try https://aur.archlinux.org/packages/linux-drm-tip-git

Offline

#5 2024-02-28 08:45:23

dmarkey
Member
Registered: 2013-11-01
Posts: 9

Re: Framework 13 (AMD) Inconsistent Hibernate (hard freeze)

That kernel locked up on the first hibernation cycle sad

Offline

#6 2024-02-28 09:03:32

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,330

Re: Framework 13 (AMD) Inconsistent Hibernate (hard freeze)

Do you get the same problem when only booting the multi-user.target (2nd link below) and hibernating from there?
(WIth a little luck, you'll get some error messages on teh console…)

Offline

#7 2024-02-28 17:17:17

dmarkey
Member
Registered: 2013-11-01
Posts: 9

Re: Framework 13 (AMD) Inconsistent Hibernate (hard freeze)

I've been trying that and I don't think I've noted anything interesting.. but I'll take a video.

Offline

#8 2024-03-01 16:58:03

dmarkey
Member
Registered: 2013-11-01
Posts: 9

Re: Framework 13 (AMD) Inconsistent Hibernate (hard freeze)

https://photos.google.com/share/AF1QipM … 84TUc0ckt3

Here's a video of the behaviour, using a small hibernate stress test script I wrote.. some warnings on the console, the ACK one is known to be related to the HDMI expansion card but its the same with the card removed.

Offline

#9 2024-03-01 18:29:42

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,330

Re: Framework 13 (AMD) Inconsistent Hibernate (hard freeze)

fKjo3xj.jpeg
Does the i2c-FRMW0005:00 only show up in journals or at all when the system freezes?

Google spat out https://community.frame.work/t/tracking … -amd/39495

Offline

#10 2024-03-01 21:09:34

dmarkey
Member
Registered: 2013-11-01
Posts: 9

Re: Framework 13 (AMD) Inconsistent Hibernate (hard freeze)

So you gave me the idea to try the latest firmware using linux-firmware-git to pull in the latest GPU firmware..

And some success... I got my best yet.. 21 cycles.. so this must be an amdgpu problem.. Should I raise a bug somewhere?

Offline

#11 2024-03-02 08:58:25

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 75,330

Re: Framework 13 (AMD) Inconsistent Hibernate (hard freeze)

That's actually not the GPU firmware, i2c-frmw0005 is a device and frmw is for "framework".
Did the message disappear w/ the latest firmware update (just to spot relevance)

Filing a bug if the problem has been solved (for the upcoming release) is pointless, it'll be filed as duplicate.
You might want to record the finding in https://wiki.archlinux.org/title/Framework_Laptop_13 though.

Offline

Board footer

Powered by FluxBB