From: Michael R. Zucca <hidden> Date: 2001-03-26 03:09:15
I'm having a problem with sound stopping when I'm trying to use it at the
same time as X.
Machine lowdown:
PowerCenter 132 with a Sonnet 750 upgrade.
Adaptec Narrow Ultra SCSI PCI card.
XCLAIM VR Rage PRO PCI card (_not_ a VR128)
The problem occurs both with the 2.2.18 kernel that comes with the last
stable LinuxPPC install and with the most recent 2.2 snapshot that I could
get my hands on (sometime around last week). X is the stock XF68 that comes
with LinuxPPC (3.3.6 I think?)
I notice that I can play audio using XMMS or plaympeg but the sound stops
after a little while. I can force the stoppage to happen sooner when I drag
an opaque window around a lot so I think it has something to do with
generating heavy PCI traffic.
The stoppage seems to be screwing up the driver because the application
playing the sound is usually locked up pretty hard but the rest of the
processes keep running just fine. Perhaps we're dropping an interrupt
somewhere and the driver's stuck waiting?
Thanks!
____________________________________________________________________
Michael Zucca - mrz5149@acm.org - http://www.mdc.net/~mrz5149/
"I will choose a path that's clear. I will choose Freewill. "
--Rush, Freewill
____________________________________________________________________
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
From: Hollis R Blanchard <hidden> Date: 2001-03-26 03:22:04
On Sun, 25 Mar 2001, Michael R. Zucca wrote:
I'm having a problem with sound stopping when I'm trying to use it at the
same time as X.
Machine lowdown:
PowerCenter 132 with a Sonnet 750 upgrade.
I used to have this problem, also on a PowerCenter 132.
I haven't used that machine in a while, but I believe such problems were
fixed with Iain Sandoe's dmasound patches & backport. I don't remember the
link offhand; check http://penguinppc.org/dev/pmac.
-Hollis
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
I'm having a problem with sound stopping when I'm trying to use it at the
same time as X.
I've been noticing this problem for years with my PowerCenter Pro 210, and
it still occurs with 2.4.x. I do have a 2.2.10 Cort built that does not
have this bug, although we can't figure out what was different.
By the way, try moving your mouse slowly while music is playing, as fast
mouse movements / window drags acerbate this bug.
Thanks,
Peter
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
From: Michael R. Zucca <hidden> Date: 2001-03-27 13:20:03
At 4:58 AM -0500 3/27/01, phandel@cise.ufl.edu wrote:
On Sun, 25 Mar 2001, Michael R. Zucca wrote:
quoted
I'm having a problem with sound stopping when I'm trying to use it at the
same time as X.
I've been noticing this problem for years with my PowerCenter Pro 210, and
it still occurs with 2.4.x. I do have a 2.2.10 Cort built that does not
have this bug, although we can't figure out what was different.
By the way, try moving your mouse slowly while music is playing, as fast
mouse movements / window drags acerbate this bug.
I'd be willing to bet this is the dbdma bug Iain mentioned. Like the dma
controller's getting wedged and the driver waits and waits for it to
complete a transaction. I can wait for the fix.
Thanks everybody!
____________________________________________________________________
Michael Zucca - mrz5149@acm.org - http://www.mdc.net/~mrz5149/
"I will choose a path that's clear. I will choose Freewill. "
--Rush, Freewill
____________________________________________________________________
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
I'd be willing to bet this is the dbdma bug Iain mentioned. Like the dma
controller's getting wedged and the driver waits and waits for it to
complete a transaction. I can wait for the fix.
It sounds exactly like the bmac bug. So changing pmac_awacs_tx_intr()
from
while (write_sq.active > 0) {
...
if ((stat & ACTIVE) == 0)
break; /* this frame is still going */
...
}
to
while (write_sq.active > 0) {
...
if ((stat & ACTIVE) == 0) {
if (cp == bus_to_virt(in_le32(&awacs_txdma->cmdptr)))
break;
}
...
}
fixes it or something?
Takashi Oe
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/