Date: Fri, 21 Oct 2005 18:42:03 +0200 From: Andreas Klemm <andreas@freebsd.org> To: multimedia@freebsd.org Cc: Ariff Abdullah <skywizard@MyBSD.org.my> Subject: Re: 6.0RC1: playback speed of mp3 and .wav files approx 10% slower Message-ID: <20051021164203.GA1186@titan.klemm.apsfilter.org> In-Reply-To: <20051021234238.6de3811b.skywizard@MyBSD.org.my> References: <20051021101046.GA14976@titan.klemm.apsfilter.org> <20051021234238.6de3811b.skywizard@MyBSD.org.my>
next in thread | previous in thread | raw e-mail | index | archive | help
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<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,MMX,FXSR,SSE,SSE2> AMD Features=0xe2500800<SYSCALL,NX,MMX+,<b25>,LM,3DNow+,3DNow> real memory = 1073676288 (1023 MB) avail memory = 1041801216 (993 MB) ACPI APIC Table: <Nvidia AWRDACPI> ioapic0 <Version 1.1> irqs 0-23 on motherboard acpi0: <Nvidia AWRDACPI> on motherboard acpi0: Power Button (fixed) pci_link0: <ACPI PCI Link LNK1> irq 3 on acpi0 pci_link1: <ACPI PCI Link LNK2> on acpi0 pci_link2: <ACPI PCI Link LNK3> irq 10 on acpi0 pci_link3: <ACPI PCI Link LNK4> irq 5 on acpi0 pci_link4: <ACPI PCI Link LNK5> irq 5 on acpi0 pci_link5: <ACPI PCI Link LUBA> irq 7 on acpi0 pci_link6: <ACPI PCI Link LUBB> irq 7 on acpi0 pci_link7: <ACPI PCI Link LMAC> irq 7 on acpi0 pci_link8: <ACPI PCI Link LAPU> on acpi0 pci_link9: <ACPI PCI Link LACI> irq 11 on acpi0 pci_link10: <ACPI PCI Link LMCI> on acpi0 pci_link11: <ACPI PCI Link LSMB> irq 7 on acpi0 pci_link12: <ACPI PCI Link LUB2> irq 7 on acpi0 pci_link13: <ACPI PCI Link LFIR> on acpi0 pci_link14: <ACPI PCI Link L3CM> on acpi0 pci_link15: <ACPI PCI Link LIDE> on acpi0 pci_link16: <ACPI PCI Link LSID> irq 10 on acpi0 pci_link17: <ACPI PCI Link LFID> irq 11 on acpi0 pci_link18: <ACPI PCI Link APC1> irq 0 on acpi0 pci_link19: <ACPI PCI Link APC2> irq 0 on acpi0 pci_link20: <ACPI PCI Link APC3> irq 0 on acpi0 pci_link21: <ACPI PCI Link APC4> irq 0 on acpi0 pci_link22: <ACPI PCI Link APC5> irq 16 on acpi0 pci_link23: <ACPI PCI Link APCF> irq 0 on acpi0 pci_link24: <ACPI PCI Link APCG> irq 0 on acpi0 pci_link25: <ACPI PCI Link APCH> irq 0 on acpi0 pci_link26: <ACPI PCI Link APCI> irq 0 on acpi0 pci_link27: <ACPI PCI Link APCJ> irq 0 on acpi0 pci_link28: <ACPI PCI Link APCK> irq 0 on acpi0 pci_link29: <ACPI PCI Link APCS> irq 0 on acpi0 pci_link30: <ACPI PCI Link APCL> irq 0 on acpi0 pci_link31: <ACPI PCI Link APCM> irq 0 on acpi0 pci_link32: <ACPI PCI Link AP3C> irq 0 on acpi0 pci_link33: <ACPI PCI Link APCZ> irq 0 on acpi0 pci_link34: <ACPI PCI Link APSI> irq 0 on acpi0 pci_link35: <ACPI PCI Link APSJ> 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: <ACPI CPU> on acpi0 acpi_button0: <Power Button> on acpi0 pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff,0xcf0-0xcf3 on acpi0 pci0: <ACPI PCI bus> on pcib0 agp0: <NVIDIA nForce3-250 AGP Controller> mem 0xf0000000-0xf7ffffff at device 0.0 on pci0 isab0: <PCI-ISA bridge> at device 1.0 on pci0 isa0: <ISA bus> on isab0 pci0: <serial bus, SMBus> at device 1.1 (no driver attached) ohci0: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <OHCI (generic) USB controller> 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: <EHCI (generic) USB 2.0 controller> 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: <EHCI (generic) USB 2.0 controller> 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: <NVIDIA nForce MCP7 Networking Adapter> port 0xa400-0xa407 mem 0xfc000000-0xfc000fff irq 21 at device 5.0 on pci0 nve0: Ethernet address 00:11:09:cd:3d:ec miibus0: <MII bus> on nve0 ukphy0: <Generic IEEE 802.3u media interface> 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: <nVidia nForce3 250> port 0xa800-0xa8ff,0xac00-0xac7f mem 0xfc001000-0xfc001fff irq 22 at device 6.0 on pci0 pcm0: [GIANT-LOCKED] pcm0: <Avance Logic ALC850 AC97 Codec> atapci0: <nVidia nForce3 Pro UDMA133 controller> port 0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0xf000-0xf00f at device 8.0 on pci0 ata0: <ATA channel 0> on atapci0 ata1: <ATA channel 1> on atapci0 atapci1: <nVidia nForce3 Pro SATA150 controller> port 0x9e0-0x9e7,0xbe0-0xbe3,0x960-0x967,0xb60-0xb63,0xc800-0xc80f,0xcc00-0xcc7f irq 23 at device 9.0 on pci0 ata2: <ATA channel 0> on atapci1 ata3: <ATA channel 1> on atapci1 atapci2: <nVidia nForce3 Pro SATA150 controller> port 0x9f0-0x9f7,0xbf0-0xbf3,0x970-0x977,0xb70-0xb73,0xe000-0xe00f,0xe400-0xe47f irq 20 at device 10.0 on pci0 ata4: <ATA channel 0> on atapci2 ata5: <ATA channel 1> on atapci2 pcib1: <ACPI PCI-PCI bridge> at device 11.0 on pci0 pci1: <ACPI PCI bus> on pcib1 pci1: <display, VGA> at device 0.0 (no driver attached) pci1: <display> at device 0.1 (no driver attached) pcib2: <ACPI PCI-PCI bridge> 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: <ACPI PCI bus> on pcib2 pci2: <multimedia, audio> at device 8.0 (no driver attached) pci2: <serial bus, FireWire> at device 12.0 (no driver attached) re0: <RealTek 8169S Single-chip Gigabit Ethernet> port 0x9400-0x94ff mem 0xfb000000-0xfb0000ff irq 16 at device 13.0 on pci2 miibus1: <MII bus> on re0 rgephy0: <RTL8169S/8110S media interface> on miibus1 rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseTX, 1000baseTX-FDX, auto re0: Ethernet address: 00:11:09:cd:3e:59 speaker0: <PC speaker> port 0x61 on acpi0 fdc0: <floppy drive controller> 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: <Keyboard controller (i8042)> port 0x60,0x64 irq 1 on acpi0 atkbd0: <AT Keyboard> irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: <PS/2 Mouse> irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 npx0: [FAST] npx0: <math processor> on motherboard npx0: INT 16 interface pmtimer0 on isa0 orm0: <ISA Option ROMs> at iomem 0xc0000-0xccfff,0xd0000-0xd3fff,0xd4000-0xd57ff,0xd6000-0xd6fff on isa0 ppc0: parallel port not found. sc0: <System console> 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: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 1808812953 Hz quality 800 Timecounters tick every 1.000 msec acd0: DVDROM <LITEON DVD-ROM LTD122/IHNC> at ata1-master UDMA33 acd1: DVDR <HL-DT-ST DVDRAM GSA-4082B/A201> at ata1-slave UDMA33 ad4: 152627MB <Seagate ST3160827AS 3.42> at ata2-master SATA150 ad6: 152627MB <Seagate ST3160827AS 3.42> at ata3-master SATA150 Trying to mount root from ufs:/dev/ad6s1a cd0 at ata1 bus 0 target 0 lun 0 cd0: <LITEON DVD-ROM LTD122 IHNC> 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: <HL-DT-ST DVDRAM GSA-4082B A201> 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/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051021164203.GA1186>