Hi all,
I've been trying to fix this problem for a week now by searching this list and the mythtv lists as well as pestering people around #ivtv-dev and #mythtv-users.
The problem is I get audio but only with a lot of loud static over the top of it. My specific set up looks like this:
Dish receiver (composite out) -> PVR-150 (composite in)
Dish receiver (stereo out) -> RS Phono-to-1/8" adapter -> PVR-150 (line in)
Nvidia GeForce FX 5500 (DVI out) -> Toshiba 51H83 (DVI in)
CMedia (CM8738 rev.03) (digital coax out) -> Yamaha receiver (digital coax in)
I've set up ALSA as per Jarod's instructions and additionally configured the asoundrc file as per Mike Dean's instructions (http://www.mythtv.info/moin.cgi/DigitalSoundHowTo).
The sound in general works fine (as soon as I do alsactrl restore) for xmms and xine and mplayer using media files or DVDs in the drive. However, when I capture video from /dev/video0 or watch it in MythTV I hear the audio (speech, music, etc.) underneath a lot of static.
I tried the line out (vs. digital out) with headphones and still I heard static. So I figured maybe there's just a problem with the line in audio on the card or the drivers and hooked up a coax out from the Dish receiver into the PVR-150 tuner. After doing that I can still see the video but I can no longer hear any audio at all (I also changed the audio input in ivtvctl to 0 instead of 1).
I'm wondering if the tuner audio (just a bunch of static) is getting mixed (via ALSA?) with the line-in audio and then being sent out the digital line?
Any thoughts on this? Is that possible/likely with ALSA? Could the PVR-150 be combining the audio channels while encoding the mpeg?
Thank you very much for any help with this!
Brion
+++++++++++++++ Here's my debug info from dmesg and my system info:
(uname -a)
Linux centauri 2.6.10-1.770_FC3 #1 Thu Feb 24 14:00:06 EST 2005 i686 athlon i386 GNU/Linux
(lspci)
00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 AGP] Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8235 PCI Bridge
00:08.0 Network controller: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03)
00:09.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:0a.0 Ethernet controller: Linksys NC100 Network Everywhere Fast Ethernet 10/100 (rev 11)
00:0b.0 Multimedia video controller: Internext Compression Inc iTVC16 (CX23416) MPEG-2 Encoder (rev 01)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 80)
00:10.3 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 82)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8235 ISA Bridge
00:11.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 50)
01:00.0 VGA compatible controller: nVidia Corporation NV34 [GeForce FX 5500] (rev a1)
(cat /proc/interrupts -- suggested during an IRC chat)
CPU0
0: 134167868 XT-PIC timer
2: 0 XT-PIC cascade
4: 670626 XT-PIC serial
5: 0 XT-PIC VIA8233, uhci_hcd
8: 83719 XT-PIC rtc
9: 0 XT-PIC acpi
10: 15366442 XT-PIC uhci_hcd, ndiswrapper, nvidia
11: 120850 XT-PIC CMI8738, uhci_hcd
12: 11705 XT-PIC ehci_hcd, ivtv0
14: 547197 XT-PIC ide0
15: 3588766 XT-PIC ide1
NMI: 0
ERR: 20(dmesg) ivtv: ==================== START INIT IVTV ==================== ivtv: version 0.3.2 (f) loading ivtv: Linux version: 2.6.10-1.770_FC3 686 REGPARM 4KSTACKS gcc-3.4 ivtv: In case of problems please include the debug info ivtv: between the START INIT IVTV and END INIT IVTV lines when ivtv: mailing the ivtv-devel mailinglist. ivtv: Autodetected WinTV PVR 150 card ivtv: Found an iTVC16 based chip ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 12 (level, low) -> IRQ 12 ivtv: VIA PCI device: 0x3189 vendor: 0x1106 tveeprom: Hauppauge: model = 26052, rev = C185, serial# = 2882445 tveeprom: tuner = TCL 2002N 6A (idx = 85, type = 50) tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) tveeprom: audio_processor = MSP3410D (type = 5) ivtv: i2c attach [client=tveeprom[6],ok] tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 ivtv: i2c attach [client=(tuner unset),ok] cx25840: FW image '/lib/modules/HcwMakoA.ROM' of size 13883 loaded. cx25840: FW image md5 digest: a6f6a90a3be338cdb89d59e835798408 cx25840: FW image sha1 digest: ad2872fb98ad43b6c4afa45d239a57010edebe84 ivtv: i2c attach [client=cx25840[6],ok] ivtv: i2c attach [client=wm8775[6],ok] ivtv: Encoder revision: 0x02050032 ivtv: Encoder Firmware may be buggy, use version 0x02040011 ivtv: Configuring WinTV PVR 150 card with 4 streams ivtv: Create DMA stream 0 using 256 16384 byte buffers 4194304 kbytes total ivtv: Registered v4l2 device, streamtype 0 minor 0 ivtv: Create DMA stream 1 ivtv: Registered v4l2 device, streamtype 1 minor 32 ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total modprobe: page allocation failure. order:4, mode:0xd0 [<c01435a1>] __alloc_pages+0x281/0x28e [<c01435c6>] __get_free_pages+0x18/0x24 [<c0146bb5>] kmem_getpages+0x15/0x94 [<c01478ae>] cache_grow+0x11f/0x260 [<c0147bfd>] cache_alloc_refill+0x20e/0x23e [<c0147f2d>] __kmalloc+0x64/0x76 [<e0f5452f>] ivtv_init_buffer+0x37/0x151 [ivtv] [<e0f54670>] ivtv_init_queue_nolock+0x27/0x69 [ivtv] [<e0f546df>] ivtv_init_queues_nolock+0x2d/0x4a [ivtv] [<e0f59b23>] ivtv_stream_init+0x42f/0x4fd [ivtv] [<e0f59d08>] ivtv_streams_setup+0x117/0x276 [ivtv] [<e0f56bd2>] ivtv_probe+0x627/0x97c [ivtv] [<c01dfbec>] pci_device_probe_static+0x2a/0x3d [<c01dfc1a>] __pci_device_probe+0x1b/0x2c [<c01dfc46>] pci_device_probe+0x1b/0x2d [<c023f1f5>] driver_probe_device+0x30/0x4d [<c023f2bd>] driver_attach+0x37/0x66 [<c023f674>] bus_add_driver+0x7a/0xa4 [<c023fb00>] driver_register+0x51/0x58 [<c01dfdfe>] pci_register_driver+0x8b/0x9e [<e0f57335>] module_start+0x138/0x166 [ivtv] [<c01374b9>] sys_init_module+0x1d8/0x2a8 [<c0103443>] syscall_call+0x7/0xb ivtv: Registered v4l2 device, streamtype 2 minor 224 ivtv: Create DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total ivtv: Registered v4l2 device, streamtype 3 minor 24 ivtv: Could not detect tuner standard, defaulting to NTSC. tuner: tuner type not set ivtv: Switching standard to NTSC. tuner: tuner type not set ivtv: Initialized WinTV PVR 150, card #0 ivtv: ==================== END INIT IVTV ====================
(lsmod)
Module Size Used by
ivtv 805508 0
i2c_algo_bit 8393 1 ivtv
videodev 9537 1 ivtv
wm8775 9756 0
cx25840 120620 0
tuner 19565 0
tveeprom 11956 0
nvidia 3925116 12
ndiswrapper 114988 0
md5 4033 1
ipv6 231681 12
irtty_sir 6209 2
sir_dev 18893 1 irtty_sir
irnet 24837 0
ppp_generic 35029 1 irnet
slhc 6849 1 ppp_generic
ircomm_tty 28105 0
ircomm 14277 1 ircomm_tty
irda 122749 4 sir_dev,irnet,ircomm_tty,ircomm
crc_ccitt 2113 1 irda
autofs4 23493 0
sunrpc 156325 1
xfs 517425 3
video 15813 0
button 6609 0
battery 9285 0
ac 4805 0
joydev 9217 0
uhci_hcd 31449 0
ehci_hcd 32585 0
i2c_viapro 7245 0
i2c_core 20801 6 i2c_algo_bit,wm8775,cx25840,tuner,tveeprom,i2c_viapro
snd_via82xx 27745 0
snd_ac97_codec 67489 1 snd_via82xx
snd_cmipci 35169 0
snd_pcm_oss 47989 0
snd_mixer_oss 17089 1 snd_pcm_oss
snd_pcm 93001 4 snd_via82xx,snd_ac97_codec,snd_cmipci,snd_pcm_oss
snd_page_alloc 9541 2 snd_via82xx,snd_pcm
snd_opl3_lib 11457 1 snd_cmipci
snd_timer 29125 2 snd_pcm,snd_opl3_lib
snd_hwdep 8901 1 snd_opl3_lib
gameport 4929 2 snd_via82xx,snd_cmipci
snd_mpu401_uart 9025 2 snd_via82xx,snd_cmipci
snd_rawmidi 25953 1 snd_mpu401_uart
snd_seq_device 8525 2 snd_opl3_lib,snd_rawmidi
snd 52645 12 snd_via82xx,snd_ac97_codec,snd_cmipci,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_opl3_lib,snd_timer,snd_hwdep,snd_mpu401_uart,snd_
rawmidi,snd_seq_device
soundcore 10017 1 snd
tulip 48609 0
floppy 57841 0
ext3 116297 2
jbd 69977 1 ext3
dm_mod 55637 4
------------------------------------------------------- This SF.net email is sponsored by: 2005 Windows Mobile Application Contest Submit applications for Windows Mobile(tm)-based Pocket PCs or Smartphones for the chance to win $25,000 and application distribution. Enter today at http://ads.osdn.com/?ad_id=6882&alloc_id=15148&op=click _______________________________________________ ivtv-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ivtv-devel
