mmtrt / leagueoflegends

Unofficial league of legends snap repo
https://snapcraft.io/leagueoflegends
GNU Lesser General Public License v2.1
220 stars 27 forks source link

Voice chat not working #152

Closed ParkerdeWaal closed 6 months ago

ParkerdeWaal commented 4 years ago

Hello,

Concurrent with the recent string of problems related to updates the game is now running smoothly, but voice chat no longer works.

This issue is two fold, first it seems that the game does not pick up any microphone activity under any input device. Performing a input volume check fails for all devices. image

Secondly, when joining a premade lobby with friends, I can see their microphones activating but I am unable to hear their conversation.

I have been unable to figure out why the game no longer accepts voice input, but I suspect that some connection is no longer being made to their voice servers (maybe some port is closed?) leading to the second issue.

Potentially important error messages are:

0058:err:rpc:I_RpcGetBuffer no binding
016b:err:winediag:MIDIMAP_drvOpen No software synthesizer midi port found, Midi sound output probably won't work.

Based on https://github.com/mmtrt/leagueoflegends/issues/78#issuecomment-533216405, I believe the RpcGetBuffer no binding is the culprit.

mmtrt commented 4 years ago

Did it worked before this launcher issue? though I can't test mic issue locally since I don't have working mic under linux.

ParkerdeWaal commented 4 years ago

Hi @mmtrt, that is correct.

The mic and voice chat were working for me before but are no longer working. The reason I suspect that some binding is not working is that I am unable to hear others in voice chat and I noticed that the rcp is often listed with voice in the comment listed above.

ParkerdeWaal commented 4 years ago

I've been able to narrow down the error to the following (on ubuntu 18.04):

