[pulseaudio-discuss] Unable to make pulseaudio work on a Slackware based distribution (Kongoni)

Colin Guthrie gmane at colin.guthr.ie
Thu Dec 9 03:43:24 PST 2010


Hi,

'Twas brillig, and Robert Gabriel at 09/12/10 11:10 did gyre and gimble:
> Hello, Im trying to implement pulseaudio on a Slackware based
> distribution which Im working on.
> I have also rebuild phonon so it will support properly pulseaudio and
> gstreamer package too.

They really should compile support for this in by default.

> Basically it works, just there is no actual sound and I get this error
> in syslog:
> 
> Dec  9 11:08:06 kongoni pulseaudio[898]: alsa-util.c: Disabling
> timer-based scheduling because running inside a VM.
> Dec  9 11:08:07 kongoni pulseaudio[898]: alsa-sink.c: ALSA woke us up to
> write new data to the device, but there was actually nothing to write!
> Dec  9 11:08:07 kongoni pulseaudio[898]: alsa-sink.c: Most likely this
> is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to
> the ALSA developers.
> Dec  9 11:08:07 kongoni pulseaudio[898]: alsa-sink.c: We were woken up
> with POLLOUT set -- however a subsequent snd_pcm_avail() returned 0 or
> another value < min_avail.
> Dec  9 11:08:07 kongoni pulseaudio[898]: alsa-util.c: Disabling
> timer-based scheduling because running inside a VM.
> Dec  9 11:08:07 kongoni pulseaudio[898]: alsa-source.c: ALSA woke us up
> to read new data from the device, but there was actually nothing to read!
> Dec  9 11:08:07 kongoni pulseaudio[898]: alsa-source.c: Most likely this
> is a bug in the ALSA driver 'snd_intel8x0'. Please report this issue to
> the ALSA developers.
> Dec  9 11:08:07 kongoni pulseaudio[898]: alsa-source.c: We were woken up
> with POLLIN set -- however a subsequent snd_pcm_avail() returned 0 or
> another value < min_avail.

This is generally a non-fatal error. It doens't usually result in a
total lack of sound.

Can you supply the output of "pacmd list" please?

Also have you confirmed that your VM sound output is actually connected
to something? e.g. can you get sound from alsa directly?

e.g. doing type the following in a shell inside your VM:

pasuspender bash
speaker-test -D hw:0 -c 2
CTRL+C (after the test is run)
exit

Does it produce sound?


> [root at kongoni ~]$ cat /etc/pulse/default.pa <http://default.pa> |grep hw  
> load-module module-alsa-sink device=hw:0
> load-module module-alsa-source device=hw:0

Is there a reason you had to change the default.pa from the default?
Normally udev-detect should do everything for you. It's also generally
bad practice to use "hw" directly, better to use e.g. front:0


> NOTE: Pulseaudio is build with --disable-hal if it matters.

As we'd recommend seeing as hal is dead these days. Is udev support
compiled in? It replaced hal these days.

Also what version of PA? I'd recommend 0.9.22.


Col



-- 

Colin Guthrie
gmane(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




More information about the pulseaudio-discuss mailing list