Forum › Forums › New users › New Users and General Questions › Antix19 32bit does not resume from suspend
Tagged: suspend wake-up
- This topic has 14 replies, 5 voices, and was last updated Dec 13-1:55 am by rayluo.
-
AuthorPosts
-
September 22, 2020 at 4:26 am #42088Member
kawe
And one more question running Antix19 32bit on an Acer Extensa 5220 for now:
The laptop seems to go in suspend correctly (blinking LED like in any other OS).
However, I cannot wake it up to operation mode.
At first it seems to awake as expected (LEDs, HDD, DVD, etc.), but the screen remains dark and it appears to get completely frozen unless restarting.Thank you for any hint to resolve this issue, :-).
September 22, 2020 at 5:51 am #42089Forum Admin
anticapitalista
::There seems to be lots of bugs/issues with that laptop and suspend (type Acer Extensa 5220 resume linux into a search engine).
Here’s one to look at.
https://wiki.ubuntu.com/LaptopTestingTeam/Old/AcerExtensa5220
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
September 22, 2020 at 7:56 am #42101Member
Xecure
::Please, always remember to say if you are using antiX base or full (I asume it is antiX Base, as specified by other posts).
try to see if installing acpi-support helps.
sudo apt update && sudo apt install acpi-support
This should help with the suspend and wake problem.
Configuration can be found in /etc/default/acpi-support- This reply was modified 2 years, 7 months ago by Xecure. Reason: removing tlp comment
antiX Live system enthusiast.
General Live Boot Parameters for antiX.September 25, 2020 at 2:48 pm #42231Member
rayluo
::There seems to be lots of bugs/issues with that laptop and suspend (type Acer Extensa 5220 resume linux into a search engine).
Here’s one to look at.
https://wiki.ubuntu.com/LaptopTestingTeam/Old/AcerExtensa5220
Thanks AntiCapitalist for teaching where to check whether a device could be the culprit! Learn something new today. 🙂
With that, I would suggest Kawe to edit this thread’s subject to append “… on an Acer Extensa 5220”.
FWIW, I can attest that the suspend/resume feature in antix19 32bit is very reliable. I am using it on my Thinkpad X60, daily, and now my machine’s uptime counter is 51 days.October 1, 2020 at 12:25 pm #42453Member
rayluo
::Taking a close look into the upper level page, https://wiki.ubuntu.com/CategoryLaptop , especially at its bottom, I notice that it contains “only” 1227 models, and the page was last edited in Apr 2012. So, it is more about an archive rather than an ongoing effort. It was lucky for Kawe that his/her Acer Extensa 5220 was on that list. I encounter “suspend works, but resume becomes reboot” issue with a Thinkpad T430, which was released 2 months AFTER that wiki page’s last edit date, so I’m out of luck. 🙂
@AntiCapitalist, any idea on where to look at for this kind of suspend/resume issue? Is it a BIOS setting thing, or Linux kernel issue? Searching online finds mixed info.
October 1, 2020 at 12:54 pm #42460Member
Xecure
::I encounter “suspend works, but resume becomes reboot”
When you say “resume, do you mean pressing the power button to wake up or moving the mouse/pressing any key to wake up?
If it is a power button issue, I had to change the powerbutton configuration for my tablet so it wouldn’t shutdown after waking up. I cannot remember right now, but if this is your problem, let me know and I will dig into my (acpi maybe?) configurations and let you know.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.October 2, 2020 at 11:41 am #42478Memberkawe
::This is the most disappointing of my up to now reported starting troubles.
I am not even close to understand what is going on here.
And it pretty hard to trial and error if you have reboot (and additionally with orphaned file nodes to be cleaned up).And rayluo is right to point to older topics (and lots around the Acer Extensa 5220). This was helpful. Thank you.
However, things got more complicated as before.
1. Some people reports that there troubles started with a kernel update (many years ago).
2. Some people think this might be rather a problem of the video driver than of the apm/acpi management.
3. It is reported that hibernate should work at least (but it fails with very similar problems also).
4. To my knowledge, there are no suspend/hibernation issues using other OSs including Win Vista that had been lived on the laptop for years (but has wiped out successfully now, 🙂 )So all I can give for now are more symptoms but nothing close to a solution:
a) there in no single entry in the BIOS setup of this machine concerning APM/ACPI and restoring setup defaults doesn’t help either.
b) this issue is *not* antiX specific. I get the very same behavior if trying and resuming from a USB-Puppy Linux (BionicPup32, and it *does* suspend other machines correctly, ;-)).
c) reinstalling / reconfiguring acpi-support and even partly or totally (acpi-base) removing as Xecure suggested was virtually effectless.
d) I tried to add (yet) one kernel parameter (‘acpi_sleep=nonvs’, see: https://ubuntuforums.org/showthread.php?t=1556934) – didn’t help
e) I tried uswsusp (s2ram) instead: same issue (and: even s2disk first seems to work but fails in the last stages of reactivation)What happens:
1) Entering the suspend mode seems to work very much like expected. After a friction of second the screen gets blank, hdd and fan stop and the power LED turns from steady green to blinking orange.
2) Waking the system starts also as expected: LED turns to steady green again, hdd awakes and the fan make some noises every now and then …
3) …an that’s it. The screen remains blank, no sound, (virtually) no keyboard response.
4) The systems remains stuck until hard shut down and rebooted.You may also “wake up” the system by power switch. No difference.
O.k., maybe sometimes, maybe depending on my config trials, the system switches on then immediately (what is better than getting stuck, :-)).And finally, when I tried s2disk to hibernate, the system hibernated to swap partition and switched off. The screen output is very hopeful.
Starting the system by power switch will (decompress and) resume from the swap image and finally – fail (and turns off again automatically).So all I know for now is:
a) it is not antiX but likely Linux
b) it happens on acpi events but it might be some other hardware and I suspect the video system at first.So filnally my next silly question:
The Acer seems to run with a i915 driver.
What is the best option to change this (temporarily) to a reasonable gereric (vbe?) driver in antiX?Thank you all.
October 2, 2020 at 8:45 pm #42492Member
sleekmason
::Gotta ask,
A check for a couple of things, and, maybe the fact it suspends makes these next questions irrelevant? Or you are already sure it is a hardware issue?
Are you sure you have a swap partition?
sudo blkid
will show you your partitions./etc/initramfs-tools/conf.d/resume is the location of the resume file (I’m not currently in antix, please correct if different). The uuid numbers should match.
use:
sudo update-initramfs -u -k allto update any new kernels, etc. (this will be needed if you make changes to swap and the resume file. And giving it a go anyway couldn’t hurt.Sorry if I’m totally off base here:)
October 4, 2020 at 11:34 am #42554Member
Xecure
::The Acer seems to run with a i915 driver.
What is the best option to change this (temporarily) to a reasonable gereric (vbe?) driver in antiX?Use the boot option safevideo or xorg=vesa or something similar to use vesa driver instead of i915 driver.
About your suspend and wake problem, it reminds me of this topic:
https://www.antixforum.com/forums/topic/suspension-of-the-system-and-blocking-of-peripherals/We tried to have the mouse driver restart when booting and tried to find errors for the suspend command (/var/log/pm-suspend.log). Maybe you can figure something out reading the log or sharing it here so that others more knowledgeable can help out.
Sometimes, these problems take a very long time to solve or cannot be solved at all. Hopefully, this is not the case.
antiX Live system enthusiast.
General Live Boot Parameters for antiX.October 19, 2020 at 12:23 pm #43297Memberkawe
::a short update:
I have tried lots of kernel/acpi options in the meanwhile but didn’t succeed yet.
And what is worse: A lot of solutions in in the past are deprecated or not working anymore …However, I have noticed a mistery last weekend:
If I start antiX from the live-CD (19.2.1. 32bit) wake up from suspend works *once* a session.
If I add the i915_revert (and maybe another option) switch this seems to get even (more) stable …Any ideas?
October 21, 2020 at 2:05 pm #43419Memberkawe
::Yet another weird update:
I had some time to try the live CD session again:
1) If I use F4 -> i915_revert the *live* CD session will *always* suspend and wake up successfully!
2) Also tlp runs flawlessly and does not hang the system (see my other thread)
(Of course, I get the wlan troubles again, see my other thread (resolved))3) *After* having rebooted from live CD session to the installed system I could wake up it *once*.
I got nothing but a blinking cursor first, but witching to console (ctrl-alt-F1) worked and back (ctrl-alt-F7) gave me the fully resumed system. The next suspend, however, did fail again.How would I add the i915_revert option to the installed system?
- This reply was modified 2 years, 6 months ago by kawe.
- This reply was modified 2 years, 6 months ago by kawe.
October 21, 2020 at 3:52 pm #43423Forum Admin
anticapitalista
::Boot the live medium with i915_revert option and copy /lib/modprobe.d/i915-invert.conf file to /lib/modprobe.d/ on the installed system.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
November 3, 2020 at 1:11 pm #44285Memberkawe
::Boot the live medium with i915_revert option and copy /lib/modprobe.d/i915-invert.conf file to /lib/modprobe.d/ on the installed system.
Ok, I have managed this a couple of days ago but with no positive effect.
Wake up from live media works, wake up from installed antiX does not.Things got even worse here (but I guess this is due to some updates!?):
The brightness keys (Fn + cursor left/right) won’t work, too (volume control, Fn + cursor up/down *does* work, and brightness control had worked either).This would not trouble me much but I can’t find *any* working way to control brightness now …:-(
November 3, 2020 at 2:08 pm #44291Member
Xecure
::You may have to opt for a frugal install instead of a complete “normal” installation. Add static persistence and it would work the same as live CD/USB but saving changes as if it was a full install, and all working from the HDD.
Things got even worse here (but I guess this is due to some updates!?):
The brightness keys (Fn + cursor left/right) won’t work, too (volume control, Fn + cursor up/down *does* work, and brightness control had worked either).“Recent” firmware updates for amd and intel graphics may have caused some regressions. For now, it is best to boot with antiX 19.2 and “hold” the current versions of any firmware packages (except if you need a specific wireless firmware).
antiX Live system enthusiast.
General Live Boot Parameters for antiX.December 13, 2021 at 1:55 am #72832Member
rayluo
::Sorry I forgot to respond to this thread. I dig this out today since I am encountering same (or perhaps slightly worse) issue in antix 21, too.
I encounter “suspend works, but resume becomes reboot”
When you say “resume, do you mean pressing the power button to wake up or moving the mouse/pressing any key to wake up?
If it is a power button issue, I had to change the powerbutton configuration for my tablet so it wouldn’t shutdown after waking up. I cannot remember right now, but if this is your problem, let me know and I will dig into my (acpi maybe?) configurations and let you know.
No, I was not pressing the power button, so it was/is not a power button issue. And I hardly ever need to move mouse or press any key to wake up, because the Thinkpad T430 perhaps tends to wake up immediately right after the suspension, but failed and ended up as a reboot. My non-workaround workaround during this work-from-home year has been “do not suspend at all”, just leave my T430 on every night, and the next morning I can pick up from where I left off. Such a usage pattern accumulated around 200+ days uptime.
Recently I am trying out antiX 21 (with its legacy kernel 4.9.0-279, because the 5.x kernel somehow won’t work on this laptop). Same “unable to suspend/resume” issue. So, I reuse my “do-not-suspend” workaround as before, however the laptop seems to behave differently: it probably still went into suspend mode during night, and next morning when I came back, the screen was blank; I press a key or move mouse, the laptop will then go straight into reboot.
@AntiCapitalist, any idea on where to look at for this kind of suspend/resume issue? Is it a BIOS setting thing, or Linux kernel issue? Searching online finds mixed info.
This time, I tried more trial-and-error. The issue seems to be caused by the acpi and/or video driver. By default, the antiX 21 live usb boots my T430 up, loading a “nouveau” driver, like below, and the laptop behaves with the aforementioned issues.
Graphics: Device-1: NVIDIA GF108M [NVS 5400M] vendor: Lenovo driver: nouveau v: kernel bus-ID: 01:00.0 chip-ID: 10de:0def class-ID: 0300 Device-2: Chicony Thinkpad T430 camera type: USB driver: uvcvideo bus-ID: 1-1.6:4 chip-ID: 04f2:b2db class-ID: 0e02 Display: x11 server: X.Org 1.20.11 driver: loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1 Screen-1: 0 s-res: 1920x1200 s-dpi: 96 s-size: 508x317mm (20.0x12.5") s-diag: 599mm (23.6") Monitor-1: DP-1 res: 1920x1200 hz: 60 dpi: 94 size: 518x324mm (20.4x12.8") diag: 611mm (24.1") OpenGL: renderer: NVC1 v: 4.3 Mesa 20.3.5 direct render: YesIf I set acpi=off via F4 menu of live usb, the T430 will boot, the manual suspend feature will become a no-operation. That would kind-of be what I would want. However, the laptop booted this way will NOT load any video driver (the “driver” content in the first line quoted above would just show empty content), and the default driver gives me a miserable 1024*768 resolution.
For what it’s worth, if I boot with “Safe video” mode, the T430 will successfully boot into desktop but then immediately automatically reboot.
Not sure whether/how I can upgrade that “nouveau” graphic driver, not sure whether that would help. I’m partially just documenting my journey so far.
-
AuthorPosts
- You must be logged in to reply to this topic.