availink / dvb-frontends-availink

Development repo for what will eventually be merged into media_tree dvb-frontends/availink
4 stars 4 forks source link

AVL6261 - Cannot tune on S2X #3

Open athoik opened 1 year ago

athoik commented 1 year ago

Hello,

A new s2x channel appear on 13E by Eutelsat, but it seems that AVL6261 cannot tune to the channel.

Could you please verify if it's possible technically to tune on 13E - 11200V - 16APSK - SR 34290 - FEC 32/45 ( https://en.kingofsat.net/pos-13E.php ) using AVL6261 with latest firmware avl6261: Firmware Version 1.8.27679 (1.8.18?

Also is it possible to update the SDK with the new FEC for S2X?

Here is the relevant commit: https://github.com/torvalds/linux/commit/6508a50fe84f9858e8b59b53dce3847aaeeab744

Above commit will become available in the next version of linux kernel 6.2

CC: @availink @rzhai @avonancken

rzhai commented 1 year ago

AVL6261C support normal frame with DVB-S/S2/S2X interactive serivce profile. AVL6261A supports short frame and GSE protocol plus all AVL6261C's functionality.

rzhai commented 1 year ago

@athoik Our support team is in USA and can't see 13E at this moment. Which AVL6261 part number are you testing? Is it AVL6261C or AVL6261A?

athoik commented 1 year ago

Hi @rzhai

Thanks for your prompt reply.

It's the AVL6261C

avl6261c

So I guess the 16APSK with FEC 32/45 is using short frame (https://dvb.org/wp-content/uploads/2021/02/A083-2r2_DVB-S2X_Draft-EN-302-307-2-v131_Feb_2021.pdf).

rzhai commented 1 year ago

@athoik "Also is it possible to update the SDK with the new FEC for S2X?

Here is the relevant commit: https://github.com/torvalds/linux/commit/6508a50fe84f9858e8b59b53dce3847aaeeab744

Above commit will become available in the next version of linux kernel 6.2"

Tom will update SDK soon. Thanks for the suggestion.

rzhai commented 1 year ago

@athoik If we release new patch (firmware in binary) to enable AVL6261C short frame feature, would you be able to rebuild your box and test this 13E - 11200V - 16APSK - SR 34290 - FEC 32/45?

athoik commented 1 year ago

Hi @rzhai

That would be great, thanks!

No rebuild of the box required since firmware is loaded from filesystem. So I'll overwrite firmware and reboot box.

root@osmio4kplus:/lib/firmware/availink# md5sum dvb-fe-avl62x1.fw
b954e1c1727d1f64647d7b46ee306e2e  dvb-fe-avl62x1.fw
rzhai commented 1 year ago

@athoik Please use this new firmware to test AVL6261C for short frame TP. Let me know the result and really appreciate it. 1.8.29209

tomrich82 commented 1 year ago

@athoik the latest firmware release for the AVL62x1 series (1.8.29209) enables short frame support for the AVL6261C part. See 1.8.29209 The md5sum is 73eb9e2ceadd8be8b2e972d53c442c85

A note on the S2X enums... The commit adding S2X enums to the DVB subsystem continued that subsystem's long history of poor stewardship. The DVB subsystem minor version wasn't rev'd with that commit and worse yet, the set of enums isn't complete - the S2X-specific code rates for short codes were omitted. That being said, our latest driver does the best it can with the upcoming S2X DVB changes and returns QAM_AUTO/FEC_AUTO when an enum is missing. The s2X enums are only enabled with kernel version >= 6.2.0 (since the DVB subsys version doesn't help).

athoik commented 1 year ago

@tomrich82 , @rzhai

Thanks for your excellent work!

The short fec is now working using the latest firmware.

root@osmio4kplus:~# dmesg  | grep avl6261
avl6261: Firmware Version 1.8.29209 (1.8.18)

root@osmio4kplus:~# md5sum /lib/firmware/availink/dvb-fe-avl62x1.fw
73eb9e2ceadd8be8b2e972d53c442c85  /lib/firmware/availink/dvb-fe-avl62x1.fw

root@osmio4kplus:~# dvb-fe-tool -g -m
WARNING  Ignoring device /dev/dvb/adapter0/audio0
WARNING  Ignoring device /dev/dvb/adapter0/video0
WARNING  Ignoring device /dev/dvb/adapter0/video1
FREQUENCY = 1450000
INVERSION = OFF
SYMBOL_RATE = 34290000
INNER_FEC = AUTO
MODULATION = APSK/16
PILOT = OFF
ROLLOFF = AUTO
POLARIZATION = OFF
STREAM_ID = 4294967295
DELIVERY_SYSTEM = DVBS2
Lock   (0x1f) Signal= -0.06dBm C/N= 12.01dB
       Layer A: Signal= 37.00% C/N= 82.00%
Lock   (0x1f) Signal= -0.06dBm C/N= 11.93dB
       Layer A: Signal= 37.00% C/N= 81.00%
Lock   (0x1f) Signal= -0.06dBm C/N= 12.00dB
       Layer A: Signal= 37.00% C/N= 82.00%
Lock   (0x1f) Signal= -0.06dBm C/N= 11.92dB
       Layer A: Signal= 37.00% C/N= 81.00%
Lock   (0x1f) Signal= -0.06dBm C/N= 12.02dB
       Layer A: Signal= 37.00% C/N= 82.00%

screenshot_20230111000310

screenshot_20230111000354

@tomrich82, I'll have a look on the missing S2X FEC codes, it's already available on "-rc" version of linux, so good that we notice the missing parts.

Once again great job guys! Kudos @availink.

EnoSat commented 1 year ago

@athoik some time ago I made a table for the necessary levels, you can check if I'm still missing something there ? ;) http://enosat.euweb.cz/c_n_values.html

athoik commented 1 year ago

A patch for missing FEC submitted here: https://patchwork.kernel.org/project/linux-media/patch/20230111194608.1853-1-athoik@gmail.com/

Hopefully, both dvb version and missing enums are resolved. I'll let you know if the patches accepted.

Meanwhile the short FEC codes are working, people report successful tune on transponders. 👍

tomrich82 commented 1 year ago

@athoik Thanks for submitting the patch. If they're accepted, I'll update our drivers.

EnoSat commented 1 year ago

@rzhai , do you think that the AVL6261 could also receive this signal (StreamType) ? 11023 H,23500,34,8psk-data_2022-12-04_18-25-25

rzhai commented 1 year ago

@EnoSat Can you share more of that transponder information such satellite name? Did that TP list as broadcast for TV or IP data service? If you can record either RF vector or TS vector, you can send me and I can use my AVL6221A to check (6221A is a full feature part number and has more advanced debug features for professional). I assume you are using AVL6221C part number.

EnoSat commented 1 year ago

Astra 19 East TV for IP should be broadcast there (unverified information) my devices see the signal but do not perform LOCK, I will try to get the TS file from the device where LOCK was, yes, I use a device similar to @athoik (EDISION with AVL6261C) - thanks for the quick support on 13E/11200H PS: added TS - https://mega.nz/file/wR9z1ZSJ#u73SbqRyiKndEdxGSgFsAUPsA8nJWvISZxrgvZSdg6k 19E-11023H

rzhai commented 1 year ago

Astra 19E 11023H 23500 3/4 8PSK might be for IP data service, which could be GSE (not TS). If it is GSE, you need AVL6261A part number to lock it. I can't patch AVL6261C for GSE. Some companies in Europe bought our AVL6261A evaluation kit ($599). If you are interested this, I might be able to offer you big discount at $399.

EnoSat commented 1 year ago

do you think that if the AVL6261C was replaced by an AVL6261A directly in the receiver, there would be a LOCK option? or would it be necessary to modify the drivers as well?

rzhai commented 1 year ago

AVL6261A and AVL6261C share the same driver. For this particular TP, I can only guess it is GSE. Replace AVL6261C in the receiver might lock. If it doesn't lock due to other reason, there is no debug help. If using AVL6261A evaluation kit, we provide professional debug software, and it will tell you all the detail of that TP.

EnoSat commented 1 year ago

Hello, what is the maximum data throughput of the AVL6261C? DVB-S2/16APSK SR-31429 FEC-4/5 tests have started on Astra1 19 East, which gives a transponder data flow of 100 Mbit/s. The minimum C/N for this mod is 11 dB. capture_001_17082023_150305 With old FW, LOCK is almost impossible. 1_0_1_1_42E_42E_C0AE29_0_0_0_20230817145951 With the new FW, LOCK is ok, but it pixelates a lot. 1_0_1_1_42E_42E_C0AE29_0_0_0_20230817150150 And on Mutant HD51 1_0_1_1_42E_42E_C00000_0_0_0_20230817212819

rzhai commented 1 year ago

AVL6261C MPEG (TS) output has two modes. One is normal parallel TS mode. Second mode is serial TS mode (only use 1 bit instead of 8 bits). In serial mode, the max TS rate is about 90Mbps.

rzhai commented 1 year ago

Regarding above issue, if new firmware can lock without BER, but can't see video, it might be related to output side.

  1. check if it is multi-stream, if it is multi-stream, need set correct ISI
  2. check TS interface. Can you confirm the PCB board you are using is parallel TS or serial TS? This video might have TS rate above 90Mbps and it is better using parallel TS mode.
EnoSat commented 1 year ago

Hi, 1, no MIS, regular TS - single (see constelation picture) 2, the commercial Edision OSmio+ 4K receiver is used with AVL6261C

tomrich82 commented 1 year ago

@athoik the max symbol rate for 16APSK long FEC is about 58Msps. That, plus the fact that you see it lock makes the TS output the suspect. Do you know if the TS output is wired in parallel or serial?

rzhai commented 1 year ago

@athoik @tomrich82 I have Edision mio 4K, which might be older version of Edision box. I have confirmed that it is serial mpeg interface. But AVL6261C can support 186Mbps (previously 90+ Mbps number was wrong). Today I have a setup using Edision box in our lab and running 16APSK 40Msps with 11.4dB SNR (AWGN only) and video is fine. 11.3dB has small mosaic. Since I can't see the field signal from USA, I need more information regarding this signal.

EnoSat commented 1 year ago

OK, so it will be a signal problem since the ceiling is 186Mbps. I will try to replace the LNB.

PS: 2GB fullTS 19E/11817V with new LNB - https://mega.nz/file/AY0BXKbR#H5AhgoC55I-rq4_FnB5XpFlcDeOTzR00XbYRiTu7nY0