From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chris Subject: Re: Which project to choose? Date: Mon, 19 Jul 2010 21:13:46 -0500 Message-ID: <1279592026.18063.44.camel@localhost.localdomain> References: <1279062131.24837.22.camel@localhost.localdomain> <1279065709.24837.29.camel@localhost.localdomain> <1279071115.29042.0.camel@localhost.localdomain> <1279074303.29042.3.camel@localhost.localdomain> <1279145758.29042.11.camel@localhost.localdomain> <1279157921.2668.1.camel@localhost.localdomain> <1279508164.22741.27.camel@localhost.localdomain> <1279579946.18063.26.camel@localhost.localdomain> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============2531692668008726422==" Return-path: Received: from mailrelay.embarq.synacor.com (mailrelay.embarq.synacor.com [208.47.184.3]) by alsa0.perex.cz (Postfix) with ESMTP id 6DC271037F2 for ; Tue, 20 Jul 2010 04:13:52 +0200 (CEST) In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org --===============2531692668008726422== Content-Type: multipart/signed; micalg="pgp-sha1"; protocol="application/pgp-signature"; boundary="=-XCdWqkqkXWaJGQHJxWuT" --=-XCdWqkqkXWaJGQHJxWuT Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, 2010-07-20 at 09:23 +0800, Raymond Yau wrote: > 2010/7/20 Chris >=20 > > 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 > > > > > > > >> On Mon, 2010-07-19 at 09:44 +0800, Raymond Yau wrote: > > > >> > > > >>>> > > > >>> Refer to https://qa.mandriva.com/show_bug.cgi?id=3D56473#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 i= n > > libao > > > >>> output plugin.(configure output plugin in xmms, unfortunately def= ault > > 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 increas= ing > > 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 ens= 1371 > > or > > > > via8237 ? > > > > > > > > xmms always hang/freeze at 4 second as xmms display the total lengt= h 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 pl= ugin > > > > > > > > For fefora 10 and 13 , they only provide liboss, libALSA and libpul= se > > 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 un= der > > > 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 initiall= y > > loaded, when I click on 'ok' it shows the Ensoniq driver. I've again ru= n > > 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 > > > > >=20 > Please note that alsaplayer is not aplay >=20 > you can easily make underrun/overrun occur on pulse device by specify a > buffer size which is smaller than PA server used >=20 > aplay -Dpulse -v --buffer-size=3D128 /usr/share/sounds/*.wav >=20 > arecord -v -Dpulse -f cd -d 60 --buffer-size=3D128 test.wav >=20 > can you provide pulseaudio log for the underrun/overrun by aplay/arecord= ? >=20 > mandriva 2010 seem still support ALSA OSS emulation >=20 > unless you have a hardware mixing sound card , you have to configure your > gmplayer to use alsa or pulse >=20 > more .mplayer/gui.conf > ao_driver =3D "oss" <--------pulse or alsa > ao_alsa_device =3D "hw:0,0" <----- pulse or default Ok Raymond, the gui.conf now reads: ao_driver =3D "alsa" ao_alsa_device =3D "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 --=20 Chris KeyID 0xE372A7DA98E6705C --=-XCdWqkqkXWaJGQHJxWuT Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iEYEABECAAYFAkxFBloACgkQ43Kn2pjmcFz/xQCdErzWE3dsBO4qpoukzzH1wx9u q9MAn2T8tEqEdibNNhoi2dF2uTbfCatq =EAzp -----END PGP SIGNATURE----- --=-XCdWqkqkXWaJGQHJxWuT-- --===============2531692668008726422== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel --===============2531692668008726422==--