Subject: Re: autri0: Codec timeout. Busy reading AC'97 codec.
To: Hubert Feyrer <hubert.feyrer@informatik.fh-regensburg.de>
From: tedu <grendel@zeitbombe.org>
List: tech-kern
Date: 09/09/2002 09:11:41
On Tue, 10 Sep 2002, Hubert Feyrer wrote:

> 	autri0: Codec timeout. Busy reading AC'97 codec.
>
> I'm using NetBSD 1.6/i386, and also tried the latest autri* code from
> -current - no change. ^C'ing mplayer and restarting doesn't help, the
> movie still skips. Rebooting fixes things.

mplayer polls the mixer to determine the volume over and over.  The autri
chip can't keep up and goes nuts.  You can fix the ac97.c file so it
doesn't read from the device unnecessarily.
http://www.zeitbombe.org/ac97.diff
That's against OpenBSD, but it's simple enough to do by hand if it doesn't
apply.

> One interesting thing is that I can still play mp3s fine (with mpg123)
> when the hangs happen in mplayer.

mpg123 doesn't touch the mixer.  if you start up aumix it would start
stuttering again.


--
Mediocrity is a sin.