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

Colin Guthrie gmane at colin.guthr.ie
Thu Dec 9 06:16:26 PST 2010


Hi,

[ As a small aside, please do not use HTML emails on this list, and try
to avoid top posting, and trim the quoted sections appropriately. Thanks ]

'Twas brillig, and Robert Gabriel at 09/12/10 12:13 did gyre and gimble:
> PA version is 0.9.22, udev support is build, hal support not.

That's cool. You should should probably not add the load-module lines
you had then and just let the default udev-detect find your h/w for you.

No need to mess with things if you don't have to :D

> 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

Well, that looks correct, but then so will PA output I presume. Without
actually hearing anything, you cannot test, so please report back when
you've been able to test things fully.

When dealing with VMs you need to make sure the host operating system
can actually output the sound from the VM and I suspect that's the
problem in this case....

If you don't do the pasuspender bit, but just do directly "speaker-test
-c 2" then I suspect it'll work equally well (I'm assuming alsa's
default device is pointing at the Alsa-Pulse plugin).

The problem then is not PA not outputting sound, but rather the VM not
outputting sound and the debug path is very, very different.


> pacmd list:
> 
>>>> [kongoni at kongoni ~]$ pacmd list
> Welcome to PulseAudio! Use "help" for usage information.
...
> 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 :)

Sadly, there is little value if you cannot paste everything. Please
either attach it or make it available via a URL or pastebin.

Thanks

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