Page 1 of 1

Remove duplicate pulseaudio sink

Posted: Mon Aug 20, 2018 2:42 pm
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 2079 times

Re: Remove duplicate pulseaudio sink

Posted: Tue Aug 21, 2018 7:25 am
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?

Re: Remove duplicate pulseaudio sink

Posted: Tue Aug 21, 2018 8:19 am
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

Re: Remove duplicate pulseaudio sink

Posted: Tue Aug 21, 2018 8:49 am
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.

Re: Remove duplicate pulseaudio sink

Posted: Tue Aug 21, 2018 11:47 am
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.

Re: Remove duplicate pulseaudio sink

Posted: Tue Aug 21, 2018 5:36 pm
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

Re: Remove duplicate pulseaudio sink

Posted: Tue Aug 21, 2018 5:41 pm
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 :)

Re: Remove duplicate pulseaudio sink

Posted: Wed Aug 22, 2018 7:34 am
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.

Re: Remove duplicate pulseaudio sink

Posted: Wed Aug 22, 2018 8:17 am
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.

Re: Remove duplicate pulseaudio sink

Posted: Thu Aug 23, 2018 5:41 pm
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.

Re: Remove duplicate pulseaudio sink

Posted: Sun Aug 26, 2018 3:46 am
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!