I'm unable to launch discord with the "--enable-features=UseOzonePlatform --ozone-platform=wayland" flags for native wayland support since the move back to the main "electron" 16 package.
I'm guessing this is an issue on the electron/electron package side but since I don't have any other electron apps I haven't been able to confirm that.
Output:
Discord 0.0.17
[14412:0222/093726.716387:ERROR:object_proxy.cc(642)] Failed to call method: org.freedesktop.DBus.Properties.Get: object_path= /org/freedesktop/portal/desktop: org.freedesktop.DBus.Error.InvalidArgs: No such interface “org.freedesktop.portal.FileChooser”
[14412:0222/093726.716398:ERROR:select_file_dialog_impl_portal.cc(243)] Failed to read portal version property
Starting app.
Starting updater.
[Modules] Modules initializing
[Modules] Distribution: remote
[Modules] Host updates: enabled
[Modules] Module updates: enabled
[Modules] Module install path: /home/chris/.config/discord/0.0.17/modules
[Modules] Module installed file path: /home/chris/.config/discord/0.0.17/modules/installed.json
[Modules] Module download path: /home/chris/.config/discord/0.0.17/modules/pending
[14412:0222/093726.725193:ERROR:cursor_loader.cc(114)] Failed to load a platform cursor of type kNull
[14453:0100/000000.746499:ERROR:gpu_init.cc(457)] Passthrough is not supported, GL is egl, ANGLE is
zsh: segmentation fault (core dumped) discord
[14453:0100/000000.186355:ERROR:sandbox_linux.cc(376)] InitializeSandbox() called with multiple threads in process gpu-process.
Pinned Comments
Zoddo commented on 2022-09-15 17:54 (UTC) (edited on 2023-03-31 17:24 (UTC) by Zoddo)
Starting with 0.0.26-1 (2023-03-31):
Starting with 0.0.20-1 (2022-09-15):
$XDG_CONFIG_HOME/discord-flags.conf
: this works likeelectron-flags.conf
, you can set in this file the command line flags you want to pass to electron when running Discord (there are some useful flags in the wiki, especially if you are experiencing lag in the Discord UI).FAQ
Discord requires an update, but this package isn't yet updated
Check the wiki.
The Discord UI is lagging
Try to add the flags recommended in the wiki in
$XDG_CONFIG_HOME/discord-flags.conf
.Krisp not working
This is an issue that will likely never be fixed for this package. The Krisp module checks if Discord binaries are signed by Discord, which is not the case with this package.
See this comment and this GitHub issue for more details and possibles workarounds.