linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Sound drops
@ 1999-03-10 14:26 Hubert Figuiere
  1999-03-10 18:41 ` Hollis R Blanchard
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Hubert Figuiere @ 1999-03-10 14:26 UTC (permalink / raw)
  To: LinuxPPC Dev List


I don't like to work in silence, so I usually play back a 
bunch of mp3 with xaudio under Linux PPC from my PowerBook.

The problem is that I get a lot of sound drops like if the machine
were "mono-tasking". I have never had this with PC hardware under Linux.

It appears that those drops occurs when doing intensive graphics like
a Netscape redrawing or a huge text scroll within an xterm. This happens
with Xpmac or XFB_Dev.

Kernel is 2.2.1 home compiled (with or without my patches), and machine 
is PowerBook 3400c with 80 MB of RAM.

My question is: Is it a known bug of the sound drivers or is it a 
hardware limitation ?

Hub
-- 
World Wide Wait: the real meaning for WWW.

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sound drops
  1999-03-10 14:26 Sound drops Hubert Figuiere
@ 1999-03-10 18:41 ` Hollis R Blanchard
  1999-03-10 21:11 ` Michel Lanners
  1999-03-10 22:42 ` Paul Mackerras
  2 siblings, 0 replies; 4+ messages in thread
From: Hollis R Blanchard @ 1999-03-10 18:41 UTC (permalink / raw)
  To: Hubert Figuiere; +Cc: LinuxPPC Dev List


On Wed, 10 Mar 1999, Hubert Figuiere wrote:
> 
> I don't like to work in silence, so I usually play back a 
> bunch of mp3 with xaudio under Linux PPC from my PowerBook.

xaudio? Haven't heard of it.

> The problem is that I get a lot of sound drops like if the machine
> were "mono-tasking". I have never had this with PC hardware under Linux.
> 
> It appears that those drops occurs when doing intensive graphics like
> a Netscape redrawing or a huge text scroll within an xterm. This happens
> with Xpmac or XFB_Dev.

Try adding a buffer switch - for example, mpg123 takes -b1024 where 1024 is
the size of the buffer in K, IIRC. I don't have any idea what xaudio is, but
I think most sound playback programs have specifiable buffers.

-Hollis


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sound drops
  1999-03-10 14:26 Sound drops Hubert Figuiere
  1999-03-10 18:41 ` Hollis R Blanchard
@ 1999-03-10 21:11 ` Michel Lanners
  1999-03-10 22:42 ` Paul Mackerras
  2 siblings, 0 replies; 4+ messages in thread
From: Michel Lanners @ 1999-03-10 21:11 UTC (permalink / raw)
  To: hub; +Cc: linuxppc-dev


On  10 Mar, this message from Hubert Figuiere echoed through cyberspace:
> I don't like to work in silence, so I usually play back a 
> bunch of mp3 with xaudio under Linux PPC from my PowerBook.
> 
> The problem is that I get a lot of sound drops like if the machine
> were "mono-tasking". I have never had this with PC hardware under Linux.
> 
> It appears that those drops occurs when doing intensive graphics like
> a Netscape redrawing or a huge text scroll within an xterm. This happens
> with Xpmac or XFB_Dev.
>
> My question is: Is it a known bug of the sound drivers or is it a 
> hardware limitation ?

IIRC, there was such a question on /. recently. You might ant to look
over there.

I would rather attribute this symptom to a problem in X, where the X
server is allowed to monopolize much of the machine for redrawing. The
fact the our current X servers (all those I tried, even Xpmac_mga
accelerated for my Matrox) eat _huge_ amounts of CPU for all blitting
operations like scrolling etc.

There seems to be work to do on the X side of things....

Michel

-------------------------------------------------------------------------
Michel Lanners                 |  " Read Philosophy.  Study Art.
23, Rue Paul Henkes            |    Ask Questions.  Make Mistakes.
L-1710 Luxembourg              |
email   mlan@cpu.lu            |
http://www.cpu.lu/~mlan        |                     Learn Always. "


[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Sound drops
  1999-03-10 14:26 Sound drops Hubert Figuiere
  1999-03-10 18:41 ` Hollis R Blanchard
  1999-03-10 21:11 ` Michel Lanners
@ 1999-03-10 22:42 ` Paul Mackerras
  2 siblings, 0 replies; 4+ messages in thread
From: Paul Mackerras @ 1999-03-10 22:42 UTC (permalink / raw)
  To: hub; +Cc: linuxppc-dev


Hubert Figuiere <hub@point-barre.fr> wrote:

> I don't like to work in silence, so I usually play back a 
> bunch of mp3 with xaudio under Linux PPC from my PowerBook.
> 
> The problem is that I get a lot of sound drops like if the machine
> were "mono-tasking". I have never had this with PC hardware under Linux.
> 
> It appears that those drops occurs when doing intensive graphics like
> a Netscape redrawing or a huge text scroll within an xterm. This happens
> with Xpmac or XFB_Dev.

One thing to try is `hdparm -u1 /dev/hda'.  That sets the IDE driver
to allow interrupts during transfers to/from your hard disk.  I don't
know if it will help in your particular case, but it's worth trying.

Paul.

[[ This message was sent via the linuxppc-dev mailing list.  Replies are ]]
[[ not  forced  back  to the list, so be sure to Cc linuxppc-dev if your ]]
[[ reply is of general interest. Please check http://lists.linuxppc.org/ ]]
[[ and http://www.linuxppc.org/ for useful information before posting.   ]]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~1999-03-10 22:42 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-10 14:26 Sound drops Hubert Figuiere
1999-03-10 18:41 ` Hollis R Blanchard
1999-03-10 21:11 ` Michel Lanners
1999-03-10 22:42 ` Paul Mackerras

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).