tbsdtv / linux_media

TBS linux open source drivers
https://github.com/tbsdtv/linux_media/wiki
Other
169 stars 79 forks source link

6909x, 6903x v2 quality of signal is bad #232

Closed JianSun1 closed 3 years ago

JianSun1 commented 3 years ago

I ordered 6909xv2 and 6903xv2. I also have 6903x and 6909x first version. It seems like 6903xV1 is the best about receiving signal. The receiving quality is listed below 1- 6903x V1 (is the best) 2- 6909x V1 (is good) 3- 6909x V2 4- 6903x V2 (the worst)

The problem happens in every locked channels, not to specific one. I randomly locked into a signal and take screenshots of 6909 v2 vs v1. I wont put screenshots of 6903xv2; it is the worst. The snr value is about 4 db worse than the first version of 6903x.

This is 6909xV2 6909xv22

This is 6909xV1 6909xv1

I am thinking of the problem and the issue can be the vglna. I have tried to setfield and getfield of vglna register in here . If i set field to 1 and try to getfield and print the value of set register, it stays at 0. I think there is something wrong at setting the registers. A little worked and searched on the internet and found how to set the registers, tried this source code and again results are not good.

The 6909xv2 vglnamode is set to 1 in here

The 6903xv2 vglnamode is set to 2 in here

There is no vglna init option for 6903xV2 this code

This issue may seems its not a big problem (2-4 db less SNR values in new manifactured cards) but when watching tv streams, the glitches happens on tv stream because of low SNR values. Is it possible to bypass the vglna chip in new Version2 cards and use these cards as version 1?

The version1 is not selling anymore so it is impossible to buy old versions. At least both versions could be sold. Will be any update?

crazycat69 commented 3 years ago

You can compare signal strength in dBm ?

crazycat69 commented 3 years ago

Try enable VGLNA on init - stvvglna_set_standby(vglna_handle,0); https://github.com/tbsdtv/linux_media/blob/latest/drivers/media/dvb-frontends/stid135/stid135-fe.c#L239

JianSun1 commented 3 years ago

You can compare signal strength in dBm ?

I am unable to use crazyscan tool, i should try to install windows7 32 bit again and check them later.

Try enable VGLNA on init - stvvglna_set_standby(vglna_handle,0); https://github.com/tbsdtv/linux_media/blob/latest/drivers/media/dvb-frontends/stid135/stid135-fe.c#L239

I tried but it didnt work. Also, i have checked the source code again, I think something wrong in chip initialization. Current Chipmode should be changed to this mode.

My knowledge on 'i2c' is poor, so i dont want to mess so much. if i change the chipmode, i can see that the register values are changing. Verifying the registers by using the chipGetOneRegister function.

crazycat69 commented 3 years ago

Look like your issue not related to VGLNA. Some changes in stid135 driver until latest 2 years give some degradation (i catch it with 6903x,6909x V1also).

Can you test driver from my media_build + linux-media ? 6903x, 6909x V2 also supported (without VGLNA init, look like work with default settings).

deeptho commented 3 years ago

@JianSun1 ,

I had similar problems to yours. For me the soluttion was

Try enable VGLNA on init - stvvglna_set_standby(vglna_handle,0);

as suggested by crazycat69.

I have been testing the code heavily on tbs6909xV2 and I have good results. SNR is the same (within 0.5dB) as on tbs6909X V1.

You can double check correct registers in my blindscan code https://github.com/deeptho/linux_media which has diverged quite a bit from the official source. It also has some debug code to download the registers from the chips as a binary file from /proc/hchip_soc and /proc/hchip_stid135

There should be also a /proc/hchip_stvvglna, but currently it seems to be missing on my own computer. Perhaps I disabled the code. Note that the implementation of the debug code is "quick and dirty" (not professional code)

Not so long ago I also tested with the tbsdtv drivers from this site (version ), and with the changed value for stvvglna_set_standby. Those also worked. I think the version I used as 7bed1616b

crazycat69 commented 3 years ago

e621b3dac857b3f84f1c1405d4b52394b04ac8be

owaidh123 commented 1 year ago

I want a link to download the signal test program, how to apply it