Create an account on the HP Community to personalize your profile and ask a question
08-26-2020 02:13 AM - edited 08-26-2020 02:21 AM
I just got an envy x360 and installed Ubuntu. Trying to suspend, I only get a black screen, but the computer is still running (fan is spinning). From what I gathered after some searches and a bit of tinkering, it seems that's caused by the bios not reporting the supported sleep states to the OS correctly.
Here's the output of cat /sys/power/mem_sleep on the envy:
Compared to this on my other machine which works fine:
There's also this relevant line from dmesg:
ACPI: (supports S0 S4 S5)
Compared to the working machine:
ACPI: (supports S0 S3 S4 S5)
Correct me if I'm wrong, but I assume the laptop does actually support S3, so it does in fact look like a bios issue to me.
Here's some more info that might be relevant:
The specific model is 13-ay0003nc (Ryzen 7 4700U, 16GB ram)
I updated the bios to the latest revision available on the hp website: F.12 Rev.A
The distribution I'm using is Ubuntu 20.04
I tried patching the acpi tables as suggested in various places around the internet, but to no avail. (I'm no expert when it comes to that sort of thing though, so I may have done something wrong...)
I'd much appreciate any kind of fix for this, as it makes the laptop largely unusable for me, which is a shame, since I really like it otherwise...
EDIT: I guess I should mention I'm running kernel version 5.8.3
09-19-2020 05:11 AM
For me it is on the 15-inch envy x360, with AMD Ryzen 3500u.
Same symptoms, Bios does not report S3-suspend
# cat /sys/power/mem_sleep on the envy:
# dmesg | grep -i acpi | grep supports
[ 0.417055] ACPI: (supports S0)
[ 0.427471] acpi PNP0A08:00: _OSC: OS supports [ExtendedConfig ASPM ClockPM Segments MSI EDR HPX-Type3]
From what I read, the cause is that windows 10 introduced the new 'modern suspend' mode "s0ix", which is mutually exclusive with S3-suspend-to-ram.
I would prefer if HP released a BIOS-update that allows one to switch the advertised suspend mode between "windows 10" and "classic S3", similar to how Lenovo did this for their ThinkPad X1 line.
(See UEFI 1.30 release notes here: https://download.lenovo.com/pccbbs/mobiles/n23ur11w.txt )
10-16-2020 12:17 PM
I just tried updating the bios to the latest revision again (F.13 Rev.A), but it's still broken. This is quite annoying... I'm starting to regret not returning the laptop while I still could and getting something that has basic functions like this working instead 😐 Also the bios update process itself is really stupid which just makes it even more frustrating... Is it really that hard to just give me the image so I can plop it on a flash drive, instead of having to run two exes on a windows machine, which I only have limited access to? I don't think I'll be buying hp again after this amazing experience...
12-07-2020 11:44 PM
Just chiming in here to say that I have an HP Envy x360 Ryzen 7 4700u with similar "sleep" issues in Ubuntu 20.04. I have been trying to fix it through kernel upgrades, etc, but it has been a pain and is not fully working yet. I likewise wish that I had returned the otherwise awesome computer (other than the keyboard not being centered) since it does not seem that HP cares to support Ubuntu, and this was why the machine was purchased. Could HP please add more support personnel to making sure these issues are resolved so users can use their choice of OS on the hardware?
01-03-2021 03:16 AM - edited 01-03-2021 03:24 AM
Another update, it seems there is also missing driver support for AMD-s2idle in the linux kernel.
It's being added as part of the 5.11 development cycle.
Intel works, which is why we are seeing reports that 'modern suspend' works on some laptops.
Apparently, there are vendor/hardware-specific differences between the suspend-routines.
To handle these differences, the Bios provides "_DSM" routines ("Device Specific Methods") in the ACPI tables.
these _DSM methods MUST be executed during the suspend transistions to tell the hardware what to do.
Intel has written drivers for their _DSM methods, for intel-hardware, in the original linux implementation, but the AMD support is lagging behind. 😞
The catch-up to also support the AMD _DSM ACPI methods is being done in the linux 5.11 kernel cycle.
Phoronix has a little coverage, that may provide more details
So, so summarize:
- Microsoft introduced "modern suspend/s0ix/s2idle" in a way that breaks backward compatibility with "classic" S3-sleep
- Intel added "modern suspend"-support to the linux kernel, but only for their own hardware
- HP uses modern suspend, thereby choosing to lose S3 support, and thus all support for all OSes that are not windows 10.
- support for AMD-"modern suspend" is only now being added to the driver, in kernel 5.11
03-03-2021 02:02 AM
Just compiled the kernel 5.11.2 and it still doesn't work. I find it very disappointing that notebook doesn't have the S3 sleep. It is like the car without seats. HP, please add it to the BIOS, it is the functionality that is working for years so why have you removed it from the BIOS? Other manufacturers provide the option to enable it in BIOS so I'm thinking about returning it and buy another from manufacturer that thinks on their customers.
Didn't find what you were looking for? Ask the community