Remove duplicate pulseaudio sink

Optimize your system for ultimate performance.

Moderators: khz, MattKingUSA

User avatar
d.healey
Established Member
Posts: 43
Joined: Fri Sep 22, 2017 8:33 pm

Remove duplicate pulseaudio sink

Postby d.healey » Mon Aug 20, 2018 2:42 pm

Hi does anybody know how to permanently remove a duplicate sink?
Screenshot from 2018-08-20 15-41-25.png
You do not have the required permissions to view the files attached to this post.

User avatar
bluebell
Established Member
Posts: 746
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland & Frankfurt, Germany

Re: Remove duplicate pulseaudio sink

Postby bluebell » Tue Aug 21, 2018 7:25 am

d.healey wrote:Hi does anybody know how to permanently remove a duplicate sink?
Screenshot from 2018-08-20 15-41-25.png


Never had that. Maybe you have 2 pulseaudio-daemons running, either under different users or one system-wide and one in user context?

User avatar
d.healey
Established Member
Posts: 43
Joined: Fri Sep 22, 2017 8:33 pm

Re: Remove duplicate pulseaudio sink

Postby d.healey » Tue Aug 21, 2018 8:19 am

Something funky is going on. Basically everything was fine for the last year, then I added the KXStudio repo so I could download an app and the next time I ran the update manager I get this extra sink

User avatar
sysrqer
Established Member
Posts: 1477
Joined: Thu Nov 14, 2013 11:47 pm
Contact:

Re: Remove duplicate pulseaudio sink

Postby sysrqer » Tue Aug 21, 2018 8:49 am

I think I've had this before but I don't remember what I did to fix it. Pretty sure if you google it you will find the solution, I did and I remember it not being very complicated.

User avatar
d.healey
Established Member
Posts: 43
Joined: Fri Sep 22, 2017 8:33 pm

Re: Remove duplicate pulseaudio sink

Postby d.healey » Tue Aug 21, 2018 11:47 am

sysrqer wrote:I think I've had this before but I don't remember what I did to fix it. Pretty sure if you google it you will find the solution, I did and I remember it not being very complicated.

Well that was the first thing I tried and all I could find was how to unload the module but it returns on reboot.

User avatar
nikgnomicradio
Established Member
Posts: 34
Joined: Wed Feb 07, 2018 9:31 pm
Contact:

Re: Remove duplicate pulseaudio sink

Postby nikgnomicradio » Tue Aug 21, 2018 5:36 pm

Assuming Pulseaudio sink/sources are being loaded by
1. Cadence settings
2. Module configuration in Pulseaudio

Simplest way is turn off Pulseaudio bridge in Cadence

If you want to turn it off in Pulseaudio configuration:

  • copy etc/pulse/default.pa to ~/.config/pulse/default.pa (optional)
  • Open ~/.config/pulse/default.pa in text editor
  • Find this section and add '#' at start of each line to comment out:
### Automatically connect sink and source if JACK server is present
# .ifexists module-jackdbus-detect.so
# .nofail
# load-module module-jackdbus-detect channels=2
# .fail
# .endif

  • Restart Pulseaudio/ log out / restart pc to reload customised default.pa settings

User avatar
d.healey
Established Member
Posts: 43
Joined: Fri Sep 22, 2017 8:33 pm

Re: Remove duplicate pulseaudio sink

Postby d.healey » Tue Aug 21, 2018 5:41 pm

Thanks for the help. I'm using qjackctl rather than Cadence. I tried playing around with those files but it didn't help. I've solved the problem now though. I uninstalled pulseaudio and jack and reinstalled them. Annoyingly kxstudio had burrowed into my software sources like a tick and replaced some modules with its own versions which caused dependency issues when I went to reinstall pulseaudio and consequently I had to uninstall and reinstall a ton of other stuff too! But it all seems to be running smoothly now :)

User avatar
Lyberta
Established Member
Posts: 639
Joined: Sat Nov 01, 2014 8:15 pm
Location: The Internet
Contact:

Re: Remove duplicate pulseaudio sink

Postby Lyberta » Wed Aug 22, 2018 7:34 am

d.healey wrote:Thanks for the help. I'm using qjackctl rather than Cadence. I tried playing around with those files but it didn't help. I've solved the problem now though. I uninstalled pulseaudio and jack and reinstalled them. Annoyingly kxstudio had burrowed into my software sources like a tick and replaced some modules with its own versions which caused dependency issues when I went to reinstall pulseaudio and consequently I had to uninstall and reinstall a ton of other stuff too! But it all seems to be running smoothly now :)


Good reason not to install any services from KXStudio.

User avatar
falkTX
Established Member
Posts: 6646
Joined: Sat Jan 09, 2010 3:04 pm

Re: Remove duplicate pulseaudio sink

Postby falkTX » Wed Aug 22, 2018 7:39 am

oh so nice you are.
there are things kxstudio does in order to make things better for the overall number of users.
of course, sometimes it can fail, there are too many different setups and configs out there to try to support everything. edge-cases always happen.

anyway, if it doesn't work for you, don't use it. that is fine.
just don't make it seem like KXStudio is this big bad thing please...

User avatar
d.healey
Established Member
Posts: 43
Joined: Fri Sep 22, 2017 8:33 pm

Re: Remove duplicate pulseaudio sink

Postby d.healey » Wed Aug 22, 2018 8:17 am

falkTX wrote:just don't make it seem like KXStudio is this big bad thing please...

Sorry, I didn't mean that KXStudio is bad in general, just in this instance using the repos had some frustrating side effects.

User avatar
falkTX
Established Member
Posts: 6646
Joined: Sat Jan 09, 2010 3:04 pm

Re: Remove duplicate pulseaudio sink

Postby falkTX » Wed Aug 22, 2018 8:45 am

I know what you mean, my problem is with someone else overly negative attitude (more than me, which I did not think as possible!)

No apologies needed, you did nothing wrong.
Odd things happen from time to time.

User avatar
Lyberta
Established Member
Posts: 639
Joined: Sat Nov 01, 2014 8:15 pm
Location: The Internet
Contact:

Re: Remove duplicate pulseaudio sink

Postby Lyberta » Thu Aug 23, 2018 5:41 pm

I just think that addon repos shouldn't mess with the system config. I think installing stuff like kxstudio-meta-all and other meta packages and system services is a sure way to destroy your distro.

User avatar
nikgnomicradio
Established Member
Posts: 34
Joined: Wed Feb 07, 2018 9:31 pm
Contact:

Re: Remove duplicate pulseaudio sink

Postby nikgnomicradio » Sun Aug 26, 2018 3:46 am

I mostly use QjackCtl, but have Cadence too
have seen duplicate sink/source connections happen in Debian/Ubuntu distributions,
but only takes one check to avoid it

First time starting Cadence check connections and see if Pulseaudio sink/source is already there
It is usually triggered by Pulseaudio module-jackdbus-detect
If that is the case, no need to use settings in Cadence to turn on another Pulseaudio sink/source

This happened again for me testing live MX17 Studio this week as expected

Qjackctl and Cadence can work quite happily on same machine
But some packages from KX can break QjackCtl function and should not be installed

so turn repository off before getting updates

Linux freedom also makes it easy to wreck a working system - found lots of them!


Return to “System Tuning and Configuration”

Who is online

Users browsing this forum: No registered users and 1 guest