Re: [gentoo-user] KDE takes ages to show password screen after suspend

2010-05-19 Thread Frank Steinmetzger
Am Freitag, 7. Mai 2010 schrieb András Csányi:
 On 7 May 2010 19:33, Roman Naumann roman_naum...@fastmail.fm wrote:
  Hi,
  
  when I suspend my computer, KDE locks the session. This usually happens,
  when I close my laptop lid.
  
  When I open it again, it takes 1 to 20 seconds (seamingly random) untill
  the login screen appears. During this time, I just see a black screen
  and a mouse pointer (somewhere), but I cannot move it.
  
  If no X server is started, i.e. I'm on the shell, the computer always
  responds after a second or so when the laptop lid is opened again.
  
  Any ideas what causes this or how to fix it?
 
 Suspend is that when the computer isn't off just the things stays in
 memory, isn't? When the contents of the memory is writed to the disk
 and the machine is get off that is the hibernate function, isn't?
 
 It is possible that when you close the lid the contents of memory
 writed to the disk and reading this few hundred Mbyte - on my laptop
 KDE is eating ~800 Mbyte memory, the hungry Beast! :)

1) It doesn't matter how much KDE takes - the RAM is always written and read 
completely, not partly.
2) Those 800 MB definitely include a lot of apps running. What does top/free 
say immediately after you booted the machine and logged in (bootet from the 
state of being really switched off, that is)? Mine says about 240 MB (32 bit).

Compared to KDE3, KDE4 takes longer here, as well. But not that long. The 
laptop's screen goes off and on once or twice, which may account for most of 
the delay. And the mouse pointer doesn't follow the mouse for a second or two. 
I have never measured it, but I guess it takes around about 6±2 seconds from 
switching on to seeing the password screen. (Provided that I move the mouse 
right away to make KDE show the screen).
-- 
Gruß | Greetings | Qapla'
I wish my lawn was emo, so it would cut itself.


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] KDE takes ages to show password screen after suspend

2010-05-09 Thread Roman Naumann
On Friday 07 May 2010 20:26:46 András Csányi wrote:
 On 7 May 2010 19:33, Roman Naumann roman_naum...@fastmail.fm wrote:
  Hi,
  
  when I suspend my computer, KDE locks the session. This usually happens,
  when I close my laptop lid.
  
  When I open it again, it takes 1 to 20 seconds (seamingly random) untill
  the login screen appears. During this time, I just see a black screen
  and a mouse pointer (somewhere), but I cannot move it.

 Suspend is that when the computer isn't off just the things stays in
 memory, isn't? When the contents of the memory is writed to the disk
 and the machine is get off that is the hibernate function, isn't?
 
 It is possible that when you close the lid the contents of memory
 writed to the disk and reading this few hundred Mbyte - on my laptop
 KDE is eating ~800 Mbyte memory, the hungry Beast! :) -  takes that
 long time what you mentioned?
 I'm not a big hacker just I'm thinking over it. :$

Hmm, I guess I should have specified what kind of 'suspend' I meant: Suspend to 
ram. Not suspend to disk!

When I close the laptop lid, kde does NOTHING but lock the screen. I disabled 
all other power management actions in kde's systemsettings.
The suspend is done by a script independend of kde, and that's working just 
fine. It's only kde taking that long..

Even if kde ignored my settings and writes and reads stuff from disk when I 
close/open the laptop lid: A second after I close the lid, the LED on the 
laptop begins to blink, saying that the computer is suspended to ram.
Kde could never write the whole ram to disk in that second.

Any more ideas?

Regards,
Roman




Re: [gentoo-user] KDE takes ages to show password screen after suspend

