Tvheadend + xmbc -> lag during initial scan
|Found in version:||2.12.99~git20110521.8281379~odk2~maverick||Affected Versions:|
I'm running tvheadend in the same box as XBMC (AMD Athlon(tm) 64 Processor 3200+ / 2GB DDR). The Tuner is a Avermedia a867r DVBT usb stick.
Every time I start my computer, tvheadend starts and then XBMC. During the first ~10 minutes, tvheadend do an initialscan on all my multiplexes. During this initialscan XBMC every ~30 seconds I've got a small lag. If I play a MP3 the sound hang for 1 second, the same if I watch a movie. When the initialscan ends everything works normally I'm 100% sure it has to do with this initial scan. Another example: If I stop tvheadend during the initialscan (/etc/init.d/tvheadend stop) the lag disappear immediately.
- Ubuntu 10.10 32bits
- TVheadend 2.12.99~git20110521.8281379~odk2~maverick
- XBMC 2:11.0-pvr+odk42~git20110718.b485416-0ubuntu1~ppa+odk42~maverick
Someone experienced the same behaviour ?
It'll be nice if we could choose to disable the initialscan it's not needed in all cases (Few TNT channels in Switzerland)
#3 Updated by Adam Sutton 11 months ago
- Status changed from New to Rejected
The latest git source includes a "skip initial scan" option that can be used to bypass the initial scan (as long as its been completed once, note: it will have to do one scan with new code to log the fact).
In the future Andreas plans to remove the initial scan completely and do something better.