I seem to be having issues getting TVHeadend to work reliably from a Pi with the DVB TV hat for receiving DTV in the UK.
I've tried a few things, but overall, the system is quickly unresponsive, video freezes and becomes totally unusable. This seems to happen more on HD streams.
I've tried several RPi platforms, and the only one that seems relatively stable is the RPi4.
So, for starters, can anyone confirm whether the other hardware platforms I have should be able to stream the DVB-T2 HD streams without issues:
- Raspberry Pi 3 Model B Plus Rev 1.3
- Raspberry Pi Zero 2
If those platforms are OK, what can I check?
I have installed just the basic Raspbian Debian 12.9 Light
(CLI only) with no additions other than the tvheadend packages.
I am using a high quality 2.0A+ PSU
I am using a high speed Sandisk Micro SD card
I am using the wired 100Mbit network port (I have tried the WiFi and experience the same problem)
When running TVHeadend and tuning to a channel such as BBC One HD, the CPU usage is rather high:
top - 13:53:45 up 8 days, 22:15, 2 users, load average: 2.76, 2.32, 1.22
Tasks: 142 total, 1 running, 141 sleeping, 0 stopped, 0 zombie
%Cpu(s): 48.3 us, 0.3 sy, 0.0 ni, 51.4 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st
MiB Mem : 907.2 total, 333.6 free, 236.7 used, 398.4 buff/cache
MiB Swap: 200.0 total, 200.0 free, 0.0 used. 670.5 avail Mem
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
13701 hts 20 0 1876792 103524 14504 S 193.0 11.1 2:13.19 tvheadend
13764 root 20 0 0 0 0 D 1.0 0.0 0:00.53 cxd2880_ts_read
13643 admin 20 0 11712 4864 2816 R 0.3 0.5 0:01.82 top
1 root 20 0 168492 11220 8400 S 0.0 1.2 0:17.68 systemd
2 root 20 0 0 0 0 S 0.0 0.0 0:01.58 kthreadd
3 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pool_workqueue_release
Is this normal?
Basically IF these Raspi platforms are capable of running TVHeadend with HD streams, what optimisations or tweaking should I do to ensure a reliable playback?
Thanks!