Did I miss something during package build?
[starterx4@doadgrz ~]$ discord
ATTENTION: default value of option mesa_glthread overridden by environment.
ATTENTION: default value of option mesa_glthread overridden by environment.
[OpenAsar > Init] OpenAsar nightly-8522065
[OpenAsar > Settings] /home/starterx4/.config/discord/settings.json {
IS_MAXIMIZED: false,
IS_MINIMIZED: false,
WINDOW_BOUNDS: { x: 0, y: 0, width: 1600, height: 942 },
OPEN_ON_STARTUP: false,
BACKGROUND_COLOR: '#202225',
openasar: {
setup: true,
cmdPreset: 'balanced',
quickstart: true,
noTrack: false
},
trayBalloonShown: true
}
[OpenAsar > BuildInfo] { releaseChannel: 'stable', version: '0.0.32' }
[OpenAsar > Modules] Checking
[11607:1017/162905.788482:ERROR:gpu_process_host.cc(943)] GPU process exited unexpectedly: exit_code=5
[11607:1017/162905.911975:ERROR:gpu_process_host.cc(943)] GPU process exited unexpectedly: exit_code=5
Error: Cannot find module 'discord_desktop_core'
Require stack:
- /usr/lib/discord/app.asar/bootstrap.js
- /usr/lib/discord/app.asar/index.js
- /usr/lib/electron24/resources/default_app.asar/main.js
-
at Module._resolveFilename (node:internal/modules/cjs/loader:1054:15)
at n._resolveFilename (node:electron/js2c/browser_init:2:110036)
at Module._load (node:internal/modules/cjs/loader:900:27)
at f._load (node:electron/js2c/asar_bundle:2:13377)
at Module.require (node:internal/modules/cjs/loader:1120:19)
at require (node:internal/modules/cjs/helpers:103:18)
at startCore (/usr/lib/discord/app.asar/bootstrap.js:1:1517)
at EventEmitter.<anonymous> (/usr/lib/discord/app.asar/bootstrap.js:1:2630)
at Object.onceWrapper (node:events:627:28)
at EventEmitter.emit (node:events:513:28) {
code: 'MODULE_NOT_FOUND',
requireStack: [
'/usr/lib/discord/app.asar/bootstrap.js',
'/usr/lib/discord/app.asar/index.js',
'/usr/lib/electron24/resources/default_app.asar/main.js',
undefined
]
} uncaughtException
[OpenAsar > Modules] Update: discord_desktop_core 0 -> 1
[OpenAsar > Modules] Update: discord_utils 0 -> 1
[OpenAsar > Modules] Update: discord_voice 0 -> 1
[11607:1017/162906.031240:ERROR:gpu_process_host.cc(943)] GPU process exited unexpectedly: exit_code=5
Pinned Comments
SunRed commented on 2024-01-04 14:30 (UTC) (edited on 2024-06-10 19:00 (UTC) by SunRed)
Electron flags
These can be set additionally in
~/.config/discord-flags.conf
(or wherever your config directory is). Lines can be commented using#
.Krisp noise suppression
In order for Krisp to work, it has to be patched first by removing the signature check of the Krisp binary. Install the necessary optional dependencies, set
PATCH_KRISP=true
in~/.config/discord.conf
and restart your Discord client.Please note that to know whether the Krisp binary was patched the script is run on every start of the client that results in slightly longer start times but has the advantage that the package does not have to be updated if Discord ever silently updates the binary between client updates over their modules api.