LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-19-2022, 02:12 PM   #1
litelinux
Member
 
Registered: Sep 2018
Location: Taipei/Taichung, TW
Distribution: Slackware
Posts: 106

Rep: Reputation: 61
Laptop slow resume after suspend in 15.0 and -current


Hello,

(First of all, sorry for taking so long to post the issue — I've been busy lately...)

Resuming from suspend has not been working on my laptop since the 5.15 kernel update. I forgot which one was it, but it was before Slackware 15.0 was announced. The issue persists on Slackware 15.0 and most kernel iterations on -current (I update about monthly).

My laptop is a Macbook Pro 15-inch Mid 2014, with an i7-4770HQ with 8 cores, and 16GB of RAM.

The problem is like this: After closing the laptop lid, the laptop suspends. However when opening the laptop lid and trying to resume, the screen remains black but the laptop seems to be running. A couple minutes later, it runs hotter and hotter, and the fans are kicked off at full speed. It finally resumes after another couple of minutes.

I ran a test with intel's pm-graph, and grabbed the dmesg, logs and HTML summary. The dmesg is attached below. According to them, the CPU cores 6 and 7 takes the longest time (minutes) to resume operation.

I've tried the solution mentioned here , which involves disabling USB3 or lid wakeup, with no avail. The behavior seems to be similar to this Fedora bug and this Arch Linux discussion, which all points to a faulty kernel patch submitted around the time of kernel 5.15.

Is anyone facing the same issue? If so, how did you fix it? I used Linux distros for a pretty long time but never had experience in reverting a patch, it would be great if someone could test it out or elaborate on it ;(

Regards,
ltlnx
Attached Files
File Type: txt dankstar.google.com_mem_dmesg.txt (3.2 KB, 11 views)
 
Old 07-21-2022, 03:13 AM   #2
kgha
Senior Member
 
Registered: May 2018
Location: Sweden
Distribution: Slackware 64 -current multilib from AlienBob's LiveSlak MATE
Posts: 1,101

Rep: Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768Reputation: 768
Don't know if your issue is the same as this?
https://www.linuxquestions.org/quest...es-4175706400/
 
Old 07-22-2022, 02:05 PM   #3
litelinux
Member
 
Registered: Sep 2018
Location: Taipei/Taichung, TW
Distribution: Slackware
Posts: 106

Original Poster
Rep: Reputation: 61
Quote:
Originally Posted by kgha View Post
Don't know if your issue is the same as this?
Nope. The solution referenced is same as the Debian article, to disable USB wakeup in /proc/acpi. I've tried this to no avail.
 
Old 01-04-2024, 09:58 PM   #4
litelinux
Member
 
Registered: Sep 2018
Location: Taipei/Taichung, TW
Distribution: Slackware
Posts: 106

Original Poster
Rep: Reputation: 61
Bumping this thread since suspend is finally working with 6.6.9, albeit slow (takes around 20 secs to resume). Does anyone also have slow resume problems, and have pointers on how to debug? I've written about changing to the Linux Mint kernel to work around it, but it doesn't seem like a long-term solution.

Edit: Adding elogind hooks for suspend (grabbed and fixed from a related post) actually worked! I resume being a happy camper for now...

Last edited by litelinux; 01-04-2024 at 10:14 PM. Reason: hey something worked
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Narrow down reasons that monitor takes longer to resume after laptop wakes from "suspend" LenHoff Linux - Software 6 11-09-2021 09:15 PM
Resume after Suspend-to-RAM broken after -current update Martinus2u Slackware 4 10-11-2018 07:49 PM
LXer: Automatically Resume from Suspend to Ram and Suspend to Disk to Save Battery in Linux LXer Syndicated Linux News 0 05-10-2013 02:40 AM
[SOLVED] Why do nVida drivers hose suspend/resume or hibernate/resume? taylorkh Linux - Hardware 3 06-23-2011 01:09 PM
laptop does not resume after suspend coolpyrofreak Linux - Laptop and Netbook 6 01-07-2007 04:28 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration