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

Robert Gabriel robert at linux-source.org
Thu Dec 9 04:13:15 PST 2010


PA version is 0.9.22, udev support is build, hal support not.
Also now Im not in front of the "test" system, so I can't know if it's
producing sound, but I get this:

[kongoni at kongoni ~]$ pasuspender bash
[kongoni at kongoni ~]$ speaker-test -D hw:0 -c 2

speaker-test 1.0.23

Playback device is hw:0
Stream parameters are 48000Hz, S16_LE, 2 channels
Using 16 octaves of pink noise
Rate set to 48000Hz (requested 48000Hz)
Buffer size range from 8 to 16384
Period size range from 8 to 16384
Using max buffer size 16384
Periods = 4
was set period_size = 4096
was set buffer_size = 16384
 0 - Front Left
 1 - Front Right
Time per period = 5.444608
 0 - Front Left
 1 - Front Right
Time per period = 6.004962
 0 - Front Left
 1 - Front Right

pacmd list:

>>> [kongoni at kongoni ~]$ pacmd list
Welcome to PulseAudio! Use "help" for usage information.
>>> Memory blocks currently allocated: 1, size: 64.0 KiB.
Memory blocks allocated during the whole lifetime: 1156, size: 3.8 MiB.
Memory blocks imported from other processes: 0, size: 0 B.
Memory blocks exported to other processes: 0, size: 0 B.
Total sample cache size: 0 B.
Default sample spec: s16le 2ch 48000Hz
Default channel map: front-left,front-right
Default sink name: alsa_output.hw_0
Default source name: alsa_input.hw_0
Memory blocks of type POOL: 1 allocated/1 accumulated.
Memory blocks of type POOL_EXTERNAL: 0 allocated/0 accumulated.
Memory blocks of type APPENDED: 0 allocated/0 accumulated.
Memory blocks of type USER: 0 allocated/0 accumulated.
Memory blocks of type FIXED: 0 allocated/1155 accumulated.
Memory blocks of type IMPORTED: 0 allocated/0 accumulated.
20 module(s) loaded.
    index: 0
name: <module-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute state of
devices"
module.version = "0.9.22"
    index: 1
name: <module-stream-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the volume/mute/device state of
streams"
module.version = "0.9.22"
    index: 2
name: <module-card-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore profile of cards"
module.version = "0.9.22"
    index: 3
name: <module-augment-properties>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Augment the property sets of streams with additional
static information"
module.version = "0.9.22"
    index: 4
name: <module-alsa-sink>
argument: <device=hw:0>
used: 0
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ALSA Sink"
module.version = "0.9.22"
    index: 5
name: <module-alsa-source>
argument: <device=hw:0>
used: 0
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ALSA Source"
module.version = "0.9.22"
    index: 6
name: <module-udev-detect>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Detect available audio hardware and load matching
drivers"
module.version = "0.9.22"
    index: 7
name: <module-bluetooth-discover>
argument: <>
used: -1
load once: yes
properties:
module.author = "Joao Paulo Rechi Vita"
module.description = "Detect available bluetooth audio devices and load
bluetooth audio drivers"
module.version = "0.9.22"
    index: 8
name: <module-esound-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "ESOUND protocol (UNIX sockets)"
module.version = "0.9.22"
    index: 9
name: <module-native-protocol-unix>
argument: <>
used: -1
load once: no
properties:
module.author = "Lennart Poettering"
module.description = "Native protocol (UNIX sockets)"
module.version = "0.9.22"
    index: 10
name: <module-gconf>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "GConf Adapter"
module.version = "0.9.22"
    index: 11
name: <module-default-device-restore>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "Automatically restore the default sink and source"
module.version = "0.9.22"
    index: 12
name: <module-rescue-streams>
argument: <>
used: -1
load once: yes
properties:
module.author = "Lennart Poettering"
module.description = "When a sink/source is removed, try to move their
streams to the default sink/source"
module.version = "0.9.22"
    index: 13
name: <module-always-sink>
argument: <>
used: -1
load once: yes
properties:
module.author = "Colin Guthrie"
module.description = "Always keeps at least one sink loaded even if it's a
null one"
module.version = "0.9.22"

Can't paste everything... too big :)

On Thu, Dec 9, 2010 at 12:43, Colin Guthrie <gmane at colin.guthr.ie> wrote:

> 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/]
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at mail.0pointer.de
> https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-discuss/attachments/20101209/f2b0f734/attachment.htm>


More information about the pulseaudio-discuss mailing list