2010-05-09 Thread Alan McKinnon
On Sunday 09 May 2010 14:34:11 Roman Naumann wrote:
 On Friday 07 May 2010 20:26:46 András Csányi wrote:
  On 7 May 2010 19:33, Roman Naumann roman_naum...@fastmail.fm wrote:
   Hi,
   
   when I suspend my computer, KDE locks the session. This usually
   happens, when I close my laptop lid.
   
   When I open it again, it takes 1 to 20 seconds (seamingly random)
   untill the login screen appears. During this time, I just see a black
   screen and a mouse pointer (somewhere), but I cannot move it.
  
  Suspend is that when the computer isn't off just the things stays in
  memory, isn't? When the contents of the memory is writed to the disk
  and the machine is get off that is the hibernate function, isn't?
  
  It is possible that when you close the lid the contents of memory
  writed to the disk and reading this few hundred Mbyte - on my laptop
  KDE is eating ~800 Mbyte memory, the hungry Beast! :) -  takes that
  long time what you mentioned?
  I'm not a big hacker just I'm thinking over it. :$
 
 Hmm, I guess I should have specified what kind of 'suspend' I meant:
 Suspend to ram. Not suspend to disk!
 
 When I close the laptop lid, kde does NOTHING but lock the screen. I
 disabled all other power management actions in kde's systemsettings.
 The suspend is done by a script independend of kde, and that's working just
 fine. It's only kde taking that long..
 
 Even if kde ignored my settings and writes and reads stuff from disk when I
 close/open the laptop lid: A second after I close the lid, the LED on the
 laptop begins to blink, saying that the computer is suspended to ram.
 Kde could never write the whole ram to disk in that second.

What does your resume script look like?

I'm thinking maybe you have hardware that is taking ages (or is just 
unreliable) to wake up and resume, and kde depends on that hardware. Video 
drivers and wireless ethernet comes to mind.

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] KDE takes ages to show password screen after suspend

2010-05-07 Thread Roman Naumann
Hi,

when I suspend my computer, KDE locks the session. This usually happens, when 
I close my laptop lid.

When I open it again, it takes 1 to 20 seconds (seamingly random) untill the 
login screen appears. During this time, I just see a black screen and a mouse 
pointer (somewhere), but I cannot move it.

If no X server is started, i.e. I'm on the shell, the computer always responds 
after a second or so when the laptop lid is opened again.

Any ideas what causes this or how to fix it?

Regards,
Roman



Re: [gentoo-user] KDE takes ages to show password screen after suspend

2010-05-07 Thread András Csányi
On 7 May 2010 19:33, Roman Naumann roman_naum...@fastmail.fm wrote:
 Hi,

 when I suspend my computer, KDE locks the session. This usually happens, when
 I close my laptop lid.

 When I open it again, it takes 1 to 20 seconds (seamingly random) untill the
 login screen appears. During this time, I just see a black screen and a mouse
 pointer (somewhere), but I cannot move it.

 If no X server is started, i.e. I'm on the shell, the computer always responds
 after a second or so when the laptop lid is opened again.

 Any ideas what causes this or how to fix it?

Suspend is that when the computer isn't off just the things stays in
memory, isn't? When the contents of the memory is writed to the disk
and the machine is get off that is the hibernate function, isn't?

It is possible that when you close the lid the contents of memory
writed to the disk and reading this few hundred Mbyte - on my laptop
KDE is eating ~800 Mbyte memory, the hungry Beast! :) -  takes that
long time what you mentioned?
I'm not a big hacker just I'm thinking over it. :$

-- 
- -
--  Csanyi Andras  -- http://sayusi.hu -- Sayusi Ando
--  Bízzál Istenben és tartsd szárazon a puskaport!.-- Cromwell



Re: [gentoo-user] KDE takes ages to show password screen after suspend

2010-05-07 Thread Mick
On Friday 07 May 2010 19:26:46 András Csányi wrote:
 On 7 May 2010 19:33, Roman Naumann roman_naum...@fastmail.fm wrote:
  Hi,
 
  when I suspend my computer, KDE locks the session. This usually happens,
  when I close my laptop lid.
 
  When I open it again, it takes 1 to 20 seconds (seamingly random) untill
  the login screen appears. During this time, I just see a black screen and
  a mouse pointer (somewhere), but I cannot move it.
 
  If no X server is started, i.e. I'm on the shell, the computer always
  responds after a second or so when the laptop lid is opened again.
 
  Any ideas what causes this or how to fix it?
 
 Suspend is that when the computer isn't off just the things stays in
 memory, isn't? When the contents of the memory is writed to the disk
 and the machine is get off that is the hibernate function, isn't?
 
 It is possible that when you close the lid the contents of memory
 writed to the disk and reading this few hundred Mbyte - on my laptop
 KDE is eating ~800 Mbyte memory, the hungry Beast! :) -  takes that
 long time what you mentioned?
 I'm not a big hacker just I'm thinking over it. :$

I haven't got the answer I'm afraid, but it happens the same here with a 
desktop machine - no lid.  It takes up to 45 seconds for the screen to wake 
up!  The PC starts up immediately, but the screen stays blank.

In MSWindows, the screen becomes alive within seconds.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.