RiotClientServices.exe(0000005B): ALWAYS| rso-auth: RSO implicit grant queue refresh for client lol in 3569.83 seconds with id 390d9838-141a-dd49-b341-ebe84d955532
RiotClientServices.exe(00000056): ALWAYS| chat: RSO access token received, size: 880
RiotClientServices.exe(00000052): ALWAYS| chat: RSO ID token received, size: 1112
RiotClientServices.exe(00000059): ALWAYS| client-config: Updated player config for league_of_legends with 21 entries
RiotClientServices.exe(00000050): ALWAYS| riot-messaging-service: Entitlements token has changed.
RiotClientServices.exe(0000005B): ALWAYS| voice-chat: Attempting to initialize 'vivox' voice service SDK...
RiotClientServices.exe(0000005B): ALWAYS| voice-chat: Vivox SDK Version: 4.10.0000.32327
RiotClientServices.exe(0000005B): ALWAYS| voice-chat: Successfully initialized 'vivox' voice service SDK
RiotClientServices.exe(00000194): ALWAYS| voice-chat: Device update notification thread is running
RiotClientServices.exe(0000005B): ALWAYS| voice-chat: Successfully registered for device notifications.
RiotClientServices.exe(0000005B): ALWAYS| voice-chat: Updating the CURRENT render device to 'Default System Device'
RiotClientServices.exe(0000005B): ALWAYS| voice-chat: The CURRENT render device is 'Default System Device' / 'Pulseaudio'
RiotClientServices.exe(0000005B): ALWAYS| voice-chat: The EFFECTIVE render device is 'Pulseaudio'
RiotClientServices.exe(0000005B): ALWAYS| voice-chat: The DEFAULT render device is 'Pulseaudio'
RiotClientServices.exe(0000005B): ALWAYS| voice-chat: Updating the CURRENT capture device to 'Default System Device'
RiotClientServices.exe(0000005B): ALWAYS| voice-chat: The CURRENT capture device is 'Default System Device' / 'Pulseaudio'
RiotClientServices.exe(0000005B): ALWAYS| voice-chat: The EFFECTIVE capture device is 'Pulseaudio'
RiotClientServices.exe(0000005B): ALWAYS| voice-chat: The DEFAULT capture device is 'Pulseaudio'
RiotClientServices.exe(0000005B): ALWAYS| voice-chat: Provider 'vivox' initialized successfully
RiotClientServices.exe(0000005C):  ERROR| voice-chat: Failed to enable local loopback for provider '': vx_req_aux_capture_audio_start request failed: (7009) Unable Open Capture Device
RiotClientServices.exe(0000005C):  ERROR| voice-chat: Failed to enable local loopback for provider '': vx_req_aux_capture_audio_start request failed: (7009) Unable Open Capture Device
RiotClientServices.exe(0000005A):  ERROR| voice-chat: Failed to enable local loopback for provider '': vx_req_aux_capture_audio_start request failed: (7009) Unable Open Capture Device
RiotClientServices.exe(0000005A):  ERROR| voice-chat: Failed to enable local loopback for provider '': vx_req_aux_capture_audio_start request failed: (7009) Unable Open Capture Device
RiotClientServices.exe(00000059): ALWAYS| voice-chat: Updating the CURRENT capture device to 'Pulseaudio'
RiotClientServices.exe(00000059): ALWAYS| voice-chat: The CURRENT capture device is 'Pulseaudio'
RiotClientServices.exe(00000059): ALWAYS| voice-chat: The EFFECTIVE capture device is 'Pulseaudio'
RiotClientServices.exe(00000059): ALWAYS| voice-chat: The DEFAULT capture device is 'Pulseaudio'
RiotClientServices.exe(00000050):  ERROR| voice-chat: Failed to enable local loopback for provider '': vx_req_aux_capture_audio_start request failed: (7009) Unable Open Capture Device
RiotClientServices.exe(00000050): ALWAYS| voice-chat: Updating the CURRENT capture device to 'Default System Device'
RiotClientServices.exe(00000050): ALWAYS| voice-chat: The CURRENT capture device is 'Default System Device' / 'Pulseaudio'
RiotClientServices.exe(00000050): ALWAYS| voice-chat: The EFFECTIVE capture device is 'Pulseaudio'
RiotClientServices.exe(00000050): ALWAYS| voice-chat: The DEFAULT capture device is 'Pulseaudio'
RiotClientServices.exe(00000050):  ERROR| voice-chat: Failed to enable local loopback for provider '': vx_req_aux_capture_audio_start request failed: (7009) Unable Open Capture Device
RiotClientServices.exe(00000052): ALWAYS| voice-chat: Updating the CURRENT capture device to 'Pulseaudio'
RiotClientServices.exe(00000052): ALWAYS| voice-chat: The CURRENT capture device is 'Pulseaudio'
RiotClientServices.exe(00000052): ALWAYS| voice-chat: The EFFECTIVE capture device is 'Pulseaudio'
RiotClientServices.exe(00000052): ALWAYS| voice-chat: The DEFAULT capture device is 'Pulseaudio'
RiotClientServices.exe(0000005A): ALWAYS| voice-chat: Updating the CURRENT capture device to 'Default Communication Device'
RiotClientServices.exe(0000005A): ALWAYS| voice-chat: The CURRENT capture device is 'Default Communication Device' / 'Pulseaudio'
RiotClientServices.exe(0000005A): ALWAYS| voice-chat: The EFFECTIVE capture device is 'Pulseaudio'
RiotClientServices.exe(0000005A): ALWAYS| voice-chat: The DEFAULT capture device is 'Pulseaudio'
RiotClientServices.exe(00000050):  ERROR| voice-chat: Failed to enable local loopback for provider '': vx_req_aux_capture_audio_start request failed: (7009) Unable Open Capture Device
RiotClientServices.exe(00000050): ALWAYS| voice-chat: Updating the CURRENT capture device to 'Default System Device'
RiotClientServices.exe(00000050): ALWAYS| voice-chat: The CURRENT capture device is 'Default System Device' / 'Pulseaudio'
RiotClientServices.exe(00000050): ALWAYS| voice-chat: The EFFECTIVE capture device is 'Pulseaudio'
RiotClientServices.exe(00000050): ALWAYS| voice-chat: The DEFAULT capture device is 'Pulseaudio'
RiotClientServices.exe(00000050):  ERROR| voice-chat: Failed to enable local loopback for provider '': vx_req_aux_capture_audio_start request failed: (7009) Unable Open Capture Device
mmtrt commented 4 years ago

I'm getting this on archlinux

ALSA lib conf.c:3816:(config_file_open) cannot access file /etc/alsa/conf.d/50-pipewire.conf
ALSA lib conf.c:3736:(snd_config_hooks_call) function snd_config_hook_load returned error: No such file or directory
ALSA lib conf.c:4190:(snd_config_update_r) hooks failed, removing configuration