The windows 7 audio support patch series.
cover The windows 7 audio support patch series.
Hi,
This patch series brings a bunch of pulseaudio tweaks and two new sound devices. Number one is the slightly improved usb-audio patch which was originally created by hpa. Number two is a virtual HD Audio controller with HDA codecs.
The patches are also available in the git repository at:
git://anongit.freedesktop.org/spice/qemu audio.2
enjoy,
Gerd
Gerd Hoffmann (5):
pa: allow processing buffer pieces
pa: process 1/4 buffer max at once
pa: setup buffer attrs
pa: tweak config
Add Intel HD Audio support to qemu.
H. Peter Anvin (1):
Add support for a USB audio device model
Makefile.objs | 3 +- audio/paaudio.c | 44 +-- hw/hda-audio.c | 820 +++++++++++++++++++++++++++++++++++++++ hw/intel-hda-defs.h | 717 ++++++++++++++++++++++++++++++++++ hw/intel-hda.c | 1071 +++++++++++++++++++++++++++++++++++++++++++++++++++ hw/intel-hda.h | 61 +++ hw/usb-audio.c | 758 ++++++++++++++++++++++++++++++++++++ hw/usb-net.c | 3 - hw/usb.h | 7 + 9 files changed, 3457 insertions(+), 27 deletions(-) create mode 100644 hw/hda-audio.c create mode 100644 hw/intel-hda-defs.h create mode 100644 hw/intel-hda.c create mode 100644 hw/intel-hda.h create mode 100644 hw/usb-audio.c
PATCH 1/6 pa: allow processing buffer pieces
Remove some state update dependencies between the pulseaudio worker threads and main thread. The worker threads can process the buffer piecewise now.
--- audio/paaudio.c | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-)
audio/paaudio.c +5 -3
@@ -83,7 +83,7 @@ static void *qpa_thread_out (void *arg) } decr = to_mix = pa->live; - rpos = hw->rpos; + rpos = pa->rpos;if (audio_pt_unlock (&pa->pt,AUDIO_FUNC )) {return NULL ;
@@ -110,8 +110,8 @@ static void *qpa_thread_out (void *arg)return NULL ; } - pa->live =0 ; pa->rpos = rpos; + pa->live -= decr; pa->decr += decr; }
@@ -178,7 +178,7 @@ static void *qpa_thread_in (void *arg) } incr = to_grab = pa->dead; - wpos = hw->wpos; + wpos = pa->wpos;if (audio_pt_unlock (&pa->pt,AUDIO_FUNC )) {return NULL ;
@@ -323,6 +323,7 @@ static int qpa_init_out (HWVoiceOut *hw, struct audsettings *as)audio_pcm_init_info (&hw->info, &obt_as); hw->samples = conf.samples; pa->pcm_buf =audio_calloc (AUDIO_FUNC , hw->samples,1 << hw->info.shift); + pa->rpos = hw->rpos;if (!pa->pcm_buf) {dolog ("Could not allocate buffer (%d bytes)\n" , hw->samples << hw->info.shift);
@@ -377,6 +378,7 @@ static int qpa_init_in (HWVoiceIn *hw, struct audsettings *as)audio_pcm_init_info (&hw->info, &obt_as); hw->samples = conf.samples; pa->pcm_buf =audio_calloc (AUDIO_FUNC , hw->samples,1 << hw->info.shift); + pa->wpos = hw->wpos;if (!pa->pcm_buf) {dolog ("Could not allocate buffer (%d bytes)\n" , hw->samples << hw->info.shift);
Signature · 1 line
1.7.1
PATCH 2/6 pa: process 1/4 buffer max at once
In reply to Gerd HoffmannLimit the size of data pieces processed by the pulseaudio worker threads. Never ever process more than 1/4 of the buffer at once. Data processing is less bulky then.
--- audio/paaudio.c | 14 ++++---------- 1 files changed, 4 insertions(+), 10 deletions(-)
audio/paaudio.c +4 -10
@@ -57,9 +57,6 @@ static void *qpa_thread_out (void *arg) {PAVoiceOut *pa = arg;HWVoiceOut *hw = &pa->hw; -int threshold; - - threshold = conf.divisor ? hw->samples / conf.divisor :0 ;if (audio_pt_lock (&pa->pt,AUDIO_FUNC )) {return NULL ;
@@ -73,7 +70,7 @@ static void *qpa_thread_out (void *arg) goto exit; } -if (pa->live > threshold) { +if (pa->live >0 ) {break ; }
@@ -82,7 +79,7 @@ static void *qpa_thread_out (void *arg) } } - decr = to_mix = pa->live; + decr = to_mix =audio_MIN (pa->live, conf.samples >>2 ); rpos = pa->rpos;if (audio_pt_unlock (&pa->pt,AUDIO_FUNC )) {
@@ -152,9 +149,6 @@ static void *qpa_thread_in (void *arg) {PAVoiceIn *pa = arg;HWVoiceIn *hw = &pa->hw; -int threshold; - - threshold = conf.divisor ? hw->samples / conf.divisor :0 ;if (audio_pt_lock (&pa->pt,AUDIO_FUNC )) {return NULL ;
@@ -168,7 +162,7 @@ static void *qpa_thread_in (void *arg) goto exit; } -if (pa->dead > threshold) { +if (pa->dead >0 ) {break ; }
@@ -177,7 +171,7 @@ static void *qpa_thread_in (void *arg) } } - incr = to_grab = pa->dead; + incr = to_grab =audio_MIN (pa->dead, conf.samples >>2 ); wpos = pa->wpos;if (audio_pt_unlock (&pa->pt,AUDIO_FUNC )) {
Signature · 1 line
1.7.1
PATCH 3/6 pa: setup buffer attrs
In reply to Gerd HoffmannRequest reasonable buffer sizes from pulseaudio. Without this pa_simple_write() can block quite long and lead to dropouts, especially with guests which use small audio ring buffers.
--- audio/paaudio.c | 12 +++++++++++- 1 files changed, 11 insertions(+), 1 deletions(-)
audio/paaudio.c +11 -1
@@ -289,6 +289,7 @@ static int qpa_init_out (HWVoiceOut *hw, struct audsettings *as) {int error;static pa_sample_spec ss; +static pa_buffer_attr ba;struct audsettings obt_as = *as;PAVoiceOut *pa = (PAVoiceOut *) hw;
@@ -296,6 +297,15 @@ static int qpa_init_out (HWVoiceOut *hw, struct audsettings *as) ss.channels = as->nchannels; ss.rate = as->freq; +/* +* qemu audio tick runs at 250 Hz (by default), so processing +* data chunks worth 4 ms of sound should be a good fit. +*/ + ba.tlength =pa_usec_to_bytes (4 *1000 , &ss); + ba.minreq =pa_usec_to_bytes (2 *1000 , &ss); + ba.maxlength =-1 ; + ba.prebuf =-1 ; + obt_as.fmt =pa_to_audfmt (ss.format, &obt_as.endianness); pa->s = pa_simple_new (
@@ -306,7 +316,7 @@ static int qpa_init_out (HWVoiceOut *hw, struct audsettings *as)"pcm.playback" , &ss,NULL ,/* channel map */ -NULL ,/* buffering attributes */ + &ba,/* buffering attributes */ &error );if (!pa->s) {
Signature · 1 line
1.7.1
PATCH 4/6 pa: tweak config
In reply to Gerd HoffmannZap unused divisor field.
Raise the buffer size default.
--- audio/paaudio.c | 10 +--------- 1 files changed, 1 insertions(+), 9 deletions(-)
audio/paaudio.c +1 -9
@@ -33,13 +33,11 @@ typedef struct {static struct {int samples; -int divisor;char *server;char *sink;char *source; } conf = { - .samples =1024 , - .divisor =2 , + .samples =4096 , }; static void GCC_FMT_ATTR (2, 3) qpa_logerr (int err, const char *fmt, ...)
@@ -478,12 +476,6 @@ struct audio_option qpa_options[] = { .descr = "buffer size in samples" }, { - .name = "DIVISOR", - .tag = AUD_OPT_INT, - .valp = &conf.divisor, - .descr ="threshold divisor" - }, - { .name = "SERVER", .tag = AUD_OPT_STR, .valp = &conf.server,
Signature · 1 line
1.7.1
PATCH 5/6 Add support for a USB audio device model
In reply to Gerd HoffmannFrom: H. Peter Anvin <[email protected]>
This brings a usb audio device to qemu. Output only, fixed at 16bit stereo @ 480000 Hz. Based on a patch from
H. Peter Anvin <[email protected]>
Usage: add '-device usb-audio' to your qemu command line.
Works sorta ok on a idle machine. Known issues:
* Is *very* sensitive to latencies: when the uhci emulation misses one of the usb frame rate wakeups (1k/sec!) you'll loose/delay data from the audio stream, resulting in dropouts.
* Also seems to not play very well with the usb tablet (and/or usb hub, to be investigated). Best try this as the only device on a usb bus.
* Burns quite some CPU due to usb polling.
In short: It brings the qemu usb emulation to its limits. Enjoy!
--- Makefile.objs | 2 +- hw/usb-audio.c | 758 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ hw/usb-net.c | 3 - hw/usb.h | 7 + 4 files changed, 766 insertions(+), 4 deletions(-) create mode 100644 hw/usb-audio.c
Makefile.objs +1 -1
@@ -73,7 +73,7 @@ common-obj-y += eeprom93xx.o common-obj-y += scsi-disk.o cdrom.o common-obj-y += scsi-generic.o scsi-bus.o common-obj-y += usb.o usb-hub.o usb-$(HOST_USB).o usb-hid.o usb-msd.o usb-wacom.o -common-obj-y += usb-serial.o usb-net.o usb-bus.o +common-obj-y += usb-serial.o usb-net.o usb-bus.o usb-audio.o common-obj-$(CONFIG_SSI) += ssi.o common-obj-$(CONFIG_SSI_SD) += ssi-sd.o common-obj-$(CONFIG_SD) += sd.o
hw/usb-audio.c new file +758 -0
758 lines not on this page · raw message
hw/usb-net.c +0 -3
@@ -68,9 +68,6 @@ enum usbstring_idx {#define USB_CDC_UNION_TYPE 0x06/* union_desc */ #define USB_CDC_ETHERNET_TYPE 0x0f/* ether_desc */ -#define USB_DT_CS_INTERFACE 0x24 -#define USB_DT_CS_ENDPOINT 0x25 -#define USB_CDC_SEND_ENCAPSULATED_COMMAND 0x00#define USB_CDC_GET_ENCAPSULATED_RESPONSE 0x01#define USB_CDC_REQ_SET_LINE_CODING 0x20
hw/usb.h +7 -0
@@ -67,6 +67,11 @@#define USB_CLASS_APP_SPEC 0xfe#define USB_CLASS_VENDOR_SPEC 0xff +#define USB_SUBCLASS_UNDEFINED 0 +#define USB_SUBCLASS_AUDIO_CONTROL 1 +#define USB_SUBCLASS_AUDIO_STREAMING 2 +#define USB_SUBCLASS_AUDIO_MIDISTREAMING 3 +#define USB_DIR_OUT 0#define USB_DIR_IN 0x80
@@ -116,6 +121,8 @@#define USB_DT_STRING 0x03#define USB_DT_INTERFACE 0x04#define USB_DT_ENDPOINT 0x05 +#define USB_DT_CS_INTERFACE 0x24 +#define USB_DT_CS_ENDPOINT 0x25#define USB_ENDPOINT_XFER_CONTROL 0#define USB_ENDPOINT_XFER_ISOC 1
Signature · 1 line
1.7.1
[Qemu-devel] Re: [PATCH 5/6] Add support for a USB audio device model
Quoted 17 lines · Gerd Hoffmann
From: H. Peter Anvin<[email protected]>
This brings a usb audio device to qemu. Output only, fixed at 16bit stereo @ 480000 Hz. Based on a patch from
H. Peter Anvin<[email protected]>Usage: add '-device usb-audio' to your qemu command line.
Works sorta ok on a idle machine. Known issues:
* Is *very* sensitive to latencies: when the uhci emulation misses one of the usb frame rate wakeups (1k/sec!) you'll loose/delay data from the audio stream, resulting in dropouts.
* Also seems to not play very well with the usb tablet (and/or usb hub, to be investigated). Best try this as the only device on a usb bus.
* Burns quite some CPU due to usb polling.
Quoted 3 lines
In short: It brings the qemu usb emulation to its limits. Enjoy!
Signed-off-by Gerd Hoffmann<[email protected]>
Please don't apply this. This patch is outdated and has several glaring bugs. I can send a better patch later (I'm in an all-day meeting with insanely bad networking.)
-hpa
[Qemu-devel] Re: [PATCH 5/6] Add support for a USB audio device model
Quoted 9 lines · H. Peter Anvin
Quoted 3 lines · Gerd Hoffmann
This brings a usb audio device to qemu. Output only, fixed at 16bit stereo @ 480000 Hz. Based on a patch from
H. Peter Anvin<[email protected]>Please don't apply this. This patch is outdated and has several glaring bugs. I can send a better patch later (I'm in an all-day meeting with insanely bad networking.)
Oh, I thought you've abandoned the project ...
Note that I've update the patch too and fixed at least some of those bugs. Nevertheless I'll be happy to see your latest bits and try to merge the best of both versions.
cheers,
Gerd
[Qemu-devel] Re: [PATCH 5/6] Add support for a USB audio device model
Quoted 11 lines · Gerd Hoffmann
Quoted 9 lines · H. Peter Anvin
Quoted 3 lines · Gerd Hoffmann
This brings a usb audio device to qemu. Output only, fixed at 16bit stereo @ 480000 Hz. Based on a patch from
H. Peter Anvin<[email protected]>Please don't apply this. This patch is outdated and has several glaring bugs. I can send a better patch later (I'm in an all-day meeting with insanely bad networking.)
Quoted 6 lines
Oh, I thought you've abandoned the project ...
Note that I've update the patch too and fixed at least some of those bugs. Nevertheless I'll be happy to see your latest bits and try to merge the best of both versions.
I have a git tree on kernel.org with the latest version. However, the rate-matching code needs to be ripped out since it just plain doesn't work, and tends to produce worse results than no rate matching:
http://git.kernel.org/?p=virt/qemu/hpa/qemu-usb-audio-wip.git;a=shortlog;h=refs/heads/usb-audio
-hpa
[Qemu-devel] Re: [PATCH 5/6] Add support for a USB audio device model
Hi,
Quoted 1 line
I have a git tree on kernel.org with the latest version.
Thanks, I'll have a look when I find some time.
Quoted 3 lines
However, the
rate-matching code needs to be ripped out since it just plain doesn't work, and tends to produce worse results than no rate matching:
Doesn't surprise me. There are a bunch of more serve issues which have to be fixed before rate-matching has a chance to produce useful results.
cheers,
Gerd
[Qemu-devel] Re: [PATCH 5/6] Add support for a USB audio device model
In reply to Gerd HoffmannQuoted 11 lines · Gerd Hoffmann
Quoted 9 lines · H. Peter Anvin
Quoted 3 lines · Gerd Hoffmann
This brings a usb audio device to qemu. Output only, fixed at 16bit stereo @ 480000 Hz. Based on a patch from
H. Peter Anvin<[email protected]>Please don't apply this. This patch is outdated and has several glaring bugs. I can send a better patch later (I'm in an all-day meeting with insanely bad networking.)
Quoted 8 lines
Oh, I thought you've abandoned the project ...
Note that I've update the patch too and fixed at least some of those bugs. Nevertheless I'll be happy to see your latest bits and try to merge the best of both versions.
cheers,
Gerd
Grmf ... looks like I have multiple pieces of code in multiple places... I need to reconcile the best version I have by hand first.
-hpa
[Qemu-devel] Re: [PATCH 5/6] Add support for a USB audio device model
In reply to Gerd HoffmannQuoted 11 lines · Gerd Hoffmann
Quoted 9 lines · H. Peter Anvin
Quoted 3 lines · Gerd Hoffmann
This brings a usb audio device to qemu. Output only, fixed at 16bit stereo @ 480000 Hz. Based on a patch from
H. Peter Anvin<[email protected]>Please don't apply this. This patch is outdated and has several glaring bugs. I can send a better patch later (I'm in an all-day meeting with insanely bad networking.)
Quoted 5 lines
Oh, I thought you've abandoned the project ...
Note that I've update the patch too and fixed at least some of those bugs. Nevertheless I'll be happy to see your latest bits and try to merge the best of both versions.
I'm going to have to look at this later... I'm in a F2F meeting most of the day today.
-hpa
PATCH 6/6 Add Intel HD Audio support to qemu.
In reply to Gerd HoffmannThis patch adds three devices to qemu:
intel-hda
Intel HD Audio Controller, the PCI device. Provides a HDA bus. Emulates ICH6 at the moment. Adding a ICH9 PCIE variant shouldn't be hard.
hda-duplex
HDA Codec. Attaches to the HDA bus. Supports 16bit stereo, rates 16k -> 96k, playback, recording and volume control (with CONFIG_MIXEMU=y).
hda-output
HDA Codec without recording support. Subset of the hda-duplex codec. Use this if you don't want your guests access your mic.
Usage: add '-device intel-hda -device hda-duplex' to your command line.
Tested guests:
* Linux works.
* Win7 works.
* WinXP doesn't work.
--- Makefile.objs | 1 + hw/hda-audio.c | 820 +++++++++++++++++++++++++++++++++++++++ hw/intel-hda-defs.h | 717 ++++++++++++++++++++++++++++++++++ hw/intel-hda.c | 1071 +++++++++++++++++++++++++++++++++++++++++++++++++++ hw/intel-hda.h | 61 +++ 5 files changed, 2670 insertions(+), 0 deletions(-) create mode 100644 hw/hda-audio.c create mode 100644 hw/intel-hda-defs.h create mode 100644 hw/intel-hda.c create mode 100644 hw/intel-hda.h
Makefile.objs +1 -0
@@ -205,6 +205,7 @@ hw-obj-y += msix.o hw-obj-y += ne2000.o hw-obj-y += eepro100.o hw-obj-y += pcnet.o +hw-obj-y += intel-hda.o hda-audio.o hw-obj-$(CONFIG_SMC91C111) += smc91c111.o hw-obj-$(CONFIG_LAN9118) += lan9118.o
hw/hda-audio.c new file +820 -0
820 lines not on this page · raw message
hw/intel-hda-defs.h new file +717 -0
717 lines not on this page · raw message
hw/intel-hda.c new file +1071 -0
1,071 lines not on this page · raw message
hw/intel-hda.h new file +61 -0
61 lines not on this page · raw message
Signature · 1 line
1.7.1
Quoted 7 lines · Gerd Hoffmann
Hi,
This patch series brings a bunch of pulseaudio tweaks and two new sound devices. Number one is the slightly improved usb-audio patch which was originally created by hpa. Number two is a virtual HD Audio controller with HDA codecs.
Nice timing there. I wonder how long it took bright folks at redhat to code this HDA stuff? Since yesterday i was contacted by folks who wanted to pay money to get VirtualBox's HDA ported to QEMU, and it took me from 16:00 today till basically 15 minutes ago to get the sound pumping from DOS and Linux..
Regardless of the answer to my question the NIH is such a nice thing, eh?
[..snip..]
Signature · 1 line
mailto:[email protected]
Quoted 16 lines · malc
Quoted 7 lines · Gerd Hoffmann
Hi,
This patch series brings a bunch of pulseaudio tweaks and two new sound devices. Number one is the slightly improved usb-audio patch which was originally created by hpa. Number two is a virtual HD Audio controller with HDA codecs.
Nice timing there. I wonder how long it took bright folks at redhat to code this HDA stuff? Since yesterday i was contacted by folks who wanted to pay money to get VirtualBox's HDA ported to QEMU, and it took me from 16:00 today till basically 15 minutes ago to get the sound pumping from DOS and Linux..
Quoted 4 lines
Regardless of the answer to my question the NIH is such a nice thing, eh?
[..snip..]
Uh, Wu Fengguang did an initial stab at porting the code, sorry for fogetting to mention this.
P.S. It would be nice to see audio related stuff being CC-ed to audio
maintainer btw.
Signature · 1 line
mailto:[email protected]
Hi,
Quoted 2 lines
Nice timing there. I wonder how long it took bright folks at redhat to code this HDA stuff?
A bunch of days. Played with the usb-audio patch first. But I suspect getting timing-sensitive isochronous usb devices emulated reasonable well is pretty hard due to the latency requirements. And it isn't just the usb subsytem, all qemu must improve here. Example: enabling the threaded vnc server improves usb-audio sound quality, you don't get dropouts on every bulky screen update then.
But for now I tried HDA route instead.
Quoted 4 lines
Since yesterday i was contacted by folks who wanted
to pay money to get VirtualBox's HDA ported to QEMU, and it took me from 16:00 today till basically 15 minutes ago to get the sound pumping from DOS and Linux..
Oh, there is a HDA driver for DOS? /me looks surprised ...
Quoted 1 line
Regardless of the answer to my question the NIH is such a nice thing, eh?
Sure ;) I don't do that just for fun though. I *have* looked at the vbox driver first.
The fundamental problem is the qemu world didn't stop at the point where vbox forked off, and of course in vbox things are changing too. We have alot of infrastructure for drivers which isn't in vbox, and likewise the other way around. Most notable difference is qemu's qdev is quite useful to model the HDA bus.
So there are basically two options:
(1) Port the vbox driver to qemu, then to tons of changes and cleanups to properly integrate into modern qemu.
(2) Start over from scratch.
I believe in the end it wouldn't have saved work to use the vbox code as starting point.
cheers,
Gerd
Quoted 11 lines · Gerd Hoffmann
Hi,
Quoted 2 lines
Nice timing there. I wonder how long it took bright folks at redhat to code this HDA stuff?
A bunch of days. Played with the usb-audio patch first. But I suspect getting timing-sensitive isochronous usb devices emulated reasonable well is pretty hard due to the latency requirements. And it isn't just the usb subsytem, all qemu must improve here. Example: enabling the threaded vnc server improves usb-audio sound quality, you don't get dropouts on every bulky screen update then.
We (me, Wu Fengguang and Hans Peter Anvin) tried to do something about usb-audio, to no avail.
Quoted 9 lines
But for now I tried HDA route instead.
Quoted 4 lines
Since yesterday i was contacted by folks who wanted
to pay money to get VirtualBox's HDA ported to QEMU, and it took me from 16:00 today till basically 15 minutes ago to get the sound pumping from DOS and Linux..Oh, there is a HDA driver for DOS? /me looks surprised ...
DOS doesn't need drivers you know, anyhow:
http://mpxplay.sourceforge.net/
Quoted 12 lines
Quoted 2 lines
Regardless of the answer to my question the NIH is such a nice thing, eh?
Sure ;) I don't do that just for fun though. I *have* looked at the vbox driver first.
The fundamental problem is the qemu world didn't stop at the point where vbox forked off, and of course in vbox things are changing too. We have alot of infrastructure for drivers which isn't in vbox, and likewise the other way around. Most notable difference is qemu's qdev is quite useful to model the HDA bus.
Quoted 8 lines
So there are basically two options:
(1) Port the vbox driver to qemu, then to tons of changes and cleanups to properly integrate into modern qemu.
(2) Start over from scratch.I believe in the end it wouldn't have saved work to use the vbox code as starting point.
At the very least their code does work here (on a PPC with DOS and mpxplay) and yours doesn't. I'd have to check things on my x86_64 box to ensure it's not a endianness issue of some sort, otherwise things are hard to explain since mpxplay's hda handling is based on ALSA.
Signature · 1 line
mailto:[email protected]
Hi,
Quoted 3 lines
At the very least their code does work here (on a PPC with DOS and mpxplay) and yours doesn't. I'd have to check things on my
x86_64box to ensure it's not a endianness issue of some sort,
It most likely *is* endianness, the mmio_read/write handlers don't swap bytes on bigendian hosts. That is the only endian issue I'm aware of though. Guest memory access goes through {stl,ldl}_phys() + friends and thus should be fine as-is.
/me goes try dos+mpxplay ...
cheers,
Gerd
Quoted 2 lines · malc
On Thu, 28 Oct 2010, Gerd Hoffmann wrote:
[..snip..]
Quoted 7 lines
Quoted 2 lines
I believe in the end it wouldn't have saved work to use the vbox code as starting point.
At the very least their code does work here (on a PPC with DOS and mpxplay) and yours doesn't. I'd have to check things on my
x86_64box to ensure it's not a endianness issue of some sort, otherwise things are hard to explain since mpxplay's hda handling is based on ALSA.
Nope, doesn't work on x86_64 either.
Signature · 1 line
mailto:[email protected]
Hi,
Quoted 2 lines
At the very least their code does work here (on a PPC with DOS and mpxplay) and yours doesn't.
Pull latest fixes from audio.2 branch @ freedesktop.org, mpxplay works for me (on x86_64). Test reports from your ppc box are welcome too.
cheers,
Gerd