mumble-voip / mumble

Mumble is an open-source, low-latency, high quality voice chat software.
https://www.mumble.info
Other
6.25k stars 1.1k forks source link

Mumble doesn't reconnect after sleep mode #996

Closed mumble-voip closed 1 year ago

mumble-voip commented 11 years ago

So, the title says itself. If you put your OS into a sleep mode and then go back, mumble never reconnects. Of course I have all these "reconnect automatically" option enabled. I guess that bug started with 1.2.3 beta, because I remember times when mumble always reconnected after sleep/suspend mode.

This ticket has been migrated from sourceforge. It is thus missing some details like original creator etc. The original is at https://sourceforge.net/p/mumble/bugs/996/ .

mumble-voip commented 11 years ago

https://sourceforge.net/p/mumble/feature-requests/955/ Exactly same problem as mine.

Kissaki commented 11 years ago
edo44 commented 8 years ago

It's 2016 and this wasn't fixed yet.

mkrautz commented 7 years ago

This has a high chance of being fixed by https://github.com/mumble-voip/mumble/pull/2622

I'll do a test on the various OSes once we're done massaging that PR.

sztanpet commented 7 years ago

not fixed (1.2.19) yet, mumble also keeps the PC from auto-suspending

mkrautz commented 7 years ago

FWIW, @sztanpet, the potential fix was merged into master, which is 1.3.0. It should be available in developer snapshot builds from https://www.mumble.info.

sztanpet commented 7 years ago

Yup, just noticed (and edited my earlier comment) thank you. I have now tested with 1.3.0~1937~g289d0d4 and it does not reconnect after sleeping, the auto-suspend blocking I cannot test right now. Win10 64bit, the log:

[14:44:18] Connecting to server <redacted>
pressed sleep, gone for a few minutes, came back
[14:47:02] Server connection failed: The remote host closed the connection.
nothing happened, waited for 3 more minutes, reconnected manually and everything works
the developer log 2017-02-27 14:44:18.374 DirectSound: Disabled as WASAPI is available 2017-02-27 14:44:18.375 ASIO: No valid devices found, disabling 2017-02-27 14:44:18.391 G15LCDEngine_lglcd: Logitech LCD Manager not detected. 2017-02-27 14:44:18.394 CELT bitstream 8000000b from C:/Program Files (x86)/Mumble/Versions/1.3.0~1937~g289d0d4~snapshot/celt0.0.7.0.dll 2017-02-27 14:44:18.396 CELT bitstream 80000010 from C:/Program Files (x86)/Mumble/Versions/1.3.0~1937~g289d0d4~snapshot/celt0.0.11.0.dll 2017-02-27 14:44:18.397 Theme: "Mumble" 2017-02-27 14:44:18.397 Style: "Lite" 2017-02-27 14:44:18.397 --> qss: ":builtin/themes/Mumble/Lite.qss" 2017-02-27 14:44:18.398 Locale is "en_US" (System: "en_US") 2017-02-27 14:44:18.511 Database SQLite: "3.14.1" 2017-02-27 14:44:18.511 Bonjour: Failed to load dnssd.dll 2017-02-27 14:44:18.511 Overlay: Listening on "\\\\.\\pipe\\MumbleOverlayPipe" 2017-02-27 14:44:18.513 Updating application palette 2017-02-27 14:44:18.665 Plugins: Failed to load sr.dll: Cannot load library C:\Users\sztanpet\AppData\Roaming\Mumble\Plugins\sr.dll: %1 is not a valid Win32 application. 2017-02-27 14:44:18.678 AudioInput: Opus encoder set for VOIP 2017-02-27 14:44:18.678 AudioInput: 96000 bits/s, 48000 hz, 480 sample 2017-02-27 14:44:18.653 GlobalShortcutWin: Found LowLevelHooksTimeout with value = 0x1388 2017-02-27 14:44:18.658 GlobalShortcutWin: GKeys initialized, isValid: 0 2017-02-27 14:44:18.659 XboxInput: using XInput DLL 'XInput1_4.dll' 2017-02-27 14:44:18.659 XboxInput: using XInputGetStateEx() as querying function. 2017-02-27 14:44:18.659 GlobalShortcutWin: XboxInput initialized, isValid: 1 2017-02-27 14:44:18.683 WASAPIInput: Latencies 101587 29025 => 100000 2017-02-27 14:44:18.686 WASAPIOutput: Latencies 101587 29025 => 100000 2017-02-27 14:44:18.701 WASAPIOutput: Output stream format 1 2017-02-27 14:44:18.701 WASAPIOutput: Stream Latency 0 (2646) 2017-02-27 14:44:18.701 WASAPIOutput: Periods 10158us 2902us (latency 0us) 2017-02-27 14:44:18.701 WASAPIOutput: Buffer is 60000us (5) 2017-02-27 14:44:18.702 AudioOutput: Initialized 2 channel 44100 hz mixer 2017-02-27 14:44:18.723 WASAPIInput: Mic Stream format 1 2017-02-27 14:44:18.723 WASAPIInput: Stream Latency 0 (984) 2017-02-27 14:44:18.726 AudioInput: Initialized mixer for 2 channel 44100 hz mic and 0 channel 48000 hz echo 2017-02-27 14:44:18.745 Adding device {6f1d2b60-d5a0-11cf-bfc7-444553540000} Mouse Mouse:5 type 0x00000112 guid product {6f1d2b60-d5a0-11cf-bfc7-444553540000} 2017-02-27 14:44:18.746 Adding device {6f1d2b61-d5a0-11cf-bfc7-444553540000} Keyboard Keyboard:109 type 0x00000a13 guid product {6f1d2b61-d5a0-11cf-bfc7-444553540000} 2017-02-27 14:44:18.757 OpenSSL Support: 1 (OpenSSL 1.0.2k 26 Jan 2017) 2017-02-27 14:44:18.768 SSL: CA certificate filter applied. Filtered size: 112, original size: 112 2017-02-27 14:44:18.768 ServerHandler: TLS cipher preference is "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:AES256-SHA:AES128-SHA" 2017-02-27 14:44:18.772 ServerHandler: QOS2 loaded 2017-02-27 14:44:18.768 Adding device {c0a75890-becb-11e6-8003-444553540000} Micr Micr:1280 type 0x00010011 guid product {0800045e-0000-0000-0000-504944564944} 2017-02-27 14:44:18.774 Adding device {c0a77fa0-becb-11e6-8005-444553540000} Micr Micr:256 type 0x00010011 guid product {0800045e-0000-0000-0000-504944564944} 2017-02-27 14:44:18.786 Adding device {c0a7cdc0-becb-11e6-8009-444553540000} Mouse Interface Mouse Interface:768 type 0x00010011 guid product {7a131044-0000-0000-0000-504944564944} 2017-02-27 14:44:18.790 Adding device {c0a77fa0-becb-11e6-8006-444553540000} USB KEYBOARD USB KEYBOARD:3 type 0x00010011 guid product {0001258a-0000-0000-0000-504944564944} 2017-02-27 14:44:18.797 Adding device {c0a7a6b0-becb-11e6-8007-444553540000} USB KEYBOARD USB KEYBOARD:24 type 0x00010011 guid product {0001258a-0000-0000-0000-504944564944} 2017-02-27 14:44:18.804 Adding device {c0a842f0-becb-11e6-800e-444553540000} Microsoft eHome Infrared Transceiver Microsoft eHome Infrared Transceiver:573 type 0x00010011 guid product {006d045e-0000-0000-0000-504944564944} 2017-02-27 14:44:18.811 Adding device {c0a86a00-becb-11e6-8013-444553540000} Microsoft eHome Infrared Transceiver Microsoft eHome Infrared Transceiver:256 type 0x00010011 guid product {006d045e-0000-0000-0000-504944564944} 2017-02-27 14:44:19.377 libpng warning: iCCP: known incorrect sRGB profile 2017-02-27 14:45:19.466 AudioInput: Opus encoder set for VOIP 2017-02-27 14:45:19.466 AudioInput: 57000 bits/s, 48000 hz, 480 sample 2017-02-27 14:45:19.468 WASAPIInput: Latencies 101587 29025 => 100000 2017-02-27 14:45:19.470 WASAPIOutput: Latencies 101587 29025 => 100000 2017-02-27 14:45:19.476 WASAPIOutput: Output stream format 1 2017-02-27 14:45:19.476 WASAPIOutput: Stream Latency 0 (2646) 2017-02-27 14:45:19.476 WASAPIOutput: Periods 10158us 2902us (latency 0us) 2017-02-27 14:45:19.476 WASAPIOutput: Buffer is 60000us (5) 2017-02-27 14:45:19.477 AudioOutput: Initialized 2 channel 44100 hz mixer 2017-02-27 14:45:19.481 WASAPIInput: Mic Stream format 1 2017-02-27 14:45:19.481 WASAPIInput: Stream Latency 0 (984) 2017-02-27 14:45:19.482 AudioInput: Initialized mixer for 2 channel 44100 hz mic and 0 channel 48000 hz echo 2017-02-27 14:50:30.577 OpenSSL Support: 1 (OpenSSL 1.0.2k 26 Jan 2017) 2017-02-27 14:50:30.586 SSL: CA certificate filter applied. Filtered size: 168, original size: 168 2017-02-27 14:50:30.586 ServerHandler: TLS cipher preference is "ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES128-GCM-SHA256:ECDHE-ECDSA-AES128-GCM-SHA256:DHE-RSA-AES256-GCM-SHA384:DHE-RSA-AES128-GCM-SHA256:DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:AES256-SHA:AES128-SHA" 2017-02-27 14:50:30.586 ServerHandler: QOS2 loaded
sztanpet commented 7 years ago

And I can also confirm that auto-suspending is still blocked, and the PC will not go to sleep by itself ever if mumble is running.

sztanpet commented 7 years ago

In case it helps, the Disconnect option in the Server menu is not greyed out after coming back from sleep, it still thinks it's connected. The connection error reported by mumble was:

[09:54:42] Server connection failed: Server is not responding to TCP pings.
mkrautz commented 7 years ago

Thanks -- it should reconnect after receiving that error. I'm assuming it does not?

sztanpet commented 7 years ago

It does not, neither when the error was [14:47:02] Server connection failed: The remote host closed the connection.

ghost commented 1 year ago

Does this still happen, and is it happening on more than just Windows? An internet search is littered with issues with sound after sleep/suspend/hibernate which may require restarting the sound service, updating the audio drivers, or disabling power plans/settings entirely to resolve the issue. Are other sounds affected by this?

github-actions[bot] commented 1 year ago

This issue has been marked as stale, because our request for more information has thus far not been fulfilled.

If no further action occurs, this issue will be closed within 7 days.