Bugzilla – Bug 6595
Now Playing screensaver occasionally flickers the lower 1/5th of screen
Last modified: 2009-09-08 09:28:09 UTC
This is an intermittent problem. Not sure how/why it comes and goes but the Now Playing screensaver will flicker the bottom 1/5th of the screen every few seconds every now and then. When it starts it seems that most of the time it does it for the entire screensaver "session". I generally leave the controller sitting at the main menu sitting on the Music Library option (but not selected). I may have just noticed a pattern: When it occurs something is scrolling. Either the artist or title at the top of the screen.
Not a showstopper for 7.0
It occurred starting to play Faith Hill's "One Cry". I had to virtually "power down" the main player and then turn it back on (from the web UI) before it would start playing the track again. Once it was turned back on the track played with no further issues. The bedroom unit was not changed/controlled in any way during this time. The main unit is connected with a wired network cable, the bedroom unit is connected wirelessly. Attaching log file excerpt.
Ignore the previous comment - dang bug tracking system jumped issues on me again... sorry.
*** Bug 7159 has been marked as a duplicate of this bug. ***
Created attachment 2892 [details] captured on film, though during a push transition
*** Bug 6562 has been marked as a duplicate of this bug. ***
Reset priority
Created attachment 3073 [details] Kernel patch that blocks until vertical sync in framebuffer This vsync patch is probably the wrong solution, as the application will block while waiting for the vertical sync. But I now have the code, so I'll add it here in case it's useful in the future.
Created attachment 3074 [details] Patch that resets the timer used to control when the screen is redrawn When screen drawing takes too long it can cause flicker due to the double buffering. This patch resets the time to make sure the flicker does not happen.
Triode, I'd like a second opinion on bug6595.patch (the lua patch attached). Does this seem ok to you? Thanks.
Hum - not sure - isn't the display part of the event loop now: now = self:getTicks() if now >= framedue then logTask:info("--------") -- draw screen self:updateScreen() -- keep on top of the garbage collectgarbage("step") -- process ui event once per frame running = eventTask:resume() -- when is the next frame due? now = self:getTicks() if now > framedue then framedue = now end framedue = framedue + framerate end end The second if now > framedue will always be true and hence you slow down the framerate?
Fixed in jive 7.0.1 r2106 (a different fix from the patches above). The screen flicker is not always possible to easily recreate, so if you still see it please reopen this bug.
(In reply to comment #12) > Fixed in jive 7.0.1 r2106 (a different fix from the patches above). The screen > flicker is not always possible to easily recreate, so if you still see it > please reopen this bug. > Marking as verified in 7.0.1 - 19422. Please reopen if you still see the error
This bug has recently been fixed in the latest release of SqueezeCenter 7.0.1 Please try that version, if you still see the error, then reopen this bug. To download this version, please navigate to: http://www.slimdevices.com/su_downloads.html