Forums » Kodi (XBMC) as frontend »
Viewing XBMC menus causes errors in TVheadend reception
Added by Olli Salonen over 10 years ago
Running Gotham Beta 1 and Tvheadend 3.9.383 on the same machine: Intel Haswell i3 NUC and USB tuner PCTV 290e. When I view DVB-T2 HDTV channels everything is fine, errors stay at 0 on the Subscriptions tab in the web UI. However, if I open the XBMC menu or EPG timeline, the errors start to go up immediately. Full mux RX mode is disabled.
I've set the XBMC refresh rate to be 50Hz, so there's no mode change when the menu is activated.
What could cause the errors? According to "top" the CPU is 88% idle when watching the channel and 80% idle when the EPG timeline is overlaid on the screen. There are no other USB devices connected, so the USB bus should not be overloaded or anything.
On SD channels this does not happen.
Replies (3)
RE: Viewing XBMC menus causes errors in TVheadend reception - Added by Prof Yaffle over 10 years ago
Thoughts (not to solve, but to isolate):
1. Does it change if you use pvr.tvh instead of pvr.hts (i.e. the new addon)
2. Are you using the latest Gotham addons anyway
3. Is there anything in the tvheadend log (i.e. syslog) - switch debugging on if need be
4. Is there anything in the XBMC log - again, switch debugging on
My guess is the addon, since the EPG is an XBMC function that's merely querying the PVR backend database, but beyond that I'm utterly guessing...
RE: Viewing XBMC menus causes errors in TVheadend reception - Added by Olli Salonen over 10 years ago
1. I'm using the tvheadend HTSP Client 1.9.24 that comes with the OE 4.0 Beta 1. Not sure if this is pvr.tvh or pvr.hts?
3. tvheadend debugging logs show several continuity counter errors like this:
2014-03-10 15:32:41.175 [WARNING]:TS: 586000/Yle TV2 HD: H264 #312: Continuity counter error, 2 duplicate log lines suppressed
#860: Continuity counter error
2014-03-10 15:32:41.175 [WARNING]:TS: 586000/Yle TV2 HD: AC3
2014-03-10 15:32:42.055 [WARNING]:TS: 586000/Yle TV2 HD: H264 #312: Continuity counter error, 18 duplicate log lines suppressed
#5100: Continuity counter error
2014-03-10 15:32:42.335 [WARNING]:TS: 586000/Yle TV2 HD: TELETEXT
2014-03-10 15:32:43.055 [WARNING]:TS: 586000/Yle TV2 HD: H264 #312: Continuity counter error, 35 duplicate log lines suppressed
#860: Continuity counter error, 2 duplicate log lines suppressed
2014-03-10 15:32:43.416 [WARNING]:TS: 586000/Yle TV2 HD: AC3
4. XBMC logs show following warnings:
15:32:41 T:139837706962752 DEBUG: LIRC: Update - NEW at 897035:16d 0 KEY_EPG_UP devinput (KEY_EPG_UP)
15:32:41 T:139835108964096 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 1
15:32:41 T:139835108964096 DEBUG: Previous line repeats 8 times.
15:32:41 T:139835108964096 DEBUG: CDVDPlayerVideo::CalcDropRequirement - dropped in decoder, Sleeptime: -0.070000, Bufferlevel: 1, Gain: 0.040000
15:32:41 T:139835108964096 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 1
15:32:41 T:139835092178688 DEBUG: Previous line repeats 6 times.
15:32:41 T:139835092178688 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
15:32:41 T:139835108964096 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 1
15:32:41 T:139835092178688 DEBUG: Previous line repeats 3 times.
15:32:41 T:139835092178688 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
15:32:42 T:139835108964096 DEBUG: CDVDPlayerVideo::CalcDropRequirement - hurry: 1
15:32:42 T:139835092178688 DEBUG: Previous line repeats 5 times.
Complete tvheadend.log: http://sprunge.us/VROb
Complete XBMC log: http://sprunge.us/FUdb
The XBMC log might be a bit distracting, as I had VDR enabled when I booted my PC, but I disabled it and enabled tvheadend. Anyway, only the portion around 15:30 should be interesting...
I'm starting to think that this might be something connected to the CPU load/USB bus load/my BIOS settings instead of the software...
RE: Viewing XBMC menus causes errors in TVheadend reception - Added by Olli Salonen over 10 years ago
Update: I was not able to debug this further, but after upgrading to OpenELEC 4.0 Beta 3 the problem disappeared. Zero errors on HD channels. Happy Camper!