Re: imonlcd: spinning disc and progess bars
Eric Pooch <[email protected]>
| Newsgroups | gmane.comp.sysutils.lcdproc |
|---|---|
| Message-ID | <[email protected]> |
Although the display is slow, it should not be causing the specific issue Karsten noticed. I changed in the way the output command worked in the latest LCDproc to cache the output state and prevent the server from constantly sending commands to the display (slowing it down even more). All these command were causing display instability. This caused a behavior change that Karsten noticed: When a client gives a command to update the bars, the cached output value became the bar value and the CD would stop spinning until the next client command to update the icons. Then the driver would cache the icon value and continue spinning the CD. So the problem was unique to spinning the CD and setting the bar length in a subsequent command. I did testing on my changes, and everything worked, but I didn't realize that it did not work the same way it did before the update. The patch I made and Karsten submitted fixes this issue by caching the bar value separately from the icon value. It also cleans up comments, and removes a bunch of unusual/unnecessary code in the output command. I would like to test it a bit more before it gets added to CVS though. Thanks --Eric On Apr 28, 2011, at 1:17 PM, Christian Leuschen wrote: > Hi Karsten, > > > In my XBMC the display is updated 4 times a second, the disc > stops for a quarter second in that case. > > In my experience this is due to the delay that is caused by the > update of the character field: If a line is scrolling, the > behaviour you describe occurs. If there is no change of the two > character lines, the disc spins constantly. You can verify this > e.g. with a video/music file that has a very short name. Thus, the > name does not have to be scrolled. > Seems like the display - or lcdproc interals?! - is too slow for > "re-setting" the 96*16 pixels fast enough. > > Best regards, > Christian > > > _______________________________________________ > LCDproc mailing list > [email protected] > http://lists.omnipotent.net/mailman/listinfo/lcdproc