drxk driver statistics
Hi all,
I have a TerraTec Cinergy T PCIe Dual card, with DRX-3916K and DRX-3913K frontends. I am thus using the drxk dvb-frontend driver. While trying to find the best antenna, position and amplification, I found that the statistics returned by the drxk driver look quite bad:
$ femon -H 3 FE: DRXK DVB-T (DVBT) status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 | FE_HAS_LOCK status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 | FE_HAS_LOCK status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 | FE_HAS_LOCK
This is with TV looking reasonably good, so these figures are not plausible.
$ femon 10 FE: DRXK DVB-T (DVBT) status SCVYL | signal 00de | snr 00f5 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00f0 | snr 00f5 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 0117 | snr 00f6 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00b6 | snr 00eb | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00d1 | snr 00e7 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 0073 | snr 00ea | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00a3 | snr 00ee | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00b5 | snr 00f4 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00ba | snr 00f3 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00be | snr 00f0 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK
Signal values are changing too much, snr is stable enough but way too low, ber is apparently unimplemented, and unc is never reset AFAICS (it started at 1 when the system started and has been only increasing since then.) On my previous card, unc was an instant measurement, not a cumulative value, not sure which is correct.
I would like to see these statistics improved. I am willing to help, however the drxk driver is rather complex (at least to my eyes) and I do not have a datasheet so I wouldn't know where to start. Is there anyone who can work on this and/or provide some guidance?
Thanks,
Signature · 1 line
Jean Delvare
Quoted 29 lines · Jean Delvare
Hi all,
I have a TerraTec Cinergy T PCIe Dual card, with DRX-3916K and DRX-3913K frontends. I am thus using the drxk dvb-frontend driver. While trying to find the best antenna, position and amplification, I found that the statistics returned by the drxk driver look quite bad:
$ femon -H 3 FE: DRXK DVB-T (DVBT) status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 | FE_HAS_LOCK status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 | FE_HAS_LOCK status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 | FE_HAS_LOCKThis is with TV looking reasonably good, so these figures are not plausible.
$ femon 10 FE: DRXK DVB-T (DVBT) status SCVYL | signal 00de | snr 00f5 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00f0 | snr 00f5 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 0117 | snr 00f6 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00b6 | snr 00eb | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00d1 | snr 00e7 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 0073 | snr 00ea | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00a3 | snr 00ee | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00b5 | snr 00f4 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00ba | snr 00f3 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00be | snr 00f0 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK
Quoted 5 lines
Signal values are changing too much, snr is stable enough but way too low, ber is apparently unimplemented, and unc is never reset AFAICS (it started at 1 when the system started and has been only increasing since then.) On my previous card, unc was an instant measurement, not a cumulative value, not sure which is correct.
Yes I found that out aswell, but since image quality has always been very fine, I haven't looked what this all should be.
Quoted 8 lines
I would like to see these statistics improved. I am willing to help, however the drxk driver is rather complex (at least to my eyes) and I do not have a datasheet so I wouldn't know where to start. Is there anyone who can work on this and/or provide some guidance?
Thanks,
Em Wed, 06 Mar 2013 20:53:23 +0100
Oliver Schinagl <[email protected]> escreveu:
Quoted 30 lines · Jean Delvare
Quoted 29 lines
Hi all,
I have a TerraTec Cinergy T PCIe Dual card, with DRX-3916K and DRX-3913K frontends. I am thus using the drxk dvb-frontend driver. While trying to find the best antenna, position and amplification, I found that the statistics returned by the drxk driver look quite bad:
$ femon -H 3 FE: DRXK DVB-T (DVBT) status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 | FE_HAS_LOCK status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 | FE_HAS_LOCK status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 | FE_HAS_LOCKThis is with TV looking reasonably good, so these figures are not plausible.
$ femon 10 FE: DRXK DVB-T (DVBT) status SCVYL | signal 00de | snr 00f5 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00f0 | snr 00f5 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 0117 | snr 00f6 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00b6 | snr 00eb | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00d1 | snr 00e7 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 0073 | snr 00ea | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00a3 | snr 00ee | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00b5 | snr 00f4 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00ba | snr 00f3 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK status SCVYL | signal 00be | snr 00f0 | ber 00000000 | unc 000097a6 | FE_HAS_LOCK
Quoted 12 lines
Quoted 5 lines
Signal values are changing too much, snr is stable enough but way too low, ber is apparently unimplemented, and unc is never reset AFAICS (it started at 1 when the system started and has been only increasing since then.) On my previous card, unc was an instant measurement, not a cumulative value, not sure which is correct.
Yes I found that out aswell, but since image quality has always been very fine, I haven't looked what this all should be.
Quoted 5 lines
I would like to see these statistics improved. I am willing to help, however the drxk driver is rather complex (at least to my eyes) and I do not have a datasheet so I wouldn't know where to start. Is there anyone who can work on this and/or provide some guidance?
Terratec released some time ago the source code for Azureus 6007 that uses the drx-k demod. I think it is still there at:
http://linux.terratec.de/files/TERRATEC_H7/20110323_TERRATEC_H7_Linux.tar.gz
The stats logic there is a little more complete than the one backported to the Kernel. I've plans to add support for DVBv5 statistics, but, even on the above driver, it was not trivial to discover the scale for the parameters.
Signature · 2 lines
Cheers, Mauro
Quoted 58 lines · Oliver Schinagl
Quoted 10 lines · Jean Delvare
Hi all,
I have a TerraTec Cinergy T PCIe Dual card, with DRX-3916K and DRX-3913K frontends. I am thus using the drxk dvb-frontend driver. While trying to find the best antenna, position and amplification, I found that the statistics returned by the drxk driver look quite bad:
$ femon -H 3 FE: DRXK DVB-T (DVBT) status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 |
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 |
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 |
FE_HAS_LOCKQuoted 7 lines
This is with TV looking reasonably good, so these figures are not plausible.
$ femon 10 FE: DRXK DVB-T (DVBT) status SCVYL | signal 00de | snr 00f5 | ber 00000000 | unc 000097a6 |
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00f0 | snr 00f5 | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 0117 | snr 00f6 | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00b6 | snr 00eb | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00d1 | snr 00e7 | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 0073 | snr 00ea | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00a3 | snr 00ee | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00b5 | snr 00f4 | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00ba | snr 00f3 | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00be | snr 00f0 | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 3 lines
Signal values are changing too much, snr is stable enough but way too low, ber is apparently unimplemented, and unc is never reset AFAICS
(it
Quoted 1 line
started at 1 when the system started and has been only increasing
since
Quoted 2 lines
then.) On my previous card, unc was an instant measurement, not a cumulative value, not sure which is correct.
Yes I found that out aswell, but since image quality has always been very fine, I haven't looked what this all should be.
Quoted 6 lines
I would like to see these statistics improved. I am willing to help, however the drxk driver is rather complex (at least to my eyes) and I do not have a datasheet so I wouldn't know where to start. Is there anyone who can work on this and/or provide some guidance?
Quoted 8 lines
Quoted 2 lines
Thanks,
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Unc should be a cumulative value and not reset after each read. Then you can support a use case of 2 different apps monitoring the statistics.
I can't recall when exactly unc should be reset, but of frequency change sounds reasonable.
Regards,
Andy
Em Thu, 07 Mar 2013 16:18:41 -0500
Andy Walls <[email protected]> escreveu:
Quoted 69 lines
Quoted 58 lines · Oliver Schinagl
Quoted 10 lines · Jean Delvare
Hi all,
I have a TerraTec Cinergy T PCIe Dual card, with DRX-3916K and DRX-3913K frontends. I am thus using the drxk dvb-frontend driver. While trying to find the best antenna, position and amplification, I found that the statistics returned by the drxk driver look quite bad:
$ femon -H 3 FE: DRXK DVB-T (DVBT) status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 |
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 |
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 0% | snr 0% | ber 0 | unc 38822 |
FE_HAS_LOCKQuoted 7 lines
This is with TV looking reasonably good, so these figures are not plausible.
$ femon 10 FE: DRXK DVB-T (DVBT) status SCVYL | signal 00de | snr 00f5 | ber 00000000 | unc 000097a6 |
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00f0 | snr 00f5 | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 0117 | snr 00f6 | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00b6 | snr 00eb | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00d1 | snr 00e7 | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 0073 | snr 00ea | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00a3 | snr 00ee | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00b5 | snr 00f4 | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00ba | snr 00f3 | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 1 line
status SCVYL | signal 00be | snr 00f0 | ber 00000000 | unc
000097a6|
FE_HAS_LOCKQuoted 3 lines
Signal values are changing too much, snr is stable enough but way too low, ber is apparently unimplemented, and unc is never reset AFAICS
(it
Quoted 1 line
started at 1 when the system started and has been only increasing
since
Quoted 2 lines
then.) On my previous card, unc was an instant measurement, not a cumulative value, not sure which is correct.
Yes I found that out aswell, but since image quality has always been very fine, I haven't looked what this all should be.
Quoted 6 lines
I would like to see these statistics improved. I am willing to help, however the drxk driver is rather complex (at least to my eyes) and I do not have a datasheet so I wouldn't know where to start. Is there anyone who can work on this and/or provide some guidance?
Quoted 8 lines
Quoted 2 lines
Thanks,
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 3 lines
Unc should be a cumulative value and not reset after each read. Then you can support a use case of 2 different apps monitoring the statistics.
I can't recall when exactly unc should be reset, but of frequency change sounds reasonable.
According with the DVBv3 API spec, never.
The DVBv5 stats API moves the policy to userspace, as it measures both the number of uncorrected error blocks and the total amount of blocks. Both counters are now unsigned 64 bits integers.
So, userspace may apply any policy it wants, by keeping stored the previous counter for a given amount of time (or even using something more sophisticated, like a convolution filter or a moving average filter).
The libdvbv5 currently applies a very simple policy for it.
Regards,
Mauro