You are not logged in.

#1 2022-09-16 03:45:02

OlafMillet
Member
Registered: 2022-09-16
Posts: 3

Lenovo Yoga Slim 7 ProX 14ARH7 - Hibernation issues

Hello,

I have a lenovo yoga slim 7 prox 14ARH7, I'm dual booting the machine with arch and windows. Im having issues making hibernation work under Arch.

I have the Ryzen 7 6800HS with integrated AMD Radeon 680M Graphics

Window's suspend and hibernation works
Arch suspend works fine

Behavior under Arch:
The machine hibernates without any issues.
At power up, I see Lenovo logo, I see the usual startup of arch (loading ram... and stuff)
Then I see a text pointer at the top left blinking for 5 secs, then the screen goes black.
I believe the machine still runs fine I can toggle leds on the keyboard for specials keys after the black screen.

I compiled the lastest Linux Kernel from the mainline available on the AUR. (6.0rc5-1)

My guess would be with the amd video driver stuff, but I'm not sure what to try.

The first error in journalctl from the first boot after hibernation is:

Sep 16 14:30:34 kfe-mk3r kernel: ACPI: Added _OSI(Processor Aggregator Device)
Sep 16 14:30:34 kfe-mk3r kernel: ACPI: Added _OSI(Linux-Dell-Video)
Sep 16 14:30:34 kfe-mk3r kernel: ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
Sep 16 14:30:34 kfe-mk3r kernel: ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
Sep 16 14:30:34 kfe-mk3r kernel: ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PCI0.GPP7.DEV0], AE_NOT_FOUND (20220331/dswload2-162)
Sep 16 14:30:34 kfe-mk3r kernel: ACPI Error: AE_NOT_FOUND, During name lookup/catalog (20220331/psobject-220)
Sep 16 14:30:34 kfe-mk3r kernel: ACPI: Skipping parse of AML opcode: Scope (0x0010)
Sep 16 14:30:34 kfe-mk3r kernel: ACPI BIOS Error (bug): Failure creating named object [\_TZ.TZ01], AE_ALREADY_EXISTS (20220331/dswload2-326)
Sep 16 14:30:34 kfe-mk3r kernel: ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20220331/psobject-220)

Sep 16 14:30:34 kfe-mk3r kernel: ACPI: Skipping parse of AML opcode: ThermalZone (0x5B85)
Sep 16 14:30:34 kfe-mk3r kernel: ACPI: 26 ACPI AML tables successfully acquired and loaded

Here is what I have tried:

from https://01.org/blogs/rzhang/2015/best-p … ate-issues,
I tryed the no-console-suspend, ignore-log-level. I have not spend much time on this as it didnt give me more information.

I found from the AE_NOT_FOUND somewhere I dont remember that I could try the kernel parameter libata_no_acpi=1
This did not work.

I also found that I could try iomm_pt in some AMD forum but this also did not work.

As you can see I'm a bit loss and simply trying random stuff. Would anyone have some help to offer in understanding or fixing this issue?
I believe it's achievable.

Last edited by OlafMillet (2022-09-20 20:56:15)

Offline

#2 2022-09-18 19:05:40

OlafMillet
Member
Registered: 2022-09-16
Posts: 3

Re: Lenovo Yoga Slim 7 ProX 14ARH7 - Hibernation issues

For those who are in my situation, I have started a thread on the Lenovo forums and I actually got some feedback from Lenovo.

Lenovo thread: https://forums.lenovo.com/t5/Other-Linu … =1#5744980

The proposed solution would be here: https://bugzilla.kernel.org/show_bug.cgi?id=216438

As stated in my original post I only tried the "iommu=pt" kernel parameter. I will try to comb through the thread and see what comes out of it. If anyone more knowledgeable than me would propose some insight on such issues I would greatly appreciate. At first glance I am not sure if it's the same issue.

I have scan through a journal of a normal boot and the same error is present (AE_NOT_FOUND...) Anyways at least I have something to go on.

The good news is that there's at least 1 Lenovo employe who seems to be keen on fixing this! Thanks MarkRHPearson!

The bad news is that the 14ARH7 is not part of the "Linux program" from Lenovo, maybe if others who have Yoga Slim machines voice their interest we could add it to their list (Let's say 0.1% chance ^_^)

Last edited by OlafMillet (2022-09-18 19:16:19)

Offline

#3 2022-09-20 09:45:55

OlafMillet
Member
Registered: 2022-09-16
Posts: 3

Re: Lenovo Yoga Slim 7 ProX 14ARH7 - Hibernation issues

I found out that when I wake from hibernation and the screen is black if I switch to an other TTY it refreshes the screen and I get the picture back. I can then switch back to TTY1 and the hibernation is completed. Everything seems to be in working order.

By looking at the journal I can see these errors:

Sep 20 21:39:30 kfe-mk3r kernel: amdgpu 0000:04:00.0: amdgpu: RAS: optional ras ta ucode is not available
Sep 20 21:39:30 kfe-mk3r kernel: amdgpu 0000:04:00.0: amdgpu: RAP: optional rap ta ucode is not available
Sep 20 21:39:30 kfe-mk3r kernel: amdgpu 0000:04:00.0: amdgpu: SECUREDISPLAY: securedisplay ta ucode is not available
Sep 20 21:39:30 kfe-mk3r kernel: amdgpu 0000:04:00.0: amdgpu: SMU is resuming...
Sep 20 21:39:30 kfe-mk3r kernel: amdgpu 0000:04:00.0: amdgpu: dpm has been enabled
Sep 20 21:39:30 kfe-mk3r kernel: amdgpu 0000:04:00.0: amdgpu: SMU is resumed successfully!
Sep 20 21:39:30 kfe-mk3r kernel: [drm] DMUB hardware initialized: version=0x04000022
Sep 20 21:39:30 kfe-mk3r kernel: amdgpu: Move buffer fallback to memcpy unavailable
Sep 20 21:39:30 kfe-mk3r kernel: amdgpu 0000:04:00.0: amdgpu: 00000000fddadbae pin failed
Sep 20 21:39:30 kfe-mk3r kernel: [drm:dm_plane_helper_prepare_fb [amdgpu]] *ERROR* Failed to pin framebuffer with error -19

By doing a quick search I found this: https://gitlab.freedesktop.org/drm/amd/-/issues/1668

There's a lot going on in that thread so I will try to work it out but it seems the first kernel bug was not my problem. Maybe I should try and raise a bug on the kernel forum for this?

Last edited by OlafMillet (2022-09-20 09:52:05)

Offline

Board footer

Powered by FluxBB