Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 957597 - net-im/discord: does not start
Summary: net-im/discord: does not start
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Randall
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-06-08 14:23 UTC by Marco Di Fresco
Modified: 2025-06-08 21:03 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marco Di Fresco 2025-06-08 14:23:15 UTC
Discord 0.0.96 doesn't start, but instead gives the following error:

[code]
A JavaScript error occurred in the main process
Uncaught Exception:
/opt/discord/resources/app.asar/node_modules/@sentry/core/cjs/tracing/span.js:407
   * @deprecated Use `setAttribute()` instead.
                      ^^^^^^^^^^^^

SyntaxError: Unexpected identifier 'setAttribute'
    at wrapSafe (node:internal/modules/cjs/loader:1493:18)
    at Module._compile (node:internal/modules/cjs/loader:1535:20)
    at Module._extensions..js (node:internal/modules/cjs/loader:1715:10)
    at Module.load (node:internal/modules/cjs/loader:1296:32)
    at Module._load (node:internal/modules/cjs/loader:1115:12)
    at c._load (node:electron/js2c/node_init:2:17950)
    at TracingChannel.traceSync (node:diagnostics_channel:322:14)
    at wrapModuleLoad (node:internal/modules/cjs/loader:227:24)
    at Module.require (node:internal/modules/cjs/loader:1318:12)
    at require (node:internal/modules/helpers:136:16)
Gtk-Message: 16:18:52.960: Failed to load module "appmenu-gtk-module": 'gtk_module_display_init': /usr/lib64/gtk-3.0/modules/libwindow-decorations-gtk-module.so: undefined symbol: gtk_module_display_init
length_error was thrown in -fno-exceptions mode with message "vector"[2012679:0608/161853.251217:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=134
length_error was thrown in -fno-exceptions mode with message "vector"[2012679:0608/161853.561077:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=134
length_error was thrown in -fno-exceptions mode with message "vector"[2012679:0608/161853.879762:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=134
[2012775:0608/161853.886828:ERROR:angle_platform_impl.cc(49)] Display.cpp:1085 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, initialize:2168.
ERR: Display.cpp:1085 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, initialize:2168.
[2012775:0608/161853.886912:ERROR:gl_display.cc(495)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, initialize:2168.
[2012775:0608/161853.886940:ERROR:gl_display.cc(767)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[2012775:0608/161853.886972:ERROR:gl_display.cc(802)] Initialization of all EGL display types failed.
[2012775:0608/161853.887000:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[2012775:0608/161853.887330:ERROR:angle_platform_impl.cc(49)] Display.cpp:1085 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, initialize:2168.
ERR: Display.cpp:1085 (initialize): ANGLE Display::initialize error 0: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, initialize:2168.
[2012775:0608/161853.887378:ERROR:gl_display.cc(495)] EGL Driver message (Critical) eglInitialize: Internal Vulkan error (-3): Initialization of an object could not be completed for implementation-specific reasons, in ../../third_party/angle/src/libANGLE/renderer/vulkan/vk_renderer.cpp, initialize:2168.
[2012775:0608/161853.887405:ERROR:gl_display.cc(767)] eglInitialize SwANGLE failed with error EGL_NOT_INITIALIZED
[2012775:0608/161853.887427:ERROR:gl_display.cc(802)] Initialization of all EGL display types failed.
[2012775:0608/161853.887454:ERROR:gl_ozone_egl.cc(26)] GLDisplayEGL::Initialize failed.
[2012775:0608/161853.888446:ERROR:viz_main_impl.cc(183)] Exiting GPU process due to errors during initialization
[2012783:0608/161855.007627:FATAL:thread_helpers.cc(104)] Current process is not mono-threaded! (iterations: 30)
[2012679:0608/161855.172417:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=133
[2012802:0608/161856.288178:FATAL:thread_helpers.cc(104)] Current process is not mono-threaded! (iterations: 30)
[2012679:0608/161856.446305:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=133
[2012822:0608/161857.565732:FATAL:thread_helpers.cc(104)] Current process is not mono-threaded! (iterations: 30)
[2012679:0608/161857.723772:ERROR:gpu_process_host.cc(953)] GPU process exited unexpectedly: exit_code=133
[2012679:0608/161857.723799:FATAL:gpu_data_manager_impl_private.cc(420)] GPU process isn't usable. Goodbye.
/usr/bin/discord: line 21: 2012679 Trace/breakpoint trap   (core dumped) /opt/discord/Discord "${discord_parameters[@]}" "$@"
[/code]

I tried to contact Discord directly and they said:
[quote]
Based on the persistent SyntaxError in the Sentry module and the repeated Vulkan and ANGLE failures, it looks like this issue stems from a compatibility mismatch between the current Discord client and system-level libraries in Gentoo.
[/quote]