Project

General

Profile

DVB-T2 Scan not working after upgrading to 4.3

Added by Sebastian Schwarzbrunn 10 months ago

Hi folks,

in 4.2.x DVB-T2 scans worked perfectly. When I upgrade to 4.3, the scans are constantly failing.
Version: 4.3-2098~g44bf691ac
OS: Debian 12
Tuner: WinTV DualHD

Scanning Astra 19.2E with a WinTV HVR4000 worked. So it seems to be DVB-T2 or tuner-related. Is there something, I can do/test?

Log:
2024-01-03 14:18:07.309 [ INFO]:mpegts: 482MHz in DVB-T Network - tuning on Silicon Labs Si2168 #2 : DVB-T #0
2024-01-03 14:18:07.309 [ INFO]:subscription: 0002: "epggrab" unsubscribing
2024-01-03 14:18:07.309 [ INFO]:subscription: 0004: "scan" subscribing to mux "482MHz", weight: 6, adapter: "Silicon Labs Si2168 #2 : DVB-T #0", network: "DVB-T Network", service: "Raw PID Subscription"
2024-01-03 14:18:12.309 [ INFO]:mpegts: 482MHz in DVB-T Network - scan no data, failed
2024-01-03 14:18:12.309 [ INFO]:subscription: 0004: "scan" unsubscribing
2024-01-03 14:18:13.309 [ INFO]:mpegts: 482MHz in DVB-T Network - tuning on Silicon Labs Si2168 #2 : DVB-T #0
2024-01-03 14:18:13.309 [ INFO]:subscription: 0006: "epggrab" subscribing to mux "482MHz", weight: 4, adapter: "Silicon Labs Si2168 #2 : DVB-T #0", network: "DVB-T Network", service: "Raw PID Subscription"
2024-01-03 14:22:01.985 [WARNING]:epggrab: PSIP: ATSC Grabber - data completion timeout for 530MHz in DVB-T Network
2024-01-03 14:22:01.985 [WARNING]:epggrab: EIT: EPG Grabber - data completion timeout for 530MHz in DVB-T Network
2024-01-03 14:22:01.985 [ INFO]:subscription: 0001: "epggrab" unsubscribing
2024-01-03 14:22:02.986 [ INFO]:mpegts: 562MHz in DVB-T Network - tuning on Silicon Labs Si2168 #1 : DVB-T #0
2024-01-03 14:22:02.986 [ INFO]:subscription: 0007: "epggrab" subscribing to mux "562MHz", weight: 4, adapter: "Silicon Labs Si2168 #1 : DVB-T #0", network: "DVB-T Network", service: "Raw PID Subscription"


Replies (11)

RE: DVB-T2 Scan not working after upgrading to 4.3 - Added by Jonas Lang 10 months ago

Here’s an extensive discussion on that particular tuner working in TVH
https://tvheadend.org/boards/5/topics/50200?r=50260

RE: DVB-T2 Scan not working after upgrading to 4.3 - Added by Sebastian Schwarzbrunn 10 months ago

Hi Jonas. Thanks for the quick response.
The posted thread is quite big. I tried to extract the things, that could be directly related to my problem.

What I did so far:

  • Set the USB-mode to bulk-transfer (this might not be necessary because it seems like this is done on startup)
  • installed the firmware-files from https://github.com/LibreELEC/dvb-firmware as there where errormessages after executing >dmesg | egrep "firmware|dvb|frontend"<
    • no errormessages regarding the firmware anymore and I get signal-strength displays not in the status page, which was not the case before
  • Purged and re-installed TVHEADEND

