neumoDVB

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,233
Reaction score
4,202
Points
113
Age
81
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
That's quite some list to take in deeptho, thanks. I'll check out your new release in due course. Diseqc dish driving not relevant to me, I use a separate positioner.
I did a git pull on tsduck today, and reported libraries already updated.
 

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
701
Reaction score
422
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
I gave up Clang-10 for Clang - 11.Unfortunately with the same error 2. What exactly does this error generate? Who can tell me? Thanks.

Added:meanwhile deeptho releases a new version of Neumodvb. I'll try this one. Who knows, maybe I'll make it.
Added 1: Reading the news that brings the new version, I realize that the installation procedure of Neumodvb has not changed. So elsewhere I have to look for the solution ?!
Satesco, the problem is this python3.8 library and/or the absence of the proper python3.9 library. SO just remove python3.8 and install all required dependencies.
 

Satspot

Member
Joined
Sep 3, 2021
Messages
587
Reaction score
199
Points
43
Age
61
My Satellite Setup
Technomate TM5402 M4
1.2m Triax dish
Technomate H to H motor
My Location
Ireland
I have just released neumodvb-0.7.0. A list of changes can be found below.
Note that correct t2mi handling also requires downloading, compiling and
then installing tsduck from git, as it contains a bug.

You may also have to upgrade to the latest drivers to avoid some bugs.

neumoDVB works best on tbs 6909x or tbs6903x. It can also work with
other cards, but then functions like blindscan and spectrum scan will not work.

neumoDVB should also work with regular linux DVB drivers, but this is not well tested either.
If you experience problems with non supported cards, you can try both the regular tbs drivers and
my blindscan driver because the bugs can differ....

Such errors will be fixed when reported but non-supported cards and regular drivers are not well
tested. Although not intended - the GUI might also crash if you use unsupported functions.

Last but not least: neumoDVB also supports DVB-C (has been tested) and is intended to
work on DVB-T2. DVB-T2 has never been tested and probably does not work. The needed fixes
(if any) are probably minor, but I cannot receive any DVB-T(2) here...

-------------------
Positioner related

-More consistent layout of positioner dialog. Disable some functions when unusable

-Fixes for diseqc12, e.g., new diseqc12 value not stored when user updates it

-Positioner bug fixes: send diseqc switch commands before sending any positioner command;
report better error messages in GUI; properly handle continuous motion.

-Send diseqc switch commands before spectrum scan to avoid scanning the wrong lnb

-Prevent dish movement during mux scan

-Satellite is now only shown as "confirmed" (no question mark) if the position was actually
found in the NIT table.

-Positioner dialog: show SNR and constellation even when tuner is not locked

-Avoid interference between positioner dialog and mux scan

-Disallow starting positioner dialog from some screens, when context does not allow guessing which
lnb the user wants to use

-In positioner dialog allow negative SNRs. Yes, there are muxes which lock with a negative SNR!

-Documentation of positioner commands

-Allow rotors which can rotate by more than 65 degrees. The old code used to cause a goto south
in this case.

-------------------
Scanning related:

-Mux tables now show the source of the mux information. For instance if the frequency
was found in the NIT table or rather from the tuner and if sat position was guessed or
found in NIT

-Improved handling of bad data while scanning muxes:
0 frequency (7.3W 11411H) or other nonsensical values;
contradictory information in muxes from 0.8W and 1.0W;
invalid satellite positions;
on 42.0E, muxes are being reported as from 42.0W;
some muxes report AUTO for modulation
incorrect polarisation reported in C-band reuters mux on 22W;
incorrect polarisation reported on 7.3W 11411H
22.0E 4181V and other muxes which claim QAM_AUTO in NIT

-Fixed incorrectly reported roll-offs (may require driver update)

-Correctly handle some cases where mux or blindscan never finish

-Remove "scan-in-progress" data from database at startup to avoid an old scan from
restarting when neumoDVB is restarted

-Improved handling of muxes reported on nearby satellites (e.g., 0.8W and 1.0W). Avoid creating
duplicates in this case. The downside is that when scanning e.g., 0.8W the found mux may
appear in the list for 1.0W and thus confuse the user

-Fixed incorrect display of scan status on mux list when mux scan is in progress

-Fixed bug where incorrect pls_code and pls_mode was retrieved from driver

-Correctly save DVBS2 matype in the database and do not show this value for DVBS

-Fix incorrect lock detection

-When scanning multistreams: retain tuning info when scanning next stream

-Spectrum blindscan now moves faster to the next candidate peak when mux does not contain
a DVB stream


-------------------
t2mi related:


-Fixed corruption in t2mi streams. This requires a patched tsduck as well.

-Improved handling of non-t2mi DVB-T service information on DVB-S muxes. Avoid entering
such muxes as DVB-T

-correctly handle duplicate packets in transport streams; tsduck needs to be patched
to also handle t2mi streams correctly

------------
GUI related

-Handle some corruption in service and mux list

-Various GUI improvements.

-Changed key-binding for activating edit-mode.

-New "status list" screen shows which adapters are active and what they are doing

-Fix some crashes when ending program

-Fix some errors when service list is empty

-Allow user to select a stream_id even when dvb streams reports incorrectly that stream is not multistream

-Correctly update recordings screen when database changes

-Minimum RF level shown on live screen is now lower than before

-Fixed some issues with list filtering


------------
Other

-Fixed some bugs in the code used to look up muxes. For instance, in rare cases a mux with
the wrong polarization was returned

-Fixed bug: lnb offset correction was applied in wrong direction on C band

-Detection of whether dish needs to be moved was sometimes incorrect; database now contains
the ultimate truth on this.

-Fixes to support ubuntu 20.04

-Fixed race between closing and then reopening the same frontend, which caused sporadic assertions.

-correctly release lnb in more cases then before: when user closwes window; when spectrum blindscan
finishes

-various other bugs


=========================
All I can say @deeptho is bloody brilliant work. I hope these guys appreciate all your hard work. Very few left around that would put the time and energy into a project like this free of charge. I love your coding too.
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,233
Reaction score
4,202
Points
113
Age
81
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
The latest incarnation of neumodvb is allowing me to resolve T2Mi channels. A grab of a channel on 40E -

40E 3685H T2MI.png

Next is to do a spectrum scan of the 40E channels to see if I have the full service information (at least the ones I can lock :( )
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,233
Reaction score
4,202
Points
113
Age
81
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
@satesco

Your neumodvb build - I notice you had a missing clang++ bringing up the error flag -

neumodvb satesco build error.JPG



Should be installed in /usr/bin. If not, as root, do ln -s /usr/bin/c++ /usr/bin/clang++

That was something I needed to do when I compiled the Blindscan app.
 

satesco

Specialist Contributor
Joined
Aug 10, 2008
Messages
1,930
Reaction score
2,688
Points
113
My Satellite Setup
seven antennas,one toroidal with 16 lnbs,
6 satellite receivers,2 Meters,9 PC cards(tbs6983,6903,6590,6504,6522,6209,2603,6909X,6903X,6902se,skystar hd2),2 tuners usb-tbs5927 & tbs5925,Skystar HD.
Satellite reception between 100.5E-50.0W
My Location
Romania
Thanks, @Llew for the comment. Unfortunately, because I kept installing and uninstalling applications and dependencies, Ubuntu gave me unrecoverable errors :( That forced me to reinstall the system and start over. I'll come back when I'm done :)
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,233
Reaction score
4,202
Points
113
Age
81
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
Multiscreen test of T2MI channels on 40E 3685L.

All screens are active video with their babel of voices. The channels appear immediately as you choose each one, and you don't lose some of the screens occasionally, which I often find with the 4T2 Content Analyser.

40E 3686 Mosaic.png
 

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
701
Reaction score
422
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
Llew,

nice result. Today I fixed more problems. The next version of neumoDVB will discover all these t2mi streams on 40E automatically,
at least if I can fix some more bugs :->
 

satesco

Specialist Contributor
Joined
Aug 10, 2008
Messages
1,930
Reaction score
2,688
Points
113
My Satellite Setup
seven antennas,one toroidal with 16 lnbs,
6 satellite receivers,2 Meters,9 PC cards(tbs6983,6903,6590,6504,6522,6209,2603,6909X,6903X,6902se,skystar hd2),2 tuners usb-tbs5927 & tbs5925,Skystar HD.
Satellite reception between 100.5E-50.0W
My Location
Romania
Llew,
all of this is very useful. Although most of the problems so far were about installation,
it is exactly those problems that will frustrate users most.
To lessen the frustration of a noobs when installing your drivers, I suggest using the install.sh script. With the command "make allyesconfig and make -j8" the graphic resolution changes (from 1920x1080 to 1200x740), so it's a big problem to fix it. Although TBS still uses this command to install tbs drivers, there is the alternative .sh script, which is an easier and faster way to install. Still, it doesn't change the monitor resolution regardless of the kernel installed.
UNFORTUNATELY, all my work using your application is compromised because I installed the drivers with your command line. That's why I have to start over installing blindscan and neumodvb, of course, after I reinstall Ubuntu.
I should also add that for the installation of Neumodvb are needed a lot of files and dependencies; plus, we have to be careful which versions of each application we use for your application, which we can't find unless we browse all google. I don't know if it's too much of a claim to mention all the files needed to compile neumodvb.
Thank you with gratitude :)
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,233
Reaction score
4,202
Points
113
Age
81
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
satesco, I did list the Debian versions of deeptho's Fedora dependencies by searching and finding all the necessary Ubuntu libs that correspond to the Fedora ones (where needed).
They are listed in the neumoDVB Install document.
 

satesco

Specialist Contributor
Joined
Aug 10, 2008
Messages
1,930
Reaction score
2,688
Points
113
My Satellite Setup
seven antennas,one toroidal with 16 lnbs,
6 satellite receivers,2 Meters,9 PC cards(tbs6983,6903,6590,6504,6522,6209,2603,6909X,6903X,6902se,skystar hd2),2 tuners usb-tbs5927 & tbs5925,Skystar HD.
Satellite reception between 100.5E-50.0W
My Location
Romania
Hi Llew,
Thanks for your generosity and willingness to come to our aid. Even if you have been helped to install @deeptho's application, you in turn are helping others, myself included. I consulted the list of dependencies and it was helpful when I installed Neumodvb.
It occurred to me to switch to Fedora precisely because the chances of success are higher; but I want to continue working on Ubuntu, because I'm used to this Linux, but also for other reasons. And on the other hand, if @deeptho created his application on Fedora, it doesn't mean it's not valid for other Linux variants. It must work on all systems, so I don't see the point for which he created his application.
But I think my suggestion that @deeptho writes the .sh script for the drivers remains valid and might help newcomers to Linux to want to install his application.
Anyway, if I need help, I'll definitely turn to you as well :)
 

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
701
Reaction score
422
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
To lessen the frustration of a noobs when installing your drivers, I suggest using the install.sh script. With the command "make allyesconfig and make -j8" the graphic resolution changes (from 1920x1080 to 1200x740), so it's a big problem to fix it. Although TBS still uses this command to install tbs drivers, there is the alternative .sh script, which is an easier and faster way to install. Still, it doesn't change the monitor resolution regardless of the kernel installed.
UNFORTUNATELY, all my work using your application is compromised because I installed the drivers with your command line. That's why I have to start over installing blindscan and neumodvb, of course, after I reinstall Ubuntu.
I should also add that for the installation of Neumodvb are needed a lot of files and dependencies; plus, we have to be careful which versions of each application we use for your application, which we can't find unless we browse all google. I don't know if it's too much of a claim to mention all the files needed to compile neumodvb.
Thank you with gratitude :)
Satesco,

unfortunately documenting all the steps for compilation is no use if people don't read them,...

Ayway: About the install.sh script: I never heard of it, but I assume that it installs fewer modules and that perhaps the standard approach overrwites
somethig crucial regarding the display driver (I read about that but never encountered a problem like that), but which has nothing to do with the actual drivers.

It is of course possible to first make a copy of the installed kernel modules.
If something goes wrong you can restore everything as it was.

The way of building the kernel modules is indeed not optimal right now.
Everybody knows that, but it takes time and effort to fix these things. I know how to do it but there are many tbs drivers and it
is a lot of work
 

satesco

Specialist Contributor
Joined
Aug 10, 2008
Messages
1,930
Reaction score
2,688
Points
113
My Satellite Setup
seven antennas,one toroidal with 16 lnbs,
6 satellite receivers,2 Meters,9 PC cards(tbs6983,6903,6590,6504,6522,6209,2603,6909X,6903X,6902se,skystar hd2),2 tuners usb-tbs5927 & tbs5925,Skystar HD.
Satellite reception between 100.5E-50.0W
My Location
Romania
The TBS team came up with the .sh script solution for those who had problems changing the graphics card resolution after some of the users installed the tbs card drivers on Ubuntu 20.04. So far, only on this version of Ubuntu are their problems with swiping the resolution. I was one of those users, and I was able to install drivers regardless of the kernel version installed with this script. Since then, I haven't had any problems with the graphics card resolution.
Here's the executable for CrazyCat's script and the command line with which the drivers are installed.
You can find it at media_build/install.sh :
#!/bin/bash
# Enable some staging drivers
make stagingconfig
# Disable RC/IR support
sed -i -r 's/(^CONFIG.*_RC.*=)./\1n/g' v4l/.config
sed -i -r 's/(^CONFIG.*_IR.*=)./\1n/g' v4l/.config
echo "V4L drivers building..."
make -j$(nproc)
echo "V4L drivers installing..."
sudo rm -r -f /lib/modules/$(uname -r)/updates/extra
sudo make install
echo "V4L drivers installation done"
echo "You need to reboot..."

"git clone GitHub - tbsdtv/media_build -b extra
git clone --depth=1 GitHub - tbsdtv/linux_media: TBS linux open source drivers -b latest ./media
cd media_build
make dir DIR=../media
./install.sh"
I hope it is not so difficult for you to be able to adapt your driver for installation via sh.
Regards




 

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
701
Reaction score
422
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
Satesco,

the only thing that this does different is "make stagingconfig" instead of "make allyesconfig".
Stagingconfig means: "
Select all modules, plus all staging modules. The
staging drivers are there because they may have
bad userspace API's, serious bugs and/or not fill
into Kernel required level of quality. So, be
careful with those drivers.
So it adds a few bad drivers of low quality, perhaps for your video card. So it all seems like a temporary hack
for a temporary problem which is really related to media_build and the linux kernel. This is the problem of media_build:
it rebuilds much more than the drivers and then installs a lot of unneeded stuff. Sometimes that creates problems.

media_build for tbs is probably in trouble now. crazycat was maintaining this, but as we all know, he is now
is the victim of a war.

In any case, there is probably nothing to adapt in my drivers. If you want to build like that, the procedure
below, with install.sh, will just work and should do almost the same as the instructions I gave.
This could mean that it also gives you trouble because I am not convinced that the install.sh script makes any difference
(I have not tried it). Note that I also select a very specific media_build version. The only reason for that is that
I know that i works for the kernel I recommend (5.13.16). With media_build you need to count on some luck. So changing
versions can help.


git clone --depth=1 GitHub - deeptho/linux_media: TBS linux open source drivers ./media
git clone GitHub - tbsdtv/media_build
cd media_build
git checkout ffcdfed96c45c8e80ffd6a154c16d64c81416010
make dir DIR=../media
make distclean # still recommended
sudo ./install.sh

If something goes, wrong, just renstall the ubuntu kernel.
Something with apt-get or aptitude, but I do not know ubuntu.
Probably just a single command and then a reboot.
 

satesco

Specialist Contributor
Joined
Aug 10, 2008
Messages
1,930
Reaction score
2,688
Points
113
My Satellite Setup
seven antennas,one toroidal with 16 lnbs,
6 satellite receivers,2 Meters,9 PC cards(tbs6983,6903,6590,6504,6522,6209,2603,6909X,6903X,6902se,skystar hd2),2 tuners usb-tbs5927 & tbs5925,Skystar HD.
Satellite reception between 100.5E-50.0W
My Location
Romania
Hi Deeptho,

As they say, there is good in every evil. On this occasion, I found out why the resolution changes to Ubuntu 20.04. For a layperson, your diagnosis is welcome. Thanks for that.
I tried to install the driver with the command line provided by you (above). For some reason that escapes me, the two(links) git clones in the command don't work. In the end, I installed CrazyCat's driver.
What is the difference between his driver and yours?
I almost managed to installed neumodvb, but I got four errors that I don't know how to fix, which seem easy at first glance. Maybe you can help me find the solutions.
1. clang-format: not found!
- I have installed clang-format but I don't know why it shows up as missing.

2, cc1: warning: command line option ‘-fsized-deallocation’ is valid for C++/ObjC++ but not for C o.
- Although the answer seems obvious, I failed to -f for sized-deallocation for C.

3. ".../usr/include/gtk-3.0/gdk/gdktypes.h:143:39: error: typedef redefinition with different types ('struct _GdkWindow' vs 'struct _GdkDrawable')
typedef struct _GdkWindow GdkWindow; .
.."-
- I admit I don't know how to fix this error.

4. "1 error generated.
make[2]: *** [src/receiver/CMakeFiles/pyreceiver.dir/build.make:89: src/receiver/CMakeFiles/pyreceiver.dir/subscriber_pybind.cc.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1300: src/receiver/CMakeFiles/pyreceiver.dir/all] Error 2

make: *** [Makefile:130: all] Error 2"

But better, as you have more time and availability, I will add the file with the installation of neumodvb to tell me how to remove the errors reported.
Kind regards
 

Attachments

  • neumodvb build.zip
    10.8 KB · Views: 15

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
701
Reaction score
422
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
Satesco,
crazycat;s driver does not have blindscan.
1. is a matter of installing. Not sure what it means for ubuntu
2. can be ignored
3. you are using the wrong version of something gtk3 related. I have version 3.24
4. just means that it can't continue because of 3
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,233
Reaction score
4,202
Points
113
Age
81
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
".../usr/include/gtk-3.0/gdk/gdktypes.h:143:39: error: typedef redefinition with different types ('struct _GdkWindow' vs 'struct _GdkDrawable')
typedef struct _GdkWindow GdkWindow; .
.."-
In my Ubuntu Mint, I have version gtk-3.0 in my /usr/include satesco. And line 143 in gtktypes.h has typedef struct _GdkWindow GdkWindow.

Not much help maybe, just confirming the gtk-3.0 version number.
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,233
Reaction score
4,202
Points
113
Age
81
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
Might help to see my NeumoDVB build complete for comparison?
 

Attachments

  • neumodvb build complete_2.zip
    10.4 KB · Views: 14

deeptho

Specialist Contributor
Joined
Apr 7, 2006
Messages
701
Reaction score
422
Points
63
Age
57
My Satellite Setup
Wavefrontier T90, Laminas 120cm, 2 other dishes; tbs 5927, tbs6904, tbs6909x, tbs6903x, tbs5990, tbs6981,tbs5927
My Location
Europe
satesco,
your gtk-version number is not listed. It is NOT 3.0
 

Llew

cerca trova...
Staff member
Joined
Jan 1, 2000
Messages
16,233
Reaction score
4,202
Points
113
Age
81
My Satellite Setup
Triple Dragon, Dreambox 8000, Echostar AD3000ip, TBS6522,6925,6983 PCie cards.
Gibertini 1.25m motorised dish driven by the AD3000, with either Inverto BU Quad or Norsat / XMW Ka LNBs . SMW 1.05m + 3 other dishes. Speccy: Promax HD Ranger+
My Location
The Flatlands of East Anglia
satesco, did you miss including these from my Ubuntu dependency list? - libwxgtk3.0-gtk3 libgtk-dev.
 
Top