Bug #617
Tvheadend + xmbc -> lag during initial scan
0%
Description
Hi,
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.
Running:
- 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)
History
Updated by Magnus Pfeffer over 13 years ago
Hi,
I have noticed the same problem. As waiting for over 500 muxes is not an option, I simply commented the bit of code responsible for the initial scan:
//dvb_fe_tune(tdmi, "Initial autoscan");
in dvb_adapter.c and recompiled.
Updated by David Hewings over 12 years ago
Hi
I have exactly the same problem, but not too sure how to add that line and then recompile.
Could anyone please help.
Thanks
Updated by Adam Sutton over 12 years 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.