luminoso / fedora-copr-signal-desktop

https://copr.fedorainfracloud.org/coprs/luminoso/Signal-Desktop/
19 stars 5 forks source link

does not work on fedora 35 #12

Closed damnms closed 2 years ago

damnms commented 2 years ago
[oli@DESKTOP-E83VF5L ~]$ signal-desktop 
NODE_ENV production
NODE_CONFIG_DIR /usr/lib64/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/oli/.config/Signal
config/get: Successfully read user config file
Set Windows Application User Model ID (AUMID) { appUserModelId: 'org.whispersystems.signal-desktop' }
x-attr dependency did not load successfully
config/get: Successfully read ephemeral config file
making app single instance
{"level":30,"time":"2021-10-24T08:54:40.634Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"app ready"}
{"level":30,"time":"2021-10-24T08:54:40.634Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"starting version 5.20.0"}
{"level":30,"time":"2021-10-24T08:54:40.634Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"media access status [object Undefined] [object Undefined]"}
{"level":30,"time":"2021-10-24T08:54:40.723Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"MainSQL: updateSchema:\n  Current user_version: 41;\n  Most recent db schema: 41;\n  SQLite version: 3.34.1;\n  SQLCipher version: 4.4.3 community;\n  (deprecated) schema_version: 206;\n"}
{"level":30,"time":"2021-10-24T08:54:40.725Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"got fast spellcheck setting true"}
{"level":30,"time":"2021-10-24T08:54:40.726Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"getSystemTraySetting had no flags and did no DB lookups. Returning DoNotUseSystemTray"}
{"level":30,"time":"2021-10-24T08:54:40.727Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"Initializing BrowserWindow config: {\"show\":false,\"width\":1908,\"height\":954,\"minWidth\":680,\"minHeight\":550,\"autoHideMenuBar\":false,\"titleBarStyle\":\"default\",\"backgroundColor\":\"#3a76f0\",\"webPreferences\":{\"devTools\":false,\"nodeIntegration\":false,\"nodeIntegrationInWorker\":false,\"contextIsolation\":false,\"enableRemoteModule\":true,\"preload\":\"[REDACTED]/preload.bundle.js\",\"nativeWindowOpen\":true,\"spellcheck\":true,\"backgroundThrottling\":false,\"enablePreferredSizeMode\":true},\"icon\":\"[REDACTED]/images/signal-logo-desktop-linux.png\",\"x\":481,\"y\":348}"}
{"level":30,"time":"2021-10-24T08:54:40.763Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"spellcheck: user locale: de-DE"}
{"level":30,"time":"2021-10-24T08:54:40.763Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"spellcheck: available spellchecker languages:  [\"af\",\"bg\",\"ca\",\"cs\",\"cy\",\"da\",\"de\",\"de-DE\",\"el\",\"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":"2021-10-24T08:54:40.763Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"spellcheck: setting languages to:  [\"de-DE\",\"de\"]"}
{"level":30,"time":"2021-10-24T08:54:40.770Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"got fast spellcheck setting true"}
{"level":30,"time":"2021-10-24T08:54:40.774Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"System tray service: created"}
{"level":30,"time":"2021-10-24T08:54:40.774Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"System tray service: updating main window. Previously, there was not a window, and now there is"}
{"level":30,"time":"2021-10-24T08:54:40.774Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"System tray service: rendering no tray"}
{"level":30,"time":"2021-10-24T08:54:40.774Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"Begin ensuring permissions"}
{"level":30,"time":"2021-10-24T08:54:40.776Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"Ensuring file permissions for 4 files"}
{"level":30,"time":"2021-10-24T08:54:40.777Z","pid":7051,"hostname":"DESKTOP-E83VF5L","msg":"Finish ensuring permissions in 3ms"}
[7051:1024/105442.164126:FATAL:gpu_data_manager_impl_private.cc(415)] GPU process isn't usable. Goodbye.
Trace/Breakpoint ausgelöst (Speicherabzug geschrieben)

this is a known problem with electron apps - it needs a rebuild with a newer version of electron

current workaround is to add an option: --disable-seccomp-filter-sandbox

luminoso commented 2 years ago

humm.. electron version is defined by upstream

Which electron version solves it? 14.x? 15.x?

damnms commented 2 years ago

yeah i know, its an upstream issue, but thought i'll report that because it breaks on f35, unfortunately. affected is not only signal but element and ms teams too. resp. they were, they fixed it a couple of days ago. see https://github.com/vector-im/element-desktop/issues/728

luminoso commented 2 years ago

Gotcha. I tried to bump electron version bump signal failed to build. So I've add the --disable-seccomp-filter-sandbox flag to the the desktop shortcut.

Can you give it a try?

sudo dnf install https://download.copr.fedorainfracloud.org/results/luminoso/Signal-Desktop/fedora-35-x86_64/02905781-signal-desktop/signal-desktop-5.20.0-2.fc35.x86_64.rpm

damnms commented 2 years ago

can confirm it works with that, thanks maybe you can raise some urgency on upstream so that gets fixed without that turn-off of the sandbox