l i n u x - u s e r s - g r o u p - o f - d a v i s
Next Meeting:
July 7: Social gathering
Next Installfest:
Latest News:
Jun. 14: June LUGOD meeting cancelled
Page last updated:
2003 Feb 28 12:51

The following is an archive of a post made to our 'vox-tech mailing list' by one of its subscribers.

Report this post as spam:

(Enter your email address)
Re: [vox-tech] Skipping sound
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vox-tech] Skipping sound

On Thu, Feb 27, 2003 at 03:03:22PM -0800, Samuel Merritt wrote:
> > > > If I have music playing and I move a window around, switch windows, or
> > > > scroll a window, the music stutters. I'm using XFree86 4.2.1 and ALSA
> > > > 0.9.0rc2 (defaults for Mandrake 9). 

latency_multiplier   8

min_grant_clocks  72, max_latency_clocks    0
min_grant_clocks   0, max_latency_clocks  640
min_grant_clocks  16, max_latency_clocks  192
min_grant_clocks   0, max_latency_clocks    0
min_grant_clocks 160, max_latency_clocks  320
min_grant_clocks 128, max_latency_clocks  272

sum of minimum grants 376
lowest latency allowed 192

  According to that last URL your situation is hopeless,
because the sound device says it can't wait more than 
192 ticks, before being serviced and if the guy with 
160 and 128 happen to come along the sound card has hard 
to wait too long.
  I personally think that is bogus... there has got to be a way to have
them play along.

  I don't expect this to work... but try it and let me know what the
results are:
# "open up" the PCI bus by allowing fairly long bursts for all devices,
# increasing performance
setpci -v -d *:* latency_timer=b0

# maximize latency timers for network and audio, allowing them to transmit
# more data per burst, preventing buffer over/underrun conditions
setpci -v -s 02:04.0 latency_timer=ff  
setpci -v -s 02:06.0 latency_timer=ff

that advice comes from the following URL:

  Basically if it doesn't work I'd like to try some other settings.

    Let me know,

ps: it's remotely possible your machine will lockup when you run those
set PCI commands, so be sure to save anything important.
vox-tech mailing list

LUGOD Group on LinkedIn
Sign up for LUGOD event announcements
Your email address:
LUGOD Group on Facebook
'Like' LUGOD on Facebook:

Hosting provided by:
Sunset Systems
Sunset Systems offers preconfigured Linux systems, remote system administration and custom software development.

LUGOD: Linux Users' Group of Davis
PO Box 2082, Davis, CA 95617
Contact Us

LUGOD is a 501(c)7 non-profit organization
based in Davis, California
and serving the Sacramento area.
"Linux" is a trademark of Linus Torvalds.

Sponsored in part by:
O'Reilly and Associates
For numerous book donations.