Winstep

Software Technologies


 Winstep Forums


Print view
Board index : Winstep Forums : General Discussion  [ 3 posts ]
Author Message
 Post subject: Frozen return from Sleep Question
PostPosted: Wed Jan 11, 2017 1:49 pm 
Offline

Joined: Wed Sep 07, 2016 2:47 pm
Posts: 11
Hi!

I love WinStep XTreme but I've noticed when my computer returns from sleep mode 'Strange Things Happen'™. The workbench will now be about 20-30 pixels (or so) from the upper edge, the dock will frequently (but not always) show up about the same number of pixels lower (it's docked to the bottom of my screen, so taskbar covers it up) and all of them (workbench, dock and dock-lets - weather, cpu and network) will be 'frozen' (i.e., clicking on them does nothing and nothing updates). When checking Task Manager, Workshelf (32-bit) will be actively consuming between 10 and 15% of CPU (fluctuating, so it IS working but I haven't dug in enough to try to figure out what it's doing). 'End Task' and re-start seems to clear it up but if I wait long enough, it will crash on its own. Should I not be using sleep mode?


Back to top
 Profile  
 
 Post subject: Re: Frozen return from Sleep Question
PostPosted: Wed Jan 11, 2017 8:41 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
Yes you should use Sleep mode.

I use it here on my other computers without experiencing any problems with Winstep applications.

What version of Winstep Xtreme are you running?

I'm asking this because *a long time ago* there was indeed a problem with the multimedia timers Winstep uses for the animations: after returning from sleep, the multimedia timers would fire constantly to make up for the times they did not fire while the system was sleeping. This, of course, overwhelmed the application and maxed out its CPU usage, making it seem frozen until the timers 'caught up'. The longer the system had spent sleeping, the longer it took for the application to become responsive again.

And by the way, 13-15% CPU usage on a four core CPU with hyper threading (4 physical + 4 virtual) is equivalent to 100% usage of a single CPU core (i.e.; 100/8 cores = 12.5%, rounded to 13% the application is maxing out a core).

Anyway, as I said, this issue with sleep/hibernation and the MM timers was solved a long time ago - now when the application receives a message that the system is about to enter a low power state, it turns off the timer - and turns it back on again when the system signals it that it has returned from the low power state.

Now, the odd thing in there is WorkShelf moving those 20-30 pixels. Looks like something (perhaps a 3rd party application?) changes the display workarea when returning from sleep.

What happens if you put the system to sleep for 5 minutes (or even less than that) and wake it up again?

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
 Post subject: Re: Frozen return from Sleep Question
PostPosted: Thu Jan 12, 2017 6:36 pm 
Offline
Site Admin
Site Admin
User avatar

Joined: Thu Feb 26, 2004 8:30 pm
Posts: 11930
By the way, is your computer a Surface Pro 4?

_________________
Jorge Coelho
Winstep Xtreme - Xtreme Power!
http://www.winstep.net - Winstep Software Technologies


Back to top
 Profile WWW 
 
Post new topic Reply to topic Board index : Winstep Forums : General Discussion  [ 3 posts ]
Display posts from previous:  Sort by  

Who is online

Users browsing this forum: No registered users and 65 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron