Remove duplicate pulseaudio sink

Optimize your system for ultimate performance.

Moderators: MattKingUSA, khz

Post Reply
User avatar
d.healey
Established Member
Posts: 609
Joined: Fri Sep 22, 2017 8:33 pm
Has thanked: 273 times
Been thanked: 100 times

Remove duplicate pulseaudio sink

Post by d.healey »

Hi does anybody know how to permanently remove a duplicate sink?
Screenshot from 2018-08-20 15-41-25.png
Screenshot from 2018-08-20 15-41-25.png (26.75 KiB) Viewed 2080 times
David Healey
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
User avatar
bluebell
Established Member
Posts: 1909
Joined: Sat Sep 15, 2012 11:44 am
Location: Saarland, Germany
Has thanked: 111 times
Been thanked: 116 times

Re: Remove duplicate pulseaudio sink

Post by bluebell »

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?

Linux – MOTU UltraLite AVB – Qtractor – http://suedwestlicht.saar.de/

User avatar
d.healey
Established Member
Posts: 609
Joined: Fri Sep 22, 2017 8:33 pm
Has thanked: 273 times
Been thanked: 100 times

Re: Remove duplicate pulseaudio sink

Post by d.healey »

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
David Healey
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
User avatar
sysrqer
Established Member
Posts: 2519
Joined: Thu Nov 14, 2013 11:47 pm
Has thanked: 319 times
Been thanked: 148 times
Contact:

Re: Remove duplicate pulseaudio sink

Post by sysrqer »

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: 609
Joined: Fri Sep 22, 2017 8:33 pm
Has thanked: 273 times
Been thanked: 100 times

Re: Remove duplicate pulseaudio sink

Post by d.healey »

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.
David Healey
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
User avatar
nikgnomicradio
Established Member
Posts: 109
Joined: Wed Feb 07, 2018 9:31 pm
Has thanked: 1 time
Been thanked: 7 times
Contact:

Re: Remove duplicate pulseaudio sink

Post by nikgnomicradio »

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: 609
Joined: Fri Sep 22, 2017 8:33 pm
Has thanked: 273 times
Been thanked: 100 times

Re: Remove duplicate pulseaudio sink

Post by d.healey »

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 :)
David Healey
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
Lyberta
Established Member
Posts: 681
Joined: Sat Nov 01, 2014 8:15 pm
Location: The Internet
Been thanked: 1 time

Re: Remove duplicate pulseaudio sink

Post by Lyberta »

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
d.healey
Established Member
Posts: 609
Joined: Fri Sep 22, 2017 8:33 pm
Has thanked: 273 times
Been thanked: 100 times

Re: Remove duplicate pulseaudio sink

Post by d.healey »

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.
David Healey
YouTube - Free HISE scripting and sample library dev tutorials
Libre Wave - Freedom respecting instruments and effects.
Lyberta
Established Member
Posts: 681
Joined: Sat Nov 01, 2014 8:15 pm
Location: The Internet
Been thanked: 1 time

Re: Remove duplicate pulseaudio sink

Post by Lyberta »

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: 109
Joined: Wed Feb 07, 2018 9:31 pm
Has thanked: 1 time
Been thanked: 7 times
Contact:

Re: Remove duplicate pulseaudio sink

Post by nikgnomicradio »

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!
Post Reply