[mythtv-users] choppy audio only with mythtv

Jesse Arnett jarnett at siscom.net
Sat May 31 19:08:42 EDT 2003


Hello everyone,

I'm having a terrible time getting audio to work correctly with myth.  I get
choppy audio when watching both recorded shows and live tv.  It has done
this from the very start (a cvs version from ~Apr 15) and has gotten worse
with an upgrade last night.

The captured video/audio is fine.  I can play back a recorded show using
mplayer and it sounds great.  Recorded shows also play back fine using media
player in windows.

This lead me to beleive that my sound card was at fault, so i've tried 3
different cards.  I've tried using:

82801DB AC'97 Audio - my motherboard's on-board sound using alsa
SB 128 PCI (ES1371) - pci card using alsa
SB Live - pci card using alsa, also tried oss drivers

They all produce choppy sound from within myth, and work flawlessly when
playing back the same video/audio from within mplayer.

Also, system load doesn't seem to have much to do with it.  The load is
around 1.0 while recording and watching, and around 0.1 when just watching.
I have choppy audio during both.

I've scoured this list and the alsa list looking for solutions but nothing
seemed to apply to my situation.  Maybe someone could help me out?

here's the system specs:

Intel D845GERG2 motherboard
P4 2.4 GHz
WinTV PVR 250
Nvidia Geforce2 MX
NetMos serial controller card
Any of the three sound cards above
512M of ram
Seagate ST3160021A 160 Gig HDD

I'm running Gentoo Linux 1.2 with a vanilla kernel + 4vl2 patch.

Attached you'll find dmesg output, and some info from /proc.

Thanks for you time.

