Dell Inspiron 2650: Sound output slowed when using vchannels (fwd)
(Sorry for the double post, this is a 2650, not 2600, dell laptop) Hi, I just tried adding some virtual channels to my laptop to get XMMS and KDE's sound server to play nicely using the commands: sysctl hw.snd.pcm0.vchans=4 sysctl hw.snd.maxautovchans=4 As soon as I play the next mp3, even with XMMS still pointing at /dev/dsp0, Liz Phair starts sounding like she's tired and has a cold. Timing it, it seems like each track takes an extra 5 seconds per minute of play. Setting the number of vchannels to 1 doesn't fix things, but setting it back to 0 restores things to perfect playback. This is very repeatable. The hardware is the Inspiron 2650's builtin soundcard. Here's the output of dmesg: Copyright (c) 1992-2003 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.8-STABLE #0: Wed Jun 18 22:43:27 PDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZOE.5 Timecounter "i8254" frequency 1193182 Hz CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 1.70GHz (1695.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebf9ff real memory = 133693440 (130560K bytes) avail memory = 123301888 (120412K bytes) Preloaded elf kernel "kernel" at 0xc068c000. Preloaded elf module "linux.ko" at 0xc068c09c. Preloaded elf module "nvidia.ko" at 0xc068c13c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 8 entries at 0xc00fdf40 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xec00-0xefff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xf000-0xf7ff,0xe000-0xe0ff irq 10 at device 0.0 on pci1 uhci0: port 0x1800-0x181f irq 10 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x3000-0x307f mem 0xe800-0xe87f irq 10 at device 1.0 on pci2 xl0: Ethernet address: 00:08:74:e5:ff:7c miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcic0: irq 10 at device 4.0 on pci2 pcic0: PCI Memory allocated: 0x8800 pcic0: Warning: O2micro OZ68xx chips may not work pccard0: on pcic0 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1840-0x184f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x2483) at 31.3 irq 10 pcm0: port 0x1880-0x18bf,0x1c00-0x1cff irq 10 at device 31.5 on pci0 pcm0: pci0: (vendor=0x8086, dev=0x2486) at 31.6 irq 10 orm0: at iomem 0xc-0xcdfff,0xce000-0xce7ff,0xdc000-0xd on isa0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 1/0/0 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ad0: 19077MB [38760/16/63] at ata0-master UDMA100 acd0: CD-RW at ata1-master PIO4 Mounting root from ufs:/dev/ad0s3a Thanks in advance for any help, Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Dell Inspiron 2600: Sound output slowed when using vchannels
Hi, I just tried adding some virtual channels to my laptop to get XMMS and KDE's sound server to play nicely using the commands: sysctl hw.snd.pcm0.vchans=4 sysctl hw.snd.maxautovchans=4 As soon as I play the next mp3, even with XMMS still pointing at /dev/dsp0, Liz Phair starts sounding like she's tired and has a cold. Timing it, it seems like each track takes an extra 5 seconds per minute of play. Setting the number of vchannels to 1 doesn't fix things, but setting it back to 0 restores things to perfect playback. This is very repeatable. The hardware is the Inspiron 2600's builtin soundcard. Here's the output of dmesg: Copyright (c) 1992-2003 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.8-STABLE #0: Wed Jun 18 22:43:27 PDT 2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/ZOE.5 Timecounter "i8254" frequency 1193182 Hz CPU: Mobile Intel(R) Pentium(R) 4 - M CPU 1.70GHz (1695.01-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0xf27 Stepping = 7 Features=0xbfebf9ff real memory = 133693440 (130560K bytes) avail memory = 123301888 (120412K bytes) Preloaded elf kernel "kernel" at 0xc068c000. Preloaded elf module "linux.ko" at 0xc068c09c. Preloaded elf module "nvidia.ko" at 0xc068c13c. Pentium Pro MTRR support enabled md0: Malloc disk Using $PIR table, 8 entries at 0xc00fdf40 apm0: on motherboard apm0: found APM BIOS v1.2, connected at v1.2 npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 agp0: mem 0xec00-0xefff at device 0.0 on pci0 pcib1: at device 1.0 on pci0 pci1: on pcib1 nvidia0: mem 0xf000-0xf7ff,0xe000-0xe0ff irq 10 at device 0.0 on pci1 uhci0: port 0x1800-0x181f irq 10 at device 29.0 on pci0 usb0: on uhci0 usb0: USB revision 1.0 uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered uhci1: port 0x1820-0x183f irq 11 at device 29.1 on pci0 usb1: on uhci1 usb1: USB revision 1.0 uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub1: 2 ports with 2 removable, self powered pcib2: at device 30.0 on pci0 pci2: on pcib2 xl0: <3Com 3c905C-TX Fast Etherlink XL> port 0x3000-0x307f mem 0xe800-0xe87f irq 10 at device 1.0 on pci2 xl0: Ethernet address: 00:08:74:e5:ff:7c miibus0: on xl0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto pcic0: irq 10 at device 4.0 on pci2 pcic0: PCI Memory allocated: 0x8800 pcic0: Warning: O2micro OZ68xx chips may not work pccard0: on pcic0 isab0: at device 31.0 on pci0 isa0: on isab0 atapci0: port 0x1840-0x184f,0-0x3,0-0x7,0-0x3,0-0x7 at device 31.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 pci0: (vendor=0x8086, dev=0x2483) at 31.3 irq 10 pcm0: port 0x1880-0x18bf,0x1c00-0x1cff irq 10 at device 31.5 on pci0 pcm0: pci0: (vendor=0x8086, dev=0x2486) at 31.6 irq 10 orm0: at iomem 0xc-0xcdfff,0xce000-0xce7ff,0xdc000-0xd on isa0 fdc0: at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0 fdc0: FIFO enabled, 8 bytes threshold fd0: <1440-KB 3.5" drive> on fdc0 drive 0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa-0xb on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sio0: configured irq 4 not in bitmap of probed irqs 0 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 8250 sio1: configured irq 3 not in bitmap of probed irqs 0 ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (ECP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 1/0/0 bytes threshold plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ad0: 19077MB [38760/16/63] at ata0-master UDMA100 acd0: CD-RW at ata1-master PIO4 Mounting root from ufs:/dev/ad0s3a Thanks in advance for any help, Mark ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: error building mozilla-- cannot find -lglib
Found it-- /usr/ports/www/mozilla/work/mozilla/config/autoconf.mk. There are several macro definitions for -lglib12, but LIBIDL_LIBS is defined to include -lglib. I haven't investigated this further to figure out where this should have been set (ie, if it's a patch problem or a configure problem), but the build just progressed past the xpidl stage where it was failing before. I will let you know if it builds successfully, and if you want me to do any more tests I'd be glad to do so if it would help the porting process. Thanks for all your help, Mark On 25 Sep 2002, Joe Marcus Clarke wrote: >On Sat, 2002-09-21 at 02:49, Mark J. Miller wrote: >> >> >> >> >Somehow your Mozilla is being configured incorrectly. Make sure your >> >> >/usr/ports/Mk directory is up-to-date, then do a make clean in the >> >> >mozilla directory, and try to rebuild. It shouldn't be looking for >> >> >-lglib, but rather -lglib12. >> > >> >This is handled by the glib12-config script (installed as part of >> >glib12). What does glib12-config --libs report? What revision of >> >/usr/ports/Mk/bsd.port.mk do you have? >> >> % glib12-config --libs >> -L/usr/local/lib -lglib12 >> >> I did a 'locate glib| grep config' and found another binary called >> glib-config in /usr/local/bin. The version it reported was 1.2.8, while >> glib12-config reports 1.2.10 . I removed the old binary, ran a make clean >> install again, but got the same error. >> >> The version of /usr/ports/Mk/bsd.port.mk is >> # $FreeBSD: ports/Mk/bsd.port.mk,v 1.424 2002/09/19 00:16:39 kris Exp $ >> >> I should note that earlier I had a problem with libIDL which I've just >> come across again: >> >> cc -o xpidl.o -c -DOSTYPE=\"FreeBSD4\" -DOSARCH=\"FreeBSD\" -DOJI >> -I../../../dist/include/xpcom -I../../../dist/include >> -I/usr/ports/www/mozilla/work/mozilla/dist/include/nspr >> -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -fPIC >> -I/usr/X11R6/include -I/usr/X11R6/include -Wall -W -Wno-unused >> -Wpointer-arith -Wcast-align -Wno-long-long -O -pipe -march=pentiumpro >> -pipe -DNDEBUG -DTRIMMED -ffunction-sections -I/usr/local/include/glib12 >> -I/usr/local/include/orbit-1.0 -I/usr/local/include -I/usr/X11R6/include >> -I/usr/X11R6/include -include ../../../config-defs.h -DMOZILLA_CLIENT >> xpidl.c >> In file included from xpidl.c:42: >> xpidl.h:53: libIDL/IDL.h: No such file or directory >> >> To get around this, I installed libIDL, which had a dependency on glib20. >> This did solve the IDL problem. After seeing the glib problem, I did a >> pkg_delete -f on glib20, reinstalled glib12, and got the same error I have >> now ("can't find -lglib"). I don't think this would have any effect (I'm >> doing make clean install each time), but am I missing something? Should >> mozilla have its own version of IDL? > >It should. I have not seen this error previously. The only other user >I can recall that had this problem symlinked libglib12.so to >libglib.so. However, this might not solve the libIDL problem. > >> >> Here are the lines from the build process that have to do with glib: >> ===> Cleaning for glib-1.2.10_7 >> ===> mozilla-1.0.1,2 depends on shared library: glib12.3 - found >> checking for glib-config... /usr/local/bin/glib12-config >> checking for GLIB - version >= 1.2.0... yes >> >> It seems like config is detecting the correct version, but it's still >> using -lglib, not -lglib12 as you mentioned. > >Can you hunt through the makefiles to see which one has the -lglib and >figure out where it's coming from? It might help to determine why this >is happening. > >Joe > >> >> Thanks for your continuing help, >> Mark >> >> >-- >PGP Key : http://www.marcuscom.com/pgp.asc > > To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: error building mozilla-- cannot find -lglib
>> >Somehow your Mozilla is being configured incorrectly. Make sure your >> >/usr/ports/Mk directory is up-to-date, then do a make clean in the >> >mozilla directory, and try to rebuild. It shouldn't be looking for >> >-lglib, but rather -lglib12. > >This is handled by the glib12-config script (installed as part of >glib12). What does glib12-config --libs report? What revision of >/usr/ports/Mk/bsd.port.mk do you have? % glib12-config --libs -L/usr/local/lib -lglib12 I did a 'locate glib| grep config' and found another binary called glib-config in /usr/local/bin. The version it reported was 1.2.8, while glib12-config reports 1.2.10 . I removed the old binary, ran a make clean install again, but got the same error. The version of /usr/ports/Mk/bsd.port.mk is # $FreeBSD: ports/Mk/bsd.port.mk,v 1.424 2002/09/19 00:16:39 kris Exp $ I should note that earlier I had a problem with libIDL which I've just come across again: cc -o xpidl.o -c -DOSTYPE=\"FreeBSD4\" -DOSARCH=\"FreeBSD\" -DOJI -I../../../dist/include/xpcom -I../../../dist/include -I/usr/ports/www/mozilla/work/mozilla/dist/include/nspr -I/usr/local/include -I/usr/local/include -I/usr/X11R6/include -fPIC -I/usr/X11R6/include -I/usr/X11R6/include -Wall -W -Wno-unused -Wpointer-arith -Wcast-align -Wno-long-long -O -pipe -march=pentiumpro -pipe -DNDEBUG -DTRIMMED -ffunction-sections -I/usr/local/include/glib12 -I/usr/local/include/orbit-1.0 -I/usr/local/include -I/usr/X11R6/include -I/usr/X11R6/include -include ../../../config-defs.h -DMOZILLA_CLIENT xpidl.c In file included from xpidl.c:42: xpidl.h:53: libIDL/IDL.h: No such file or directory To get around this, I installed libIDL, which had a dependency on glib20. This did solve the IDL problem. After seeing the glib problem, I did a pkg_delete -f on glib20, reinstalled glib12, and got the same error I have now ("can't find -lglib"). I don't think this would have any effect (I'm doing make clean install each time), but am I missing something? Should mozilla have its own version of IDL? Here are the lines from the build process that have to do with glib: ===> Cleaning for glib-1.2.10_7 ===> mozilla-1.0.1,2 depends on shared library: glib12.3 - found checking for glib-config... /usr/local/bin/glib12-config checking for GLIB - version >= 1.2.0... yes It seems like config is detecting the correct version, but it's still using -lglib, not -lglib12 as you mentioned. Thanks for your continuing help, Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
Re: error building mozilla-- cannot find -lglib
>> Why would ld be unable to find glib? Is there something I'm doing wrong? > >Somehow your Mozilla is being configured incorrectly. Make sure your >/usr/ports/Mk directory is up-to-date, then do a make clean in the >mozilla directory, and try to rebuild. It shouldn't be looking for >-lglib, but rather -lglib12. > >Joe I just re-cvsup'ed and tried it again (make clean install), same error-- can't find -lglib. How do I change it to specify glib12? Thanks, Mark To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message