Mailing List Archive

loud audio hiss with ivtv 1.4.2 PVR-150 card
Just upgraded my machine from fedora fc12 to fc14 and am getting a very
loud hiss/buzz in the audio. This hiss is about 2 times louder than the
actual audio which can just be heard below the hiss. video is OK.

Card: PVR-150
Input: S-Video/line 1 (not using tuner)
players: mplayer /dev/video1 and mythtv both show the same problem.

fc14 kernel 2.6.35.10-74.fc14.i686.PAE (1.4.2 ivtv): loud hiss

Booting fc14 with the old fc12 kernel 2.6.32.26-175.fc12.i686.PAE (1.4.1
ivtv): sound perfect.

fc14 kernel 2.6.35.10-74.fc14.i686.PAE plus latest
git://linuxtv.org/media_build.git build installed: Same loud hiss.

I've compared the ctrls settings between 1.4.1 and 1.4.2 and the appear
identical. Also have tried the set-audio-input=1 option, which I had
used previously to get rid of the old tinny sound issue, but no fix.

Does anyone know a solution to this issue?



Options used
alias char-major-81-1 ivtv
options ivtv radio=0 ivtv_first_minor=1

messages extract, includes all the capture cards (PVR-150, AVerMedia,
Afatech)
ivtv: Start initialization, version 1.4.2
Registered IR keymap rc-avermedia
input: saa7134 IR (AVerMedia TV Hybrid
as /devices/pci0000:00/0000:00:1e.0/0000:05:01.0/rc/rc1/input7
rc1: saa7134 IR (AVerMedia TV Hybrid
as /devices/pci0000:00/0000:00:1e.0/0000:05:01.0/rc/rc1
saa7133[0]: i2c eeprom 00: 61 14 00 2c 00 00 00 00 00 00 00 00 00 00 00
00
saa7133[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff ff ff ff ff ff
ff
saa7133[0]: i2c eeprom 20: 01 40 01 02 02 03 03 01 08 ff 00 a3 ff ff ff
ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff
saa7133[0]: i2c eeprom 40: ff 32 00 c0 86 1e ff ff ff ff ff ff ff ff ff
ff
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff
saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff
saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff
saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff
saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff
saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff
saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff
saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff
saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff
saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff
tuner 0-0060: chip found @ 0xc0 (saa7133[0])
tea5767 0-0060: type set to Philips TEA5767HN FM Radio
HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
tuner 0-0043: chip found @ 0x86 (saa7133[0])
dvb-usb: found a 'KWorld PlusTV Dual DVB-T Stick (DVB-T 399U)' in warm
state.
dvb-usb: will pass the complete MPEG2 transport stream to the software
demuxer.
DVB: registering new adapter (KWorld PlusTV Dual DVB-T Stick (DVB-T
399U))
ALSA sound/pci/hda/hda_codec.c:3519: hda_codec: model '6stack-dig' is
selected
nvidia: module license 'NVIDIA' taints kernel.
Disabling lock debugging due to kernel taint
tda9887 0-0043: creating new instance
tda9887 0-0043: tda988[5/6/7] found
tea5767 0-0060: type set to Philips TEA5767HN FM Radio
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
saa7133[0]: registered device radio0
ivtv0: Initializing card 0
ivtv0: Autodetected Hauppauge card (cx23416 based)
ivtv 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
tveeprom 3-0050: The eeprom says no radio is present, but the tuner
type
tveeprom 3-0050: indicates otherwise. I will assume that radio is
present.
tveeprom 3-0050: Hauppauge model 26039, rev F0A5, serial# 8837914
tveeprom 3-0050: tuner model is TCL MPE05-2 (idx 105, type 38)
tveeprom 3-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K)
(eeprom 0x74)
tveeprom 3-0050: audio processor is CX25842 (idx 36)
tveeprom 3-0050: decoder processor is CX25842 (idx 29)
tveeprom 3-0050: has radio, has IR receiver, has IR transmitter
ivtv0: Autodetected Hauppauge WinTV PVR-150
ivtv0: Reopen i2c bus for IR-blaster support
af9013: firmware version:4.95.0.0
DVB: registering adapter 1 frontend 0 (Afatech AF9013 DVB-T)...
dvb_init() allocating 1 frontend
MXL5005S: Attached at address 0xc6
dvb-usb: will pass the complete MPEG2 transport stream to the software
demuxer.
DVB: registering new adapter (KWorld PlusTV Dual DVB-T Stick (DVB-T
399U))
af9013: found a 'Afatech AF9013 DVB-T' in warm state.
af9013: firmware version:4.95.0.0
DVB: registering adapter 2 frontend 0 (Afatech AF9013 DVB-T)...
MXL5005S: Attached at address 0xc6
Registered IR keymap rc-empty
input: IR-receiver inside an USB DVB receiver
as /devices/pci0000:00/0000:00:1a.7/usb1/1-5/rc/rc2/input8
rc2: IR-receiver inside an USB DVB receiver
as /devices/pci0000:00/0000:00:1a.7/usb1/1-5/rc/rc2
dvb-usb: schedule remote query interval to 500 msecs.
dvb-usb: KWorld PlusTV Dual DVB-T Stick (DVB-T 399U) successfully
initialized and connected.
usbcore: registered new interface driver dvb_usb_af9015
nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io
+mem,decodes=none:owns=io+mem
NVRM: loading NVIDIA UNIX x86 Kernel Module 260.19.21 Thu Nov 4
20:24:24 PDT 2010
cx25840 3-0044: cx25842-23 found @ 0x88 (ivtv i2c driver #0)
tuner-simple 0-0061: unable to probe Philips TD1316 Hybrid Tuner,
proceeding anyway.
tuner-simple 0-0061: creating new instance
tuner-simple 0-0061: type set to 67 (Philips TD1316 Hybrid Tuner)
DVB: registering new adapter (saa7133[0])
DVB: registering adapter 0 frontend 0 (Zarlink MT352 DVB-T)...
tuner 3-0043: chip found @ 0x86 (ivtv i2c driver #0)
tda9887 3-0043: creating new instance
tda9887 3-0043: tda988[5/6/7] found
tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #0)
wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #0)
saa7134 ALSA driver for DMA sound loaded
saa7133[0]/alsa: saa7133[0] at 0xfebff800 irq 17 registered as card -1
tuner-simple 3-0061: creating new instance
tuner-simple 3-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME
MK3))
ivtv0: Registered device video1 for encoder MPG (4096 kB)
ivtv0: Registered device video33 for encoder YUV (2048 kB)
ivtv0: Registered device vbi1 for encoder VBI (1024 kB)
ivtv0: Registered device video25 for encoder PCM (320 kB)
ivtv0: Initialized card: Hauppauge WinTV PVR-150
ivtv: End initialization
ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
ivtv0: Encoder revision: 0x02060039
cx25840 3-0044: loaded v4l-cx25840.fw firmware (16382 bytes)

Thanks

Auric








_______________________________________________
ivtv-users mailing list
ivtv-users@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Re: loud audio hiss with ivtv 1.4.2 PVR-150 card [ In reply to ]
On Wed, 2010-12-29 at 22:17 +1100, auric wrote:
> Just upgraded my machine from fedora fc12 to fc14 and am getting a very
> loud hiss/buzz in the audio. This hiss is about 2 times louder than the
> actual audio which can just be heard below the hiss. video is OK.
>
> Card: PVR-150
> Input: S-Video/line 1 (not using tuner)
> players: mplayer /dev/video1 and mythtv both show the same problem.
>
> fc14 kernel 2.6.35.10-74.fc14.i686.PAE (1.4.2 ivtv): loud hiss
>
> Booting fc14 with the old fc12 kernel 2.6.32.26-175.fc12.i686.PAE (1.4.1
> ivtv): sound perfect.
>
> fc14 kernel 2.6.35.10-74.fc14.i686.PAE plus latest
> git://linuxtv.org/media_build.git build installed: Same loud hiss.
>
> I've compared the ctrls settings between 1.4.1 and 1.4.2 and the appear
> identical. Also have tried the set-audio-input=1 option, which I had
> used previously to get rid of the old tinny sound issue, but no fix.
>
> Does anyone know a solution to this issue?

As a quick test, to eliminate fc14 sound system issues:
1. record the video and audio on fc14
2. play it back on fc12

If the hiss persists, then recent changes to the WM8775 driver are
likely the cause.

When the patches for the WM8775 first appeared for cards supported by
the cx88 driver, I asked them to make sure the wm8775 defaults didn't
change for the sake of ivtv. However I never had time to properly
review the final patch to wm8775.

If you can git bisect down the media_build.git tree to the problem
commit, that would save me time in generating a fix.

Regards,
Andy

>
>
> Options used
> alias char-major-81-1 ivtv
> options ivtv radio=0 ivtv_first_minor=1
>
> messages extract, includes all the capture cards (PVR-150, AVerMedia,
> Afatech)
> ivtv: Start initialization, version 1.4.2
> Registered IR keymap rc-avermedia
> input: saa7134 IR (AVerMedia TV Hybrid
> as /devices/pci0000:00/0000:00:1e.0/0000:05:01.0/rc/rc1/input7
> rc1: saa7134 IR (AVerMedia TV Hybrid
> as /devices/pci0000:00/0000:00:1e.0/0000:05:01.0/rc/rc1
> saa7133[0]: i2c eeprom 00: 61 14 00 2c 00 00 00 00 00 00 00 00 00 00 00
> 00
> saa7133[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom 20: 01 40 01 02 02 03 03 01 08 ff 00 a3 ff ff ff
> ff
> saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom 40: ff 32 00 c0 86 1e ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom 80: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom 90: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom a0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom b0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom c0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom d0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom e0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> saa7133[0]: i2c eeprom f0: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
> ff
> tuner 0-0060: chip found @ 0xc0 (saa7133[0])
> tea5767 0-0060: type set to Philips TEA5767HN FM Radio
> HDA Intel 0000:00:1b.0: PCI INT A -> GSI 22 (level, low) -> IRQ 22
> tuner 0-0043: chip found @ 0x86 (saa7133[0])
> dvb-usb: found a 'KWorld PlusTV Dual DVB-T Stick (DVB-T 399U)' in warm
> state.
> dvb-usb: will pass the complete MPEG2 transport stream to the software
> demuxer.
> DVB: registering new adapter (KWorld PlusTV Dual DVB-T Stick (DVB-T
> 399U))
> ALSA sound/pci/hda/hda_codec.c:3519: hda_codec: model '6stack-dig' is
> selected
> nvidia: module license 'NVIDIA' taints kernel.
> Disabling lock debugging due to kernel taint
> tda9887 0-0043: creating new instance
> tda9887 0-0043: tda988[5/6/7] found
> tea5767 0-0060: type set to Philips TEA5767HN FM Radio
> saa7133[0]: registered device video0 [v4l2]
> saa7133[0]: registered device vbi0
> saa7133[0]: registered device radio0
> ivtv0: Initializing card 0
> ivtv0: Autodetected Hauppauge card (cx23416 based)
> ivtv 0000:05:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> tveeprom 3-0050: The eeprom says no radio is present, but the tuner
> type
> tveeprom 3-0050: indicates otherwise. I will assume that radio is
> present.
> tveeprom 3-0050: Hauppauge model 26039, rev F0A5, serial# 8837914
> tveeprom 3-0050: tuner model is TCL MPE05-2 (idx 105, type 38)
> tveeprom 3-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K)
> (eeprom 0x74)
> tveeprom 3-0050: audio processor is CX25842 (idx 36)
> tveeprom 3-0050: decoder processor is CX25842 (idx 29)
> tveeprom 3-0050: has radio, has IR receiver, has IR transmitter
> ivtv0: Autodetected Hauppauge WinTV PVR-150
> ivtv0: Reopen i2c bus for IR-blaster support
> af9013: firmware version:4.95.0.0
> DVB: registering adapter 1 frontend 0 (Afatech AF9013 DVB-T)...
> dvb_init() allocating 1 frontend
> MXL5005S: Attached at address 0xc6
> dvb-usb: will pass the complete MPEG2 transport stream to the software
> demuxer.
> DVB: registering new adapter (KWorld PlusTV Dual DVB-T Stick (DVB-T
> 399U))
> af9013: found a 'Afatech AF9013 DVB-T' in warm state.
> af9013: firmware version:4.95.0.0
> DVB: registering adapter 2 frontend 0 (Afatech AF9013 DVB-T)...
> MXL5005S: Attached at address 0xc6
> Registered IR keymap rc-empty
> input: IR-receiver inside an USB DVB receiver
> as /devices/pci0000:00/0000:00:1a.7/usb1/1-5/rc/rc2/input8
> rc2: IR-receiver inside an USB DVB receiver
> as /devices/pci0000:00/0000:00:1a.7/usb1/1-5/rc/rc2
> dvb-usb: schedule remote query interval to 500 msecs.
> dvb-usb: KWorld PlusTV Dual DVB-T Stick (DVB-T 399U) successfully
> initialized and connected.
> usbcore: registered new interface driver dvb_usb_af9015
> nvidia 0000:01:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
> vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io
> +mem,decodes=none:owns=io+mem
> NVRM: loading NVIDIA UNIX x86 Kernel Module 260.19.21 Thu Nov 4
> 20:24:24 PDT 2010
> cx25840 3-0044: cx25842-23 found @ 0x88 (ivtv i2c driver #0)
> tuner-simple 0-0061: unable to probe Philips TD1316 Hybrid Tuner,
> proceeding anyway.
> tuner-simple 0-0061: creating new instance
> tuner-simple 0-0061: type set to 67 (Philips TD1316 Hybrid Tuner)
> DVB: registering new adapter (saa7133[0])
> DVB: registering adapter 0 frontend 0 (Zarlink MT352 DVB-T)...
> tuner 3-0043: chip found @ 0x86 (ivtv i2c driver #0)
> tda9887 3-0043: creating new instance
> tda9887 3-0043: tda988[5/6/7] found
> tuner 3-0061: chip found @ 0xc2 (ivtv i2c driver #0)
> wm8775 3-001b: chip found @ 0x36 (ivtv i2c driver #0)
> saa7134 ALSA driver for DMA sound loaded
> saa7133[0]/alsa: saa7133[0] at 0xfebff800 irq 17 registered as card -1
> tuner-simple 3-0061: creating new instance
> tuner-simple 3-0061: type set to 38 (Philips PAL/SECAM multi (FM1216ME
> MK3))
> ivtv0: Registered device video1 for encoder MPG (4096 kB)
> ivtv0: Registered device video33 for encoder YUV (2048 kB)
> ivtv0: Registered device vbi1 for encoder VBI (1024 kB)
> ivtv0: Registered device video25 for encoder PCM (320 kB)
> ivtv0: Initialized card: Hauppauge WinTV PVR-150
> ivtv: End initialization
> ivtv0: Loaded v4l-cx2341x-enc.fw firmware (376836 bytes)
> ivtv0: Encoder revision: 0x02060039
> cx25840 3-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
>
> Thanks
>
> Auric



_______________________________________________
ivtv-users mailing list
ivtv-users@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Re: loud audio hiss with ivtv 1.4.2 PVR-150 card [ In reply to ]
On Wed, 2010-12-29 at 22:17 +1100, auric wrote:
> Just upgraded my machine from fedora fc12 to fc14 and am getting a very
> loud hiss/buzz in the audio. This hiss is about 2 times louder than the
> actual audio which can just be heard below the hiss. video is OK.
>
> Card: PVR-150
> Input: S-Video/line 1 (not using tuner)
> players: mplayer /dev/video1 and mythtv both show the same problem.

I just want to confirm that I have the same problem on Debian. It
works perfectly with the regular Debian 2.6.32 kernel with the 1.4.1
ivtv driver but is unusable with the 2.6.37-rc7 kernel in
Debian/experimental. I ran ivtvctl -a on both kernels and diffed
them:

mythtered% diff ivtv.out-2.6.32 ivtv.out
10c10
< Driver version: 66561
---
> Driver version: 66562
202c202
< Volume = 60928
---
> Volume = 58950
206a207
> Loudness = 1

Messing with the volume doesn't make any difference for audio quality.
I don't know what the "Loudness = 1" setting means or how to modify
it.

I also tried disconnecting the audio input to the card so it should
have been recording only silence, but the loud hiss was still there.

I'll try to investigate this further soon.

Eric Sharkey

_______________________________________________
ivtv-users mailing list
ivtv-users@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Re: loud audio hiss with ivtv 1.4.2 PVR-150 card [ In reply to ]
On Fri, 2010-12-31 at 13:47 +1100, auric wrote:
> On Fri, 2010-12-31 at 10:57 +1100, auric wrote:
> > On Wed, 2010-12-29 at 09:25 -0500, Andy Walls wrote:
> > > On Wed, 2010-12-29 at 22:17 +1100, auric wrote:
> > > > Just upgraded my machine from fedora fc12 to fc14 and am getting a very
> > > > loud hiss/buzz in the audio. This hiss is about 2 times louder than the
> > > > actual audio which can just be heard below the hiss. video is OK.
> > > >
> > > > Card: PVR-150
> > > > Input: S-Video/line 1 (not using tuner)
> > > > players: mplayer /dev/video1 and mythtv both show the same problem.
> > > >
> > > > fc14 kernel 2.6.35.10-74.fc14.i686.PAE (1.4.2 ivtv): loud hiss
> > > >
> > > > Booting fc14 with the old fc12 kernel 2.6.32.26-175.fc12.i686.PAE (1.4.1
> > > > ivtv): sound perfect.
> > > >
> > > > fc14 kernel 2.6.35.10-74.fc14.i686.PAE plus latest
> > > > git://linuxtv.org/media_build.git build installed: Same loud hiss.
> > > >
> > > > I've compared the ctrls settings between 1.4.1 and 1.4.2 and the appear
> > > > identical. Also have tried the set-audio-input=1 option, which I had
> > > > used previously to get rid of the old tinny sound issue, but no fix.
> > > >
> > > > Does anyone know a solution to this issue?


[git bisect logs snipped]

> Must have been doing something wrong.
> started from scratch and did a
> git reset 5012d58a62cf994fb5fe73c4e4dd219a0d030e4c
> which is the oldest log entry.
> still receive the hiss with this build.


Argh. Thanks for the effort. I have some time to look into the problem
tonight.

Your problem was with the baseband audio inputs when using S-Video,
right?

Regards,
Andy


_______________________________________________
ivtv-users mailing list
ivtv-users@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-users
Re: loud audio hiss with ivtv 1.4.2 PVR-150 card [ In reply to ]
On Fri, Dec 31, 2010 at 4:07 PM, Andy Walls <awalls@md.metrocast.net> wrote:
> On Fri, 2010-12-31 at 13:47 +1100, auric wrote:
>> On Fri, 2010-12-31 at 10:57 +1100, auric wrote:
>> > On Wed, 2010-12-29 at 09:25 -0500, Andy Walls wrote:
>> > > On Wed, 2010-12-29 at 22:17 +1100, auric wrote:
>> > > > Just upgraded my machine from fedora fc12 to fc14 and am getting a very
>> > > > loud hiss/buzz in the audio. This hiss is about 2 times louder than the
>> > > > actual audio which can just be heard below the hiss. video is OK.
>> > > >
>> > > > Card: PVR-150
>> > > > Input: S-Video/line 1 (not using tuner)
>
> Argh.  Thanks for the effort.  I have some time to look into the problem
> tonight.
>
> Your problem was with the baseband audio inputs when using S-Video,
> right?

I think that's what he said. I don't think the video source matters
that much, since I was getting the same problem using composite.

Eric Sharkey

_______________________________________________
ivtv-users mailing list
ivtv-users@ivtvdriver.org
http://ivtvdriver.org/mailman/listinfo/ivtv-users