Skip to content

Instantly share code, notes, and snippets.

@meydominic
Created May 19, 2020 15:21
Show Gist options
  • Save meydominic/654d17be7633cee7d3337fb5cde71e44 to your computer and use it in GitHub Desktop.
Save meydominic/654d17be7633cee7d3337fb5cde71e44 to your computer and use it in GitHub Desktop.
dominic@dominic-MS-7A32:~$ PULSE_LATENCY_MSEC=90 discord
Discord 0.0.10
Starting app.
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/dominic/.config/discord/0.0.10/modules
[Modules] Module installed file path: /home/dominic/.config/discord/0.0.10/modules/installed.json
[Modules] Module download path: /home/dominic/.config/discord/0.0.10/modules/pending
[Modules] No updates to install
[Modules] Checking for host updates.
[Modules] Host is up to date.
[Modules] Checking for module updates at https://discordapp.com/api/modules/stable/versions.json
[Modules] No module updates available.
[Modules] Starting to install discord_krisp...
[Modules] Fetching discord_krisp@0 from https://discordapp.com/api/modules/stable/discord_krisp/0
[Modules] Streaming discord_krisp@0 to /home/dominic/.config/discord/0.0.10/modules/pending/discord_krisp-0.zip
Error downloading with electron net: HTTP Error: Status Code 403
Falling back to node net library..
(electron) 'isAccessibilitySupportEnabled function' is deprecated and will be removed. Please use 'accessibilitySupportEnabled property' instead.
[Modules] Failed fetching module discord_krisp@0: Error: HTTP Error: Status Code 403
[Modules] Finished module downloads. [success: 0] [failure: 1]
(electron) 'setBadgeCount function' is deprecated and will be removed. Please use 'badgeCount property' instead.
[000:000] [8757] (audio_device_pulse_linux.cc:1855): Can't query latency
[000:002] [8752] (audio_send_stream.cc:285): Failed to set up send codec state.
[000:032] [8752] (audio_send_stream.cc:285): Failed to set up send codec state.
[000:033] [8752] (audio_device_generic.cc:31): BuiltInAECIsAvailable: Not supported on this platform
[000:082] [8752] (audio_send_stream.cc:285): Failed to set up send codec state.
@meydominic
Copy link
Author

At the moment I don't have problems any more.

What I did:

Maybe it works for you

@FirePowi
Copy link

I had the same issue, your @meydominic fix didn't work for me, so I had to find another way of solving it.
It looked like it was an issue with gpu driver (I guess) and related to electron, so.. I installed electron and tried to lauch it exact same thing.
I search for electron fix and I found electron --disable-gpu /path/to/app, I first tried electron --disable-gpu it worked.. So I tried /usr/bin/discord --disable-gpu and it worked.
I changed my Discord.Desktop and Discord Canary.Desktop executables, adding --disable-gpu and it work
Hope that'll do for others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment