Date: Sun, 12 Jan 2003 02:47:59 -0000 From: "Patrick Stinson" <ajole@br.logorrhea.com> To: "Michael Ferguson" <mcf@augustmail.com>, <current@FreeBSD.ORG> Cc: <scottl@FreeBSD.ORG>, <anderson@cs.duke.edu>, <jmcneill@invisible.yi.org>, <kluckie@ihug.co.nz> Subject: RE: Sound playback problem with Maestro3.c (?) Message-ID: <DGEJJGCKEJIEOAABJNHMOELCCEAA.ajole@br.logorrhea.com> In-Reply-To: <003d01c2b674$e457dc20$29628d42@lucia>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a software issue. The echoing is what happens when the sound driver doesn't receive audio data fast enough from an application (ie OSS). when the driver doesn't get the data in time, it plays whatever was last in the buffer until it does get audio. this sort of thing always happens no matter what the platform. My experience with BSD, and any not-successfully preemptive kernels is that io and process sceduling never provides proper attention to the processes requiring enough power for smooth audio. I beleive 5.0 will appreciate this point, and this mailing list would be a good place to start. Disk IO has always been a big factor for me. I've moved my audio development from my FBSD/Inspiron 8000 into the ASIO/DirectX arena for performance reasons. -----Original Message----- From: owner-freebsd-current@FreeBSD.ORG [mailto:owner-freebsd-current@FreeBSD.ORG]On Behalf Of Michael Ferguson Sent: Tuesday, January 07, 2003 5:48 PM To: current@FreeBSD.ORG Cc: scottl@FreeBSD.ORG; anderson@cs.duke.edu; jmcneill@invisible.yi.org; kluckie@ihug.co.nz Subject: Sound playback problem with Maestro3.c (?) Hi all, I'm experiencing a small issue with the sound output on the Maestro3 in my Dell Inspiron 8000 laptop. Every few seconds, the sound is briefly "interrupted", and the last few ms of audio are looped for about a quarter of a second. I've noticed that this can happen independently on either channel; often it will pause/loop on the left channel, then shortly thereafter on the right, or visa versa. Other times it will pause/loop on both channels at the same time. I've also noticed this condition can be exaggerated by moving the mouse while moused is running; the sound pause/loops much more frequently (although not for as long), and the music becomes noticeably slower. This happens both when moving the built-in PS/2 touchpad mouse and on a USB mouse, if I plug one in. My only ignorant guess would be that this is some kind of interrupt polling issue, but since I am new to BSD and I have no clue about the driver architecture or PCM, I can only venture a guess. :/ I was experiencing this in the 4.7-release kernel also (this bug is actually why I upgraded to -current :P). Some other users appear to be having the same problems (even when porting the driver to NetBSD?). Here are some links: http://groups.google.com/groups?hl=en&lr=&ie=UTF-8&oe=UTF8&threadm=a6u7p 2%24vlc%241%40FreeBSD.csie.NCTU.edu.tw&rnum=1&prev=/groups%3Fq%3DFreeBSD %2BMaestro3%2Bpopping%26hl%3Den%26lr%3D%26ie%3DUTF-8%26oe%3DUTF8%26selm% 3Da6u7p2%2524vlc%25241%2540FreeBSD.csie.NCTU.edu.tw%26rnum%3D1 http://mail-index.netbsd.org/current-users/2001/08/23/0004.html I tried compiling without PNP and APM in the 4.7-release kernel, but I still saw the same issues, so I don't think they're entirely tied to that (especially since I'm running ACPI now in -current, without any apmd). My laptop is running the latest bios (A21), and the sound card has ID card=0x00a41028 chip-0x1998125d rev=0x10; my dmesg and pciconf output are also at ftp://129.110.23.84/. On a probably-unrelated side note, when I was running Linux on the same laptop (ducks), I had issues with the OS clock getting quickly out of sync with the HW clock; typically I would loose five minutes or more every hour. Although I haven't experienced the same thing with FreeBSD, I wonder if there is just something odd about interrupt handling or timing on the Inspiron 8000 line? Best regards, -- mcf To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DGEJJGCKEJIEOAABJNHMOELCCEAA.ajole>