-Jesse
-------------- next part --------------
PCI devices found:
  Bus  0, device   0, function  0:
    Host bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset Host Bridge (rev 3).
      Prefetchable 32 bit memory at 0xf8000000 [0xfbffffff].
  Bus  0, device   1, function  0:
    PCI bridge: Intel Corp. 82845G/GL [Brookdale-G] Chipset AGP Bridge (rev 3).
      Master Capable.  Latency=32.  Min Gnt=8.
  Bus  0, device  29, function  0:
    USB Controller: Intel Corp. 82801DB USB (Hub #1) (rev 2).
      IRQ 11.
      I/O at 0xe800 [0xe81f].
  Bus  0, device  29, function  1:
    USB Controller: Intel Corp. 82801DB USB (Hub #2) (rev 2).
      IRQ 5.
      I/O at 0xe880 [0xe89f].
  Bus  0, device  29, function  2:
    USB Controller: Intel Corp. 82801DB USB (Hub #3) (rev 2).
      IRQ 9.
      I/O at 0xec00 [0xec1f].
  Bus  0, device  29, function  7:
    USB Controller: Intel Corp. 82801DB USB EHCI Controller (rev 2).
      IRQ 10.
      Non-prefetchable 32 bit memory at 0xfebffc00 [0xfebfffff].
  Bus  0, device  30, function  0:
    PCI bridge: Intel Corp. 82801BA/CA/DB PCI Bridge (rev 130).
      Master Capable.  No bursts.  Min Gnt=6.
  Bus  0, device  31, function  0:
    ISA bridge: Intel Corp. 82801DB ISA Bridge (LPC) (rev 2).
  Bus  0, device  31, function  1:
    IDE interface: Intel Corp. 82801DB ICH4 IDE (rev 2).
      IRQ 9.
      I/O at 0x0 [0x7].
      I/O at 0x0 [0x3].
      I/O at 0x0 [0x7].
      I/O at 0x0 [0x3].
      I/O at 0xffa0 [0xffaf].
      Non-prefetchable 32 bit memory at 0x20000000 [0x200003ff].
  Bus  0, device  31, function  3:
    SMBus: Intel Corp. 82801DB SMBus (rev 2).
      IRQ 3.
      I/O at 0xe000 [0xe01f].
  Bus  0, device  31, function  5:
    Multimedia audio controller: Intel Corp. 82801DB AC'97 Audio (rev 2).
      IRQ 3.
      I/O at 0xe400 [0xe4ff].
      I/O at 0xe080 [0xe0bf].
      Non-prefetchable 32 bit memory at 0xfebff800 [0xfebff9ff].
      Non-prefetchable 32 bit memory at 0xfebff400 [0xfebff4ff].
  Bus  1, device   0, function  0:
    VGA compatible controller: nVidia Corporation NV11 [GeForce2 MX] (rev 161).
      IRQ 11.
      Master Capable.  Latency=248.  Min Gnt=5.Max Lat=1.
      Non-prefetchable 32 bit memory at 0xfd000000 [0xfdffffff].
      Prefetchable 32 bit memory at 0xe0000000 [0xe7ffffff].
  Bus  2, device   0, function  0:
    Serial controller: NetMos Technology 222N-2 I/O Card (2S+1P) (rev 1).
      IRQ 7.
      Master Capable.  Latency=32.
      I/O at 0xdc00 [0xdc07].
      I/O at 0xd880 [0xd887].
      I/O at 0xd800 [0xd807].
      I/O at 0xd480 [0xd487].
      I/O at 0xd400 [0xd407].
      I/O at 0xd080 [0xd08f].
  Bus  2, device   2, function  0:
    Multimedia video controller: PCI device 4444:0803 (Internext Compression Inc) (rev 1).
      IRQ 9.
      Master Capable.  Latency=32.  Min Gnt=128.Max Lat=8.
      Prefetchable 32 bit memory at 0xf0000000 [0xf3ffffff].
  Bus  2, device   8, function  0:
    Ethernet controller: Intel Corp. 82801BD PRO/100 VE (LOM) Ethernet Controller (rev 130).
      IRQ 11.
      Master Capable.  Latency=32.  Min Gnt=8.Max Lat=56.
      Non-prefetchable 32 bit memory at 0xfeaff000 [0xfeafffff].
      I/O at 0xd000 [0xd03f].
-------------- next part --------------
           CPU0
  0:      47094          XT-PIC  timer
  1:          5          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  3:          0          XT-PIC  Intel 82801DB-ICH4
  5:          0          XT-PIC  usb-uhci
  8:          2          XT-PIC  rtc
  9:         67          XT-PIC  usb-uhci, ivtv: iTVC15/16 mpg2 encoder chip
 11:      42989          XT-PIC  usb-uhci, eth0, nvidia
 12:         25          XT-PIC  PS/2 Mouse
 14:       5726          XT-PIC  ide0
 15:          4          XT-PIC  ide1
NMI:          0
ERR:          0
-------------- next part --------------
Linux version 2.4.20 (root at redsquare.siscommunist.net) (gcc version 2.95.3 20010315 (release)) #9 Fri May 30 02:14:17 EDT 2003
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001ff40000 (usable)
 BIOS-e820: 000000001ff40000 - 000000001ff50000 (ACPI data)
 BIOS-e820: 000000001ff50000 - 0000000020000000 (ACPI NVS)
511MB LOWMEM available.
On node 0 totalpages: 130880
zone(0): 4096 pages.
zone(1): 126784 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hda3
Initializing CPU#0
Detected 2400.117 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 4784.12 BogoMIPS
Memory: 515760k/523520k available (1000k kernel code, 7372k reserved, 447k data, 68k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer-cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I cache: 0K, L1 D cache: 8K
CPU: L2 cache: 512K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: bfebfbff 00000000 00000000 00000000
CPU:             Common caps: bfebfbff 00000000 00000000 00000000
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz stepping 07
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch at atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xf0031, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
PCI: Using IRQ router PIIX [8086/24c0] at 00:1f.0
PCI: Found IRQ 9 for device 00:1f.1
PCI: Sharing IRQ 9 with 00:1d.2
PCI: Sharing IRQ 9 with 02:02.0
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
Journalled Block Device driver loaded
devfs: v1.12c (20020818) Richard Gooch (rgooch at atnf.csiro.au)
devfs: boot_options: 0x1
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
PCI: Found IRQ 7 for device 02:00.0
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller on PCI bus 00 dev f9
PCI: Device 00:1f.1 not available because of resource collisions
PCI: Found IRQ 9 for device 00:1f.1
PCI: Sharing IRQ 9 with 00:1d.2
PCI: Sharing IRQ 9 with 02:02.0
ICH4: BIOS setup was incomplete.
ICH4: chipset revision 2
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:pio
hda: ST3160021A, ATA DISK drive
hdc: Hewlett-Packard CD-Writer Plus 9300, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
blk: queue c02a3fa4, I/O limit 4095Mb (mask 0xffffffff)
hda: 312581808 sectors (160042 MB) w/2048KiB Cache, CHS=19457/255/63, UDMA(100)
hdc: ATAPI 32X CD-ROM CD-R/RW drive, 4096kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4
floppy0: no floppy controllers found
eepro100.c:v1.09j-t 9/29/99 Donald Becker http://www.scyld.com/network/eepro100.html
eepro100.c: $Revision: 1.36 $ 2000/11/17 Modified by Andrey V. Savochkin <saw at saw.sw.com.sg> and others
PCI: Found IRQ 11 for device 02:08.0
eth0: Intel Corp. 82801BD PRO/100 VE (LOM) Ethernet Controller, 00:07:E9:F6:E6:EA, IRQ 11.
  Board assembly 000000-000, Physical connectors present: RJ45
  Primary interface chip i82555 PHY #1.
  General self-test: passed.
  Serial sub-system self-test: passed.
  Internal registers self-test: passed.
  ROM checksum self-test: passed (0x04f4518b).
usb.c: registered new driver hub
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 11 for device 00:1d.0
PCI: Setting latency timer of device 00:1d.0 to 64
uhci.c: USB UHCI at I/O 0xe800, IRQ 11
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 5 for device 00:1d.1
PCI: Setting latency timer of device 00:1d.1 to 64
uhci.c: USB UHCI at I/O 0xe880, IRQ 5
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 9 for device 00:1d.2
PCI: Sharing IRQ 9 with 00:1f.1
PCI: Sharing IRQ 9 with 02:02.0
PCI: Setting latency timer of device 00:1d.2 to 64
uhci.c: USB UHCI at I/O 0xec00, IRQ 9
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 68k freed
Adding Swap: 530136k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
0: nvidia: loading NVIDIA Linux x86 nvidia.o Kernel Module  1.0-4349  Thu Mar 27 19:00:02 PST 2003
i2c-core.o: i2c core module
i2c-algo-bit.o: i2c bit algorithm module
i2c-core.o: driver i2c msp3400 driver registered.
i2c-core.o: driver saa7115 registered.
i2c-core.o: driver i2c TV tuner driver registered.
Linux video capture interface: v1.00
ivtv: Found an iTVC15 based chip
PCI: Found IRQ 9 for device 02:02.0
PCI: Sharing IRQ 9 with 00:1d.2
PCI: Sharing IRQ 9 with 00:1f.1
msp34xx: init: chip=MSP3445G-B8, has NICAM support
msp3410: daemon started
i2c-core.o: client [MSP3445G-B8] registered to adapter [ivtv i2c driver #0](pos. 0).
saa7114.c: starting probe for adapter ivtv i2c driver #0 (0x10005)
saa7114.c: detecting saa7114 client on address 0x42
saa7115.c: writing init values
status: (1E) 0x50, (1F) 0xc0
i2c-core.o: client [saa7115[0]] registered to adapter [ivtv i2c driver #0](pos. 1).
tuner: probing ivtv i2c driver #0 i2c adapter [id=0x10005]
tuner: chip found @ 0xc2
tuner(bttv): type forced to 2 (Philips NTSC (FI1236,FM1236 and compatibles)) [insmod]
i2c-core.o: client [Philips NTSC (FI1236,FM1236 and ] registered to adapter [ivtv i2c driver #0](pos. 2).
i2c-core.o: adapter ivtv i2c driver #0 registered as adapter 0.
ivtv: Encoder revision: 0x02030207
ivtv: Decoder revision: 0x02020001
ivtv: Registered v4l2 device, minor 0
ivtv: Registered v4l2 device, minor 32
ivtv: Registered v4l2 device, minor 224
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,4), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Real Time Clock Driver v1.10e
PCI: Found IRQ 3 for device 00:1f.5
PCI: Sharing IRQ 3 with 00:1f.3
PCI: Setting latency timer of device 00:1f.5 to 64
intel8x0: clocking to 48000





More information about the mythtv-users mailing list