Still my scan-results are FAIL on every MUX. When I connect my Raspberrypi to the same stick, using the 4.2.8, the scans are successful (updating to 4.3 on the raspberry breaks it.
Any ideas, what I can test or maybe compare?

Best regards, Sebastian

RE: DVB-T2 Scan not working after upgrading to 4.3 - Added by Jonas Lang 10 months ago

What hardware do you have TVH installed on. What source did you use to install TVH. Is this a VM or Docker install

You could possibly compile TVH yourself. Depending on what hardware you have you may need to do this to successfully run a DVBT2 scan.

I have seen reports of problems scanning German DVBT2 muxes. Although 7 years old this thread might provide some insight
https://tvheadend.org/boards/5/topics/24338?r=24807

RE: DVB-T2 Scan not working after upgrading to 4.3 - Added by Sebastian Schwarzbrunn 10 months ago

Thanks, I´ll check-out that thread. To quickly answer the question:

It´s an Intel Atom N2800, which is an x64-system. I´ts pretty old, but enough to run TV-Headend.
I´m running Debian 12 and installed TV-Headend, using this how-to: https://tvheadend.org/projects/tvheadend/wiki/AptRepositories. So it´s running without docker or any other virtual stuff.

I´ve tried compiling the 4.2.8. I wanted to try the version, which works on my RaspberryPi4, to verify if this verion also works on the Atom-board. Unfortunately I was not able to compile due to errors I could not resolve.
I have a WinTV HVR4000 installed in parallel, which is working fine. Maybe I could try the WinTV duo without the HVR4000. I´ll check that tomorrow.

Here are the error-messages, I ran into when i tried to compile (https://tvheadend.org/projects/tvheadend/wiki/Building). But I think, a self-compiled version is not necessary in my case.

make2: Verzeichnis „/root/source/tvheadend-4.2.8/build.linux/ffmpeg/ffmpeg-3.4.5“ wird verlassen
make1: Verzeichnis „/root/source/tvheadend-4.2.8“ wird verlassen
make -f Makefile.ffmpeg libcacheput
make1: Verzeichnis „/root/source/tvheadend-4.2.8“ wird betreten
make1: Verzeichnis „/root/source/tvheadend-4.2.8“ wird verlassen
make all
make1: Verzeichnis „/root/source/tvheadend-4.2.8“ wird betreten
Receiving data/dvb-scan from https://github.com/tvheadend/dtv-scan-tables.git#tvheadend
make -f Makefile.hdhomerun libcacheget
make2: Verzeichnis „/root/source/tvheadend-4.2.8“ wird betreten
DOWNLOAD misc/staticlib/Debian 12/x86_64/hdhomerun-6bd8f579a6d05cd70238a488f0d955fda4bbbccf.tgz / kZ54ee7ZUvsSYmb9VGSpnmoVzcAUhpBXLq8k
/usr/bin/env: „python“: Datei oder Verzeichnis nicht gefunden
FAILED TO DOWNLOAD (BUT THIS IS NOT A FATAL ERROR! DO NOT REPORT THAT!)
make2: Verzeichnis „/root/source/tvheadend-4.2.8“ wird verlassen
make -f Makefile.hdhomerun build
make2: Verzeichnis „/root/source/tvheadend-4.2.8“ wird betreten
WGET http://download.silicondust.com/hdhomerun/libhdhomerun_20171221.tgz
http://download.silicondust.com/hdhomerun/libhdhomerun_20171221.tgz:
2024-01-04 14:52:07 FEHLER 404: Not Found.
make2: * [Makefile.hdhomerun:79: /root/source/tvheadend-4.2.8/build.linux/hdhomerun/libhdhomerun_20171221/.tvh_download] Fehler 8
make2: Verzeichnis „/root/source/tvheadend-4.2.8“ wird verlassen
make1:
[Makefile:800: /root/source/tvheadend-4.2.8/build.linux/hdhomerun/libhdhomerun/libhdhomerun.a] Fehler 2
make1: Verzeichnis „/root/source/tvheadend-4.2.8“ wird verlassen
make: *
* [Makefile:99: ffmpeg_all] Fehler 2

RE: DVB-T2 Scan not working after upgrading to 4.3 - Added by Jonas Lang 10 months ago

What I could suggest is using these simple copy/paste commands I posted a while back. They were certainly working up to yesterday. Just modify the autobuild configure extra to suit your own purposes https://tvheadend.org/boards/4/topics/47932

RE: DVB-T2 Scan not working after upgrading to 4.3 - Added by Sebastian Schwarzbrunn 10 months ago

It seems like, it´s not that easy under Debian. As far as I saw, you are using Ubuntu. I´ll grab the Atom330 from my museum and set-up a test-system where I can try it with Ubuntu.
Thanks so far, I´ll post the results / further questions as soon as I have time to build this.

RE: DVB-T2 Scan not working after upgrading to 4.3 - Added by saen acro 10 months ago

I'm on older then your Atom an it works no problem with local DVB-T,
but cannot test with T2. I don't have even modulator to simulate T2 Station

As temporary solution scan with https://github.com/stefantalpalaru/w_scan2
or even make "init scan list" for your location
Stop TVH service when scan with W-SCAN2


$ neofetch 
       .hddddddddddddddddddddddh.          saen@wafer 
      :dddddddddddddddddddddddddd:         ---------- 
     /dddddddddddddddddddddddddddd/        OS: Alpine Linux v3.16 i686 
    +dddddddddddddddddddddddddddddd+       Host: Uknown 1.0 
  `sdddddddddddddddddddddddddddddddds`     Kernel: 5.15.127-0-lts 
 `ydddddddddddd++hdddddddddddddddddddy`    Uptime: 30 days, 14 hours, 22 mins 
.hddddddddddd+`  `+ddddh:-sdddddddddddh.   Packages: 582 (apk) 
hdddddddddd+`      `+y:    .sddddddddddh   Shell: bash 5.1.16 
ddddddddh+`   `//`   `.`     -sddddddddd   Terminal: /dev/pts/1 
ddddddh+`   `/hddh/`   `:s-    -sddddddd   CPU: Intel Celeron 400MHz (1) @ 400MHz 
ddddh+`   `/+/dddddh/`   `+s-    -sddddd   GPU: 01:00.0 Trident Microsystems CyberBlade/i1 
ddd+`   `/o` :dddddddh/`   `oy-    .yddd   Memory: 27MiB / 486MiB 
hdddyo+ohddyosdddddddddho+oydddy++ohdddh
.hddddddddddddddddddddddddddddddddddddh.                           
 `yddddddddddddddddddddddddddddddddddy`                            
  `sdddddddddddddddddddddddddddddddds`
    +dddddddddddddddddddddddddddddd+
     /dddddddddddddddddddddddddddd/
      :dddddddddddddddddddddddddd:
       .hddddddddddddddddddddddh.


https://www.empowerlaptop.com/p/wafer-c400e2vr-r10/
It runs TVH no problem if have patience to compile it for 3-4 hours ;)

RE: DVB-T2 Scan not working after upgrading to 4.3 - Added by Delta Mike Charlie 10 months ago

Apologies if you have already looked at these items:

Do you still have any DVB-T1 services? If so, do they scan OK?
Have your mux definitions changed? Are they still valid for DVB-T2 services?

RE: DVB-T2 Scan not working after upgrading to 4.3 - Added by Sebastian Schwarzbrunn 10 months ago

Hey saen acro,

you´ve pointed me exactly into the right direction. With w_scan2, I was able to receive tome data on DVB-T2. And then, I remembered, that I had to use a special file for pre-defined muxes for german DVB-T2 frequencies.
The ones available from TV-Headend seems to not work correctly.
After using this: https://picockpit.com/raspberry-pi/wp-content/uploads/2022/10/aa-All.txt I was now able to get positive scan-results.
This was now on my new Ubuntu-testsytem. I´ll try that trick on the debian-system later, but I think, the channels did the trick.

However, it´s a bit strange, because the only difference is (left->shipped with tv-teadend, right->downloaded):

I´ll do further investigations on that and post the results here.

RE: DVB-T2 Scan not working after upgrading to 4.3 - Added by saen acro 10 months ago

You can generate your own init-scan with w-scan2
something as

w_scan2 -c DE -5

RE: DVB-T2 Scan not working after upgrading to 4.3 - Added by Jonas Lang 10 months ago

Most of those predefined mux tables that come with TVH are out of date. As mentioned above best to create your own tables. The w-scan2 tool will do that for you.

    (1-11/11)