From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 21 16:50:10 2005 Return-Path: X-Original-To: multimedia@freebsd.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A511516A41F for ; Fri, 21 Oct 2005 16:50:10 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (srv1.cosmo-project.de [213.83.6.106]) by mx1.FreeBSD.org (Postfix) with ESMTP id EF97C43D46 for ; Fri, 21 Oct 2005 16:50:09 +0000 (GMT) (envelope-from andreas@klemm.apsfilter.org) Received: from srv1.cosmo-project.de (localhost [IPv6:::1]) by srv1.cosmo-project.de (8.12.10/8.12.10) with ESMTP id j9LGo6JG078195 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO); Fri, 21 Oct 2005 18:50:06 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: (from uucp@localhost) by srv1.cosmo-project.de (8.12.10/8.12.10/Submit) with UUCP id j9LGo6KA078194; Fri, 21 Oct 2005 18:50:06 +0200 (CEST) (envelope-from andreas@klemm.apsfilter.org) Received: from titan.klemm.apsfilter.org (localhost.klemm.apsfilter.org [127.0.0.1]) by klemm.apsfilter.org (8.13.4/8.13.4) with ESMTP id j9LGg5nM001376; Fri, 21 Oct 2005 18:42:05 +0200 (CEST) (envelope-from andreas@titan.klemm.apsfilter.org) Received: (from andreas@localhost) by titan.klemm.apsfilter.org (8.13.4/8.13.4/Submit) id j9LGg3ib001375; Fri, 21 Oct 2005 18:42:03 +0200 (CEST) (envelope-from andreas) Date: Fri, 21 Oct 2005 18:42:03 +0200 From: Andreas Klemm To: multimedia@freebsd.org Message-ID: <20051021164203.GA1186@titan.klemm.apsfilter.org> References: <20051021101046.GA14976@titan.klemm.apsfilter.org> <20051021234238.6de3811b.skywizard@MyBSD.org.my> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20051021234238.6de3811b.skywizard@MyBSD.org.my> X-Operating-System: FreeBSD 6.0-RC1 X-Disclaimer: A free society is one where it is safe to be unpopular User-Agent: Mutt/1.5.11 Cc: Ariff Abdullah Subject: Re: 6.0RC1: playback speed of mp3 and .wav files approx 10% slower X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Oct 2005 16:50:10 -0000 On Fri, Oct 21, 2005 at 11:42:38PM +0800, Ariff Abdullah wrote: > That is weird, considering that nothing has changed for RELENG_6 sound > driver, and because of that of course RELENG_6 still plagued with the > infamous virtual channel speed problems. What soundcard you have > there, and how about the settings of sysctl hw.snd.*. ? Mysterious > failling hardware / speaker is part of the consideration too. I can confirm now that my switching to virtual channels 2 days ago caused the slowdown. Without virtual settings I have to disable sound in KDE, otherwise artsd seem to occupie the sounddevice entirely. Although I think that it already worked concurrently at the moment xmms only runs, if sound is disabled in kde. My mainboard is a MSI K8N Neo2 with nForce 3 Ultra chipset. CPU AMD64 3000+, 1 Gig DRAM. And now more data: dmesg, pciconf -lv and kernel profile. Copyright (c) 1992-2005 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 6.0-RC1 #3: Fri Oct 21 13:34:39 CEST 2005 root@titan.klemm.apsfilter.org:/usr/obj/usr/src/sys/TITANi386 Timecounter "i8254" frequency 1193182 Hz quality 0 CPU: AMD Athlon(tm) 64 Processor 3000+ (1808.81-MHz 686-class CPU) Origin = "AuthenticAMD" Id = 0x10ff0 Stepping = 0 Features=0x78bfbff AMD Features=0xe2500800,LM,3DNow+,3DNow> real memory = 1073676288 (1023 MB) avail memory = 1041801216 (993 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard acpi0: on motherboard acpi0: Power Button (fixed) pci_link0: irq 3 on acpi0 pci_link1: on acpi0 pci_link2: irq 10 on acpi0 pci_link3: irq 5 on acpi0 pci_link4: irq 5 on acpi0 pci_link5: irq 7 on acpi0 pci_link6: irq 7 on acpi0 pci_link7: irq 7 on acpi0 pci_link8: on acpi0 pci_link9: irq 11 on acpi0 pci_link10: on acpi0 pci_link11: irq 7 on acpi0 pci_link12: irq 7 on acpi0 pci_link13: on acpi0 pci_link14: on acpi0 pci_link15: on acpi0 pci_link16: irq 10 on acpi0 pci_link17: irq 11 on acpi0 pci_link18: irq 0 on acpi0 pci_link19: irq 0 on acpi0 pci_link20: irq 0 on acpi0 pci_link21: irq 0 on acpi0 pci_link22: irq 16 on acpi0 pci_link23: irq 0 on acpi0 pci_link24: irq 0 on acpi0 pci_link25: irq 0 on acpi0 pci_link26: irq 0 on acpi0 pci_link27: irq 0 on acpi0 pci_link28: irq 0 on acpi0 pci_link29: irq 0 on acpi0 pci_link30: irq 0 on acpi0 pci_link31: irq 0 on acpi0 pci_link32: irq 0 on acpi0 pci_link33: irq 0 on acpi0 pci_link34: irq 0 on acpi0 pci_link35: irq 0 on acpi0 Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000 acpi_timer0: <24-bit timer at 3.579545MHz> port 0x4008-0x400b on acpi0 cpu0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0 pci0: on pcib0 agp0: mem 0xf0000000-0xf7ffffff at device 0.0 on pci0 isab0: at device 1.0 on pci0 isa0: on isab0 pci0: at device 1.1 (no driver attached) ohci0: mem 0xfc003000-0xfc003fff irq 21 at device 2.0 on pci0 ohci0: [GIANT-LOCKED] usb0: OHCI version 1.0, legacy support usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 4 ports with 4 removable, self powered ohci1: mem 0xfc004000-0xfc004fff irq 22 at device 2.1 on pci0 ohci1: [GIANT-LOCKED] usb1: OHCI version 1.0, legacy support usb1: SMM does not respond, resetting usb1: on ohci1 usb1: USB revision 1.0 uhub1: nVidia OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 4 ports with 4 removable, self powered ehci0: mem 0xfc005000-0xfc0050ff irq 23 at device 2.2 on pci0 ehci0: [GIANT-LOCKED] usb2: EHCI version 1.0 usb2: companion controllers, 4 ports each: usb0 usb1 usb2: on ehci0 usb2: USB revision 2.0 uhub2: nVidia EHCI root hub, class 9/0, rev 2.00/1.00, addr 1 uhub2: 8 ports with 8 removable, self powered nve0: port 0xa400-0xa407 mem 0xfc000000-0xfc000fff irq 21 at device 5.0 on pci0 nve0: Ethernet address 00:11:09:cd:3d:ec miibus0: on nve0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 1000baseT-FDX, auto nve0: Ethernet address: 00:11:09:cd:3d:ec nve0: [GIANT-LOCKED] pcm0: port 0xa800-0xa8ff,0xac00-0xac7f mem 0xfc001000-0xfc001fff irq 22 at device 6.0 on pci0 pcm0: [GIANT-LOCKED] pcm0: atapci0: port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 8.0 on pci0 ata0: on atapci0 ata1: on atapci0 atapci1: port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc800-0xc80f,0xcc00-0xcc7f irq 23 at device 9.0 on pci0 ata2: on atapci1 ata3: on atapci1 atapci2: port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe000-0xe00f,0xe400-0xe47f irq 20 at device 10.0 on pci0 ata4: on atapci2 ata5: on atapci2 pcib1: at device 11.0 on pci0 pci1: on pcib1 pci1: at device 0.0 (no driver attached) pci1: at device 0.1 (no driver attached) pcib2: at device 14.0 on pci0 pci_link18: BIOS IRQ 22 for 0.6.INTA is invalid pci_link21: BIOS IRQ 23 for 0.9.INTA is invalid pci_link19: BIOS IRQ 20 for 0.10.INTA is invalid pci2: on pcib2 pci2: at device 8.0 (no driver attached) pci2: at device 12.0 (no driver attached) re0: port 0x9400-0x94ff mem 0xfb000000-0xfb0000ff irq 16 at device 13.0 on pci2 miibus1: on re0 rgephy0: on miibus1 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto re0: Ethernet address: 00:11:09:cd:3e:59 speaker0: port 0x61 on acpi0 fdc0: port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on acpi0 fdc0: [FAST] fd0: <1440-KB 3.5" drive> on fdc0 drive 0 sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on acpi0 sio0: type 16550A atkbdc0: port 0x60,0x64 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 npx0: [FAST] npx0: on motherboard npx0: INT 16 interface pmtimer0 on isa0 orm0: at iomem 0xc0000-0xccfff,0xd0000-0xd3fff,0xd4000-0xd57ff,0xd6000-0xd6fff on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio1: configured irq 3 not in bitmap of probed irqs 0 sio1: port may not be enabled vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1808812953 Hz quality 800 Timecounters tick every 1.000 msec acd0: DVDROM at ata1-master UDMA33 acd1: DVDR at ata1-slave UDMA33 ad4: 152627MB at ata2-master SATA150 ad6: 152627MB at ata3-master SATA150 Trying to mount root from ufs:/dev/ad6s1a cd0 at ata1 bus 0 target 0 lun 0 cd0: Removable CD-ROM SCSI-0 device cd0: 33.000MB/s transfers cd0: Attempt to query device size failed: NOT READY, Medium not present cd1 at ata1 bus 0 target 1 lun 0 cd1: Removable CD-ROM SCSI-0 device cd1: 33.000MB/s transfers cd1: Attempt to query device size failed: NOT READY, Medium not present re0: link state changed to UP agp0@pci0:0:0: class=0x060000 card=0x02501462 chip=0x00e110de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nforce3 CPU to PCI Bridge' class = bridge subclass = HOST-PCI isab0@pci0:1:0: class=0x060100 card=0x02501462 chip=0x00e010de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce3 CPU to ISA Bridge' class = bridge subclass = PCI-ISA none0@pci0:1:1: class=0x0c0500 card=0x02501462 chip=0x00e410de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce PCI SMB Controller' class = serial bus subclass = SMBus ohci0@pci0:2:0: class=0x0c0310 card=0x02501462 chip=0x00e710de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce OHCI USB Controller' class = serial bus subclass = USB ohci1@pci0:2:1: class=0x0c0310 card=0x02501462 chip=0x00e710de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce OHCI USB Controller' class = serial bus subclass = USB ehci0@pci0:2:2: class=0x0c0320 card=0x02501462 chip=0x00e810de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce EHCI USB 2.0 Controller' class = serial bus subclass = USB nve0@pci0:5:0: class=0x068000 card=0x02501462 chip=0x00df10de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'Network Bus Enumerator' class = bridge pcm0@pci0:6:0: class=0x040100 card=0x75851462 chip=0x00ea10de rev=0xa1 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce AC'97 Audio Codec Interface' class = multimedia subclass = audio atapci0@pci0:8:0: class=0x01018a card=0x02501462 chip=0x00e510de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nForce ATA Controller' class = mass storage subclass = ATA atapci1@pci0:9:0: class=0x010185 card=0x02501462 chip=0x00ee10de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'CK8S Serial ATA Controller' class = mass storage subclass = ATA atapci2@pci0:10:0: class=0x010185 card=0x02501462 chip=0x00e310de rev=0xa2 hdr=0x00 vendor = 'NVIDIA Corporation' device = 'nforce SATA Controller' class = mass storage subclass = ATA pcib1@pci0:11:0: class=0x060400 card=0x00000000 chip=0x00e210de rev=0xa2 hdr=0x01 vendor = 'NVIDIA Corporation' device = 'nForce3 PCI to AGP Bridge' class = bridge subclass = PCI-PCI pcib2@pci0:14:0: class=0x060400 card=0x00000000 chip=0x00ed10de rev=0xa2 hdr=0x01 vendor = 'NVIDIA Corporation' device = 'nForce PCI to PCI Bridge' class = bridge subclass = PCI-PCI hostb0@pci0:24:0: class=0x060000 card=0x00000000 chip=0x11001022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron HyperTransport Technology Configuration' class = bridge subclass = HOST-PCI hostb1@pci0:24:1: class=0x060000 card=0x00000000 chip=0x11011022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron Address Map' class = bridge subclass = HOST-PCI hostb2@pci0:24:2: class=0x060000 card=0x00000000 chip=0x11021022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron DRAM Controller' class = bridge subclass = HOST-PCI hostb3@pci0:24:3: class=0x060000 card=0x00000000 chip=0x11031022 rev=0x00 hdr=0x00 vendor = 'Advanced Micro Devices (AMD)' device = 'Athlon 64 / Opteron Miscellaneous Control' class = bridge subclass = HOST-PCI none1@pci1:0:0: class=0x030000 card=0x00021002 chip=0x4e481002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'Radeon 9800 Pro (R350)' class = display subclass = VGA none2@pci1:0:1: class=0x038000 card=0x00031002 chip=0x4e681002 rev=0x00 hdr=0x00 vendor = 'ATI Technologies Inc' device = 'Radeon 9800 Pro (R350) - Secondary' class = display none3@pci2:8:0: class=0x040100 card=0x1115153b chip=0x17121412 rev=0x02 hdr=0x00 vendor = 'VIA Technologies Inc (Was: IC Ensemble Inc)' device = 'ICE1712 Envy24 Multichannel Audio Controller' class = multimedia subclass = audio none4@pci2:12:0: class=0x0c0010 card=0x086c0574 chip=0x30441106 rev=0x46 hdr=0x00 vendor = 'VIA Technologies Inc' device = 'VT6306 VIA Fire II IEEE-1394 OHCI Link Layer Controller' class = serial bus subclass = FireWire re0@pci2:13:0: class=0x020000 card=0x025c1462 chip=0x816910ec rev=0x10 hdr=0x00 vendor = 'Realtek Semiconductor' device = 'RTL8169 Gigabit Ethernet Adapter' class = network subclass = ethernet # general options machine i386 cpu I686_CPU ident TITANi386 maxusers 0 options CPU_SUSP_HLT options INCLUDE_CONFIG_FILE # kernel/vm options options SCHED_4BSD options PREEMPTION options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options KTRACE options _KPOSIX_PRIORITY_SCHEDULING options ADAPTIVE_GIANT # Giant mutex is adaptive. options BLKDEV_IOSIZE=8192 options DFLDSIZ="(128*1024*1024)" options MAXDSIZ="(384*1024*1024)" options MAXSSIZ="(384*1024*1024)" # Postgresql 180 clients options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores #options SHMMAXPGS=4096 options SHMMAXPGS=65536 options SHMMAX="(SHMMAXPGS*PAGE_SIZE)+1" options SHMALL="(SHMMAXPGS*PAGE_SIZE)+1" options SEMMNI=40 options SEMMNS=240 options SEMUME=40 options SEMMNU=120 # Firewall options #options IPFIREWALL #options IPFIREWALL_VERBOSE #options IPFIREWALL_VERBOSE_LIMIT=10 #options ICMP_BANDLIM #options DUMMYNET # IP stack options options INET options INET6 options ZERO_COPY_SOCKETS #options IPSTEALTH # don't touch ttl, hides fw from traceroute #options TCP_DROP_SYNFIN # ignore TCP packets with SYN+FIN set # Prevent nmap identifying TCP/IP stack. # Not recommended for web servers, # it breaks RFC1644 extensions. #options TCP_RESTRICT_RST # block emmision of TCP RST packets # helpful in preventing TCP/IP stack # identification. #options ACCEPT_FILTER_DATA #options ACCEPT_FILTER_HTTP options LIBMCHAIN options ALTQ options ALTQ_CBQ options ALTQ_RED options ALTQ_RIO options ALTQ_HFSC options ALTQ_PRIQ options NETGRAPH # netgraph(4) system options NETGRAPH_BLUETOOTH # ng_bluetooth(4) options NETGRAPH_BLUETOOTH_BT3C # ng_bt3c(4) options NETGRAPH_BLUETOOTH_HCI # ng_hci(4) options NETGRAPH_BLUETOOTH_L2CAP # ng_l2cap(4) options NETGRAPH_BLUETOOTH_SOCKET # ng_btsocket(4) options NETGRAPH_BLUETOOTH_UBT # ng_ubt(4) options NETGRAPH_BLUETOOTH_UBTBCMFW # ubtbcmfw(4) options NETGRAPH_BPF # needs giant #options NETGRAPH_BLUETOOTH_H4 # ng_h4(4) # filesystems options GEOM_GPT options GEOM_BDE options FFS options SOFTUPDATES options UFS_ACL options UFS_DIRHASH #options UFS_EXTATTR #options UFS_EXTATTR_AUTOSTART options CD9660 options CD9660_ICONV options UDF options PSEUDOFS options PROCFS options FDESCFS options QUOTA options MD_ROOT options NFSCLIENT options NFSSERVER options NTFS options NTFS_ICONV options MSDOSFS options MSDOSFS_ICONV options MSDOSFS_LARGE options LIBICONV options NULLFS # MAC framework #options MAC #options MAC_BIBA #options MAC_BSDEXTENDED #options MAC_LOMAC #options MAC_MLS #options MAC_PARTITION #options MAC_PORTACL #options MAC_SEEOTHERUIDS # hardware (&options) options SCSI_DELAY=5000 # Delay (in ms) before probing SCSI options KBD_INSTALL_CDEV # install a CDEV entry in /dev # northbridge device npx device apic device acpi device pmtimer device atkbdc device atkbd device psm device vga device sc device sio device speaker device fdc # southbridge device isa device pci device agp #device cbb #device pccard #device cardbus device ata device atadisk device atapicd options ATA_STATIC_ID device scbus device pass device ses # SCSI Environmental Services (and SAF-TE) device atapicam device cd device miibus #device bge device re device nve #device wlan #device ipw #device iwi device sound device snd_ich device usb device uhci device ohci device ehci device uhid device ukbd device ums device umass device ucom device uplcom device ppc device ppbus device lpt # pseudo devices device md device loop device mem device io device random device ether device vlan device gif #device faith # IPv6-to-IPv4 relaying (translation) device gre device tun device tap device bpf #device pf #device pflog #device pfsync device carp device pty device snp options VESA device splash Andreas /// -- Andreas Klemm - Powered by FreeBSD 6 Need a magic printfilter today ? -> http://www.apsfilter.org/