TL;DR if you have a persistent issue where your system
-
Hard freezes right before shutting down
-
Hard freezes right before going to sleep
-
Both 1 & 2
that started around kernel 6.6, disable all forms of TPM on your motherboard. This includes any hardware TPM as well as firmware based TPM such as Intel PTT or whatever it is called on AMD.
(EDIT) Known affected motherboard manufacturers
-
ASUS - I have the ROG Strix X299-E Gaming II
-
Gigabyte - u/piepie526 confirmed the workaround solved their issue. They have the Gigabyte Z370 HD3.
I would not be surprised if this affects many more manufacturers and many more models for those manufacturers that have been confirmed so far.
Through the combined efforts of these folks and these folks , my year and a half ordeal with trying to figure out the single most annoying problem I have ever dealt with on Linux is finally over. I was finally graced with the opportunity for google to present me with both of these threads, after seemingly figuring out the right sequence of words to search.
For whatever reason, (for me) TPM started messing with ACPI about a year and a half ago. I do not know if this is a bug with my BIOS, or with the kernel, because both have been updated in this time.
All I know is that someone else has this problem and they need to know how to fix it. Please try disabling TPM if you are routinely having to hard shutdown your system at random intervals with no messages in the journal and no clues to go off of.
The larger number of the following symptoms you have, the greater chance you have this problem. If it turns out your problem is NOT this problem. Great news, your problem will be much easier to solve than this one was. haha. Keep searching!
-
The system can always be rebooted successfully. However, a reboot may proceed "abnormally". The system may hang for a bit (maybe over a minute) then briefly shut down, like you changed a BIOS setting, and come back to life. This behavior will only appear when the problem is 'active', otherwise the reboot will not present a shutdown or a hang. More on that below.
-
If your system has a post-code LED readout, it may show an abnormal code. Mine would always show 0x00, which for ASUS is a general CPU error. Not very helpful, but it starts to make sense as you read further below. After disabling TPM, my post code readout always shows 0xAA after a fresh boot, which indicates a successful handoff to the OS from UEFI, and specifically, successful ACPI setup.
-
When the system has been on for a very short period of time, it can be shut down or put into sleep mode with no issue. Only when the system has been on for a longer period of time (usually, multiple hours) will the problem occur.
-
When the problem is 'active' (which is indeterminable until the issues happen), the system will hard freeze in two possible ways.
-
First, when entering sleep. The screen will go black, the keyboard will disconnect, and your motherboard will even start to blink the power LED. But all of the fans and lights will stay on. There is nothing you can do besides hard shut it down. After the next boot, the journal will look completely normal, with no fatal errors. But it will end abruptly right before the filesystem syncs, which is where it freezes.
-
Jan 18 23:34:22 arch systemd[1]: Reached target Sleep. Jan 18 23:34:22 arch systemd[1]: Starting System Suspend... Jan 18 23:34:22 arch systemd-sleep[577393]: Entering sleep state 'suspend'... Jan 18 23:34:22 arch kernel: PM: suspend entry (deep) Jan 18 23:34:22 arch systemd[1]: Reached target Sleep. Jan 18 23:34:22 arch systemd[1]: Starting System Suspend... Jan 18 23:34:22 arch systemd-sleep[577393]: Entering sleep state 'suspend'... Jan 18 23:34:22 arch kernel: PM: suspend entry (deep)
-
Second, when trying to shut down. You will encounter basically the same situation, except the screen will stay on, and display the journal infinitely. The journal after the next boot here will also look "normal" with no indication that anything is wrong.
Mar 07 01:01:44 arch systemd[1]: Reached target System Power Off. Mar 07 01:01:44 arch systemd[1]: Shutting down. Mar 07 01:01:44 arch systemd-shutdown[1]: Syncing filesystems and block devices. Mar 07 01:01:44 arch systemd-shutdown[1]: Sending SIGTERM to remaining processes... Mar 07 01:01:44 arch systemd-journald[378]: Received SIGTERM from PID 1 (systemd-shutdow). Mar 07 01:01:44 arch systemd-journald[378]: Journal stopped
The logical conclusion is that the issue happens after the journal stops, indicating some very low level issue. Which is, helpful... but not really anything to go off of, unless your motherboard has a serial debug port (mine sure doesn't). Somehow, the hero of this story figured it out anyway.
It took user ikorus on the arch forums about 2 and a half months to figure this out through sheer determination and apparently the same hatred of this issue that I have. All credit goes to them for finding the solution.
I am confident the issue is solved for me now. I let the system run for over 10 hours yesterday before putting it through several sleep and wake cycles and then shutting it down. That would have been 100% impossible without a freeze beforehand.
The exact steps I took for my ASUS X299 motherboard
-
Advanced-->PCH-FW Configuration-->Intel PTT (disable)
-
Advanced-->PCH-FW Configuration-->PTP Aware OS (not PTP aware)
-
Advanced-->Trusted Computing-->Security Device Support (disable)
Inside the OS, you can verify TPM is 100% disabled by listing this directory. If it is empty, then all forms of TPM are disabled.
/sys/class/tpm/
If you're using an NVIDIA GPU and get a black screen or a completely unresponsive system when you resume from suspend, disable the NVIDIA systemd power management services, then reboot. Also, every time you update your NVIDIA drivers, you will have to reapply these changes, since updating reenables the NVIDIA services.
sudo systemctl disable nvidia-suspend && sudo systemctl disable nvidia-hibernate
UPDATE: If you're using a laptop, nvidia-resume may be required and shouldn't be disabled unless the above steps alone didn't completely fix the problems.
At least on the distros I tried, I've had constant issues with NVIDIA not resuming properly from suspend, and I'm posting this to save anyone the weeks of headaches I gone through. I know there are a few search results with the same solution, but none of them seem to tell you to reboot after disabling the services for the fix to work properly, which might trip up beginner to lower intermediate users, such as myself and one other user on the Ubuntu forum.
Hello guys! I installed various distro's on my Asus TUF Gaming A17 FA707RE (2022) laptop (Mint, endavouros, garuda, cachyos, kubuntu) and after suspending the laptop either by the lid switch or just using systemctl suspend, the system refuses to resume, no display at all, keyboard usually goes dark (unless you mess with it via some RGB control panel just before) hibernation seems to work fine, I wasnt able to set it to s3 deep sleep with the help of any guide. I followed this basic guides too: https://asus-linux.org/guides/arch-guide/ and tried the suggestions from this wiki page https://wiki.archlinux.org/title/Laptop/ASUS. BIOS version is 315, I was only able to find 1 other version which is 312 but didnt find an actually working file for it. Suspend worked perfectly on win 11. set the bios to default, and tried adjusting the few settings avalibale one by one. I tried asking every AI I could think off about this and got contradicting advice but went thru most of them with no success. tried most up to date kernel and lts too. I tried multiple debugging guides too sometimes I got badTLP, sometimes it didnt evne say anything like there wasnt even a resume call recieved by the system. (at resume the flashing light showing sleep mode goes back to shining steady as in normal ON operation) and ofc tried the basic suggestions of turning of bluetooth too. Im happy to provide any debugging or logs as per needed. I've been suffering with this for 4 days with no results or improvements. I hope you guys will have an idea of what could be done!
I just built a new computer and Linux seems to be running fine on it except for the fact that any time I try to suspend it just wakes itself up immediately after. Is there any way to fix it?
Specs: Asus Prime z690m-plus D4, Intel core i-5 12600kf, Radeon RX 6600 XT, 16gb memory at 3600mhz
Edit: I thought I disabled wake from USB, but turns out it was a different setting that had nothing to do with that. I ended up just unplugging every USB device and found out it was my wireless Logitech mouse that was causing the issue. Thanks everyone for the help!
I'm in Australia and looking at available supplies of motherboards here. Everywhere I go appears to be out of stock of the Asus Prime Z270-P boards.
For a little bit more I can get my hands on the Asus Prime Z370-P board which appears to have enough PCIE slots + M2 slots for an 8 gpu setup (1070). Does anyone have experience with these boards yet and whether they'll work? I've tried scouring the net but besides one store selling it as a mining board there's no info on suitability.
I keep hearing people mentioning an issue with this. Right now Linux Kernel 4.14 LTS has everything working perfectly... as long as you make sure to go into the machines bios and disable "AMD Cool 'n Quiet" and more importantly disable "C6 power state memory encryption". Oddly the issue pops it's ugly head back up in kernels 4.15 to 4.17, even with the bios toggles set.
Hello,
I recently got an Asus PX13 and have been trying to set up a Linux distro in dual boot with Windows 11. My issue at the moment is that I'm unable to get the laptop to properly suspend in Linux, whether by closing the lid, using the GUI suspend option, or running systemctl suspend. I started with Fedora 41 on kernel 6.12, then moved to Arch on kernel 6.13, and finally tried the custom G14 6.13 kernel (from asus-linux)—all with the same issue and on Gnome 47 with Wayland. After suspend, the keyboard lights and display turn off, and the power button light sometimes fades out, but after a few seconds, the laptop resumes from sleep without any action on my part. I'm kind of at a loss at this point. Has anyone else experienced/fixed this issue or have another solution in mind? I would greatly appreciate any help.
Thanks!
Solution in this comment: https://www.reddit.com/r/archlinux/comments/1gu5w2v/comment/lzhtntg/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1
--------------------------------------------------------
Original post:
I have a freshly installed Arch environment on a desktop (intel 14th gen, nvidia).
I have reviewed https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate because suspend does not work out of the box. When I run "systemctl suspend", then monitor turns off and the fans on the machine spin up (it becomes loud), then it stays that way for about 1 minute until I eventually give up and turn off the system via the power button.
More info:
$ cat /sys/power/state
freeze mem disk
$ cat /sys/power/mem_sleep
s2idle [deep]
$ sudo ./s0ix-selftest-tool.sh -s
---Check S2idle path S0ix Residency---:
The system OS Kernel version is:
Linux ambitions 6.11.8-arch1-2 #1 SMP PREEMPT_DYNAMIC Fri, 15 Nov 2024 15:35:07 +0000 x86_64 GNU/Linux
---Check whether your system supports S0ix or not---:
Low Power S0 Idle is:0
Your system does not support low power S0 idle capability.
Isolation suggestion:
Please check BIOS low power S0 idle capability setting.
I am confused by the output of mem_sleep and s0ix-selftest-tool.sh... it seems that I do have s2idle support, but perhaps not? Maybe "[deep]" means S3 and thus I should configure the system for "suspend to RAM" (S3) via this:
/etc/systemd/sleep.conf.d/mem-deep.conf [Sleep] MemorySleepMode=deep/etc/systemd/sleep.conf.d/mem-deep.conf [Sleep] MemorySleepMode=deep
What should I do?
edit: Sorry for the long post, tl;dr if anyone has had sudden unexpected shutdowns of the entire pc and knows how to fix it please contact me. thank you
A few months back i contacted support about an issue i had been having for a while which made the game ultimately unplayable.
The issue :
Whenever i played SOT the game would without any warning shutdown the pc as if somebody yanked the powercord this would happen on average every 15-20mins. the only sign that something had gone wrong was the windows event viewer which showed a "Microsoft-Windows-Kernel-Power" error
i found 1 thread on reddit discussing this issue from 10months ago linked here
Troubbleshooting - Round 1
Even though this only happens in Sea of Thieves for me i suspected the usual suspects:
-
Bad powersupply
-
Overheating
Now for the bad PSU it seemed like a long shot for the following reasons:
-
According to PCPartPicker my system should not draw over 450w, while my powersupply is rated for 750 and is from a reputable brand
-
If it was a powersupply issue wouldn't a lot of more demanding games have similar issues?
-
I have a friend with the same issue who switched powersupply 3 times with the same issue occurring also only in SOT
For the overheating i used HWInfo to log all of my statistics and went over the data here is the summary:
-
Cpu usage in %: 46.3
-
Cpu cores + package temperature in celcius: 51-54
-
Motherboard temperature in celcius: 31
-
GPU temperature in celcius: 58
-
GPU usage in %: 57
So it does not seem like the PC was struggeling to run this game at all and that matches with my experience of having absolutely no issues with FPS or anything in game (until the massive inconvenience of my entire pc shutting down randomly and out of nowhere)
Round 1 - Defeat.
So if the usual suspects seem not to be to blame lets go through the list of other steps just to try to rule out hardware issues
Round 2 - Randomly trying stuff
Here's a list of stuff i tried:
-
Reseated ram
-
Ran with 1 stick of ram instead of two (tried both individually)
-
Disconnected as many devices from the computer, HDD's, microphone, headphones and so on
-
Reinstalled windows
-
Manually getting the correct drivers from the manufacturers websites
-
Made sure no overclocks were set (no xmp, no afterburner and so on)
-
Ran stress tests with Prime95, Furmark and Aida64 individually and at the same time
-
Removing any overlay over the game as suggested by some people (Shadowplay and discord for me)
-
Trying different SSDs/HDDs after a google search showed that some units of a HDD i owned had the same symptoms. Same problem even after completely removing the HDD and reinstalling windows
-
A lot of googling and trying everything that came up (i'm probably forgetting some of the steps i've tried there has been so many)
Round 2 - Defeat again
So i've tried a lot of things to reproduce the issues outside of SOT and i have tried a lot of things to fix it. the SOT support was very friendly and also looked at my logged data and we tried a few things like cleaning corrupt installs if any and a couple of other tricks but nothing worked.
they ended up basically saying "this isnt our issue it must be windows or hardware" which is a quite annoying message to get after only getting this error in SOT and in no other situation having my computer behave like this.
IF any of you have ANY fix i havent tried short of just buying a new computer please feel free to tell me in the comments.
Relevant parts list:
| Type | Item |
|---|---|
| CPU | Intel Core i5-8600K 3.6 GHz 6-Core Processor |
| CPU Cooler | be quiet! Dark Rock Pro 4 50.5 CFM CPU Cooler |
| Motherboard | Asus Prime Z370-P ATX LGA1151 Motherboard |
| Memory | Kingston HyperX Fury 8 GB (1 x 8 GB) DDR4-2666 CL16 Memory |
| Memory | Kingston HyperX Fury 8 GB (1 x 8 GB) DDR4-2666 CL16 Memory |
| Video Card | Asus GeForce GTX 1070 Ti 8 GB ROG STRIX Video Card |
| Power Supply | EVGA G3 750 W 80+ Gold Certified Fully Modular ATX Power Supply |
I'm sharing my lm-sensors configuration file for the Prime Z370-A, now that I got most rails to be correctly displayed. Let me know if you spot any wrong readings or labels.
The Super I/O chip is a NCT6793D, which the NCT6775 driver supports. Recent versions of sensors-detect should handle it automatically but, if that fails, test after loading the driver manually and then add it to the list in /etc/conf.d/lm_sensors.
By the way, this will probably also work with some of the Strix Z370 variants.
Update: (30 January 2019) some fixes, added min/max voltage limits, better labels and PR #162 opened on lm-sensors.
# lm-sensors configuration for the ASUS PRIME Z370-A motherboard
#
# Manufacturer: ASUSTeK COMPUTER INC.
# Product Name: PRIME Z370-A
# Version: Rev 1.04
# Super I/O: NCT6793D
# UEFI versions tested: 0805, 1601
#
# Recommended drivers: coretemp, nct6775
# Other Z370 boards from ASUS might use a similar setup
#
# dmesg might show that the kernel failed to bind the nct6775 driver due to an
# ACPI conflict between SystemIO and OpRegion ranges. Ideally a WMI driver
# should be used instead of directly accessing the Super I/O chip but,
# unfortunally, very little is exposed via WMI, even on the latest UEFI.
#
# You can allow the driver to bind to the chip, regardless of the conflict, by
# setting the kernel command line option:
#
# acpi_enforce_resources=lax
#
# This is not known to cause issues on the PRIME Z370-A, but you might still
# want to disable thermal and blacklist eeepc_wmi to minimize conflicts:
#
# thermal.off=1 module_blacklist=eeepc_wmi
#
# Jonas Malaco, 2019
#
chip "coretemp-*"
label temp1 "CPU Package DTS"
label temp2 "CPU Core 1 DTS"
label temp3 "CPU Core 2 DTS"
label temp4 "CPU Core 3 DTS"
label temp5 "CPU Core 4 DTS"
label temp6 "CPU Core 5 DTS"
label temp7 "CPU Core 6 DTS"
label temp8 "CPU Core 7 DTS"
label temp9 "CPU Core 8 DTS"
chip "nct6793-*"
label in0 "CPU Core Voltage"
compute in0 @ * 2, @ / 2
set in0_max 1.42 # 1.35 V at load/1.42 V max is generally accepted as safe
# for 24/7 i7-8700K
label in1 "ATX +5 V Voltage"
compute in1 @ * 5, @ / 5
set in1_max 5 * 1.05 # ATX 2.4
set in1_min 5 * 0.95 # ATX 2.4
# analog +3.3 V power rail for the Super I/O analog circuits
label in2 "AVCC Analog Voltage"
set in2_max 3.3 * 1.05 # assume ATX ±5% is enough
set in2_min 3.3 * 0.95 # assume ATX ±5% is enough
label in3 "ATX +3.3 V Voltage"
set in3_max 3.3 * 1.05 # ATX 2.4
set in3_min 3.3 * 0.95 # ATX 2.4
label in4 "ATX +12 V Voltage"
compute in4 @ * 12, @ / 12
set in4_max 12 * 1.05 # ATX 2.4
set in4_min 12 * 0.95 # ATX 2.4
label in6 "CPU Graphics Voltage"
compute in6 @ * 2, @ / 2
set in6_max in0_max # little is known, but specs are similar for IA and GT
# +3.3 V stand-by power rail for digital circuits
label in7 "3VSB Standby Voltage"
set in7_max 3.3 * 1.05 # assume ATX ±5% is enough
set in7_min 3.3 * 0.95 # assume ATX ±5% is enough
# +3 V on-board battery for PCH RTC Power Well (RTC & CMOS RAM) and select
# Super I/O features (e.g. case intrusion detection)
label in8 "RTC Battery Voltage"
set in8_max 3.4 # from random CR2032 datasheet
set in8_min 2.0 # from Intel 200-series chipset spec
# VTT for PECI on the Super I/O; should come from CPU VCCST (sustain/standby)
label in9 "CPU Sustain Voltage"
set in9_max 1.00 * 1.05 # from Intel 8-th gen spec
set in9_min 1.00 * 0.95 # from Intel 8-th gen spec
# note: there is a small difference between SIO VTT and CPU VCCST as reported
# by the ASUS EC/UEFI
label in10 "DRAM Voltage"
compute in10 @ * 2, @ / 2
set in10_max 1.5 # max certified Intel XMP 2.0 kits for LGA1151; generally
# accepted as safe for 24/7 Samsung B dies as well
label in11 "CPU System Agent Voltage"
set in11_max 1.35 # generally accepted limit to avoid degradation
set in11_min 1.05 * 0.95 # from Intel 8-th gen spec
label in12 "PCH Core Voltage"
set in12_max 1.0 * 1.05 # from Intel 200-series chipset spec
set in12_min 1.0 * 0.95 # from Intel 200-series chipset spec
label in14 "CPU IO Voltage"
set in14_max 1.25 # generally accepted limit to avoid degradation
set in14_min 0.95 * 0.95 # from Intel 8-th gen spec
ignore in5 # unknown
ignore in13 # unknown
# note: DMI voltage is not monitored by this chip (only ASUS EC)
label temp1 "Board Temperature"
label temp8 "T_SENSOR Header"
# CPU package temperature from the PECI: with less noise than the raw DTS
# (as read by coretemp), this is the recommended sensor for basic monitoring
label temp7 "CPU Temperature"
# CPU temperature shown in/used by the UEFI: significantly lower than the
# package temperature and with frequent over/undershoots, but kept here
# because it is the default sensor in the UEFI for fan control
label temp9 "UEFI CPU Temperature"
ignore temp2 # not actually connected to the CPU/unknown
ignore temp3 # not functional/arbitrary value (related to GT usage)
ignore temp4 # not functional/arbitrary value
ignore temp5 # not functional/arbitrary value
ignore temp6 # not functional/arbitrary value
ignore temp10 # not functional/always zero
# note: PCH Core temperature is not monitored by this chip (only ASUS EC)
label fan1 "CHA_FAN1 Header"
label fan2 "CPU_FAN Header"
label fan3 "M_2_FAN Header"
label fan5 "AIO_PUMP Header"
label fan6 "CHA_FAN2 Header"
ignore fan4 # does not match any physical header/always zero
# note: CPU_OPT header is not monitored by this chip (only ASUS EC)Hi folks,
Quick PSA.
It's the weekend and I'm beginning to see a repeating trend. Going to post this here to save everyone any confusion.
Suspend works fine on the AMD 7040 Series if...
-
You are using a fully up to date install of Ubuntu 22.04.3 using the official provided guide (OEM C, PPA provided, etc). Same for Fedora 39, official guide, fully updated.
-
You're on the 3.03 BIOS.
-
Other distros, 6.6.x or higher kernel. Arch users should be on 6.7 (folks have had success there) if having suspend issues.
-
Zero kernel parameters unless it's from the Ubuntu 22.04.3 or Fedora 39 guides for the AMD 7040 Series. Especially no SSD tweaks and no TLP. Use PPD already installed, use our PPA or Copr from the guides.
-
Debian 12 users, get onto a 6.6.x kernel or newer and you also have firmware updates you'll need to remedy. See stickied Debian forum posts, community has most of this there. Reddit is not the place to get the details. :)
-
Suspend oddness when dual booting. I don't support this officially as it's great until it's not. All you can do is check the above and make sure you are where you need to be.
"Thanks, but none of this is working."
There is something either unnecessarily customized somewhere or, you missed something or unsupported distro.
Also a reminder.
Unsupported means we don't test against or provide official support for it. Use whatever you like, but ticketed support is done testing Ubuntu 22.04 and Fedora 39.
Download
https://gitlab.freedesktop.org/drm/amd/-/blob/master/scripts/amd_s2idle.py
Make it executable, run.
sudo python3 amd_s2idle.py
Post results in the Framework Laptop 13 Linux forum.
Thanks, Matt Linux Support Lead
[SOLUTION]
I actually found the solution... kind of, because unfortunately this solution won't be applicable to everyone.
I found it by scrolling through Reddit and found a post about a user having an ssd problem on the same laptop model as mine. The ssd won't wake up anymore when trying to suspend the laptop (again, like on my laptop). A udev-rule introduced by my manufacturer solved the problem and now the laptop suspends and wakes up as it should.
This explained all the weird behaviour I was encountering, like how the log entries suddenly disapeared. Or why all other laptop components (screen, keyboard, touchpad, etc.) woke up except for the ssd.
Now comes the BUT: it's most likely only applicable to Laptops from Tuxedo, or in my case a Pulse 15 Gen 2 Laptop with a Samsung SSD 980 Pro 1TB. I'll link the Reddit post here if you're interested, but I take no responsibility for any damage done to your device while trying this solution:
https://www.reddit.com/r/tuxedocomputers/comments/xguf2k/suspend_on_the_pulse_15_gen2/
If you are still struggling to find out why you are having suspend-problems, there is a great website that tells you step-by-step how to debug your laptop and narrow down the root cause [recommended by the Arch Wiki btw.]. Personally, it helped me a lot to find out what was likely causing the suspend-issues:
https://web.archive.org/web/20230502010825/https://01.org/blogs/rzhang/2015/best-practice-debug-linux-suspend/hibernate-issues
Besides that, I really hope this problem gets somehow addressed properly in the future so that we all can suspend our devices gracefully.
Marking this post as solved.
[ORIGINAL POST]
I know, this question is redundant. But after searching the internet for a while, I think my situation might differ from the other ones.
Problem Description
What I want to achieve: I want to suspend my laptop (suspend to RAM, "sleep"). Imagine closing the lid when you are moving from one lecture to another. The laptop goes sleeping, saves battery and wakes up again. The user is prompted to log in and the previous state before suspending is restored.
Suspending the laptop should work by either pressing the hotkey (in my case, F12), closing the lid or using some terminal command.
What actually happens: When trying to suspend my laptop, it suspends. However, it does not wake up properly. These are my observations:
-
The Laptop-Screen turns on. It shows me exactly the state I left before suspending
-
However, after around 10 seconds, my laptop enters a freeze-like state. When I try to interact with an application like Firefox, it closes itself (like if someone presses Alt-F4).
-
The terminal does not close itself, but it gets unresponsive, like the rest of the system. Commands like reboot don't work. Opening applications like Firefox doesn't work either.
-
I can still use the touchpad and the keyboard. This allows me to perform REISUB.
To be short, the whole system gets unresponsive, terminal commands don't work and only performing REISUB allows me to reboot the system.
What I have tried out so far
I searched the internet and came across solutions which are all mentioned here on the Arch Wiki. However, most of them are not applicable as I don't have an Nvidia graphics driver or an Intel CPU (see below for my hardware config).
What I haven't tried out is using the Arch Linux LTS Kernel, but I want to save this option for the end.
As far as I know, I don't use the hardware watchdog timer. And I use the latest AMDGPU driver.
I installed acpid because of this Arch Wiki page. I thought it could magically handle my problems, but it didn't change anything. Maybe I have to use the config file for this, which I haven't had time to do yet. Regardless, I found no articles about acpid being the ultimate solution.
Some Noob-Level Suggestions
Looking at the logs, the logs end exactly when the laptop is in sleep mode. There are no logs that could hint at some "wake-up" mechanism. The question is why? And how could one configure such a thing?
Log Files from the last Boot (when trying to suspend)
used command: journalctl -b -1
Feb 05 23:43:09 pix3lwhizz-tuxedo systemd[923]: Created slice Slice /app/dbus-:1.4-org.xfce.Xfconf.
Feb 05 23:43:09 pix3lwhizz-tuxedo systemd[923]: Started dbus-:1.4-org.xfce.Xfconf@0.service.
Feb 05 23:43:09 pix3lwhizz-tuxedo systemd[923]: Starting Thumbnailing service...
Feb 05 23:43:09 pix3lwhizz-tuxedo tumblerd[7005]: Failed to load plugin "tumbler-gepub-thumbnailer.so": libgepub-0.7.so.0: cannot open shared object file: No such file or directory
Feb 05 23:43:09 pix3lwhizz-tuxedo tumblerd[7005]: Failed to load plugin "tumbler-raw-thumbnailer.so": libopenrawgnome.so.9: cannot open shared object file: No such file or directory
Feb 05 23:43:09 pix3lwhizz-tuxedo tumblerd[7005]: Failed to load plugin "tumbler-poppler-thumbnailer.so": libpoppler-glib.so.8: cannot open shared object file: No such file or directory
Feb 05 23:43:09 pix3lwhizz-tuxedo tumblerd[7005]: Failed to load plugin "tumbler-ffmpeg-thumbnailer.so": libffmpegthumbnailer.so.4: cannot open shared object file: No such file or directory
Feb 05 23:43:09 pix3lwhizz-tuxedo tumblerd[7005]: Failed to load plugin "tumbler-odf-thumbnailer.so": libgsf-1.so.114: cannot open shared object file: No such file or directory
Feb 05 23:43:09 pix3lwhizz-tuxedo systemd[923]: Started Thumbnailing service.
Feb 05 23:43:27 pix3lwhizz-tuxedo systemd[923]: Created slice Slice /app/dbus-:1.4-org.freedesktop.secrets.
Feb 05 23:43:27 pix3lwhizz-tuxedo systemd[923]: Started dbus-:1.4-org.freedesktop.secrets@0.service.
Feb 05 23:44:01 pix3lwhizz-tuxedo systemd-logind[583]: Suspend key pressed short.
Feb 05 23:44:01 pix3lwhizz-tuxedo systemd-logind[583]: Suspending...
Feb 05 23:44:01 pix3lwhizz-tuxedo root[7968]: SleepButton pressed
Feb 05 23:44:01 pix3lwhizz-tuxedo NetworkManager[580]: <info> [1707173041.1662] manager: sleep: sleep requested (sleeping: no enabled: yes)
Feb 05 23:44:01 pix3lwhizz-tuxedo NetworkManager[580]: <info> [1707173041.1664] device (enp1s0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Feb 05 23:44:01 pix3lwhizz-tuxedo NetworkManager[580]: <info> [1707173041.1743] device (p2p-dev-wlp3s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Feb 05 23:44:01 pix3lwhizz-tuxedo NetworkManager[580]: <info> [1707173041.1745] manager: NetworkManager state is now ASLEEP
Feb 05 23:44:01 pix3lwhizz-tuxedo NetworkManager[580]: <info> [1707173041.1748] device (wlp3s0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
Feb 05 23:44:01 pix3lwhizz-tuxedo root[7972]: ACPI action undefined: PNP0C0E:00
Feb 05 23:44:01 pix3lwhizz-tuxedo systemd[1]: Starting Network Manager Script Dispatcher Service...
Feb 05 23:44:01 pix3lwhizz-tuxedo systemd[1]: Started Network Manager Script Dispatcher Service.
Feb 05 23:44:01 pix3lwhizz-tuxedo kernel: wlp3s0: deauthenticating from 34:36:54:d4:a7:cc by local choice (Reason: 3=DEAUTH_LEAVING)
Feb 05 23:44:01 pix3lwhizz-tuxedo wpa_supplicant[717]: wlp3s0: CTRL-EVENT-DISCONNECTED bssid=34:36:54:d4:a7:cc reason=3 locally_generated=1
Feb 05 23:44:01 pix3lwhizz-tuxedo wpa_supplicant[717]: wlp3s0: CTRL-EVENT-DSCP-POLICY clear_all
Feb 05 23:44:01 pix3lwhizz-tuxedo NetworkManager[580]: <info> [1707173041.3747] device (wlp3s0): supplicant interface state: completed -> disconnected
Feb 05 23:44:01 pix3lwhizz-tuxedo NetworkManager[580]: <info> [1707173041.3751] device (wlp3s0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
Feb 05 23:44:01 pix3lwhizz-tuxedo wpa_supplicant[717]: wlp3s0: CTRL-EVENT-SIGNAL-CHANGE above=1 signal=-9999 noise=9999 txrate=0
Feb 05 23:44:01 pix3lwhizz-tuxedo NetworkManager[580]: <info> [1707173041.3755] dhcp4 (wlp3s0): canceled DHCP transaction
Feb 05 23:44:01 pix3lwhizz-tuxedo NetworkManager[580]: <info> [1707173041.3756] dhcp4 (wlp3s0): activation: beginning transaction (timeout in 45 seconds)
Feb 05 23:44:01 pix3lwhizz-tuxedo NetworkManager[580]: <info> [1707173041.3756] dhcp4 (wlp3s0): state changed no lease
Feb 05 23:44:01 pix3lwhizz-tuxedo NetworkManager[580]: <info> [1707173041.4040] device (wlp3s0): set-hw-addr: set MAC address to 56:95:94:E7:5F:52 (scanning)
Feb 05 23:44:01 pix3lwhizz-tuxedo NetworkManager[580]: <info> [1707173041.4654] device (wlp3s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Feb 05 23:44:01 pix3lwhizz-tuxedo NetworkManager[580]: <info> [1707173041.6045] device (wlp3s0): set-hw-addr: reset MAC address to F8:9E:94:9A:9A:A2 (unmanage)
Feb 05 23:44:01 pix3lwhizz-tuxedo systemd[1]: Starting TUXEDO Control Center Service (sleep/resume)...
Feb 05 23:44:01 pix3lwhizz-tuxedo wpa_supplicant[717]: p2p-dev-wlp3s0: CTRL-EVENT-DSCP-POLICY clear_all
Feb 05 23:44:01 pix3lwhizz-tuxedo wpa_supplicant[717]: p2p-dev-wlp3s0: CTRL-EVENT-DSCP-POLICY clear_all
Feb 05 23:44:01 pix3lwhizz-tuxedo wpa_supplicant[717]: nl80211: deinit ifname=p2p-dev-wlp3s0 disabled_11b_rates=0
Feb 05 23:44:01 pix3lwhizz-tuxedo systemd[1]: Stopping TUXEDO Control Center Service...
Feb 05 23:44:01 pix3lwhizz-tuxedo wpa_supplicant[717]: wlp3s0: CTRL-EVENT-DSCP-POLICY clear_all
Feb 05 23:44:01 pix3lwhizz-tuxedo wpa_supplicant[717]: wlp3s0: CTRL-EVENT-DSCP-POLICY clear_all
Feb 05 23:44:01 pix3lwhizz-tuxedo wpa_supplicant[717]: nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
Feb 05 23:44:01 pix3lwhizz-tuxedo tccd[7979]: Stopping daemon..
Feb 05 23:44:01 pix3lwhizz-tuxedo tccd[584]: SIGINT - Exiting
Feb 05 23:44:01 pix3lwhizz-tuxedo tccd[584]: DisplayBacklightWorker: Save display brightness 20% (52) on exit
Feb 05 23:44:01 pix3lwhizz-tuxedo tccd[7979]: Daemon is stopped
Feb 05 23:44:01 pix3lwhizz-tuxedo systemd[1]: tccd.service: Deactivated successfully.
Feb 05 23:44:02 pix3lwhizz-tuxedo systemd[1]: Stopped TUXEDO Control Center Service.
Feb 05 23:44:02 pix3lwhizz-tuxedo systemd[1]: tccd.service: Consumed 36.184s CPU time.
Feb 05 23:44:02 pix3lwhizz-tuxedo systemd[1]: Finished TUXEDO Control Center Service (sleep/resume).
Feb 05 23:44:02 pix3lwhizz-tuxedo systemd[1]: Reached target Sleep.
Feb 05 23:44:02 pix3lwhizz-tuxedo systemd[1]: Starting System Suspend...
Feb 05 23:44:02 pix3lwhizz-tuxedo systemd-sleep[7988]: Performing sleep operation 'suspend'...
My Hardware Specs
used command: inix -Fxz
System:
Kernel: 6.7.3-arch1-2 arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
Desktop: i3 v: 4.23 Distro: Arch Linux
Machine:
Type: Laptop System: TUXEDO product: TUXEDO Pulse 15 Gen2 v: Standard
serial: <superuser required>
Mobo: NB02 model: PF5LUXG v: Standard serial: <superuser required>
UEFI: American Megatrends LLC. v: N.1.06A13 date: 06/21/2023
Battery:
ID-1: BAT0 charge: 65.3 Wh (88.0%) condition: 74.2/91.6 Wh (81.0%)
volts: 11.9 min: 11.6 model: standard status: discharging
CPU:
Info: 8-core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64
type: MT MCP arch: Zen 2 rev: 1 cache: L1: 512 KiB L2: 4 MiB L3: 8 MiB
Speed (MHz): avg: 470 high: 1529 min/max: 400/4372 cores: 1: 400 2: 400
3: 400 4: 400 5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400
13: 1529 14: 400 15: 400 16: 400 bogomips: 57519
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
Device-1: AMD Lucienne vendor: Tongfang Hongkong driver: amdgpu v: kernel
arch: GCN-5 bus-ID: 05:00.0 temp: 34.0 C
Device-2: SunplusIT HD Webcam driver: uvcvideo type: USB bus-ID: 1-3:2
Display: x11 server: X.org v: 1.21.1.11 driver: X: loaded: modesetting
dri: radeonsi gpu: amdgpu resolution: 2560x1440~165Hz
API: OpenGL Message: Unable to show GL data. glxinfo is missing.
Audio:
Device-1: AMD Renoir Radeon High Definition Audio vendor: Tongfang Hongkong
driver: snd_hda_intel v: kernel bus-ID: 05:00.1
Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Tongfang Hongkong
driver: N/A bus-ID: 05:00.5
Device-3: AMD Family 17h/19h HD Audio vendor: Tongfang Hongkong
driver: snd_hda_intel v: kernel bus-ID: 05:00.6
API: ALSA v: k6.7.3-arch1-2 status: kernel-api
Server-1: PipeWire v: 1.0.3 status: active
Network:
Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
vendor: Tongfang Hongkong driver: r8169 v: kernel port: f000 bus-ID: 01:00.0
IF: enp1s0 state: down mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 driver: iwlwifi v: kernel bus-ID: 03:00.0
IF: wlp3s0 state: up mac: <filter>
Bluetooth:
Device-1: N/A driver: btusb v: 0.8 type: USB bus-ID: 1-4.4:9
Report: btmgmt ID: hci0 rfk-id: 2 state: up address: <filter> bt-v: 5.2
lmp-v: 11
Drives:
Local Storage: total: 931.51 GiB used: 41.67 GiB (4.5%)
ID-1: /dev/nvme0n1 vendor: Samsung model: SSD 980 PRO 1TB size: 931.51 GiB
temp: 24.9 C
Partition:
ID-1: / size: 907.44 GiB used: 41.5 GiB (4.6%) fs: ext4 dev: /dev/nvme0n1p2
ID-2: /boot size: 511 MiB used: 167.1 MiB (32.7%) fs: vfat
dev: /dev/nvme0n1p1
Swap:
ID-1: swap-1 type: partition size: 8.01 GiB used: 0 KiB (0.0%)
dev: /dev/nvme0n1p3
Sensors:
System Temperatures: cpu: 36.0 C mobo: N/A gpu: amdgpu temp: 34.0 C
Fan Speeds (rpm): N/A
Info:
Processes: 318 Uptime: 25m Memory: total: 32 GiB note: est.
available: 30.74 GiB used: 2.65 GiB (8.6%) Init: systemd Compilers:
gcc: 13.2.1 Packages: 684 Shell: Zsh v: 5.9 inxi: 3.3.31
If there is anything else you need, just write in the comments.
EDIT:
After trying out the suggested methods, I found a temporary solution for myself by reading this article on the Arch Wiki:
Of course, it doesn't solve the root problem. I reached out to my vendor and he explained to me that there are various reasons why suspend mostly won't work (like the standards for suspending not being implemented correctly, unlimited number of possible hardware and peripheral configurations, numerous sources for automatic or semi-automatic driver updates, etc.).
He also told me that the package TLP can cause suspend not to work correctly because it's optimized for Lenovo devices (and which can cause damage to other systems). I did not have this package on my system, but this information may help others.
I really hope this problem gets addressed somehow in the future. I might update this post if anything changes.
Hi! I've tried to find a distro that works on my zenbook UM433D and I've encountered very frustrating problems mainly with waking from suspend/sleep. My laptop's either stuck in a dark screen or the system's not responding, requiring a hard shut down in both cases.
I'm okay with tinkering in terminal and config files, but the reasearch I've done have offered so many different 'solutions', that I'm quite stuck with what to do.
One of the most simple solutions online was switching to a different distro, so the appeal of that has kept me trying a few, with the same (or worse) problems.
Ubuntu, ElementaryOS & Mint had suspend problems and in Manjaro, the touchpad didn't work too.
I'm quite lost here and would absolutely love to switch permanently to linux, but closing the lid and continuing my work a while later is such an elementary part of having a laptop that this is really driving me crazy.
I would be ever so grateful if somebody could help me with this!
UPDATE: This is now resolved! Thanks for all your thoughts and input. See reply further down explaining resolution. (Should there be a new flair for "resolved"?)
Getting on for two weeks ago, I upgraded from Fedora 30 to Fedora 31. That didn't work out so well... Gnome plugin "Dash to Dock" stopped working, but that was fixed a few days later. However, suspend stopped working - and not just in Fedora, but in every single distro I've installed since. Can the borked Fedora update somehow have damaged my hardware? I thought it might have changed a BIOS setting, but I can't find any settings related to suspend. If this was my work machine and I switched it on for 8 hours of work, maybe I could live with suspend being broken. But it's my personal laptop, and my use case is that I frequently pick it up, do a discrete task, and put it back to sleep, many times a day. Suspend not working is a dealbreaker.
Symptoms: I close the laptop lid to suspend. When I reopen the lid the laptop boots from cold. When I trigger suspend manually, the power light starts pulsing like normal. When I hit the power button to resume, it boots from cold. Based on that behavior, it could be that suspend is successful, but resume is not working?
Laptop: Dell Latitude 7370, 8 GB ram, Core m7 specs here
This problem persists across all systems I've tried in the last two weeks. I loved Fedora and thought my distro-hopping days were over, but I've had fun testing out all kinds of distros! (Well, fun... except suspend doesn't work!)
-
Fedora 31 (the upgrade, but also fresh live usb)
-
Linux Mint Cinnamon 19.2
-
Pop!_OS
-
Manjaro XFCE and Gnome
-
Elementary OS (this outperformed everything else on my hardware. Surprised me a bit, I'd heard it was focused on beginners and aesthetics. But it only used 500MB ram on fresh boot, felt really snappy and responsive, and scored a good 5k higher on Google Octane than any of the others too. Didn't like their software store (all the free (a.k.a. regular FOSS apps) are labeled with a warning! And some things I installed from the store didn't work) but at least it has apt)
-
Clear Linux
Any suggestions welcome! Please let me know if there are any commands you'd like me to run to get more system details (though it seems like it might not be a software issue, at this point since it persists across different OSs?)
Hey, I have an Asus Zephyrus G14 model 2021, and I was trying to set up Fedora, to use it as my main OS. After installing the latest Fedora, every thing seems to work fine with the laptop, until it wakes from suspended mode, all the hardware is back online, except the storage, somehow I cannot longer access the files, so it completely crashes the laptop and I have to force it off. The issue has never happened in Windows 10/11.
The laptop's processor is an AMD Ryzen 9 5900HS, and it has a Nvidia GTX 3060. I've tried Fedora with and without installing Nvidia drivers, no luck so far.
Please, any ideas on what could be causing this behavior?
i had issues with suspend/resume until i used grub to pass some kernel parameters that seemed to take care of it.
the acpi_osi parameter will let linux pretend to be a windows version that the BIOS will recognize
GRUB_CMDLINE_LINUX="acpi_osi=! \"acpi_osi=Windows 2009\" mem_sleep_default=deep reboot=bios"
the text for the acpi call can be obtained from the last string shown using
sudo strings /sys/firmware/acpi/tables/DSDT | grep -i 'windows ' | sort
ymmv on fedora, this worked for kubuntu.
I have same laptop as you do.
Go to https://gitlab.com/asus-linux/asusctl or https://asus-linux.org/
After installing AsusCTL no problems whatsoever (Debian Sid here)
Did anyone encountered any problems running linux with the Asus Prime X370 Pro? If yes, are they solvable. Can anyone suggest a better X370 motherboard (with linux support) around the same price?
I have the Gigabyte x370 Gaming K7, so some of these may not apply to you.
Make sure your kernel is at least 4.11, while 4.10 will work the onboard audio will not. I think NVMe may have some issues to be fixed in 4.12, I don't have an NVMe so I'm not sure.
Haven't been able to get my case's audio ports to work, no idea how to fix it. Onboard audio ports works just fine.
If you're going to use Ubuntu with a Gigabyte board plan on compiling your own kernel without GPIO drivers: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1671360 Other distros disable GPIO by default and GPIO only seems to have issues with Gigabyte AM4 motherboards.
I may have configured something wrong, but I can't get any temperature sensors to work, so other than GPU I have no idea how hot anything is.
I am running OpenSuse Tumbleweed on Asus Prime X370 Pro. With Ryzen 1700x, Asus Strix RX 480 8Gb OC edition and 16GBx2 3000 RAM. No issues at all. But Chose this distribution to get kernel 4.11 as apparently the audio driver for the built-in sound card have only been added to this version. Haven't been able to get thermal sensors to work yet. Only get one reading for motherboard thermal, none for CPU / GPU. Have to figure why.
Rest all is good, even suspend works fine.
Typo in the title and I cant modified it now. The Can suspend should be Cant suspend
I already checked this link . https://www.reddit.com/r/linuxquestions/comments/10ixcr1/suspend_not_working/
My case is very similar to it, after run command sudo systemctl suspend pc will suspend for just one sec and then it wake up.
I try the following way according to this post, below is what I have tried but none of them work. So how to fix my issue here. Too painful it cant suspend.
-
Disable wake on lan follow the step: https://www.asus.com/support/FAQ/1045950/
-
Disable standby power of usb follow the step: https://www.asus.com/support/FAQ/1042220/
-
install linux-lts-headers, No AUR package: it is been dropped said in this link. https://forum.manjaro.org/t/how-do-i-install-linux-lts-headers/60171/2?u=ori
-
journalctl --identifier systemd-sleep. here is the output:
Sep 29 14:00:48 ori systemd-sleep[6282]: Entering sleep state 'suspend'... Sep 29 14:01:02 ori systemd-sleep[6282]: System returned from sleep state. Sep 29 16:46:46 ori systemd-sleep[223521]: Entering sleep state 'suspend'... Sep 29 16:47:00 ori systemd-sleep[223521]: System returned from sleep state. -- Boot ef7f12c5f62246b5bf45b90e6ea7aeca -- Oct 05 13:11:30 ori systemd-sleep[161384]: Entering sleep state 'suspend'... Oct 05 13:11:44 ori systemd-sleep[161384]: System returned from sleep state. -- Boot 77a99cf1384f438b8c445b6513731cf8 -- Oct 06 12:43:35 ori systemd-sleep[147872]: Entering sleep state 'suspend'... Oct 06 12:43:49 ori systemd-sleep[147872]: System returned from sleep state. -- Boot 8cf00fa46375470088cb521903acc7f9 -- Oct 23 12:39:50 ori systemd-sleep[269267]: Entering sleep state 'suspend'... Oct 23 12:40:04 ori systemd-sleep[269267]: System returned from sleep state. Oct 23 15:32:32 ori systemd-sleep[484768]: Entering sleep state 'suspend'... Oct 23 15:32:46 ori systemd-sleep[484768]: System returned from sleep state. Oct 23 16:33:29 ori systemd-sleep[558056]: Entering sleep state 'suspend'... Oct 23 16:33:42 ori systemd-sleep[558056]: System returned from sleep state. Oct 23 16:35:59 ori systemd-sleep[562022]: Entering sleep state 'suspend'... Oct 23 16:36:13 ori systemd-sleep[562022]: System returned from sleep state. -- Boot c86c41639dce4852aeedac886c01c8c0 -- Oct 23 18:29:10 ori systemd-sleep[1741]: Entering sleep state 'suspend'... Oct 23 18:29:24 ori systemd-sleep[1741]: System returned from sleep state.
Update
I found this link provide a lot of information but not work for me so far.
I found some method to deal with my issue but none of them work, I list them out.
AMD issue, I use intel so it is not my problem
https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate#Instantaneous_wakeups_from_suspend
Nvidia Driver issue, this may be the closest one since I just install a nvidia driver but I cant find related infomation in the log file:
In this case it says you can found "failed to suspend async xxx" like content in the log file, But I cant. And seems the wiki not give a solution for this Nvidia issue .
https://wiki.archlinux.org/title/Power_management/Wakeup_triggers#Instantaneous_wakeups_from_suspend
Desk environment conflict, I use qtile so it is not the issue:
https://wiki.archlinux.org/title/Power_management#Power_managers
Here is my System log file:
[ 17.036173] logitech-hidpp-device 0003:046D:4074.000D: HID++ 4.2 device connected. [ 30.765363] warning: `kdeconnectd' uses wireless extensions which will stop working for Wi-Fi 7 hardware; use nl80211 [ 74.259341] systemd-journald[411]: Time jumped backwards, rotating. [ 423.520682] PM: suspend entry (deep) [ 423.524304] Filesystems sync: 0.003 seconds [ 424.167251] Freezing user space processes [ 424.168776] Freezing user space processes completed (elapsed 0.001 seconds) [ 424.168779] OOM killer disabled. [ 424.168780] Freezing remaining freezable tasks [ 424.169918] Freezing remaining freezable tasks completed (elapsed 0.001 seconds) [ 424.169957] printk: Suspending console(s) (use no_console_suspend to debug) [ 424.486390] ACPI: EC: interrupt blocked [ 424.528441] ACPI: PM: Preparing to enter system sleep state S3 [ 424.737572] ACPI: EC: event blocked [ 424.737578] ACPI: EC: EC stopped [ 424.737579] ACPI: PM: Saving platform NVS memory [ 424.737685] Disabling non-boot CPUs ... [ 424.745691] smpboot: CPU 1 is now offline [ 424.747353] smpboot: CPU 2 is now offline [ 424.753879] smpboot: CPU 3 is now offline [ 424.756438] smpboot: CPU 4 is now offline [ 424.763915] smpboot: CPU 5 is now offline [ 424.766236] smpboot: CPU 6 is now offline [ 424.773600] smpboot: CPU 7 is now offline [ 424.775769] smpboot: CPU 8 is now offline [ 424.783065] smpboot: CPU 9 is now offline [ 424.785287] smpboot: CPU 10 is now offline [ 424.792248] smpboot: CPU 11 is now offline [ 424.799895] smpboot: CPU 12 is now offline [ 424.801925] smpboot: CPU 13 is now offline [ 424.807970] smpboot: CPU 14 is now offline [ 424.809753] smpboot: CPU 15 is now offline [ 424.811709] smpboot: CPU 16 is now offline [ 424.813577] smpboot: CPU 17 is now offline [ 424.815409] smpboot: CPU 18 is now offline [ 424.817346] smpboot: CPU 19 is now offline [ 424.824450] ACPI: PM: Low-level resume complete [ 424.824529] ACPI: EC: EC started [ 424.824530] ACPI: PM: Restoring platform NVS memory [ 424.825435] Enabling non-boot CPUs ... [ 424.825561] smpboot: Booting Node 0 Processor 1 APIC 0x1 [ 424.828235] CPU1 is up [ 424.828343] smpboot: Booting Node 0 Processor 2 APIC 0x8 [ 424.836631] CPU2 is up [ 424.836737] smpboot: Booting Node 0 Processor 3 APIC 0x9 [ 424.840189] CPU3 is up [ 424.840288] smpboot: Booting Node 0 Processor 4 APIC 0x10 [ 424.847766] CPU4 is up [ 424.847866] smpboot: Booting Node 0 Processor 5 APIC 0x11 [ 424.851312] CPU5 is up [ 424.851411] smpboot: Booting Node 0 Processor 6 APIC 0x18 [ 424.860113] CPU6 is up [ 424.860284] smpboot: Booting Node 0 Processor 7 APIC 0x19 [ 424.863826] CPU7 is up [ 424.863994] smpboot: Booting Node 0 Processor 8 APIC 0x20 [ 424.875738] CPU8 is up [ 424.875908] smpboot: Booting Node 0 Processor 9 APIC 0x21 [ 424.881373] CPU9 is up [ 424.881498] smpboot: Booting Node 0 Processor 10 APIC 0x28 [ 424.893573] CPU10 is up [ 424.893732] smpboot: Booting Node 0 Processor 11 APIC 0x29 [ 424.899283] CPU11 is up [ 424.899408] smpboot: Booting Node 0 Processor 12 APIC 0x30 [ 424.911616] CPU12 is up [ 424.911776] smpboot: Booting Node 0 Processor 13 APIC 0x31 [ 424.916757] CPU13 is up [ 424.916881] smpboot: Booting Node 0 Processor 14 APIC 0x38 [ 424.926408] CPU14 is up [ 424.926525] smpboot: Booting Node 0 Processor 15 APIC 0x39 [ 424.930143] CPU15 is up [ 424.930267] smpboot: Booting Node 0 Processor 16 APIC 0x48 [ 424.939439] core: cpu_atom PMU driver: PEBS-via-PT [ 424.939443] ... version: 5 [ 424.939444] ... bit width: 48 [ 424.939445] ... generic registers: 6 [ 424.939445] ... value mask: 0000ffffffffffff [ 424.939446] ... max period: 00007fffffffffff [ 424.939446] ... fixed-purpose events: 3 [ 424.939446] ... event mask: 000000070000003f [ 424.939846] CPU16 is up [ 424.939960] smpboot: Booting Node 0 Processor 17 APIC 0x4a [ 424.946747] CPU17 is up [ 424.946856] smpboot: Booting Node 0 Processor 18 APIC 0x4c [ 424.954463] CPU18 is up [ 424.954572] smpboot: Booting Node 0 Processor 19 APIC 0x4e [ 424.963446] CPU19 is up [ 424.970944] ACPI: PM: Waking up from system sleep state S3 [ 425.031997] ACPI: EC: interrupt unblocked [ 425.050372] ACPI: EC: event unblocked [ 425.050553] xhci_hcd 0000:00:14.0: xHC error in resume, USBSTS 0x411, Reinit [ 425.050565] usb usb1: root hub lost power or was reset [ 425.050570] usb usb2: root hub lost power or was reset [ 425.056083] nvme nvme0: 20/0/0 default/read/poll queues [ 425.062704] iwlwifi 0000:00:14.3: WRT: Invalid buffer destination [ 425.069253] mei_me 0000:00:16.0: hbm: dma setup response: failure = 3 REJECTED [ 425.071153] nvme nvme1: 8/0/0 default/read/poll queues [ 425.164472] iwlwifi 0000:00:14.3: WFPM_UMAC_PD_NOTIFICATION: 0x20 [ 425.164483] iwlwifi 0000:00:14.3: WFPM_LMAC2_PD_NOTIFICATION: 0x1f [ 425.164513] iwlwifi 0000:00:14.3: WFPM_AUTH_KEY_0: 0x90 [ 425.164522] iwlwifi 0000:00:14.3: CNVI_SCU_SEQ_DATA_DW9: 0x10 [ 425.165577] iwlwifi 0000:00:14.3: RFIm is deactivated, reason = 5 [ 425.337601] usb 1-4: reset full-speed USB device number 3 using xhci_hcd [ 425.364152] ata10: SATA link down (SStatus 0 SControl 300) [ 425.364671] ata9: SATA link down (SStatus 0 SControl 300) [ 425.393798] ata5: SATA link down (SStatus 4 SControl 300) [ 425.394660] ata8: SATA link down (SStatus 4 SControl 300) [ 425.394749] ata6: SATA link down (SStatus 4 SControl 300) [ 425.394817] ata7: SATA link down (SStatus 4 SControl 300)
Hello,
I've bought ASUS ZenBook 14 UM425IA with Ryzen 7 4700U CPU then installed Ubuntu 20.04, couldn't set brightness and suspend didn't work because of limited support for this CPU on 5.4 kernel so I've upgraded to kernel 5.8.13 and 5.9 RC7. I can set brightness now but it's not persisting through reboot (not a big deal) but suspend is still not working.
This has something to do with kernel sleep states I suppose:
cat /sys/power/mem_sleep > [s2idle]
and
sudo dmesg | grep -i acpi | grep supports > [ 0.357470] ACPI: (supports S0 S4 S5)
Seems like S3 is missing ? How to fix that ?
EDIT: 29.08.21
If anyone reading this, kernel 5.13 fixes this. Tested on Ubuntu 21.04 with kernel 5.13.13