From: Chris <cpollock@embarqmail.com>
To: alsa-devel@alsa-project.org
Subject: Re: Which project to choose?
Date: Mon, 19 Jul 2010 21:13:46 -0500 [thread overview]
Message-ID: <1279592026.18063.44.camel@localhost.localdomain> (raw)
In-Reply-To: <AANLkTinIcGY_OwOftiZwICap7r_4VviWKqE-2zOZrgQM@mail.gmail.com>
[-- Attachment #1.1: Type: text/plain, Size: 4356 bytes --]
On Tue, 2010-07-20 at 09:23 +0800, Raymond Yau wrote:
> 2010/7/20 Chris <cpollock@embarqmail.com>
>
> > On Mon, 2010-07-19 at 08:53 +0100, Colin Guthrie wrote:
> > > 'Twas brillig, and Raymond Yau at 19/07/10 07:35 did gyre and gimble:
> > > > 2010/7/19 Chris <cpollock@embarqmail.com>
> > > >
> > > >> On Mon, 2010-07-19 at 09:44 +0800, Raymond Yau wrote:
> > > >>
> > > >>>>
> > > >>> Refer to https://qa.mandriva.com/show_bug.cgi?id=56473#c10
> > > >>>
> > > >>> I have installed mandriva 2010 on virtual box
> > > >>>
> > > >>> when using xmms and libao output plugin to play system sound
> > startup3.wav
> > > >>>
> > > >>> xmms hang at the end of the playback only when enable buffering in
> > libao
> > > >>> output plugin.(configure output plugin in xmms, unfortunately default
> > is
> > > >>> enable buffering buffer size 3000 chunk size 1000) ,
> > > >>>
> > > >>> xmms does not hang when you disable the buffer or using
> > liboss/libALSA
> > > >>> output plugin
> > > >>>
> > > >>> The last message in the pulseaudio server is
> > > >>> D: protocol-native.c 'underrun on libao[xmms] playback stream' , 0
> > bytes
> > > >> in
> > > >>> queue.
> > > >>>
> > > >>> The sound card seem running since hw_ptr and appl_ptr are increasing
> > when
> > > >>> cat /proc/asound/card0/pcm0p/sub0/status
> > > >>>
> > > >>> After a while , the following message appear
> > > >>>
> > > >>> E:alsa-sink.c : ALSA woke us up to write new data , but there was
> > > >> actually
> > > >>> nothing to write!
> > > >> The above is exactly what I see periodically Raymond, so, what, if
> > any,
> > > >> is the fix?
> > > >>
> > > >> Chris
> > > >>
> > > >>
> > > > Do you mean that you cannot reproduce the xmms hang bug on your ens1371
> > or
> > > > via8237 ?
> > > >
> > > > xmms always hang/freeze at 4 second as xmms display the total length of
> > > > startup3.wav is 5 seconds
> > > >
> > > > you have to ask mandriva 's maintainer why enable buffering is the
> > default
> > > > option since xmms did not hang when I disable buffering in libao plugin
> > > >
> > > > For fefora 10 and 13 , they only provide liboss, libALSA and libpulse
> > plugin
> > > > for xmms
> > > > I have no idea about the chunk size in libao plugin
> > >
> > >
> > > With a clean user account, I could not reproduce either problem with the
> > > default settings.
> > >
> > > FWIW, running PA under virtualbox is quite different to running it under
> > > a real system. For example PA will enable the non-timer based mode
> > > automatically when under a virtual machine.
> > >
> > > Col
> > >
> > >
> >
> > Colin, I've just re-enabled PA using the Ensoniq/Creative AudioPCI
> > ES1371+ driver, this is according to the Mandriva Control Center sound
> > setup. However, it also shows the VIA VT82xx audio driver when initially
> > loaded, when I click on 'ok' it shows the Ensoniq driver. I've again run
> > pulseaudio -k ; pulseaudio -vvvvv while playing a cd with mplayer. I've
> > uploaded the output here:
> >
> > http://ez-files.net/953712
> >
> > Does this have any meaning?
> >
> > Thanks for any assistance.
> >
> > Chris
> >
> >
>
> Please note that alsaplayer is not aplay
>
> you can easily make underrun/overrun occur on pulse device by specify a
> buffer size which is smaller than PA server used
>
> aplay -Dpulse -v --buffer-size=128 /usr/share/sounds/*.wav
>
> arecord -v -Dpulse -f cd -d 60 --buffer-size=128 test.wav
>
> can you provide pulseaudio log for the underrun/overrun by aplay/arecord ?
>
> mandriva 2010 seem still support ALSA OSS emulation
>
> unless you have a hardware mixing sound card , you have to configure your
> gmplayer to use alsa or pulse
>
> more .mplayer/gui.conf
> ao_driver = "oss" <--------pulse or alsa
> ao_alsa_device = "hw:0,0" <----- pulse or default
Ok Raymond, the gui.conf now reads:
ao_driver = "alsa"
ao_alsa_device = "default"
After setting this and again playing a cd mplayer was very choppy, there
was an error window but I couldn't read it since it was flashing so
fast. MPlayer eventually died though the process was still running. I
had to manually kill it. Below is the link to the new log file:
http://ez-files.net/135882
--
Chris
KeyID 0xE372A7DA98E6705C
[-- Attachment #1.2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
next prev parent reply other threads:[~2010-07-20 2:13 UTC|newest]
Thread overview: 50+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-13 23:02 Which project to choose? Chris
2010-07-13 23:26 ` Raymond Yau
2010-07-14 0:01 ` Chris
2010-07-14 1:20 ` Raymond Yau
2010-07-14 1:31 ` Chris
[not found] ` <AANLkTimNSRELBq7i1Ypi9K2tmFu9NKLvQAOOqPwuU13x@mail.gmail.com>
[not found] ` <1279074303.29042.3.camel@localhost.localdomain>
2010-07-14 12:23 ` Raymond Yau
2010-07-14 22:15 ` Chris
2010-07-15 0:08 ` Raymond Yau
2010-07-15 1:38 ` Chris
2010-07-15 12:58 ` Colin Guthrie
2010-07-15 14:07 ` Jaroslav Kysela
2010-07-15 22:54 ` Chris
2010-07-15 23:15 ` Raymond Yau
2010-07-16 0:24 ` Chris
2010-07-16 5:32 ` Jaroslav Kysela
2010-07-16 1:19 ` Chris
2010-07-16 5:40 ` Jaroslav Kysela
2010-07-17 0:22 ` Raymond Yau
2010-07-15 22:02 ` Raymond Yau
2010-07-19 1:44 ` Raymond Yau
2010-07-19 2:56 ` Chris
2010-07-19 6:35 ` Raymond Yau
2010-07-19 7:53 ` Colin Guthrie
2010-07-19 22:52 ` Chris
2010-07-20 1:23 ` Raymond Yau
2010-07-20 2:13 ` Chris [this message]
2010-07-20 11:41 ` Raymond Yau
2010-07-20 22:19 ` Chris
2010-07-21 8:17 ` Raymond Yau
2010-07-21 22:57 ` Chris
2010-07-22 0:33 ` Raymond Yau
2010-07-22 1:07 ` Chris
[not found] ` <AANLkTim7iY_w96CPkVIlyB7Z9NGWUIvX2wKwvgu4wdjn@mail.gmail.com>
[not found] ` <1279766127.7841.11.camel@localhost.localdomain>
[not found] ` <AANLkTim_FkOXlYihEQikJ8Vpo5zXreCdqQnDW3acsrAu@mail.gmail.com>
[not found] ` <1279797682.7841.15.camel@localhost.localdomain>
2010-07-22 11:42 ` Raymond Yau
2010-07-20 22:49 ` Chris
2010-07-24 3:51 ` Raymond Yau
2010-07-25 14:14 ` Colin Guthrie
2010-07-26 5:53 ` Raymond Yau
2010-07-26 8:09 ` Raymond Yau
2010-07-15 13:08 ` Raymond Yau
2010-07-14 22:32 ` Raymond Yau
2010-07-14 22:58 ` Chris
2010-07-14 11:13 ` Raymond Yau
2010-07-14 15:06 ` David Henningsson
2010-07-14 15:25 ` Jaroslav Kysela
2010-07-14 19:45 ` David Henningsson
2010-07-14 22:13 ` Jaroslav Kysela
2010-07-16 0:39 ` Raymond Yau
2010-07-16 1:30 ` Raymond Yau
2010-07-15 0:52 ` Raymond Yau
2010-07-23 11:51 ` Raymond Yau
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1279592026.18063.44.camel@localhost.localdomain \
--to=cpollock@embarqmail.com \
--cc=alsa-devel@alsa-project.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).