Android XBMC EPG very slow to load on FireTV, any ideas would be appreciated
#1
Hello. I've just set up XBMC on a rooted FireTV primarily to act as a front end to serve the Live TV/EPG/PVR to a television. It's working quite well, the only problem is that the XBMC EPG takes forever to load. I've tried using MediaPortal/WMC/NextPVR for the server and it makes no difference. I've got about 500 channels available from my tunner but I've cut the channel list down to about 100 in WMC. Is there anything I can do to get the EPG to load faster?

What really surprised me was that it isn't just the first time going into it either. I can pull it up, wait 15 seconds for it to load, select a channel and be watching that full screen for 5 seconds, and then hit the EPG again and it still takes 15 seconds to load. I would think it should be cached or in RAM at that point. XBMC does store the EPG locally once downloaded right?
Reply
#2
try the "Do not store the EPG in the database" in Settings>Live TV>EPG
Reply
#3
Can you post a debug log? It would hopefully help pin-pointing which part is the slow one. I only have about 70 channels myself and I'm using a PC so the guide opens practically instantly, making it hard to figure out what could be slowing it down.
Reply
#4
I have the same experience. "Do not store the EPG in the database" has no effect for me. I have about 25 channels which load instantly on Windows or Linux installations of XBMC. I will try to post a debug log next chance I get.
Reply
#5
Got a debug log today. I hope this may be helpful. Log here.
Reply
#6
Quote:16:12:18 T:1552315216 DEBUG: CGUIWindowPVRGuide - virtual void PVR::CGUIWindowPVRGuide::UpdateData(bool) - update window 'epg'. set view to 16
16:12:20 T:1552315216 DEBUG: CGUIEPGGridContainer - void EPG::CGUIEPGGridContainer::SetStartEnd(CDateTime, CDateTime) - start=08/02/2014 8:00:00 PM end=08/10/2014 8:00:00 PM
16:12:22 T:1552315216 DEBUG: void EPG::CGUIEPGGridContainer::UpdateItems() completed successfully in 2136 ms

That's pretty slow. Are there other examples in that same log or is this what you were thinking of?
Reply
#7
(2014-08-04, 06:40)negge Wrote:
Quote:16:12:18 T:1552315216 DEBUG: CGUIWindowPVRGuide - virtual void PVR::CGUIWindowPVRGuide::UpdateData(bool) - update window 'epg'. set view to 16
16:12:20 T:1552315216 DEBUG: CGUIEPGGridContainer - void EPG::CGUIEPGGridContainer::SetStartEnd(CDateTime, CDateTime) - start=08/02/2014 8:00:00 PM end=08/10/2014 8:00:00 PM
16:12:22 T:1552315216 DEBUG: void EPG::CGUIEPGGridContainer::UpdateItems() completed successfully in 2136 ms

That's pretty slow. Are there other examples in that same log or is this what you were thinking of?

That's probably the only example in this log file but I can generate a longer one if you would like. It may be worth noting that while waiting for the EPG grid to load everything locks up completely until it appears. Video freezes and the system does not respond to any remote or keyboard presses. Even the debug log info that was on screen froze during the loading of the EPG. Thank you for looking into this.
Reply
#8
how often are your epg imports?
Reply
#9
(2014-08-04, 19:01)stuCONNERS Wrote: how often are your epg imports?

Is that a setting that I can change in the LiveTV portion of the settings menu? If it is, I don't think I've changed it from the default. I'll have to check when I get home. XBMC loads channel and EPG data from MythTV every time it starts. On the logfile I posted earlier I closed XBMC and reopened it, waited for the EPG data to import from my MythTV backend then loaded the EPG. So it had just been loaded just a few seconds before.
Reply
#10
(2014-08-04, 19:01)stuCONNERS Wrote: how often are your epg imports?

Just checked. Imports are set at 120 minutes.
Reply
#11
Reduce the number of days for epg
Reply
#12
(2014-08-07, 22:31)stuCONNERS Wrote: Reduce the number of days for epg

I've done that before. I increased it to 7 for the purposes of demonstration when submitting this debug log. Lowering the number helps somewhat but performance is still slow. I get that the fireTV hardware is not as powerful as my HTPC, but I didn't think it was so much slower as to cause such a noticeable lag. Even my 8 year old Dell laptop running ubuntu can load the EPG nearly instantly even when the days are set to 14.
Reply
#13
So is there no fix for this? Is it simply a matter of slow hardware? Or is it possibly a bug that could be fixed in a future build?
Reply
#14
I think the issue is within XBMC. It's slow on all versions. Yes It is must faster on faster devices but still it doesn't load that fast.
Reply
#15
(2014-08-04, 06:40)negge Wrote:
Quote:16:12:18 T:1552315216 DEBUG: CGUIWindowPVRGuide - virtual void PVR::CGUIWindowPVRGuide::UpdateData(bool) - update window 'epg'. set view to 16
16:12:20 T:1552315216 DEBUG: CGUIEPGGridContainer - void EPG::CGUIEPGGridContainer::SetStartEnd(CDateTime, CDateTime) - start=08/02/2014 8:00:00 PM end=08/10/2014 8:00:00 PM
16:12:22 T:1552315216 DEBUG: void EPG::CGUIEPGGridContainer::UpdateItems() completed successfully in 2136 ms

That's pretty slow. Are there other examples in that same log or is this what you were thinking of?
Well my samsung note 10.1 and Tronsmart s89-H are both slower than that:
11:44:09 T:1464729400 DEBUG: void EPG::CGUIEPGGridContainer::UpdateItems() completed successfully in 6688 ms (from samsung note 10.1), but this one took 12s to see the epg-timeline so I'm not sure what the 6688ms means. And it looks like the tablet is totally frozen in this timeframe because the CPU data (from debug logging on screen) are frozen too.

Logs here: https://www.dropbox.com/s/27r92tbbl54t3v...g.zip?dl=0

EDIT: The log was with 1 day of EPG data!

I now changed the setting "Use backend channel numbers" (to on) and that made quite a difference (still about 5 seconds though).
Reply

Logout Mark Read Team Forum Stats Members Help
XBMC EPG very slow to load on FireTV, any ideas would be appreciated0