From: bugtrack@alsa-project.org Subject: [ALSA - lib 0002095]: Choppy sound using default dmix config for some applications but not others. Date: Wed, 3 May 2006 01:31:51 +0200 Message-ID: <687573c26920f41981451320c5cb923d@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [85.132.177.35]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 43C3419D for ; Wed, 3 May 2006 01:31:51 +0200 (MEST) Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: BigBaaadBob Assigned To: perex ====================================================================== Project: ALSA - lib Issue ID: 2095 Category: 1_pcm_d - direct PCM plugins (dmix+) Reproducibility: always Severity: major Priority: normal Status: assigned ====================================================================== Date Submitted: 05-03-2006 01:09 CEST Last Modified: 05-03-2006 01:31 CEST ====================================================================== Summary: Choppy sound using default dmix config for some applications but not others. Description: As reported in http://forums.gentoo.org/viewtopic-t-457951.html alsa 1.0.11 causes skipping sound in some applications but not others. Sound skips in rhytymbox and totem, but not xmms, realplayer, or mplayer. This occurs with default dmix setup (i.e. with no .asoundrc). Creating an .asoundrc like this causes the skipping to stop for those applications that skip. pcm.!default { type hw card 0 } This has been reported using the cmipci driver, the Intel ICH4 driver, the i915GM driver, and on a ppc iBook G4. On user reports that fiddling with the .asoundrc parameters can lessen the problem, but not eliminate the problem. ====================================================================== ---------------------------------------------------------------------- wellwhoopdedooo - 05-03-06 01:29 ---------------------------------------------------------------------- I would like to add my own experience with this issue. I had this problem before with an older alsa/kernel version, and was able to work around it by increasing period_size and buffer_size. As they got larger, skipping reduced, until finally there was no skipping at 8192 period_size and 16384 buffer_size. This time around, there is still choppiness at those values, and I cannot make them any larger. Also, it wasn't a very pleasant workaround, as it added a lot of latency. My card is an ess1371. If there's anything I can do to help as far as troubleshooting--debug kernels, you name it--please let me know. ---------------------------------------------------------------------- BigBaaadBob - 05-03-06 01:31 ---------------------------------------------------------------------- Reverting to media-libs/alsa-lib-1.0.10 and leaving everything else the same resolves the problem for me. Currently I'm using the driver in the 2.6.16-gentoo-r3 kernel and the following alsa lineup: [I--] [ ] media-libs/alsa-lib-1.0.10 (0) [I--] [ ] media-libs/alsa-oss-1.0.11 (0) [I--] [ ] media-sound/alsa-headers-1.0.11 (0) [I--] [ ] media-sound/alsa-tools-1.0.11 (0.9) [I--] [ ] media-sound/alsa-utils-1.0.11 (0.9) Issue History Date Modified Username Field Change ====================================================================== 05-03-06 01:09 BigBaaadBob New Issue 05-03-06 01:27 wellwhoopdedoooNote Added: 0009580 05-03-06 01:28 wellwhoopdedoooIssue Monitored: wellwhoopdedooo 05-03-06 01:29 wellwhoopdedoooNote Edited: 0009580 05-03-06 01:31 BigBaaadBob Note Added: 0009581 ====================================================================== ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642