Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

Ridiculously slow to wake from sleep

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
9 posts • Page 1 of 1
Author
Message
avieth
Veteran
Veteran
User avatar
Posts: 1945
Joined: Fri Sep 17, 2004 3:48 pm
Location: Canada

Ridiculously slow to wake from sleep

  • Quote

Post by avieth » Wed Apr 07, 2010 5:43 pm

I've noticed that when I bring my laptop (Lenovo Ideapad Y430) back up from S3 sleep, it's effectively unresponsive for anywhere from 30 seconds to two minutes. Today I ran top in a terminal window, put the computer to sleep for 10 minutes, then brought it back up so that I could see top as the computer struggled to wake up. It seems X is the issue. It hogged between 40% and 100% for about a minute before settling and beginning to respond to my commands.

I put this thread in Kernel and Hardware because I suspect that this isn't a problem with Xorg, but with drivers. My laptop has an integrated Intel GMA:

Code: Select all

00:02.1 Display controller: Intel Corporation Mobile 4 Series Chipset Integrated Graphics Controller (rev 07)
I use the i915 driver included in the kernel. I don't use KMS because it screws up my brightness controls.

I'm wondering if anyone can shed some light on my problem. Is it even a problem or is this just something I must accept? Is there anything I can do to speed up my laptop's wake time?
Top
audiodef
Watchman
Watchman
User avatar
Posts: 6656
Joined: Wed Jul 06, 2005 1:02 pm
Location: The soundosphere
Contact:
Contact audiodef
Website

  • Quote

Post by audiodef » Thu Apr 08, 2010 4:58 pm

What kernel sources are you using?
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Top
avieth
Veteran
Veteran
User avatar
Posts: 1945
Joined: Fri Sep 17, 2004 3:48 pm
Location: Canada

  • Quote

Post by avieth » Thu Apr 08, 2010 5:56 pm

vanilla-sources-2.6.34-rc1
Top
audiodef
Watchman
Watchman
User avatar
Posts: 6656
Joined: Wed Jul 06, 2005 1:02 pm
Location: The soundosphere
Contact:
Contact audiodef
Website

  • Quote

Post by audiodef » Thu Apr 08, 2010 6:52 pm

Try tuxonice (designed for laptops, and thus sleeping, hibernating, etc.), using a zen-sources seed from Pappy's Kernel Seeds (kernel-seeds.org), or heck, try zen-sources. Either way, I recommend Pappy's seeds for a cleaner, more efficient kernel.

I know, it's not a direct answer, but I'm hoping my suggestion will clean things up a bit for you and possibly solve it.
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Top
avieth
Veteran
Veteran
User avatar
Posts: 1945
Joined: Fri Sep 17, 2004 3:48 pm
Location: Canada

  • Quote

Post by avieth » Thu Apr 08, 2010 9:43 pm

I foolishly never bothered to look into tuxonice. I thought that all it did was add hibernation support, which I don't have a huge desire for. I'm going to try it out. Thanks.
Top
avieth
Veteran
Veteran
User avatar
Posts: 1945
Joined: Fri Sep 17, 2004 3:48 pm
Location: Canada

  • Quote

Post by avieth » Thu Apr 08, 2010 11:19 pm

With tuxonice, my computer is a lot more responsive after waking from sleep, but X is still acting up as usual. Perhaps it's because I'm using a compositing window manager.

EDIT: Nope, I disabled compositing and the same problem persists.
Top
audiodef
Watchman
Watchman
User avatar
Posts: 6656
Joined: Wed Jul 06, 2005 1:02 pm
Location: The soundosphere
Contact:
Contact audiodef
Website

  • Quote

Post by audiodef » Fri Apr 09, 2010 3:02 pm

Sounds like it's something in X then, although I don't know what. Maybe try a seed from Pappy's Kernel Seeds?
decibel Linux: https://decibellinux.org
Github: https://github.com/Gentoo-Music-and-Audio-Technology
Facebook: https://www.facebook.com/decibellinux
Discord: https://discord.gg/73XV24dNPN
Top
yngwin
Retired Dev
Retired Dev
User avatar
Posts: 4572
Joined: Thu Dec 19, 2002 1:22 pm
Location: Suzhou, China

  • Quote

Post by yngwin » Fri Apr 09, 2010 5:21 pm

I'm also unresponsive for the first two minutes after I'm woken up... :P
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Top
avieth
Veteran
Veteran
User avatar
Posts: 1945
Joined: Fri Sep 17, 2004 3:48 pm
Location: Canada

  • Quote

Post by avieth » Sun Apr 11, 2010 6:54 pm

yngwin wrote:I'm also unresponsive for the first two minutes after I'm woken up... :P
Good point :) But I have no sympathy for my machine.

If I get rid of KDE and stop running kdm, and then start x with fluxbox, or with twm, my wake times are much more reasonable (5 seconds) and X doesn't act up. Must be something to do with KDE.
Top
Post Reply

9 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic