Moderator Control Panel ]

6903X Problem Tuning

6903X Problem Tuning

Postby bardoc » Thu Oct 27, 2022 3:26 pm

Hello, everybody!
I have a problem tuning TBS6903X in Linux.
If I first tune the card to a DVBS2 transponder, then it doesn't tune to DVBS until rebooting the computer.

I am using the latest drivers from:
git clone --depth=1 https://github.com/tbsdtv/linux_media.git -b latest ./media
bardoc
 
Posts: 10
Joined: Wed May 24, 2017 3:30 pm

Re: 6903X Problem Tuning

Postby smile » Mon Oct 31, 2022 10:28 am

Hi sir
what is the application and search parameters you used?
Could you show me that?

Best regards
smile
 
Posts: 164
Joined: Sun Oct 09, 2011 9:51 am

Re: 6903X Problem Tuning

Postby bardoc » Mon Oct 31, 2022 6:17 pm

Hello 'smile', thnx for your reply!
That's the example of my code tuning the 6903X card by steps.
(https://github.com/tbsdtv/media_build/t ... ra/tune-s2)

1) I try to tune the card to some DVB-S2 signal. Result - the signal is locked.
2) After that I try to tune the card to some DVB-S signal. Result - the signal is not locked even after 20 sec waiting.
3) I reboot the tbsecp3 driver (or restart the computer).
4) I try to tune the card to the same DVB-S signal as in step 2. Result - the card is immediately successfully tuned to the DVB-S signal.

1)
Code: Select All Code
>./tune-s2 1804 V 30000 -lnb IF -system DVB-S2 -modulation 8PSK
LNB: low: 0 high: 0 switch: 0
opening: /dev/dvb/adapter0/frontend0
frontend: (TurboSight TBS 6903x (Dual DVB-S/S2/S2X))
fmin 950 MHz
fmax 2150 MHz
min_sr 100 Ksps
max_sr 520000 Ksps
LOW band

Tuned specs:
System:     DVB-S2 6
Frequency:  1804 V 30000
22khz:      OFF
Modulation: 8PSK 9
FEC:        3/4 3
Inversion:  ON 1
Rolloff:    25 2
Pilot:      ON 1
MIS:        -1
Bandwidth:  37.5000 MHz
Data Rate:  66.1500 Mbps
CN Failure: 7.9 dB

status Locked | signal -55.9 dBm | snr 14.6 dB | ber 0 | FE_HAS_LOCK


2)
Code: Select All Code
>./tune-s2 1727 V 27999 -lnb IF -system DVB-S -modulation QPSK
LNB: low: 0 high: 0 switch: 0
opening: /dev/dvb/adapter0/frontend0
frontend: (TurboSight TBS 6903x (Dual DVB-S/S2/S2X))
fmin 950 MHz
fmax 2150 MHz
min_sr 100 Ksps
max_sr 520000 Ksps
LOW band

Tuned specs:
System:     DVB-S 5
Frequency:  1727 V 27999
22khz:      OFF
Modulation: QPSK 0
FEC:        AUTO 9
Inversion:  AUTO 2
Rolloff:    AUTO 3
Pilot:      ON 2
MIS:        -1
Bandwidth:  27.9990 MHz
Data Rate:  -nan Mbps
status Unlocked | signal -44.6 dBm | snr 0.0 dB | ber 0 |


3)
Code: Select All Code
>sudo rmmod tbsecp3 stid135                                   
>sudo modprobe tbsecp3


4)
Code: Select All Code
>./tune-s2 1727 V 27999 -lnb IF -system DVB-S -modulation QPSK
LNB: low: 0 high: 0 switch: 0
opening: /dev/dvb/adapter0/frontend0
frontend: (TurboSight TBS 6903x (Dual DVB-S/S2/S2X))
fmin 950 MHz
fmax 2150 MHz
min_sr 100 Ksps
max_sr 520000 Ksps
LOW band

Tuned specs:
System:     DVB-S 5
Frequency:  1727 V 27999
22khz:      OFF
Modulation: QPSK 0
FEC:        7/8 7
Inversion:  ON 1
Rolloff:    35 0
Pilot:      ON 2
MIS:        -1
Bandwidth:  37.7987 MHz
Data Rate:  45.1553 Mbps
CN Failure: 7.2 dB

status Locked | signal -55.8 dBm | snr 15.7 dB | ber 0 | FE_HAS_LOCK
bardoc
 
Posts: 10
Joined: Wed May 24, 2017 3:30 pm

Re: 6903X Problem Tuning

Postby smile » Thu Nov 03, 2022 3:00 pm

Could you try the dvblast?
dvbs :dvblast -f 172700 -s 27999000 -v 13 -5 dvbs -a 0
dvbs2 : dvblast -f 1804000 -s 30000000 -v 13 -m psk_8 -5 dvbs2 -a 0

Best Regards
smile
 
Posts: 164
Joined: Sun Oct 09, 2011 9:51 am

Re: 6903X Problem Tuning

Postby s0nnenschein » Thu Jan 12, 2023 2:03 am

I think you missed one parameter in tune-s2 in order to quit.
s0nnenschein
 
Posts: 23
Joined: Sat Jun 09, 2018 4:38 pm

Re: 6903X Problem Tuning

Postby mrwish » Sun Jul 09, 2023 5:14 pm

I am having a similar problem to this - my new TBS6903X card seems to have tuning issues after tuning a DVB-S2 multi input stream transponder.

I am using the open source drivers as built from here - https://github.com/tbsdtv/linux_media/wiki on a machine running Ubuntu 22.04 LTS. The drivers build successfully and with the firmware I get the two adapters of the TBS6903X successfully registered on boot -

Code: Select All Code
[    4.528177] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)
[    6.955169] dvbdev: DVB: registering new adapter (TBSECP3 DVB Adapter)


At first, I am able to successfully tune standard DVB-S and DVB-S2 transponders -

Satellite: Eutelsat 5WB 5°W TP: 10971 V 29950 DVB-S2 8PSK 2/3

Code: Select All Code
tune-s2 10971 V 29950 -system DVB-S2 -lnb UNIVERSAL -adapter 0
LNB: low: 9750 high: 10600 switch: 11700
opening: /dev/dvb/adapter0/frontend0
frontend: (TurboSight TBS 6903x (Dual DVB-S/S2/S2X))
fmin 950 MHz
fmax 2150 MHz
min_sr 100 Ksps
max_sr 520000 Ksps
LOW band

Tuning specs:
System:     DVB-S2
Frequency:  10971 V 29950
22khz:      OFF
Modulation: QPSK
FEC:        AUTO
Inversion:  AUTO
Rolloff:    AUTO
Pilot:      AUTO
Tuned specs:
System:     DVB-S2 6
Frequency:  10971 V 29950
22khz:      OFF
Modulation: 8PSK 9
FEC:        2/3 2
Inversion:  ON 1
Rolloff:    20 1
Pilot:      OFF 0
FRAME_LEN:  LONG 0
Bandwidth:  35.9400 MHz
Data Rate:  58.7020 Mbps
CN Failure: 6.6 dB

status Locked | signal -31.2 dBm | snr 13.0 dB | ber 0 | FE_HAS_LOCK


Satellite: Eutelsat 5WB 5°W TP: 11454 H 543 DVB-S QPSK 1/2

Code: Select All Code
tune-s2 11454 H 543 -system DVB-S -lnb UNIVERSAL -adapter 0
LNB: low: 9750 high: 10600 switch: 11700
opening: /dev/dvb/adapter0/frontend0
frontend: (TurboSight TBS 6903x (Dual DVB-S/S2/S2X))
fmin 950 MHz
fmax 2150 MHz
min_sr 100 Ksps
max_sr 520000 Ksps
LOW band

Tuning specs:
System:     DVB-S
Frequency:  11454 H 543
22khz:      OFF
Modulation: QPSK
FEC:        AUTO
Inversion:  AUTO
Rolloff:    AUTO
Pilot:      AUTO
Tuned specs:
System:     DVB-S 5
Frequency:  11454 H 543
22khz:      OFF
Modulation: QPSK 0
FEC:        1/2 1
Inversion:  ON 1
Rolloff:    35 0
Pilot:      ON 2
FRAME_LEN:  LONG 0
Bandwidth:  0.7331 MHz
Data Rate:  0.5004 Mbps
CN Failure: 2.7 dB

status Locked | signal -45.9 dBm | snr 18.6 dB | ber 0 | FE_HAS_LOCK


I then try to tune a transponder using multi input stream with PLS. I'm using tsduck rather than tune-s2 for this step to be able to access the PLS parameters -

