FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 05-07-2010, 05:33 PM
Roman Naumann
 
Default KDE takes ages to show password screen after suspend

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
 
Old 05-07-2010, 09:18 PM
Mick
 
Default KDE takes ages to show password screen after suspend

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
 
Old 05-09-2010, 12:34 PM
Roman Naumann
 
Default KDE takes ages to show password screen after suspend

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
 
Old 05-09-2010, 02:50 PM
Alan McKinnon
 
Default KDE takes ages to show password screen after suspend

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
 
Old 05-19-2010, 04:05 PM
Frank Steinmetzger
 
Default KDE takes ages to show password screen after suspend

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.
 
Old 06-08-2010, 08:52 AM
Roman Naumann
 
Default KDE takes ages to show password screen after suspend

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
 

Thread Tools




All times are GMT. The time now is 10:46 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org