Is anyone running TVHeadend TV-recording software on a Raspberry Pi? If so, have you found times when you get loads of "Continuity counter errors"
during a recording?
My setup has a satellite DVB-S/USB tuner (PCTV 491e) and a dual-tuner Hauppauge WinTV Dual. I save recordings to a USB hard drive (spinning,
rather than SSD). All these USB devices connect to separate USB ports on the Pi - ie they don't go via a USB hub.
Normally I can record from all these tuners simultaneously, but sometimes I get a whole run of continuity errors on all the tuners, and once it starts, it affects all future recordings until I reboot the Pi, then I get no
further problems for several days until it starts again.
Up to now, I've blamed reception problems, but I've recently enabled TVH debugging which shows the *times* when these errors are occurring, and it looks as if they start when more than one tuner is in use. For example. last night:
- recording on satellite (ITV HD) started at 20:00: no errors whatsoever, until...
- second and third recordings started on terrestrial tuners at 20:55 (recording at 21:00, with 5 mins pre-padding): now I see errors on all three tuners on the various video and sound streams, at a rate of about 150
(across all three tuners) per hour
I'm using Raspberry Pi OS, in a download dated 2021-01-11 (11 Jan 2021),
with "uname -a" giving "Linux [hostname] 5.4.83-v7l+ #1379 SMP Mon Dec 14 13:11:54 GMT 2020 armv7l GNU/Linux". TVH is V 4.2.8-36.
I remember having some sort of problem (I forget the details) when I
upgraded to a later kernel, so I've got a note on my RaspPiOS installation zip "Do not upgrade to kernel 5.10" - which is why I'm still running an old version of RaspPiOS and TVH.
Is anyone running TVHeadend TV-recording software on a Raspberry Pi? If so, >have you found times when you get loads of "Continuity counter errors"
during a recording?
My setup has a satellite DVB-S/USB tuner (PCTV 491e) and a dual-tuner >Hauppauge WinTV Dual. I save recordings to a USB hard drive (spinning,
rather than SSD). All these USB devices connect to separate USB ports on the >Pi - ie they don't go via a USB hub.
Normally I can record from all these tuners simultaneously, but sometimes I >get a whole run of continuity errors on all the tuners, and once it starts, >it affects all future recordings until I reboot the Pi, then I get no
further problems for several days until it starts again.
Up to now, I've blamed reception problems, but I've recently enabled TVH >debugging which shows the *times* when these errors are occurring, and it >looks as if they start when more than one tuner is in use. For example. last >night:
- recording on satellite (ITV HD) started at 20:00: no errors whatsoever, >until...
- second and third recordings started on terrestrial tuners at 20:55 >(recording at 21:00, with 5 mins pre-padding): now I see errors on all three >tuners on the various video and sound streams, at a rate of about 150
(across all three tuners) per hour
I'm using Raspberry Pi OS, in a download dated 2021-01-11 (11 Jan 2021),
with "uname -a" giving "Linux [hostname] 5.4.83-v7l+ #1379 SMP Mon Dec 14 >13:11:54 GMT 2020 armv7l GNU/Linux". TVH is V 4.2.8-36.
I remember having some sort of problem (I forget the details) when I
upgraded to a later kernel, so I've got a note on my RaspPiOS installation >zip "Do not upgrade to kernel 5.10" - which is why I'm still running an old >version of RaspPiOS and TVH.
Is anyone running TVHeadend TV-recording software on a Raspberry Pi?
If so, have you found times when you get loads of "Continuity counter errors" during a recording?
On 2023-02-27, NY <me@privacy.invalid> wrote:
Is anyone running TVHeadend TV-recording software on a Raspberry Pi? If so, >> have you found times when you get loads of "Continuity counter errors"
during a recording?
My setup has a satellite DVB-S/USB tuner (PCTV 491e) and a dual-tuner
Hauppauge WinTV Dual. I save recordings to a USB hard drive (spinning,
rather than SSD). All these USB devices connect to separate USB ports on the >> Pi - ie they don't go via a USB hub.
Normally I can record from all these tuners simultaneously, but sometimes I >> get a whole run of continuity errors on all the tuners, and once it starts, >> it affects all future recordings until I reboot the Pi, then I get no
further problems for several days until it starts again.
Up to now, I've blamed reception problems, but I've recently enabled TVH
debugging which shows the *times* when these errors are occurring, and it
looks as if they start when more than one tuner is in use. For example. last >> night:
- recording on satellite (ITV HD) started at 20:00: no errors whatsoever,
until...
- second and third recordings started on terrestrial tuners at 20:55
(recording at 21:00, with 5 mins pre-padding): now I see errors on all three >> tuners on the various video and sound streams, at a rate of about 150
(across all three tuners) per hour
I'm using Raspberry Pi OS, in a download dated 2021-01-11 (11 Jan 2021),
with "uname -a" giving "Linux [hostname] 5.4.83-v7l+ #1379 SMP Mon Dec 14
13:11:54 GMT 2020 armv7l GNU/Linux". TVH is V 4.2.8-36.
I remember having some sort of problem (I forget the details) when I
upgraded to a later kernel, so I've got a note on my RaspPiOS installation >> zip "Do not upgrade to kernel 5.10" - which is why I'm still running an old >> version of RaspPiOS and TVH.
For those times when the problem has started and will affect
future recordings, what is the memory consumption? Are there
stale processes left behind?
A couple of suggestions:
"free -m" can keep track of memory consumption. Storing one
result in a file shortly after reboot and then each day on the
journey toward appearance of the problem would help identify any
trends.
"ps augx" can show processes. Some processes will start shortly
after boot and then stay forever. Others will come and go. If
you put one output per day or so into a file, you can compare and
see what is going on.
Thanks. I'll keep checking "free -m". So far I've seen Free Mem reduce
from about 7000 (GB?) to 890 and then spontaneously increase when I next >looked a few hours later, but the Swap statistics remain at 99 total/free.
On Wed, 1 Mar 2023 14:47:17 +0000, NY <me@privacy.net> declaimed the following:
Thanks. I'll keep checking "free -m". So far I've seen Free Mem reduce >>from about 7000 (GB?) to 890 and then spontaneously increase when I next
looked a few hours later, but the Swap statistics remain at 99 total/free.
Probably MB -- the biggest R-Pi 4 only has 8GB. Here is a fresh boot of my 4GB R-Pi 4 (apologies about line wrap in the news client)
pi@rpi4b4gb:~$ free -m
total used free shared buff/cache available
Mem: 3838 218 3158 34 461 3455 Swap: 99 0 99
I'm a plonker: what I meant was 7000 MB or 7 GB, not 7000 GB. *I* knew
what I meant ;-)
On 01/03/2023 19:41, NY wrote:
[free -m]
I'm a plonker: what I meant was 7000 MB or 7 GB, not 7000 GB. *I* knew
what I meant ;-)
Use free -h instead, as it will then print the units it's using. You can
also use -h with other commands such as ls, du or df which will
otherwise display sizes with lots of digits.
---druck
Is anyone running TVHeadend TV-recording software on a Raspberry Pi? If
so, have you found times when you get loads of "Continuity counter
errors" during a recording?
On 27/02/2023 13:44, NY wrote:
Is anyone running TVHeadend TV-recording software on a Raspberry Pi?
If so, have you found times when you get loads of "Continuity counter
errors" during a recording?
It's early days yet, and I've only been using Jan's "echo 3 > /proc/sys/vm/drop_caches" crontab fix for a day or so, but so far it's looking good.
I'll post again after a few more days, by which time the problem would probably have occurred - so the longer I go without seeing any
continuity errors, the more likely it is that Jan's fix was the right one.
Do DVB tuners tend to send all the data for a mux over USB to software,
or are they told which SIDs to pick out and only send the required ones
over USB?
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 300 |
Nodes: | 16 (2 / 14) |
Uptime: | 63:44:21 |
Calls: | 6,712 |
Files: | 12,244 |
Messages: | 5,355,976 |