public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] KDE takes ages to show password screen after suspend
@ 2010-05-07 17:33 Roman Naumann
  2010-05-07 18:26 ` András Csányi
  0 siblings, 1 reply; 7+ messages in thread
From: Roman Naumann @ 2010-05-07 17:33 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] KDE takes ages to show password screen after  suspend
  2010-05-07 17:33 [gentoo-user] KDE takes ages to show password screen after suspend Roman Naumann
@ 2010-05-07 18:26 ` András Csányi
  2010-05-07 21:18   ` Mick
                     ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: András Csányi @ 2010-05-07 18:26 UTC (permalink / raw
  To: gentoo-user

On 7 May 2010 19:33, Roman Naumann <roman_naumann@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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] KDE takes ages to show password screen after suspend
  2010-05-07 18:26 ` András Csányi
@ 2010-05-07 21:18   ` Mick
  2010-05-09 12:34   ` Roman Naumann
  2010-05-19 16:05   ` Frank Steinmetzger
  2 siblings, 0 replies; 7+ messages in thread
From: Mick @ 2010-05-07 21:18 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1496 bytes --]

On Friday 07 May 2010 19:26:46 András Csányi wrote:
> On 7 May 2010 19:33, Roman Naumann <roman_naumann@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

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] KDE takes ages to show password screen after suspend
  2010-05-07 18:26 ` András Csányi
  2010-05-07 21:18   ` Mick
@ 2010-05-09 12:34   ` Roman Naumann
  2010-05-09 14:50     ` Alan McKinnon
  2010-05-19 16:05   ` Frank Steinmetzger
  2 siblings, 1 reply; 7+ messages in thread
From: Roman Naumann @ 2010-05-09 12:34 UTC (permalink / raw
  To: gentoo-user

On Friday 07 May 2010 20:26:46 András Csányi wrote:
> On 7 May 2010 19:33, Roman Naumann <roman_naumann@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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] KDE takes ages to show password screen after suspend
  2010-05-09 12:34   ` Roman Naumann
@ 2010-05-09 14:50     ` Alan McKinnon
  0 siblings, 0 replies; 7+ messages in thread
From: Alan McKinnon @ 2010-05-09 14:50 UTC (permalink / raw
  To: gentoo-user; +Cc: Roman Naumann

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_naumann@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



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] KDE takes ages to show password screen after suspend
  2010-05-07 18:26 ` András Csányi
  2010-05-07 21:18   ` Mick
  2010-05-09 12:34   ` Roman Naumann
@ 2010-05-19 16:05   ` Frank Steinmetzger
  2010-06-08  8:52     ` [gentoo-user] [SOLVED] " Roman Naumann
  2 siblings, 1 reply; 7+ messages in thread
From: Frank Steinmetzger @ 2010-05-19 16:05 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1959 bytes --]

Am Freitag, 7. Mai 2010 schrieb András Csányi:
> On 7 May 2010 19:33, Roman Naumann <roman_naumann@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.

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-user] [SOLVED] KDE takes ages to show password screen after suspend
  2010-05-19 16:05   ` Frank Steinmetzger
@ 2010-06-08  8:52     ` Roman Naumann
  0 siblings, 0 replies; 7+ messages in thread
From: Roman Naumann @ 2010-06-08  8:52 UTC (permalink / raw
  To: gentoo-user

Follow up:
Since I upgraded to KDE 4.4.4, the problem is gone. The password prompt 
appears immediately after the laptop wakes up.

*yay*

Thanks for your help.

Regards,
Roman




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2010-06-08  8:54 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-05-07 17:33 [gentoo-user] KDE takes ages to show password screen after suspend Roman Naumann
2010-05-07 18:26 ` András Csányi
2010-05-07 21:18   ` Mick
2010-05-09 12:34   ` Roman Naumann
2010-05-09 14:50     ` Alan McKinnon
2010-05-19 16:05   ` Frank Steinmetzger
2010-06-08  8:52     ` [gentoo-user] [SOLVED] " Roman Naumann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox