Comment 67 for bug 546578

Revision history for this message
Martin Pitt (pitti) wrote : Re: [RS480] black screen after a few user switches

@Chris Coulson:

> we need some way for gnome-screensaver to signal that it has finished fading, or revert the fading mechanism to what we had in karmic, which didn't seem to have this problem
> what do you think is more appropriate for a SRU?

I'm afraid I can't say without more information. It seems that this is fundamentally a race of gnome-power-manager calling g-screensaver to fade, but not waiting for it to finish, and then calling pm-utils too early? Why do we have a VT change here at all, due to pm-utils having a quirk for this platform?

For an SRU, I recommend a small sleep() hack. We (should) know how long the fading takes, so we can sleep long enough for g-s to finish fading?