signalapp / Signal-Desktop

A private messenger for Windows, macOS, and Linux.
https://signal.org/download
GNU Affero General Public License v3.0
14.55k stars 2.64k forks source link

Application fails to start after recent update. #6797

Open egro opened 7 months ago

egro commented 7 months ago

Using a supported version?

Overall summary

Signal desktop fails to launch. GUI presents no error.

Running from command line give a error about the GPU process terminating unexpectedly.

Steps to reproduce

Click the icon.

Expected result

Application launches

Actual result

Running signal-desktop from command line returns a LOT of results, but terminates with these lines:

[7621:0220/194911.617133:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=134
[7621:0220/194911.617166:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)

This failure started after a recent update to my system. I have other systems where I have not updated those continue to work as expected.

AMD Ryzen 5 3550H with Radeon Vega Mobile Gfx (Minisforum UM350) Ubuntu 22.04 LTS

Here is a complete list of packages that were updated at that time:

Upgrade: libxtables12:amd64 (1.8.7-1ubuntu5.1, 1.8.7-1ubuntu5.2), coreutils:amd64 (8.32-4.1ubuntu1, 8.32-4.1ubuntu1.1), iptables:amd64 (1.8.7-1ubuntu5.1, 1.8.7-1ubuntu5.2), libglx-mesa0:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libglx-mesa0:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), python3-distupgrade:amd64 (1:22.04.17, 1:22.04.19), language-pack-en-base:amd64 (1:22.04+20230801, 1:22.04+20240212), libgbm1:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libgbm1:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libgdm1:amd64 (42.0-1ubuntu7.22.04.3, 42.0-1ubuntu7.22.04.4), ubuntu-release-upgrader-gtk:amd64 (1:22.04.17, 1:22.04.19), libip4tc2:amd64 (1.8.7-1ubuntu5.1, 1.8.7-1ubuntu5.2), language-pack-en:amd64 (1:22.04+20230801, 1:22.04+20240212), language-pack-gnome-en-base:amd64 (1:22.04+20230801, 1:22.04+20240212), libxatracker2:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), python-apt-common:amd64 (2.4.0ubuntu2, 2.4.0ubuntu3), mesa-va-drivers:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), mesa-va-drivers:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libgl1-mesa-dri:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libgl1-mesa-dri:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libosmesa6:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libosmesa6:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), gdm3:amd64 (42.0-1ubuntu7.22.04.3, 42.0-1ubuntu7.22.04.4), mesa-vulkan-drivers:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), mesa-vulkan-drivers:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), base-files:amd64 (12ubuntu4.5, 12ubuntu4.6), python3-apt:amd64 (2.4.0ubuntu2, 2.4.0ubuntu3), libip6tc2:amd64 (1.8.7-1ubuntu5.1, 1.8.7-1ubuntu5.2), gir1.2-gdm-1.0:amd64 (42.0-1ubuntu7.22.04.3, 42.0-1ubuntu7.22.04.4), libglapi-mesa:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libglapi-mesa:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), language-pack-gnome-en:amd64 (1:22.04+20230801, 1:22.04+20240212), unzip:amd64 (6.0-26ubuntu3.1, 6.0-26ubuntu3.2), libegl-mesa0:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), libegl-mesa0:i386 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), ubuntu-release-upgrader-core:amd64 (1:22.04.17, 1:22.04.19), mesa-vdpau-drivers:amd64 (23.0.4-0ubuntu1~22.04.1, 23.2.1-1ubuntu3.1~22.04.2), dns-root-data:amd64 (2021011101, 2023112702~ubuntu0.22.04.1), signal-desktop:amd64 (6.47.0, 6.47.1)
End-Date: 2024-02-20  06:44:48

I have applied 6.48.0, which also fails.

Screenshots

No response

Signal version

6.47.1 6.48

Operating system

Ubuntu 22.04.4 LTS

Version of Signal on your phone

6.46.7

Link to debug log

No response

jamiebuilds-signal commented 7 months ago

How far along into startup does it get? Do you see a window pop up in a loading state forever?

Could you follow the instructions here to get a debuglog directly from disk:

https://support.signal.org/hc/en-us/articles/360007318591-Debug-Logs-and-Crash-Reports

egro commented 7 months ago

Here are the 2 log files. Signal_Logs.zip

DawidLoubser commented 7 months ago

I am experiencing the same GPU-related coredump failure on startup after my recent update. Running on Arch Linux, Intel embedded GPU, Sway (wayland).

Please see my log files attached: signal-logs.zip

scottnonnenberg-signal commented 6 months ago

Unfortunately, your logs don't seem to help, since the crash looks like it is happening before our logging system starts up.

What happens if you try starting with --disable-gpu?

DawidLoubser commented 6 months ago

Same thing unfortunately:

$ signal-desktop --disable-gpu
Set Windows Application User Model ID (AUMID) { AUMID: 'org.whispersystems.signal-desktop' }
NODE_ENV production
NODE_CONFIG_DIR /usr/lib/signal-desktop/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME undefined
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
SIGNAL_ENABLE_HTTP undefined
userData: /home/dawid/.config/Signal
config/get: Successfully read user config file
config/get: Successfully read ephemeral config file
making app single instance
[85382:0319/001936.777176:ERROR:object_proxy.cc(576)] 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”
[85382:0319/001936.777227:ERROR:select_file_dialog_linux_portal.cc(286)] Failed to read portal version property
{"level":30,"time":"2024-03-18T22:19:36.840Z","msg":"got fast localeOverride setting null"}
{"level":30,"time":"2024-03-18T22:19:36.840Z","msg":"app.ready: hour cycle preference: UnknownPreference"}
{"level":30,"time":"2024-03-18T22:19:36.840Z","msg":"app.ready: preferred system locales: en-ZA, en"}
{"level":30,"time":"2024-03-18T22:19:36.841Z","msg":"locale: Supported locales: af-ZA, ar, az-AZ, bg-BG, bn-BD, bs-BA, ca, cs, da, de, el, en, es, et-EE, eu, fa-IR, fi, fr, ga-IE, gl-ES, gu-IN, he, hi-IN, hr-HR, hu, id, it, ja, ka-GE, kk-KZ, km-KH, kn-IN, ko, ky-KG, lt-LT, lv-LV, mk-MK, ml-IN, mr-IN, ms, my, nb, nl, pa-IN, pl, pt-BR, pt-PT, ro-RO, ru, sk-SK, sl-SI, sq-AL, sr, sv, sw, ta-IN, te-IN, th, tl-PH, tr, ug, uk-UA, ur, vi, yue, zh-CN, zh-HK, zh-Hant"}
{"level":30,"time":"2024-03-18T22:19:36.841Z","msg":"locale: Preferred locales: en-ZA, en"}
{"level":30,"time":"2024-03-18T22:19:36.841Z","msg":"locale: Locale Override: null"}
{"level":30,"time":"2024-03-18T22:19:36.843Z","msg":"locale: Matched locale: en"}
{"level":40,"time":"2024-03-18T22:19:36.879Z","msg":"intl.onWarn [@formatjs/intl] \"defaultRichTextElements\" was specified but \"message\" was not pre-compiled. \nPlease consider using \"@formatjs/cli\" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution"}
{"level":30,"time":"2024-03-18T22:19:36.880Z","msg":"locale: Text info direction for en: ltr"}
{"level":30,"time":"2024-03-18T22:19:36.880Z","msg":"app ready"}
{"level":30,"time":"2024-03-18T22:19:36.881Z","msg":"starting version 7.2.0"}
{"level":30,"time":"2024-03-18T22:19:36.881Z","msg":"media access status [object Undefined] [object Undefined]"}
{"level":30,"time":"2024-03-18T22:19:36.883Z","msg":"got fast theme-setting value dark"}
{"level":30,"time":"2024-03-18T22:19:36.885Z","msg":"got fast theme-setting value dark"}
{"level":30,"time":"2024-03-18T22:19:36.885Z","msg":"got fast spellcheck setting true"}
{"level":30,"time":"2024-03-18T22:19:36.885Z","msg":"getSystemTraySetting had no flags and did no DB lookups. Returning DoNotUseSystemTray"}
{"level":30,"time":"2024-03-18T22:19:36.886Z","msg":"Initializing BrowserWindow config: {\"show\":false,\"width\":65528,\"height\":65528,\"minWidth\":300,\"minHeight\":200,\"autoHideMenuBar\":true,\"titleBarStyle\":\"default\",\"backgroundColor\":\"#121212\",\"webPreferences\":{\"devTools\":false,\"spellcheck\":true,\"enableBlinkFeatures\":\"CSSPseudoDir,CSSLogical\",\"enablePreferredSizeMode\":true,\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"sandbox\":false,\"contextIsolation\":true,\"preload\":\"[REDACTED]/preload.bundle.js\",\"backgroundThrottling\":true,\"disableBlinkFeatures\":\"Accelerated2dCanvas,AcceleratedSmallCanvases\"},\"icon\":\"[REDACTED]/images/signal-logo-desktop-linux.png\",\"x\":4,\"y\":4}"}
{"level":30,"time":"2024-03-18T22:19:36.934Z","msg":"spellcheck: user locales: [\"en-ZA\",\"en\"]"}
{"level":30,"time":"2024-03-18T22:19:36.934Z","msg":"spellcheck: available spellchecker languages: [\"af\",\"bg\",\"ca\",\"cs\",\"cy\",\"da\",\"de\",\"de-DE\",\"el\",\"en\",\"en-AU\",\"en-CA\",\"en-GB\",\"en-GB-oxendict\",\"en-US\",\"es\",\"es-419\",\"es-AR\",\"es-ES\",\"es-MX\",\"es-US\",\"et\",\"fa\",\"fo\",\"fr\",\"fr-FR\",\"he\",\"hi\",\"hr\",\"hu\",\"hy\",\"id\",\"it\",\"it-IT\",\"ko\",\"lt\",\"lv\",\"nb\",\"nl\",\"pl\",\"pt\",\"pt-BR\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sq\",\"sr\",\"sv\",\"ta\",\"tg\",\"tr\",\"uk\",\"vi\"]"}
{"level":30,"time":"2024-03-18T22:19:36.934Z","msg":"spellcheck: setting languages to: [\"en\",\"en\"]"}
{"level":40,"time":"2024-03-18T22:19:36.937Z","msg":"MainSQL: Database log code=283: recovered 484 frames from WAL file [REDACTED]/sql/db.sqlite-wal"}
{"level":30,"time":"2024-03-18T22:19:36.937Z","msg":"MainSQL: updateSchema:\n  Current user_version: 1000;\n  Most recent db schema: 1000;\n  SQLite version: 3.42.0;\n  SQLCipher version: 4.5.5 community;\n  (deprecated) schema_version: 439;\n"}
{"level":30,"time":"2024-03-18T22:19:37.267Z","msg":"got fast theme-setting value dark"}
[85382:0319/001937.450145:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=132
{"level":30,"time":"2024-03-18T22:19:37.821Z","msg":"got fast spellcheck setting true"}
{"level":30,"time":"2024-03-18T22:19:37.826Z","msg":"System tray service: created"}
{"level":30,"time":"2024-03-18T22:19:37.826Z","msg":"System tray service: updating main window. Previously, there was not a window, and now there is"}
{"level":30,"time":"2024-03-18T22:19:37.826Z","msg":"System tray service: rendering no tray"}
{"level":30,"time":"2024-03-18T22:19:37.826Z","msg":"Begin ensuring permissions"}
{"level":30,"time":"2024-03-18T22:19:37.827Z","msg":"Ensuring file permissions for 4 files"}
{"level":30,"time":"2024-03-18T22:19:37.828Z","msg":"Finish ensuring permissions in 1ms"}
[85382:0319/001937.918609:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=132
{"level":30,"time":"2024-03-18T22:19:38.008Z","msg":"main window is ready-to-show"}
{"level":30,"time":"2024-03-18T22:19:38.008Z","msg":"showing main window"}
{"level":30,"time":"2024-03-18T22:19:38.032Z","msg":"System tray service: rendering no tray"}
{"level":30,"time":"2024-03-18T22:19:38.297Z","msg":"MainSQL: slow query getAllStories duration=360ms"}
{"level":30,"time":"2024-03-18T22:19:38.393Z","msg":"Prevent display sleep service: allowing display sleep"}
{"level":30,"time":"2024-03-18T22:19:38.393Z","msg":"Background throttling enabled because no call is active"}
[85382:0319/001938.436211:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=132
[85382:0319/001938.820796:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=132
[85382:0319/001939.206084:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=132
[85382:0319/001939.602620:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=132
[85382:0319/001939.602644:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)
scottnonnenberg-signal commented 6 months ago

It appears that Signal Desktop can't use your graphics hardware. What happens if you try to run Chrome, Chromium, or maybe even https://www.electronjs.org/fiddle? Or maybe other Electron-based apps like Slack or Discord?

egro commented 6 months ago

I don't have chrome/chromium installed, but I was able to launch that fiddle app, and my discord app also runs without issue.

scottnonnenberg-signal commented 6 months ago

@egro Ah, interesting. Thanks for that investigation. The next thing you could try is to use the fiddle app to pull down and run various versions of Electron to see which versions work and which don't.

egro commented 6 months ago

I ran the 'hello world' program in a dozen or so versions, from 27 through 30(beta2). Every time it terminated with this: I'm not able to go back farther than 27.0.0.

[199431:0321/060706.202507:ERROR:gpu_process_host.cc(991)] GPU process exited unexpectedly: exit_code=134
[199431:0321/060706.202578:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.

Electron exited with signal SIGTRAP.

I was also able to install chromium (apt install chromium-browser) and it launches.

scottnonnenberg-signal commented 6 months ago

@egro So it sounds like no recent versions of Electron work for you. What was the last version of Signal Desktop that worked for you?

What if you try starting up with --disable-gpu-sandbox? I found that suggestion here: https://stackoverflow.com/questions/68874940/gpu-process-isnt-usable-goodbye

egro commented 6 months ago

I think .46 might have been the last version that worked for me.

This is what I see what I run with the requested '--disable-gpu-sandbox' switch:

[233533:0325/061941.497092:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=134
[233533:0325/061941.497823:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)
scottnonnenberg-signal commented 6 months ago

@egro Well, here's to hoping that a future update to Electron will play nice with your graphics hardware. Electron is always a little behind chromium!

DawidLoubser commented 6 months ago

Hi - something that I don't understand, is that I can launch electron (any version, I tried from 22 to 27) and it launches its gui just fine. I can also run any other electon app, like Discord, just fine.

Why would signal-desktop fail on the same hardware with the "GPU process isn't usable. Goodbye." failure?

scottnonnenberg-signal commented 6 months ago

@DawidLoubser Specific electron versions could be at fault, since we're on Electron 29. But I did find another workaround you could try: start the app with these command-line arguments: --in-process-gpu --use-gl=desktop

via https://github.com/mattermost/desktop/issues/2903#issuecomment-1853937340

DawidLoubser commented 6 months ago

@scottnonnenberg-signal Thanks for the continued help! Unfortunately no luck with those args either:

]$ signal-desktop --in-process-gpu --use-gl=desktop
Set Windows Application User Model ID (AUMID) { AUMID: 'org.whispersystems.signal-desktop' }
NODE_ENV production
NODE_CONFIG_DIR /usr/lib/signal-desktop/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME undefined
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
SIGNAL_ENABLE_HTTP undefined
userData: /home/dawid/.config/Signal
config/get: Successfully read user config file
config/get: Successfully read ephemeral config file
making app single instance
[45490:0402/104040.723499:ERROR:object_proxy.cc(576)] 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”
[45490:0402/104040.723530:ERROR:select_file_dialog_linux_portal.cc(286)] Failed to read portal version property
[45490:0402/104040.726123:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
[45490:0402/104040.751485:ERROR:check.cc(319)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[45490:0402/104040.751515:ERROR:gpu_channel_manager.cc(955)] Failed to create GLES3 context, fallback to GLES2.
[45490:0402/104040.751524:ERROR:check.cc(319)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[45490:0402/104040.751532:ERROR:gpu_channel_manager.cc(966)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[45490:0402/104040.751537:ERROR:shared_image_stub.cc(728)] SharedImageStub: unable to create context
[45490:0402/104040.751550:ERROR:gpu_channel.cc(767)] GpuChannel: Failed to create SharedImageStub
{"level":30,"time":"2024-04-02T08:40:40.776Z","msg":"got fast localeOverride setting null"}
{"level":30,"time":"2024-04-02T08:40:40.776Z","msg":"app.ready: hour cycle preference: UnknownPreference"}
{"level":30,"time":"2024-04-02T08:40:40.776Z","msg":"app.ready: preferred system locales: en-ZA, en"}
{"level":30,"time":"2024-04-02T08:40:40.777Z","msg":"locale: Supported locales: af-ZA, ar, az-AZ, bg-BG, bn-BD, bs-BA, ca, cs, da, de, el, en, es, et-EE, eu, fa-IR, fi, fr, ga-IE, gl-ES, gu-IN, he, hi-IN, hr-HR, hu, id, it, ja, ka-GE, kk-KZ, km-KH, kn-IN, ko, ky-KG, lt-LT, lv-LV, mk-MK, ml-IN, mr-IN, ms, my, nb, nl, pa-IN, pl, pt-BR, pt-PT, ro-RO, ru, sk-SK, sl-SI, sq-AL, sr, sv, sw, ta-IN, te-IN, th, tl-PH, tr, ug, uk-UA, ur, vi, yue, zh-CN, zh-HK, zh-Hant"}
{"level":30,"time":"2024-04-02T08:40:40.777Z","msg":"locale: Preferred locales: en-ZA, en"}
{"level":30,"time":"2024-04-02T08:40:40.777Z","msg":"locale: Locale Override: null"}
{"level":30,"time":"2024-04-02T08:40:40.779Z","msg":"locale: Matched locale: en"}
{"level":40,"time":"2024-04-02T08:40:40.815Z","msg":"intl.onWarn [@formatjs/intl] \"defaultRichTextElements\" was specified but \"message\" was not pre-compiled. \nPlease consider using \"@formatjs/cli\" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution"}
{"level":30,"time":"2024-04-02T08:40:40.816Z","msg":"locale: Text info direction for en: ltr"}
{"level":30,"time":"2024-04-02T08:40:40.817Z","msg":"app ready"}
{"level":30,"time":"2024-04-02T08:40:40.817Z","msg":"starting version 7.3.1"}
{"level":30,"time":"2024-04-02T08:40:40.817Z","msg":"media access status [object Undefined] [object Undefined]"}
{"level":30,"time":"2024-04-02T08:40:40.819Z","msg":"got fast theme-setting value dark"}
{"level":30,"time":"2024-04-02T08:40:40.821Z","msg":"got fast theme-setting value dark"}
{"level":30,"time":"2024-04-02T08:40:40.821Z","msg":"got fast spellcheck setting true"}
{"level":30,"time":"2024-04-02T08:40:40.821Z","msg":"getSystemTraySetting had no flags and did no DB lookups. Returning DoNotUseSystemTray"}
{"level":30,"time":"2024-04-02T08:40:40.822Z","msg":"Initializing BrowserWindow config: {\"show\":false,\"width\":65528,\"height\":65528,\"minWidth\":300,\"minHeight\":200,\"autoHideMenuBar\":true,\"titleBarStyle\":\"default\",\"backgroundColor\":\"#121212\",\"webPreferences\":{\"devTools\":false,\"spellcheck\":true,\"enableBlinkFeatures\":\"CSSPseudoDir,CSSLogical\",\"enablePreferredSizeMode\":true,\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"sandbox\":false,\"contextIsolation\":true,\"preload\":\"[REDACTED]/preload.bundle.js\",\"backgroundThrottling\":true,\"disableBlinkFeatures\":\"Accelerated2dCanvas,AcceleratedSmallCanvases\"},\"icon\":\"[REDACTED]/images/signal-logo-desktop-linux.png\",\"x\":4,\"y\":4}"}
{"level":30,"time":"2024-04-02T08:40:40.929Z","msg":"spellcheck: user locales: [\"en-ZA\",\"en\"]"}
{"level":30,"time":"2024-04-02T08:40:40.929Z","msg":"spellcheck: available spellchecker languages: [\"af\",\"bg\",\"ca\",\"cs\",\"cy\",\"da\",\"de\",\"de-DE\",\"el\",\"en\",\"en-AU\",\"en-CA\",\"en-GB\",\"en-GB-oxendict\",\"en-US\",\"es\",\"es-419\",\"es-AR\",\"es-ES\",\"es-MX\",\"es-US\",\"et\",\"fa\",\"fo\",\"fr\",\"fr-FR\",\"he\",\"hi\",\"hr\",\"hu\",\"hy\",\"id\",\"it\",\"it-IT\",\"ko\",\"lt\",\"lv\",\"nb\",\"nl\",\"pl\",\"pt\",\"pt-BR\",\"pt-PT\",\"ro\",\"ru\",\"sh\",\"sk\",\"sl\",\"sq\",\"sr\",\"sv\",\"ta\",\"tg\",\"tr\",\"uk\",\"vi\"]"}
{"level":30,"time":"2024-04-02T08:40:40.929Z","msg":"spellcheck: setting languages to: [\"en\",\"en\"]"}
{"level":40,"time":"2024-04-02T08:40:40.932Z","msg":"MainSQL: Database log code=283: recovered 755 frames from WAL file [REDACTED]/sql/db.sqlite-wal"}
{"level":30,"time":"2024-04-02T08:40:40.932Z","msg":"MainSQL: updateSchema:\n  Current user_version: 1000;\n  Most recent db schema: 1000;\n  SQLite version: 3.42.0;\n  SQLCipher version: 4.5.5 community;\n  (deprecated) schema_version: 439;\n"}
[45490:0402/104040.936328:ERROR:check.cc(319)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[45490:0402/104040.936353:ERROR:gpu_channel_manager.cc(955)] Failed to create GLES3 context, fallback to GLES2.
[45490:0402/104040.936360:ERROR:check.cc(319)] Check failed: false. NOTREACHED log messages are omitted in official builds. Sorry!
[45490:0402/104040.936367:ERROR:gpu_channel_manager.cc(966)] ContextResult::kFatalFailure: Failed to create shared context for virtualization.
[45490:0402/104040.936373:ERROR:shared_image_stub.cc(728)] SharedImageStub: unable to create context
[45490:0402/104040.936381:ERROR:gpu_channel.cc(767)] GpuChannel: Failed to create SharedImageStub
Illegal instruction (core dumped)
egro commented 6 months ago

I also had no luck running those args. My error seems to be different from that of DawidLoubser

Set Windows Application User Model ID (AUMID) { AUMID: 'org.whispersystems.signal-desktop' }
NODE_ENV production
NODE_CONFIG_DIR /opt/Signal/resources/app.asar/config
NODE_CONFIG {}
ALLOW_CONFIG_MUTATIONS undefined
HOSTNAME undefined
NODE_APP_INSTANCE undefined
SUPPRESS_NO_CONFIG_WARNING undefined
SIGNAL_ENABLE_HTTP undefined
userData: /home/tyler/.config/Signal
config/get: Successfully read user config file
config/get: Successfully read ephemeral config file
making app single instance
[40078:0402/080236.812767:ERROR:gl_factory.cc(120)] Requested GL implementation (gl=none,angle=none) not found in allowed implementations: [(gl=egl-angle,angle=default),(gl=egl-gles2,angle=none)].
{"level":30,"time":"2024-04-02T13:02:37.157Z","msg":"got fast localeOverride setting null"}
{"level":30,"time":"2024-04-02T13:02:37.158Z","msg":"app.ready: hour cycle preference: UnknownPreference"}
{"level":30,"time":"2024-04-02T13:02:37.159Z","msg":"app.ready: preferred system locales: en-US, en"}
{"level":30,"time":"2024-04-02T13:02:37.159Z","msg":"locale: Supported locales: af-ZA, ar, az-AZ, bg-BG, bn-BD, bs-BA, ca, cs, da, de, el, en, es, et-EE, eu, fa-IR, fi, fr, ga-IE, gl-ES, gu-IN, he, hi-IN, hr-HR, hu, id, it, ja, ka-GE, kk-KZ, km-KH, kn-IN, ko, ky-KG, lt-LT, lv-LV, mk-MK, ml-IN, mr-IN, ms, my, nb, nl, pa-IN, pl, pt-BR, pt-PT, ro-RO, ru, sk-SK, sl-SI, sq-AL, sr, sv, sw, ta-IN, te-IN, th, tl-PH, tr, ug, uk-UA, ur, vi, yue, zh-CN, zh-HK, zh-Hant"}
{"level":30,"time":"2024-04-02T13:02:37.159Z","msg":"locale: Preferred locales: en-US, en"}
{"level":30,"time":"2024-04-02T13:02:37.159Z","msg":"locale: Locale Override: null"}
{"level":30,"time":"2024-04-02T13:02:37.162Z","msg":"locale: Matched locale: en"}
{"level":40,"time":"2024-04-02T13:02:37.242Z","msg":"intl.onWarn [@formatjs/intl] \"defaultRichTextElements\" was specified but \"message\" was not pre-compiled. \nPlease consider using \"@formatjs/cli\" to pre-compile your messages for performance.\nFor more details see https://formatjs.io/docs/getting-started/message-distribution"}
{"level":30,"time":"2024-04-02T13:02:37.242Z","msg":"locale: Text info direction for en: ltr"}
{"level":30,"time":"2024-04-02T13:02:37.244Z","msg":"app ready"}
{"level":30,"time":"2024-04-02T13:02:37.245Z","msg":"starting version 7.4.0"}
{"level":30,"time":"2024-04-02T13:02:37.245Z","msg":"media access status [object Undefined] [object Undefined]"}
{"level":30,"time":"2024-04-02T13:02:37.247Z","msg":"got fast theme-setting value system"}
{"level":30,"time":"2024-04-02T13:02:37.250Z","msg":"got fast theme-setting value system"}
{"level":30,"time":"2024-04-02T13:02:37.250Z","msg":"got fast spellcheck setting true"}
{"level":30,"time":"2024-04-02T13:02:37.251Z","msg":"getSystemTraySetting had no flags and did no DB lookups. Returning DoNotUseSystemTray"}
{"level":30,"time":"2024-04-02T13:02:37.252Z","msg":"Initializing BrowserWindow config: {\"show\":false,\"width\":968,\"height\":707,\"minWidth\":300,\"minHeight\":200,\"autoHideMenuBar\":false,\"titleBarStyle\":\"default\",\"backgroundColor\":\"#3a76f0\",\"webPreferences\":{\"devTools\":false,\"spellcheck\":true,\"enableBlinkFeatures\":\"CSSPseudoDir,CSSLogical\",\"enablePreferredSizeMode\":true,\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"sandbox\":false,\"contextIsolation\":true,\"preload\":\"[REDACTED]/preload.bundle.js\",\"backgroundThrottling\":true,\"disableBlinkFeatures\":\"Accelerated2dCanvas,AcceleratedSmallCanvases\"},\"icon\":\"[REDACTED]/images/signal-logo-desktop-linux.png\",\"x\":457,\"y\":193}"}
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
Aborted (core dumped)
egro commented 5 months ago

Update. My discord updated and has also stopped working. :| Same errors about GPU.

[215674:0404/110525.772242:ERROR:gpu_process_host.cc(993)] GPU process exited unexpectedly: exit_code=134 [215674:0404/110525.772279:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye. Trace/breakpoint trap (core dumped)

I didn't see any related open issues on the electron bug tracker.

indutny-signal commented 5 months ago

Hello! We have updated quite a few things. Could you give it another try to be sure? Thanks!

indutny-signal commented 5 months ago

It might be particularly interesting to try the latest nightly version of Electron in the fiddle to see if it has gotten any better.

egro commented 5 months ago

Hello! We have updated quite a few things. Could you give it another try to be sure? Thanks!

Still failing the same way.

[52280:0418/072512.347838:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=134
[52280:0418/072512.347940:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)

It might be particularly interesting to try the latest nightly version of Electron in the fiddle to see if it has gotten any better.

These are the ElectronFiddle results I get with the 31.alpha build (the most recent I see in the interface)

[52956:0418/072706.233993:ERROR:gpu_process_host.cc(999)] GPU process exited unexpectedly: exit_code=134
: CommandLine Error: Option 'help-list' registered more than once!
LLVM ERROR: inconsistency in registered CommandLine options
[52956:0418/072706.506682:ERROR:gpu_process_host.cc(999)] GPU process exited unexpectedly: exit_code=134
[52956:0418/072706.506825:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.

Electron exited with signal SIGTRAP.
kevenwyld commented 5 months ago

I am also still having this problem on the latest signal-desktop 7.5.1. I use discord through flatpack which is still working. Chromium starts fine now that I cleared it's cache, I can't get electron-fiddle to work but that might be unrelated to this problem, I've not done any node development before.

OS: Arch Linux x86_64
Kernel: 6.8.7-arch1-1
Mesa: 1:24.0.5-1
Resolution: 2560x1440
WM: sway
Theme: Adwaita-dark [GTK2/3]
Icons: Adwaita [GTK2/3]
CPU: AMD Ryzen 9 5950X (32) @ 3.400GHz
GPU: AMD ATI Radeon PRO W6800
Memory: 64223MiB

EDIT: Chromium still requires special flags to run natively under wayland. But using the x11 backend and also supplying those flags both work. My understanding is that signal-desktop is still forcing x11 for now. I don't think this is related but just wanted to mention it.

EDIT2: I resolved it by deleting some cache directories and files per https://github.com/signalapp/Signal-Desktop/issues/6735#issuecomment-2067724572

indutny-signal commented 5 months ago

Oh, very interesting. Looks like the shader cache might have went bad. Thank you so much for sharing!

egro commented 5 months ago

Why has my ticket been closed? I'm still getting the error(s) and signal-desktop won't start.

[70461:0423/145052.633413:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=134 [70461:0423/145052.633443:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye. Trace/breakpoint trap (core dumped)

indutny-signal commented 5 months ago

@egro could you try a suggestion from https://github.com/signalapp/Signal-Desktop/issues/6735#issuecomment-2067724572 ?

egro commented 5 months ago

I did the things in that ticket, it still doesn't launch. Fails with the same errors. I've go so far as to uninstall/delete everything and reinstall - it still fails.

DawidLoubser commented 5 months ago

@indutny-signal Thanks! I removed those files/directories and now Signal runs again!

@egro Did you delete, in ~/.config/Signal, the following files/dirs:

GPUCache
VideoDecodeStats
Cache
Code Cache
ephemeral.json
DawnCache

?

egro commented 5 months ago

@indutny-signal Thanks! I removed those files/directories and now Signal runs again!

@egro Did you delete, in ~/.config/Signal, the following files/dirs:

GPUCache
VideoDecodeStats
Cache
Code Cache
ephemeral.json
DawnCache

?

Yes, I did.

Also, I upgraded to 7.6.0 today, still not seeing a change.

[119220:0425/131733.096875:ERROR:gpu_process_host.cc(989)] GPU process exited unexpectedly: exit_code=134
[119220:0425/131733.096983:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.
Trace/breakpoint trap (core dumped)

Even deleted those files/folders after upgrading.

Tried running Fiddle again, with 31.0.0A2, it still fails with the same message:

[120408:0425/132248.408553:FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye.

Electron exited with signal SIGTRAP.
kevenwyld commented 5 months ago

@egro Your logs have a different exit code than mine I just noticed. And it's also different from the original logs you posted. I'm not sure what that exit code means unfortunately, just wanted to point it out in case it was missed. Might just be the same issue with slightly different error handling in electron.

Also sorry it didn't work for you, was really hoping it was as simple as it seemed.

egro commented 4 months ago

I found this in another issue ticket. Tried it but it didn't resolve my issue:

https://github.com/signalapp/Signal-Desktop/issues/6855#issuecomment-2118305464

stale[bot] commented 1 month ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

egro commented 1 month ago

I still have the issue and I'm still investigating.

Similar to: https://github.com/NixOS/nixpkgs/issues/304214 https://github.com/electron/electron/issues/41346#issuecomment-2046190134

stale[bot] commented 3 weeks ago

This issue has been closed due to inactivity.

egro commented 2 weeks ago

This is still an issue.

egro commented 1 week ago

I flattened the box and reinstalled the OS from scratch (24.04 LTS this time, vs 22.04).

It seems to be working at this time. Sucks that I had to reinstall the OS to get it to work. :|

On Fri, Sep 13, 2024 at 11:58 AM Jamie Kyle @.***> wrote:

Reopened #6797 https://github.com/signalapp/Signal-Desktop/issues/6797.

— Reply to this email directly, view it on GitHub https://github.com/signalapp/Signal-Desktop/issues/6797#event-14251769301, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAKFUHZTKNWJJ3HOLZ7KCXLZWMKR3AVCNFSM6AAAAABDSHBV3OVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJUGI2TCNZWHEZTAMI . You are receiving this because you were mentioned.Message ID: @.***>