Satellite: Eutelsat 5WB TP: 12732 V 29500 DVB-S2 8PSK 8/9 PLS GOLD+50416 MIS 1

Code: Select All Code
tsp -v -I dvb -a 0 --delivery-system DVB-S2 --frequency 12732000000 --symbol-rate 29500000 --polarity V --modulation 8-PSK --isi 1 --pls-code 50416 --pls-mode GOLD -O drop
* dvb: using /dev/dvb/adapter0 (DVB-S, DVB-S2, DSS)
* dvb: tuned to transponder --delivery-system DVB-S2 --frequency 12,732,000,000 --symbol-rate 29,500,000 --fec-inner auto --polarity vertical --modulation 8-PSK --pilots off --roll-off 0.35 --isi 1 --pls-code 50416 --pls-mode GOLD --lnb Extended --satellite-number 0
* dvb: locked: yes, strength: -33.311 dB, SNR: 13.6 dB
* dvb: actual tuning options: --delivery-system DVB-S2 --frequency 12,732,000,000 --symbol-rate 29,500,000 --fec-inner 8/9 --polarity vertical --modulation 8-PSK --pilots on --roll-off 0.35 --isi 1 --pls-code 50416 --pls-mode GOLD --lnb Extended --satellite-number 0 --spectral-inversion on
* dvb: initial input bitrate is 76,284,762 b/s


This again locks successfully. However, if I then try to lock any plain DVB-S2 transponder again the tuning fails. Here in both tsduck/tsp and tune-s2 for the same 10971V transponder as I tried first -

Code: Select All Code
tsp -v -I dvb -a 0 --delivery-system DVB-S2 --frequency 10971000000 --symbol-rate 29950000 --polarity V --modulation 8-PSK --pilots on --roll-off 0.20 -O drop
* dvb: using /dev/dvb/adapter0 (DVB-S, DVB-S2, DSS)
* dvb: tuned to transponder --delivery-system DVB-S2 --frequency 10,971,000,000 --symbol-rate 29,950,000 --fec-inner auto --polarity vertical --modulation 8-PSK --pilots on --roll-off 0.20 --lnb Extended --satellite-number 0
* Error: dvb: no input signal lock after 5000 milliseconds


Code: Select All Code
tune-s2 10971 V 29950 -system DVB-S2 -lnb UNIVERSAL -adapter 0
LNB: low: 9750 high: 10600 switch: 11700
opening: /dev/dvb/adapter0/frontend0
frontend: (TurboSight TBS 6903x (Dual DVB-S/S2/S2X))
fmin 950 MHz
fmax 2150 MHz
min_sr 100 Ksps
max_sr 520000 Ksps
LOW band

Tuning specs:
System:     DVB-S2
Frequency:  10971 V 29950
22khz:      OFF
Modulation: QPSK
FEC:        AUTO
Inversion:  AUTO
Rolloff:    AUTO
Pilot:      AUTO
Tuned specs:
System:     DVB-S2 6
Frequency:  10971 V 29950
22khz:      OFF
Modulation: QPSK 0
FEC:        AUTO 9
Inversion:  AUTO 2
Rolloff:    AUTO 3
Pilot:      ON 2
FRAME_LEN:  LONG 0
Bandwidth:  29.9500 MHz
Data Rate:  -0.0895 Mbps
status Unlocked | signal -21.4 dBm | snr 0.0 dB | ber 0 |


'Plain old' DVB-S transponders continue to be able to lock successfully -

Code: Select All Code
tune-s2 11454 H 543 -system DVB-S -lnb UNIVERSAL -adapter 0
LNB: low: 9750 high: 10600 switch: 11700
opening: /dev/dvb/adapter0/frontend0
frontend: (TurboSight TBS 6903x (Dual DVB-S/S2/S2X))
fmin 950 MHz
fmax 2150 MHz
min_sr 100 Ksps
max_sr 520000 Ksps
LOW band

Tuning specs:
System:     DVB-S
Frequency:  11454 H 543
22khz:      OFF
Modulation: QPSK
FEC:        AUTO
Inversion:  AUTO
Rolloff:    AUTO
Pilot:      AUTO
Tuned specs:
System:     DVB-S 5
Frequency:  11454 H 543
22khz:      OFF
Modulation: QPSK 0
FEC:        1/2 1
Inversion:  ON 1
Rolloff:    35 0
Pilot:      ON 2
FRAME_LEN:  LONG 0
Bandwidth:  0.7331 MHz
Data Rate:  0.5004 Mbps
CN Failure: 2.7 dB

status Locked | signal -45.9 dBm | snr 18.7 dB | ber 0 | FE_HAS_LOCK


I can also intermittently tune other MIS/PLS transponders, but the MPEG-TS data seems to be corrupt, even though the SNR is well above the lock level (my older TBS6905 card locks the transponder successfully with no errors) -

Code: Select All Code
tsp -v -I dvb -a 0 --delivery-system DVB-S2 --frequency 11013000000 --symbol-rate 35300000 --polarity V --modulation 8-PSK --isi 3 --pls-code 131070 --pls-mode GOLD -O file rai.ts
* dvb: using /dev/dvb/adapter0 (DVB-S, DVB-S2, DSS)
* dvb: tuned to transponder --delivery-system DVB-S2 --frequency 11,013,000,000 --symbol-rate 35,300,000 --fec-inner auto --polarity vertical --modulation 8-PSK --pilots off --roll-off 0.35 --isi 3 --pls-code 131070 --pls-mode GOLD --lnb Extended --satellite-number 0
* dvb: locked: yes, strength: -32.518 dB, SNR: 11.8 dB
* dvb: actual tuning options: --delivery-system DVB-S2 --frequency 11,013,000,000 --symbol-rate 35,300,000 --fec-inner 2/3 --polarity vertical --modulation 8-PSK --pilots on --roll-off 0.20 --isi 3 --pls-code 131070 --pls-mode GOLD --lnb Extended --satellite-number 0 --spectral-inversion on
* dvb: initial input bitrate is 68,328,737 b/s
* file: creating file rai.ts


The file shown with errors -

Image

These MIS/PLS transponders also now don't always lock, and require locking a DVB-S transponder first before they'll work again (almost as if locking DVB-S 'resets' something).

But no regular DVB-S2 transponders will lock at all after tuning the PLS/MIS transponder, whatever I try. The only way to make the card tune them again is to reboot the computer. It then works again until tuning a PLS/MIS transponder.

This is a frustrating issue because it's difficult to work out whether it's hardware-related or if it's a problem with the driver code. Any help would be very appreciated! Thanks
mrwish
 
Posts: 4
Joined: Tue Jul 30, 2019 3:40 am

Re: 6903X Problem Tuning

Postby crazycat » Mon Jul 10, 2023 11:27 pm

mystic case :) need check
crazycat
 
Posts: 526
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkov

Re: 6903X Problem Tuning

Postby mrwish » Wed Jul 12, 2023 3:06 am

crazycat Wrote:mystic case :) need check


It's very strange, reloading the driver also makes it start to work again -

Code: Select All Code
sudo modprobe -r tbsecp3
sudo modprobe tbsecp3


But tuning MIS/PLS stops it working as before. Some PLS transponders seem to give correct data, e.g. 12732V GOLD 50416 MIS 1 on 5W with France 2, France 3 etc works OK, but the Rai transponders like 11013V GOLD 131070 have missing packets. The signal level is well above the lock threshold in both cases.

I wonder if it's a hardware problem with my TBS card? :(
mrwish
 
Posts: 4
Joined: Tue Jul 30, 2019 3:40 am

Re: 6903X Problem Tuning

Postby crazycat » Wed Jul 12, 2023 3:48 am

try stid135 module mis options:
options stid135 mis=1
crazycat
 
Posts: 526
Joined: Mon Jan 31, 2011 2:46 am
Location: Ukraine, Kharkov

Re: 6903X Problem Tuning

Postby mrwish » Thu Jul 13, 2023 6:15 pm

crazycat Wrote:try stid135 module mis options:
options stid135 mis=1


Thanks crazycat. I have a file stid135.conf in /etc/modprobe.d/ with the following after some support help -

options stid135 mis=1 ts_nosync=0

But I still have the problem as before. No DVB-S2 lock after tuning MIS/PLS, MIS locks but some transponders give corrupt TS (Rai on 5°W).
mrwish
 
Posts: 4
Joined: Tue Jul 30, 2019 3:40 am

Next

Return to Professional DVB-S2 Dual Tuner PCIe Card TBS6903

Who is online

Users browsing this forum: No registered users and 2 guests