Author Topic: won't resume from sleep or lock screen  (Read 1039 times)

mogivite

  • Guest
won't resume from sleep or lock screen
« on: October 03, 2010, 05:06:42 PM »
Ok so I have found a little bit of information about this in other threads but nothing really that I can use to solve this.

I have just recently installed pclinuxos2010 on an older laptop running an intel card the name of which Im blanking on at the moment.

As the title says.

when the laptop sleeps or I press the lock screen button the screen goes black as it should. But when I try to resume from sleep it flashes the desktop for a second and then seems to go back to sleep except now with a white rectangle that stays briefly in the middle of the screen.

after reading a few threads some suggest that turning off "detecting Randr" solves this problem. That you do this from the service manager. Unfortunatly there is not detecting randr in my service manager so I can't do that. another said to find it in the randr file and delete that. But i can't even find that file to try that.

another thread stopped at the suggestion that the fix is to switch to kernal 2.6.31-12 but I have no idea how to do that and not sure switching to an older kernal is the right thing to do and since no one posted after that suggestion (a month ago) i have no idea if that actually work.


I should add If I restart the xserver using alt-ctrl-(dbl tap) backspace it wakes up and returns to the log in screen.

any hep would be appreciated.

Either a fix or a way to disable sleep/hybernating untill a fix can be found. The laptop will stay plugged in so having it on with a screensaver the whole time is not an issue. (though I have not checked if it resumes from the screen saver yet.)
« Last Edit: October 03, 2010, 05:12:39 PM by mogivite »

uncleV

  • Guest
Re: won't resume from sleep or lock screen
« Reply #1 on: October 03, 2010, 05:44:53 PM »
I'm not a laptop user and the first that comes to mind is to check whether you have (enough) swap space.
When you hibernate/sleep the computer the system has to write/save all that is in your RAM to HDD so the next time it "wakes up" you would be presented with the exactly the same state as it was at hibernation moment.
If I remember correctly you didn't create a separate swap partition. old-polack says (again IIRC) that you need a separate swap partition for hibernation/sleep. And it has to be of size twice than your RAM.

I am not sure but may be here you have the problem.

Offline everge48

  • Sr. Member
  • ****
  • Posts: 383
Re: won't resume from sleep or lock screen
« Reply #2 on: October 03, 2010, 07:52:44 PM »
mogivite,

What kind of video card do you have and are you using the latest driver for your video card? If I understand what you are saying correctly updating your driver as well as updating your xorg.conf file may solve this problem. Do you know how to do that?
« Last Edit: October 03, 2010, 08:07:13 PM by 4evergr8ful »
Any sufficiently advanced technology is indistinguishable from magic.

Offline cyrwyn

  • Hero Member
  • *****
  • Posts: 833
Re: won't resume from sleep or lock screen
« Reply #3 on: October 04, 2010, 09:56:02 AM »
To clarify the difference between hibernate and suspend (sleep), only hibernate needs the swap space. The memory profile is written to the swap partition, then the computer completely powers off. In suspend the memory image is retained running at low power and most peripherals are switched off or put in a power-saving idle mode, but the computer isn't fully powered off. Suspend should return to full operation faster than hibernate.
Using Linux for over 18 years and still counting.

mogivite

  • Guest
Re: won't resume from sleep or lock screen
« Reply #4 on: October 05, 2010, 06:08:56 PM »
mogivite,

What kind of video card do you have and are you using the latest driver for your video card? If I understand what you are saying correctly updating your driver as well as updating your xorg.conf file may solve this problem. Do you know how to do that?

Ok I have no idea how to do those things.

as far as my video card. IF the spec sheet is to be believed then I am using an     Intel Graphics Media Accelerator 900. (by the way  open gl does not seem to play nice with this card as it is set up right not using open GL for desktop effects right now (using cairo doc))

I should explain for those that did not read my last thread. this laptop was a friends throw away that I replaced the HD for.

It has 2g ram 80g harddrive 1.5ghz cpu

It's going to end up being that travel computer that I don't care if it gets stolen since it was free. (going to costa rica)

I'm not a laptop user and the first that comes to mind is to check whether you have (enough) swap space.
When you hibernate/sleep the computer the system has to write/save all that is in your RAM to HDD so the next time it "wakes up" you would be presented with the exactly the same state as it was at hibernation moment.
If I remember correctly you didn't create a separate swap partition. old-polack says (again IIRC) that you need a separate swap partition for hibernation/sleep. And it has to be of size twice than your RAM.

I am not sure but may be here you have the problem.

Hey UncleV again thanks for all your help in that last thread once i get this sorted Ill be going back to that.

I believe pclinuxos sets up 3g swap automatically and I have 2g of ram. I guess I could try to resize it using a live cd and see if that helps it, but ill try that after i try updating xorg and the drivers once i get instructions on that.

Offline everge48

  • Sr. Member
  • ****
  • Posts: 383
Re: won't resume from sleep or lock screen
« Reply #5 on: October 05, 2010, 06:44:41 PM »
First fully update your system..
Open Synaptic. Click 'Reload'. Then click 'Apply'.
After you have completely updated your system reboot.

If you are still having problems then open 'Configure Your Computer' -> 'Hardware' -> 'Set up the graphical server'
Click the 'Graphics Card' button and choose your card from the list (Intel 810 and later). Click 'Ok' then 'Ok' again. Logout and log back in.
Any sufficiently advanced technology is indistinguishable from magic.

mogivite

  • Guest
Re: won't resume from sleep or lock screen
« Reply #6 on: October 06, 2010, 06:21:35 PM »
First fully update your system..
Open Synaptic. Click 'Reload'. Then click 'Apply'.
After you have completely updated your system reboot.

If you are still having problems then open 'Configure Your Computer' -> 'Hardware' -> 'Set up the graphical server'
Click the 'Graphics Card' button and choose your card from the list (Intel 810 and later). Click 'Ok' then 'Ok' again. Logout and log back in.

thank you for your suggestion but after trying it out unfortunately it's neither of these. The video card is already set to 810 and later and the problem persisted after I did the update as you suggested.

Uncle V I don't think it's a swap partition issue because If I select lock screen it isn't actually putting the laptop into hibernate but the problem still occurs.

any other suggestions anyone?