LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Pulseaudio not working after reinstalling multilib (https://www.linuxquestions.org/questions/slackware-14/pulseaudio-not-working-after-reinstalling-multilib-4175575731/)

TarFile 03-23-2016 10:36 PM

Pulseaudio not working after reinstalling multilib
 
Not sure if that is the fact but I did a slackpkg upgrade patches and forgot to blacklist multilibs.

I fixed all that finally:redface:

Now pulse audio does not seem to work in KDE

if I do
/etc/rc.d/rc.pulseaudio start ( not the best way to start it)

it starts

still does not work in KDE

If I

bash-4.2# ./start-pulseaudio-x11
Connection failure: Connection refused
pa_context_connect() failed: Connection refused

I get sound in KDE but sound is not working in virtualbox or games for some reason.

The sound works with or without the system wide pulse server running.
This is what I get from a terminal in KDE if I start the system wide server

bash-4.2# sh /etc/rc.d/rc.pulseaudio start
Starting pulseaudio...
No protocol specified
E: [pulseaudio] client-conf-x11.c: xcb_connection_has_error() returned true



I uninstalled pulseaudio and installed it again form slackbuilds but that did not seem to help.

Any ideas :scratch:

willysr 03-23-2016 10:39 PM

pulseaudio is started automatically by default so no need to start pulseaudio manually

TarFile 03-24-2016 10:09 AM

Well that is the problem it never starts.

It used to show up as a device in Phonon but not anymore and the things that used to use it don't have sound anymore.

phenixia2003 03-24-2016 10:20 AM

Hello,

Quote:

Originally Posted by TarFile (Post 5520677)
Well that is the problem it never starts.

It used to show up as a device in Phonon but not anymore and the things that used to use it don't have sound anymore.

Maybe this post can help you on this.

--
SeB

TarFile 03-24-2016 10:28 AM

Well in my case I start X and KDE with startx so that won't help as far as I can tell.

TarFile 03-24-2016 10:30 AM

I wonder if I need to build the compat32 version of pulseaudio? I though virtulabox was 64 bit though :scratch:

I guess it's worth a shot :banghead:

bassmadrigal 03-24-2016 11:46 AM

Quote:

Originally Posted by TarFile (Post 5520542)
I uninstalled pulseaudio and installed it again form slackbuilds but that did not seem to help.

What version of Slackware do you have? I initially thought it was -current, since pulseaudio is included, but if you're building things from slackbuilds, then I'm thinking you might be running 14.1.

TarFile 03-24-2016 12:13 PM

Yes Slackware 14.1 64bit with multilibs installed.

bassmadrigal 03-24-2016 12:19 PM

Did you rebuild pulseaudio's dependencies? They may need rebuilding to match the updated multilib dependencies.

TarFile 03-24-2016 03:02 PM

I just tried that but no change at all.

bassmadrigal 03-24-2016 03:40 PM

Do you have an .asoundrc or /etc/asound.conf? If so, please list the contents.

TarFile 03-24-2016 05:56 PM

Yes I have one of each they are identical

pcm.pulse {
type pulse
}

ctl.pulse {
type pulse
}

pcm.!default {
type pulse
}

ctl.!default {
type pulse
}

I also found out that if I log on as a non root user pulseaudio starts. If I then log off and log back on as root pulseaudio is still(?) running.

For some strange reason the sound started working in virtualbox and it does not seem to matter if pulseaudio is running or not. :scratch:

Sound still is not working in games for some reason. :confused:

The only thing I can think of is I had a SoundBlaster card in the box but did not need it anymore so I took it out and turned no the on-board sound card. Maybe that mucked it up somehow :banghead:

bassmadrigal 03-25-2016 06:41 AM

I have little to no experience with pulseaudio, so this is just a stab in the dark, but maybe you need to set pulseaudio to use the correct device by default (rather than rely on you changing it in pavucontrol). See the following archwiki section for more details.

https://wiki.archlinux.org/index.php..._output_source

TarFile 03-25-2016 12:23 PM

I looked at that but the

set-default-sink

command was not recognized. (Sorry I was supposed to put it in the default.pa file in /etc/pulse :redface: ) Trying that now.

I am not sure the problem is with pulseaudio anymore the sound is not working for 32bit games as fire as I can tell.

Sound is working fine as far as I can tell PulseAudio shows up in Phonon when it feels like it which is sort of annoying, but I guess it gets used when it is needed?

For instance in Doom3 it says WARNING: Sound System Disabled that did not happen before and sound worked :scratch:

Not sure if it's compat32 that is the problem? Or if it has something to do with ALSA and PulseAudio? :banghead:

TarFile 03-25-2016 12:40 PM

Well the set-default-sink did not help.


All times are GMT -5. The time now is 02:34 AM.