Too many data errors on Pi 4 LibreELEC Kodi TvHeadend addon
Added by Brent McArthur over 4 years ago
Hi Folks,
I have a strange issue I'm hoping this group can help me resolve! When recording TV shows I often get many recordings failed with the issue "Too many data errors". There are thousands of errors.
In the logs I get this for example
2020-07-04 16:59:49.208 [WARNING] TS: DVB-T Network/191.625MHz/9HD Sydney: H264 @ #513 Continuity counter error (total 43339)
2020-07-04 16:59:49.929 [WARNING] tbl-pass: pass-eit: -: invalid checksum (len 812, errors 4355)
2020-07-04 16:59:51.274 [WARNING] TS: DVB-T Network/191.625MHz/9HD Sydney Transport error indicator (total 65282)
2020-07-04 16:59:53.227 [WARNING] TS: DVB-T Network/191.625MHz/9HD Sydney: TELETEXT @ #577 Continuity counter error (total 1304)
2020-07-04 16:59:53.647 [WARNING] TS: DVB-T Network/191.625MHz/9HD Sydney: AC3 @ #650 Continuity counter error (total 14567)
2020-07-04 16:59:59.215 [WARNING] TS: DVB-T Network/191.625MHz/9HD Sydney: H264 @ #513 Continuity counter error (total 43450)
2020-07-04 16:59:59.988 [WARNING] tbl-pass: pass-pat: -: invalid checksum (len 48, errors 90)
2020-07-04 17:00:00.459 [WARNING] tbl-pass: pass-eit: -: invalid checksum (len 940, errors 4365)
2020-07-04 17:00:01.395 [WARNING] TS: DVB-T Network/191.625MHz/9HD Sydney Transport error indicator (total 65433)
2020-07-04 17:00:02.013 [ INFO] subscription: 024E: "DVR: The Voice" unsubscribing from "9HD Sydney"
2020-07-04 17:00:03.009 [ INFO] dvr: "The Voice" on "9HD Sydney": End of program: Too many data errors
I'm running the following on a Pi 4
HTS Tvheadend 4.2.8-36 ~ LibreELEC Tvh-addon v9.2.0.121
Kodi version is: Kodi 18.6
I have 2 x AVerMedia A835 AVerTV Volar Green HD USB TV Tuners
LibreELEC-Family:~ # lsusb -t -v
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
|__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 2: Dev 3, If 0, Class=Vendor Specific Class, Driver=mceusb, 12M
|__ Port 3: Dev 4, If 0, Class=Vendor Specific Class, Driver=dvb_usb_af9035, 480M
|__ Port 4: Dev 5, If 0, Class=Vendor Specific Class, Driver=dvb_usb_af9035, 480M
The strange thing is, when I run the same TvHeadend version on the same Pi 4 but with Raspbian 10 as the OS I don't have the same problem. TvHeadend runs like a dream. I get some data errors in occasional recordings but it's never larger than 20 errors.
Does anyone know what could be causing this issue when running TvHeadned as a Kodi Addon but not in Raspbian OS?
Replies (4)
RE: Too many data errors on Pi 4 LibreELEC Kodi TvHeadend addon - Added by Brent McArthur over 4 years ago
It’s almost like it gets some errors and then is unable to recover?
Could there be some underlying Linux settings that are different and might help the drivers perform batter on Kodi?
RE: Too many data errors on Pi 4 LibreELEC Kodi TvHeadend addon - Added by Sébastien Aubry over 4 years ago
Hi,
I have just noticed some similarities with my problem (AVerMedia USB tuner, LibreELEC).
Can you try to stream the live TV using the web interface, wait for the errors (in order to exonerate Kodi), and then restart streaming, to check if the errors are still present and if this is the same bug?
Regards
RE: Too many data errors on Pi 4 LibreELEC Kodi TvHeadend addon - Added by Brent McArthur over 4 years ago
Just read your post. Does feel like we are most likely hitting the same issue. Based on your post I assume if I stopped the recording when the data errors keep flooding in then start it again the data errors would be at an acceptable viewable threshold like you’ve experienced when stopping/starting stream via the browser.
For me it will take longer to reproduce. Sometimes I can stream live tv or record for hours and the problem doesn’t occur. It seems to occur at least every other day.
I will see if I can run some more tests over the weekend and prove starting / stopping works.
Maybe you should try a different OS as well? Given it works on Raspian on with ask the same hardware it effectively rules out a problem with tuner or the Pi. It must be something to do with the combo when using LibreELEC.
If I can’t find a solution my next step is to just install Kodi on Raspbian instead of running LibreELEC. At the moment in running a dedicated TvHeadend Pi + a dedicated Kodi client on a Pi each.
RE: Too many data errors on Pi 4 LibreELEC Kodi TvHeadend addon - Added by Brent McArthur over 4 years ago
Given this seems to be a LibreELEC + TvHeadend Addon issue only It’s seems unlikely a fix will be found soon.
So I’ve just gone with the work around - run TVHeadend outside of Kodi via Linux package manager.
For me This means I’ve installed Kodi on Raspbian Lite running TvHeadend and Kodi as native Debian packages.
It’s working well. No issues. Took a bit of work to get Kodi working on Raspbian Lite but glad it’s working.
Hopefully the issue gets fixed for others