From owner-freebsd-multimedia Tue Jul 11 5:39:52 2000 Delivered-To: freebsd-multimedia@freebsd.org Received: from lcremeans.erols.com (lcremeans.erols.com [216.164.87.29]) by hub.freebsd.org (Postfix) with ESMTP id AA7E637B582; Tue, 11 Jul 2000 05:39:39 -0700 (PDT) (envelope-from lee@lcremeans.erols.com) Received: (from lee@localhost) by lcremeans.erols.com (8.9.3/8.9.3) id EAA10036; Tue, 11 Jul 2000 04:40:20 -0400 (EDT) (envelope-from lee) Date: Tue, 11 Jul 2000 04:40:14 -0400 From: Lee Cremeans To: stable@freebsd.org, multimedia@freebsd.org Subject: newpcm and RealPlayer woes Message-ID: <20000711044014.A8062@lcremeans.erols.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i X-OS: FreeBSD 3.0-STABLE Organization: My room? Are you crazy? :) Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org I've been using the newpcm drivers for some time, and they seem to work with most things, but I've noticed some problems, specifically with the RealPlayer 7 Beta for linux. The sound seems to jump at the beginning of a stream, leaving it at least 3-4 seconds behind the counter and any video content. This makes video streams hard to watch, and also cuts off local streams early. Also, on remote streams, the sound clicks and squeals loudly about 1-2 seconds into the stream, and the stream stays out of sync with the RealPlayer counter the whole time. I have a PR open on this, misc/18728. All of this seems to have started happening around the time of the May 12 MFC, it looks like. I don't know enough about how newpcm works to be able to offer any advice on fixing the code, but I'd be willing to take a look at it in my spare time, and I can try any patches someone can come up with. I have my dmesg pasted below; this is from -STABLE CVSupped Sunday night. -lee ---cut here-- Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD 4.0-STABLE #0: Tue Jul 11 04:10:20 EDT 2000 root@lcremeans.erols.com:/usr/obj/usr/src/sys/LEE Timecounter "i8254" frequency 1193182 Hz Timecounter "TSC" frequency 400910252 Hz CPU: AMD-K6(tm) 3D+ Processor (400.91-MHz 586-class CPU) Origin = "AuthenticAMD" Id = 0x591 Stepping = 1 Features=0x8021bf AMD Features=0x80000800 real memory = 134217728 (131072K bytes) avail memory = 127434752 (124448K bytes) Preloaded elf kernel "LEE" at 0xc02e7000. VESA: v2.0, 8192k memory, flags:0x1, mode table:0xc0293e82 (1000022) VESA: Matrox Graphics Inc. K6-family MTRR support enabled (2 registers) npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib2: at device 1.0 on pci0 pci1: on pcib2 pci1: at 0.0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xd000-0xd00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: at 7.2 irq 11 fxp0: port 0xd800-0xd81f mem 0xe8800000-0xe88fffff,0xe8901000-0xe8901fff irq 9 at device 8.0 on pci0 fxp0: Ethernet address 00:a0:c9:76:92:a7, 10Mbps sym0: <875> port 0xdc00-0xdcff mem 0xe8900000-0xe8900fff,0xe8904000-0xe89040ff irq 10 at device 9.0 on pci0 sym0: Symbios NVRAM, ID 7, Fast-20, SE, parity checking sym0: open drain IRQ line driver, using on-chip SRAM sym0: using LOAD/STORE-based firmware. sym1: <875> port 0xe000-0xe0ff mem 0xe8903000-0xe8903fff,0xe8902000-0xe89020ff irq 9 at device 9.1 on pci0 sym1: Symbios NVRAM, ID 7, Fast-20, SE, parity checking sym1: open drain IRQ line driver, using on-chip SRAM sym1: using LOAD/STORE-based firmware. pcib1: on motherboard pci2: on pcib1 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model MouseMan+, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/15 bytes threshold lpt0: on ppbus0 lpt0: Interrupt-driven port sb0 at port 0x220 irq 5 drq 1 on isa0 snd0: sb0: driver is using old-style compatability shims sbxvi0 at port 0xffffffff drq 5 on isa0 isa_compat: didn't get ports for sbxvi snd0: WARNING: "snd" is usurping "snd"'s cdevsw[] sbxvi0: driver is using old-style compatability shims sbmidi0 at port 0x330 on isa0 snd0: WARNING: "snd" is usurping "snd"'s cdevsw[] sbmidi0: driver is using old-style compatability shims awe0 at port 0x620 on isa0 awe0: WARNING: "snd" is usurping "snd"'s cdevsw[] awe0: driver is using old-style compatability shims ad0: 8693MB [17662/16/63] at ata0-master using UDMA33 acd0: CDROM at ata1-master using WDMA2 afd0: 120MB [963/8/32] at ata1-slave using PIO2 Waiting 10 seconds for SCSI devices to settle (noperiph:sym0:0:-1:-1): SCSI BUS reset delivered. (noperiph:sym1:0:-1:-1): SCSI BUS reset delivered. sa0 at sym1 bus 0 target 6 lun 0 sa0: Removable Sequential Access SCSI-2 device sa0: 3.300MB/s transfers pass1 at sym1 bus 0 target 5 lun 0 pass1: Fixed Scanner SCSI-2 device pass1: 3.300MB/s transfers Mounting root from ufs:/dev/ad0s1a cd0 at sym1 bus 0 target 4 lun 0 cd0: Removable CD-ROM SCSI-2 device cd0: 10.000MB/s transfers (10.000MHz, offset 15) cd0: cd present [1 x 2048 byte records] -- +--------------------------------------------------------------------+ | Lee Cremeans -- Manassas, VA, USA (WakkyMouse on WTnet) | | lcremeans@erols.com | http://wakky.dyndns.org/~lee | To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message