script stops at `Adding sink...`
I've been using this script for a few months now, but I was recently forced to use a new pc as I needed to retire my old one. Setting up the mic for this, I couldn't for the life of me, get it to work on this particular set up. It just stops when it got to Adding sink after prompting the username.
Details:
Mumble (1.3.0~git20190125.440b173+dfsg-2)
OS: Debian GNU/Linux 10 (buster) x86_64
pulseaudio 12.2
link to log file after I uncommented set -x
Thanks for the log, it makes things much easier. I can see where it went wrong, but can't see why.
Could you post the outputs of:
-
pacmd list-sink-inputsbefore the script is ran, -
pacmd list-sinksbefore the script is ran, -
pacmd list-sink-inputswhile the script is hanging, -
pacmd list-sinkswhile the script is hanging?
Absolutely, here's the results.
Thanks.
The first thing that was concerning in script log was
+ SINK_PAID='1
4
5'
But that was just because the script didn't finish properly before, so clean-up wasn't run, and some extra devices were left. That still is an issue, so I implemented warning messages about it in #10 (haven't tested them yet, though).
The main problem is that Mumble doesn't appear on your pacmd list-sink-inputs list. Here's mine, for comparison (I have Firefox and MS Teams opened in background). I have no idea why that happens. If you start Mumble normally, does it appear in pacmd list-sink-inputs? Does it appear in pavucontrol?
it does show up in pacmd list-sink-inputs but i cant set it from settings, also there is like 5 output device named loopback_of_mumble
Before 0 sink input(s) available.
After Script 3 sink input(s) available. index: 45 driver: <protocol-native.c> flags: state: RUNNING sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo> volume: front-left: 65536 / 100% / 0,00 dB, front-right: 65536 / 100% / 0,00 dB balance 0,00 muted: no current latency: 28,33 ms requested latency: 20,00 ms sample spec: s16le 2ch 48000Hz channel map: front-left,front-right Stereo resample method: (null) module: 13 client: 60 <Mumble> properties: media.name = "Mumble Speakers" application.name = "Mumble" native-protocol.peer = "UNIX socket client" native-protocol.version = "34" application.id = "net.sourceforge.mumble.mumble" application.icon_name = "mumble" media.role = "game" application.process.id = "10708" application.process.user = "berkay" application.process.host = "berkay-pc" application.process.binary = "mumble" application.language = "tr_TR.UTF-8" window.x11.display = ":0" application.process.machine_id = "f0ac89852c434463a10f054ade54823f" application.process.session_id = "2" module-stream-restore.id = "sink-input-by-media-role:game" index: 48 driver: <protocol-native.c> flags: state: RUNNING sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo> volume: mono: 65536 / 100% / 0,00 dB balance 0,00 muted: no current latency: 0,00 ms requested latency: 2,51 ms sample spec: s16le 1ch 44100Hz channel map: mono Tek Kanallı resample method: speex-float-1 module: 13 client: 63 <speech-dispatcher-dummy> properties: media.name = "playback" application.name = "speech-dispatcher-dummy" native-protocol.peer = "UNIX socket client" native-protocol.version = "34" application.process.id = "10776" application.process.user = "berkay" application.process.host = "berkay-pc" application.process.binary = "sd_dummy" application.language = "C" window.x11.display = ":0" application.process.machine_id = "f0ac89852c434463a10f054ade54823f" application.process.session_id = "2" module-stream-restore.id = "sink-input-by-application-name:speech-dispatcher-dummy" index: 49 driver: <protocol-native.c> flags: state: RUNNING sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo> volume: mono: 65536 / 100% / 0,00 dB balance 0,00 muted: no current latency: 0,00 ms requested latency: 2,49 ms sample spec: s16le 1ch 22050Hz channel map: mono Tek Kanallı resample method: speex-float-1 module: 13 client: 64 <speech-dispatcher-espeak-ng> properties: media.name = "playback" application.name = "speech-dispatcher-espeak-ng" native-protocol.peer = "UNIX socket client" native-protocol.version = "34" application.process.id = "10766" application.process.user = "berkay" application.process.host = "berkay-pc" application.process.binary = "sd_espeak-ng" application.language = "C" window.x11.display = ":0" application.process.machine_id = "f0ac89852c434463a10f054ade54823f" application.process.session_id = "2" module-stream-restore.id = "sink-input-by-application-name:speech-dispatcher-espeak-ng"
Any updates? I got it running at the first time, but now it's always quitting on Adding sink...