Page 1 of 2

Changing delivery system from DVB-T to DVB-T2

Posted: Sat Oct 12, 2019 5:00 am
by enchesss
When opening capture cards in mythtv-setup the messages below are shown in the MythTV Setup Terminal:

CardUtil: Supported delivery systems: DVB-T DVB-T2 DVB-C/A
Changing delivery system from DVB-T to DVB-T2


No channels are found during MythTV scan

Signal is at 100% and

All channels scan and are watchable using Kaffeine

The tuner cards are set to DVB-T using the new feature in add/ edit tuner cards

It seems as though that feature to switch back to DVB-T does not work (and may be needed for Sydney Aust)

which may have been designed from bugs identified in ticket #13014

Thanks

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Sat Oct 12, 2019 9:17 am
by blm-ubunet
What happens depends on your version of MythTV & tuner hardware.

Have your tuners been configured to T2 by external program & not had a cold restart?

T/T2 switching seems to work fine with master.

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Sun Oct 13, 2019 1:17 am
by enchesss
Thanks

Attempted a cold restart - same issues

Information needed:

output of:

mythbackend --version

and

lspci -v

mythbackend --version

Please attach all output as a file in bug reports.
MythTV Version : v31-Pre
MythTV Branch :
Network Protocol : 91
Library API : 31.20190109-1
QT Version : 5.9.5

lspci -v

08:00.0 Multimedia video controller: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb (rev 04)
Subsystem: Hauppauge computer works Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb
Flags: bus master, fast devsel, latency 0, IRQ 28
Memory at f7400000 (64-bit, non-prefetchable) [s**=2M]
Capabilities: <access denied>
Kernel driver in use: cx23885
Kernel modules: cx23885

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Sun Oct 13, 2019 2:55 am
by blm-ubunet
I have the same tuner card, been using for about 1 year.

Works fine with dvb-tools v5 API. (blind scan & tzap etc of T/T2).
Before MythTV got support to autoswitch T/T2, I left 3 tuners set to "T" & one tuner free for external dvb-tools & mpv playback (cuvid HEVC).

Only bad thing about it is the use of (VHF) Belling-Lee junk instead of F connector.

Works fine with mythtv master now & setting all tuners to T2.
Full mythtv scan finds all DVB-T & T2 broadcasts.

Mythtv-setup could be running as different user to backend.
Run mythtv-setup with more logging "-v chanscan"

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Sun Oct 13, 2019 3:33 am
by enchesss
Failed to prevent change to DVB-T2 when accessing tuner card menu option after switching and saving the setting for DVB-T1.

Still fails after deleting all tuner cards and files in /dev/adapters * and hard reboot.

Can watch TV in Kaffeine - no worries

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Sun Oct 13, 2019 4:34 am
by blm-ubunet
The new myth-UI menus in mythtv-setup are horrible compared to the old ones.. It is all too easy to not save anything..

Maybe you need a later version of MythTV (mythbuntu ppa??) but I thought the T/T2 workaround just required you to set "T" mode.

I use the firmware only from Hauppauge ppa
/lib/firmware/NXP7164-2010-03-10.1.fw
/lib/firmware/NXP7164-2010-04-01.1.fw
/lib/firmware/dvb-demod-si2168-b40-01.fw
/lib/firmware/dvb-fe-ds3103.fw
/lib/firmware/dvb-tuner-si2157-a30-05.fw

tuner fw was updated in Feb 2019.

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Sun Oct 13, 2019 6:33 am
by enchesss
The tuner fw seems to be working because all channels are available in Kaffeine.

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Sun Oct 13, 2019 7:11 am
by enchesss
Confirming that all of those firmware are present.

Thanks for confirming that the card will work, however, where are you located?

Also in relation to your info:
Re:
Works fine with mythtv master now & setting all tuners to T2.
Full mythtv scan finds all DVB-T & T2 broadcasts.

Do you get all four tuners in MythTV?

What are your dBm levels and signal to noise levels?

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Sun Oct 13, 2019 7:18 pm
by blm-ubunet
The logging in mythtv is extensive.
~$ mythtv-setup -v chanscan
Delete all existing tuner card(s) & start thru the menus in sequence.

All (4) tuner adaptors show & are configured in mythtv-setup but..
I have never been able to get MythTV to use more than 3 tuners at same time.

The scheduler does have the very annoying behaviour of always deferring (preferring) to a later showing of a program & so thereby locking itself into bad (future) solution.

