Screensaver stucks the computer

e.hermoso
e.hermoso
Joined: 6 Mar 09
Posts: 1
Credit: 0
RAC: 0
Topic 194221

The screensaver starts OK. However, if I try to use the computer once the screensaver is running, the computer is "blocked". I have to reboot the computer to be able to use it. Somebody know the reason?

Gundolf Jahn
Gundolf Jahn
Joined: 1 Mar 05
Posts: 1079
Credit: 341280
RAC: 0

Screensaver stucks the computer

What BOINC version do you run?

In the BOINC 6 Versions Change Log I found (emphasis added by me):

Quote:

- WINSCR: Fix screensaver issue where the screensaver locks up when the graphics application deadlocks for one reason or another.

Create two new threads:

1. Monitor system for keyboard and mouse events.
2. Shuffle window z-order positions if needed.

The keyboard/mouse event monitor is isolated from either the core client getting stuck in a loop and not returning the results of an RPC or the window shuffling code which can get stuck if the graphics application dead locks.

The window shuffle code is isolated due to the BroadcastSystemMessage?() API using something akin to SendMessage?() which waits for a return value from the target windows winproc. If a graphics application deadlocks for one reason or another it'll cause the thread to stall. This isn't terminal and so we just wait for the next time the data thread chooses a new application and terminates the old one which will cause the thread to resume.

This should resolve all outstanding issues with the screensaver not exiting when the mouse or keyboard is used.


Gruß,
Gundolf

Computer sind nicht alles im Leben. (Kleiner Scherz)

mikey
mikey
Joined: 22 Jan 05
Posts: 12863
Credit: 1884357890
RAC: 238400

RE: The screensaver starts

Quote:
The screensaver starts OK. However, if I try to use the computer once the screensaver is running, the computer is "blocked". I have to reboot the computer to be able to use it. Somebody know the reason?

One thing to think about is that when the screensaver is running you are losing crunching time. Your cpu is using some its time to draw the screensaver and not crunch workunits. As you get into this crunching thing you may wish to set the screen to just go blank and then use the power button on the monitor to turn it off. Older, crt, monitors, those huge things, use alot of power when on and turning them off can save you money. Turning the pc off is not nearly as cost effective and ruins your chance to crunch!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.