sebanc / brunch

Boot ChromeOS on x86_64 PC - Supports Intel CPU/GPU from 8th gen or AMD Ryzen
GNU General Public License v3.0
3.63k stars 388 forks source link

Can not Sleep when I close the laptop。HP Envy13 x360。 #1102

Open wahahaha1314 opened 3 years ago

wahahaha1314 commented 3 years ago

Brunch, 90.13816.0

Chrome OS 90.0.4430.218(release) (64bit)

zork_recovery.

CPU:AMD Ryzen 7 4700U . Ram: 16GB

grub-config : menuentry "ChromeOS" --class "brunch" { linux ($disk,7)/kernel-5.10 boot=local noresume noswap loglevel=7 disablevmx=off cros_secure cros_debug options=acpi_power_button \ console= vt.global_cursor_default=0 brunch_bootsplash=default quiet initrd ($disk,7)/lib/firmware/amd-ucode.img ($disk,7)/lib/firmware/intel-ucode.img ($disk,7)/initramfs.img }

When I close the laptop, the fan is still working .and It 's lost 80% battery power over a night. Even I close the WIFI and Bluetooth.

I allready try 'suspend_s3' ,but it's not work.

Can someone give me an idea 。。

mrwhistles commented 3 years ago

This is a problem across the board for Renoir based AMD cpus where s2idle is not properly implemented for them. Kernel 5.14 is looking to include all relevant patches by default. I also have a HP Envy with a 4700u and our ACPI tables are not setup to handle s3 suspend and no option to enable it in our bios.

See https://gitlab.freedesktop.org/drm/amd/-/issues/1230

We would either need the series of patches applied to the 5.10 kernel or hopefully when 5.14 is officially released we can have that included in brunch.

Weddin commented 2 years ago

I can confirm that sleep is not working on Chuwi hi 10 pro (z8350) with kernel 5.10. On 5.4 sleep is working. r91/r93/r94 - same results