Signal levels shown with tools from V4L-DVB V5 API:-
~$ dvb-fe-tool -m
signal -48dBm C/N > 36dB

The values displayed in MythTV (LiveTV) appear to be indication only & do not have any real meaning.

https://www.linuxtv.org/wiki/index.php/ ... _utilities
I have compiled w_scan from source but I think there was a later version of it with more T2 fixes & better output format.
Will check later.

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Mon Oct 14, 2019 3:47 pm
by MikeB2013
A DVB-T2 capable card should just work with DVB-T multplexes, this is certainly the case here in the UK with my Hauppauge QuadHD card.
I receive DVB-T/T2 transmissions from 8 multiplexes, 5 are DVB-T and 3 are DVB-T2.

I have Delivery system set to DVB-T2 in Capture Card, with Signal and Tuning timeouts set to 7000 and 10000 respectively (I found the defaults too low under some circumstances).

I am running MythTV master (31pre) with Hauppauge kernel from https://github.com/b-rad-NDi/Ubuntu-med ... el-builder on Xubuntu 18.04 LTS.

Code: Select all

mike@myth-server-1:~$ uname -a
Linux myth-server-1 5.0.0-32201910022001-generic #1+mediatree+hauppauge~hwe-Ubuntu SMP Fri Oct 4 00:55:56 UTC 201 x86_64 x86_64 x86_64 GNU/Linux
The current stock kernel version in Ubuntu 5.0.0-31-generic #33~18.04.1-Ubuntu SMP Tue Oct 1 10:20:39 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux may or may not fully support QuadHD cards. Hauppauge have been getting their driver changes incorporated into mainline kernels, but it takes a long time and Ubuntu do not upgrade to latest kernel releases.

Mike

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Mon Oct 14, 2019 7:35 pm
by blm-ubunet
Your kernel is not stock.. you're running HWE kernel from 3rd party ppa.

Std kernel in *buntu 18.04 is fine for running this tuner card.
You don't need the Hauppauge ppa except for firmware (possibly but unlikely now).

And if you're using Nvidia video card, you can't use that ppa, you always had to compile media-drivers backports from LinuxTV.

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Wed Oct 16, 2019 8:07 am
by MikeB2013
blm-ubunet wrote:
Mon Oct 14, 2019 7:35 pm
Your kernel is not stock.. you're running HWE kernel from 3rd party ppa.

And if you're using Nvidia video card, you can't use that ppa, you always had to compile media-drivers backports from LinuxTV.
Yes, kernel build is slightly modified (as is a Ubuntu kernel) , changes are documented.

You can use Nvidia graphics, my NVIDIA GPU GeForce GTX 1050 Ti (GP107-A) works correctly (nvidia driver 430.26).

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Wed Oct 16, 2019 9:12 pm
by blm-ubunet
Your kernel is HWE version.

I'm sure in past with 14.04, the Hauppauge ppa did not support DKMS & so Nvidia driver was not possible.
Great that they have sorted that.

This tuner card worked fine (T/T2) with HWE kernel in 14.04 with backports from LinuxTV v4l-dvb.
And you reported it as working okay almost 2 years ago.
And AFAICT the standard kernel in 18.04.x LTS appears to be fine for this tuner card.
Even the firmware is probably in the std repos.
So that ppa does not appear to be necessary & just another point of failure/risk/confusion/delay.

Do you see any commits in Hauppauge change log related to this tuner card or T/T2 support in general?

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Thu Oct 17, 2019 10:00 am
by lynnux
> No channels are found during MythTV scan
I have come across this several times trying to scan all multiplexes in one fell swoop. Increasing tuning timeouts didn't help.
My workaround was to do a tuned scan, one multiplex at a time.
It really helped me to run mythtv-setup from the command line using a small window geometry such that you can see error messages pop up that you would miss otherwise:

Code: Select all

mythtv-setup --geometry 1280x960 -O libCECEnabled=0
(In the UK, on an Rpi4, HDHomeRun Quatro with Mythtv 30 the all channel tuning silently failed with some malloc type error IIRC.)

Bob

Re: Changing delivery system from DVB-T to DVB-T2

Posted: Thu Oct 17, 2019 7:02 pm
by blm-ubunet
@lynnux
Add "-v chanscan" to your cmd line options.

The MythTV scan report is very informative.