[SOLVED] Proper pulseaudio setup for Slackware64-current
What is the proper Slackware style setup for pulseaudio? I have the dependencies and pulseaudio-0.9.21 installed, but I am stuck on how to properly setup pulseaudio as my sound backend.
Thanks! |
/etc/asound.conf
Code:
pcm.pulse { |
Hmmm, So Slackware current includes pulse audio?? I sure hope that pulse in Slack proves to be easier to live with and easier to configure than the bloated, resource hungry mess that it currently is in Ubuntu!
|
Other things you may need to change are in /etc/pulse or /usr/local/etc/pulse (depends on your install configuration), there are two configuration files which are fairly well commented and also some man pages relating to various elements of the pulse subsystem, the pulse wiki is fairly good and can give you some pointers about common setups (my only complain when I used pulse was the networking system didn't work so I gave up) also if you have a 5:1 sound system you will need to do some custom configuration in the .conf files (daemon.conf and another - can't remember atm). Their mailing list is active and helpful.
|
No ;)
He compiled it from source, I guess. If you want easier pulseaudio configuration, install it from Slacky.eu or SlackBuilds.org and it will get automatically configured. |
Quote:
|
Thanks for all of the responses so far. I compiled the latest version of pulse from pulseaudio.org. I couldn't get the Slackbuilds.org version to compile due to some sort of incompatibility with libtool. When I compiled the latest version, I used the SlackBuild from SBo and just modified the version number. I haven't recompiled udev, and I probably won't. [update] I just looked at the latest changelog, and udev-151 is included.
I'll try to play around with the configurations mentioned above tonight. Right now, when I start pulse, it fails with a number of errors. If I'm still having problems, I'll post the specific errors. [update] I'll upgrade everything tonight, recompile pulse, edit some files, and see what happens. My only questions right now are related to Ivshti's suggestion for creating a .asoundrc file and editing the /etc files. I thought the use of the .asoundrc file was deprecated, and its use was discouraged with the latest versions of ALSA. Does that suggestion not apply when using pulse? For the /etc files, are any edits to the rc.d startup scripts necessary? |
Quote:
|
For pulse setup you only needs to edit etc/asound.conf as mentioned by lvshti.
My asound.conf: Code:
pcm.pulse { Maybe you'll also need package consolekit, then you have also to edit etc/dbus-1/system.conf: Code:
... HINT: when you like some very good sound-visualisation: see projectM-pulseaudio. When pulseaudio is working, then is compiling this project not so difficult any more. |
Sorry for the delay in reporting back. I had some problems with the updates in -current64, but I'm up and running again. I've got the latest pulseaudio compiled and installed. With the update to udev in -current64, pulse recognizes udev now.
I also have my /etc/asoundrc configured as henkees indicates above since that is what the pulseaudio.org site recommends when setting pulse as the default. In /etc/pulse/default.pa, I disabled console-kit (not needed as far as I can tell - correct me if I'm wrong) and bluetooth (bluetooth was throwing back some access errors, and I don't use bluetooth for audio). When I try to play a .wav file via aplay (e.g., aplay -Dpulse foo.wav), I get the following error back: Code:
ALSA lib pcm.c:2171:(snd_pcm_open_conf) Cannot open shared library /usr/lib64/alsa-lib/libasound_module_pcm_pulse.so Thanks |
you need the alsa-plugins package available here: http://slackbuilds.org/repository/13.../alsa-plugins/
|
Quote:
|
i just installed all of this yesterday (hoping to enable my laptops built-in subwoofer, with no success) and I had no errors.
i installed all the dependencies for pulseaudio with sbopkg, then installed the latest pulseaudio with src2pkg, I had to disable console kit in the default.pa file, and set asound.conf to use pulse, following that i ran pulseaudio --start, then found i needed those plugins, which i installed with sbopkg are you on 32 or 64 bit? i did reboot my computer after setting up pulse to ensure all modules got unloaded then reloaded, but i would imagine just modprobing your sound modules would have the same affect |
Quote:
I went back and looked at the configure script results for alsa-plugins, and it says: Code:
Plugin directory: /usr/lib64/alsa-lib |
they all installed to /usr/lib64 here
i built pulseaudio with src2pkg |
I just rebuilt pulseaudio, and now it's in /usr/lib64. Very strange. alsa-plugins now sees pulseaudio, and I get get a .wav file to play with 'aplay -Dpulse foo.wav'
Thanks for all of the help everyone. |
All times are GMT -5. The time now is 01:40 PM. |