Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Careful using this - I lost audio output and was unable to restore it #2

Open
SteelBRS opened this issue Mar 17, 2020 · 3 comments
Open

Comments

@SteelBRS
Copy link

Sound output in Ubuntu 18.04 LTS suddenly only contained 'Dummy Output'
Spent several hours trying to get linux to redetect the laptop sound, but gave up in the end 😞

@pzmarzly
Copy link
Owner

Wow, that's weird.

I've just tested it on Ubuntu 19.10, installation:

sudo apt install mumble mumble-server
sudo systemctl stop mumble-server.service
sudo systemctl disable mumble-server.service

You can always reset PulseAudio with pulseaudio -k. I added set -uo pipefail to the script to hopefully prevent such failures.

I also increased wait time, as Mumble takes a long time to launch when using Wayland. But otherwise it worked fine.

It's weird to see 'Dummy Output' here, as it's added if you run pactl load-module module-null-sink with default settings. But the only place in the script where module-null-sink is loaded is:

function add_sink () {
pactl load-module \
module-null-sink \
sink_name="Loopback_of_Mumble" \
sink_properties=device.description="Loopback_of_Mumble"
}

Can it be that the script somehow got corrupted (e.g. by copying and pasting it on Windows, which would insert BOM and CLRF invisible characters)?

pzmarzly added a commit that referenced this issue Mar 21, 2020
@71walceli
Copy link

71walceli commented Apr 20, 2020

This happens to me also. I have to manually do pulseaudio --start. Even if I get PA back up, I am unable to see the virtual mic in pavucontrol.

@71walceli
Copy link

Even if I increase wait times, it still ends up crashing PA, making one restart it manually..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants