How to get one pulseaudio [SOLVED]

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
lmuserx4849

How to get one pulseaudio [SOLVED]

Post by lmuserx4849 »

I was looking at the system activity window and pulseaudio always appears at the top for cpu% and accumulated cpu... then I saw there were two, one under init, the other under display manager.

Code: Select all

ps -p $(pgrep -fd, pulseaudio) f
I found this bug, "pulseaudio is started twice - effectively making device management impossible". I actually didn't have problems with audio. I also had the fix on, mentioned in #27, #28, but #30 is what worked for me. I rebooted and now only have one pulse audio and audio still works :-). This appears to only happen in kde.
An alternative way to solve this would have been to set the environment variable PULSE_INTERNAL to 0.
I backed-up /usr/share/ubuntu-drivers-common/detect/sl-modem.py and added the 2nd line below:

Code: Select all

     33         env['LC_ALL'] = 'C'
     34         env['PULSE_INTERNAL'] = '0'
     35         aplay = subprocess.Popen(['aplay', '-l'], env=env,
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Locked

Return to “Software & Applications”