: Choppy sound using default dmix config for some applications but not others.
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=2095>
======================================================================
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-09-2006 06:48 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.
======================================================================
----------------------------------------------------------------------
BigBaaadBob - 05-05-06 22:49
----------------------------------------------------------------------
Finally got a chance to try adding:
defaults.pcm.dmix_max_periods -1
In my case that fixes the skipping. Unfortunately, I don't know how to build for Gentoo from the "HG Repo" so I'll have to leave that testing to someone else.
Thanks!
----------------------------------------------------------------------
razamatan - 05-09-06 06:48
----------------------------------------------------------------------
actually, my experience is similar but different.
i have a abit mobo using the via chipset (via82xx), and i use a 2.6.16-r6 gentoo-sources kernel and the driver is compiled from the kernel source.
my sound is garbled when i try using ogg123, mpg321, aplay. however, when i use anything backended by xine or madplay everything's fine.
when i use a asoundrc that looks like:
pcm.!default {
type hw
card 0
}
things sorta work... nothing is garbled, but things play in roughly 2x speed.
using a asoundrc that looks like:
defaults.pcm.dmix_max_periods -1
doesn't do anything at all.
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 05-03-06 11:45 tiwai Note Added: 0009586 05-03-06 19:27 tiwai Note Added: 0009601 05-05-06 22:49 BigBaaadBob Note Added: 0009632 05-09-06 06:48 razamatan Note Added: 0009651
======================================================================
-------------------------------------------------------
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