(Bug report) Fedora 39 GNOME 45 Shell session crashes on Trillium desktop app launch #1310

Open
opened 2025-10-01 16:01:51 -05:00 by giteasync · 3 comments
Owner

Originally created by @FusionStreak on GitHub.

Trilium Version

0.63.2-beta

What operating system are you using?

Other Linux

What is your setup?

Local + server sync

Operating System Version

Linux XXXX 6.7.5-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Feb 17 17:20:08 UTC 2024 x86_64 GNU/Linux

Description

Issue

When launching the desktop app, GNOME shell session crashes. I get a blank screen for a second and get returned to login in screen. This happens on both of my Fedora machines, even after a whole fresh installation on my desktop.

GNOME does detect that something went wrong when I log back in.

Here is the auto generated trace report: https://retrace.fedoraproject.org/faf/reports/810495/

The web view works perfectly.

How I launch?

I launch from the trillium executable from the trilium-linux-x64-0.63.2-beta.tar.xz build.

What changed?

I have been using it for a while with no issue since 0.63.2-beta launched. My server is on the same version. I believe it might be another dependant package that has updated.

Setup

Laptop

OS: Fedora Linux 39 (Workstation Edition) x86_64
Kernel: 6.7.5-200.fc39.x86_6
Host: Laptop (12th Gen Intel Core) A4
DE: GNOME 45.4
WM: Mutter
CPU: 12th Gen Intel i5-1240P (16) @ 4.400GHz
GPU: Intel Alder Lake-P GT2 [Iris Xe Graphics]

PC

OS: Fedora Linux 39 (Workstation Edition) x86_64
Kernel: 6.7.5-200.fc39.x86_6
Host: MS-7D77 1.0
DE: GNOME 45.4
WM: Mutter
CPU: AMD Ryzen 5 7600X (12) @ 4.700GHz
GPU: AMD ATI
GPU: AMD 6600XT

Error logs

Trillium logs:

10:32:12.916 DB size: 127188 KB
10:32:13.594 {
  "appVersion": "0.63.2-beta",
  "dbVersion": 228,
  "nodeVersion": "v18.15.0",
  "syncVersion": 32,
  "buildDate": "2024-02-17T22:47:50+01:00",
  "buildRevision": "15677f71785fd81298b94df70855233d1578629c",
  "dataDirectory": "/home/XXXX/.local/share/trilium-data",
  "clipperProtocolVersion": "1.0",
  "utcDateTime": "2024-03-01T15:32:12.914Z"
}
10:32:13.594 CPU model: 12th Gen Intel(R) Core(TM) i5-1240P, logical cores: 16 freq: 1705 Mhz
10:32:13.594 Trusted reverse proxy: false
10:32:13.594 App HTTP server starting up at port 37840
10:32:13.597 Listening on port 37840
10:32:13.608 Becca (note cache) load took 11ms
10:32:13.695 Keyboard action showNoteRevisions found in database, but not in action definition.
10:32:13.695 Keyboard action forceSaveNoteRevision found in database, but not in action definition.
10:32:13.695 Registered global shortcut Ctrl+Alt+P for action createNoteIntoInbox
10:32:13.717 Generated CSRF token DVm1jXuI-7yaPU9tjJNs60r6UH11NxkK9SwM with secret _csrf=hweXwJlMk0UCDjaZfBsbpqAH; Path=/
10:32:13.911 200 GET /api/options with 6664 bytes took 1ms
10:32:13.912 200 GET /api/tree with 17157 bytes took 1ms
10:32:13.915 Keyboard action showNoteRevisions found in database, but not in action definition.
10:32:13.915 Keyboard action forceSaveNoteRevision found in database, but not in action definition.
10:32:13.915 200 GET /api/keyboard-actions with 14271 bytes took 1ms
10:32:13.917 200 GET /api/script/widgets with 2687 bytes took 1ms
10:32:13.920 200 POST /api/tree/load with 5021 bytes took 1ms
10:32:13.951 200 GET /api/keyboard-shortcuts-for-notes with 2 bytes took 0ms
10:32:13.987 200 POST /api/tree/load with 6019 bytes took 0ms
10:32:13.999 200 POST /api/tree/load with 18901 bytes took 1ms
10:32:14.262 200 GET /api/notes/FsxNPlVJuJSh/blob with 2996 bytes took 1ms
10:32:14.263 200 GET /api/note-map/FsxNPlVJuJSh/backlink-count with 11 bytes took 0ms
10:32:14.441 No handler matched for custom 'fonts/syhtr.woff2' request.
10:32:15.953 200 GET /api/script/startup with 2 bytes took 1ms
10:32:17.626 Table counts: notes: 425, revisions: 308, attachments: 253, branches: 439, attributes: 447, etapi_tokens: 1, blobs: 725
10:32:17.662 All consistency checks passed with no errors detected (took 52ms)
10:32:18.805 Nothing to push
10:32:18.907 Sending message to all clients: {"type":"sync-pull-in-progress","lastSyncedPush":79785}
10:32:18.923 updated: {branches: [Q7Pa0ynPAoIO_zR1JpzmUrRe5, zR1JpzmUrRe5_u4ddrdD2XUrS, zR1JpzmUrRe5_bIkdSY2WFgid, Ey9Wg3ih3Vhe_y4OVjP6aBZSs], notes: [bIkdSY2WFgid, u4ddrdD2XUrS, zR1JpzmUrRe5, y4OVjP6aBZSs], blobs: [HJCjLPEcmHqLXcIL1j1X, IGiaTgmSsPbvkLJQJMtw, oxZZjMyqXwzwegQeqBkE, 0oeVJzwBkMKsCJX5Yi1U, tpM8GOPKJfiXOAfFUjer, 1iL7QmfFYEd61AWedJIl, iLl2P2KGfEzjGJUEL8ht, WBwdWX8MvAqTibLD4V1V], attributes: [b4HVM0qfbZAP, u45lhlbnerMJ, XQwnAGwULWP8, UwnEFReiSpWo], attachments: [Swy82sgLvg90, thQj7aBIf378], revisions: [ahfTr7EkCNrj, 4sYMkPay2s5E, Wr4qPGXLvGGI, 4iB7Q0ufTE3p, 7RbZlq2LVOXq, HNg445m55era]}, alreadyUpdated: 0, erased: 3, alreadyErased: 0
10:32:18.927 Sync 4yhmJLUWCi: Pulled 31 changes in 84 KB, starting at entityChangeId=73259 in 102ms and applied them in 20ms, 0 outstanding pulls
10:32:18.929 200 POST /api/tree/load with 3929 bytes took 0ms
10:32:19.040 Finished pull
10:32:19.040 Nothing to push
10:32:19.325 Content hash computation took 5ms
10:32:19.325 Content hash checks PASSED
10:32:19.325 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":79816}
Originally created by @FusionStreak on GitHub. ### Trilium Version 0.63.2-beta ### What operating system are you using? Other Linux ### What is your setup? Local + server sync ### Operating System Version Linux XXXX 6.7.5-200.fc39.x86_64 #1 SMP PREEMPT_DYNAMIC Sat Feb 17 17:20:08 UTC 2024 x86_64 GNU/Linux ### Description ## Issue When launching the desktop app, GNOME shell session crashes. I get a blank screen for a second and get returned to login in screen. This happens on both of my Fedora machines, even after a whole fresh installation on my desktop. GNOME does detect that something went wrong when I log back in. Here is the auto generated trace report: [https://retrace.fedoraproject.org/faf/reports/810495/](https://retrace.fedoraproject.org/faf/reports/810495/) The web view works perfectly. ## How I launch? I launch from the `trillium` executable from the `trilium-linux-x64-0.63.2-beta.tar.xz` build. ## What changed? I have been using it for a while with no issue since `0.63.2-beta` launched. My server is on the same version. I believe it might be another dependant package that has updated. ## Setup ### Laptop OS: Fedora Linux 39 (Workstation Edition) x86_64 Kernel: 6.7.5-200.fc39.x86_6 Host: Laptop (12th Gen Intel Core) A4 DE: GNOME 45.4 WM: Mutter CPU: 12th Gen Intel i5-1240P (16) @ 4.400GHz GPU: Intel Alder Lake-P GT2 [Iris Xe Graphics] ### PC OS: Fedora Linux 39 (Workstation Edition) x86_64 Kernel: 6.7.5-200.fc39.x86_6 Host: MS-7D77 1.0 DE: GNOME 45.4 WM: Mutter CPU: AMD Ryzen 5 7600X (12) @ 4.700GHz GPU: AMD ATI GPU: AMD 6600XT ### Error logs Trillium logs: ```txt 10:32:12.916 DB size: 127188 KB 10:32:13.594 { "appVersion": "0.63.2-beta", "dbVersion": 228, "nodeVersion": "v18.15.0", "syncVersion": 32, "buildDate": "2024-02-17T22:47:50+01:00", "buildRevision": "15677f71785fd81298b94df70855233d1578629c", "dataDirectory": "/home/XXXX/.local/share/trilium-data", "clipperProtocolVersion": "1.0", "utcDateTime": "2024-03-01T15:32:12.914Z" } 10:32:13.594 CPU model: 12th Gen Intel(R) Core(TM) i5-1240P, logical cores: 16 freq: 1705 Mhz 10:32:13.594 Trusted reverse proxy: false 10:32:13.594 App HTTP server starting up at port 37840 10:32:13.597 Listening on port 37840 10:32:13.608 Becca (note cache) load took 11ms 10:32:13.695 Keyboard action showNoteRevisions found in database, but not in action definition. 10:32:13.695 Keyboard action forceSaveNoteRevision found in database, but not in action definition. 10:32:13.695 Registered global shortcut Ctrl+Alt+P for action createNoteIntoInbox 10:32:13.717 Generated CSRF token DVm1jXuI-7yaPU9tjJNs60r6UH11NxkK9SwM with secret _csrf=hweXwJlMk0UCDjaZfBsbpqAH; Path=/ 10:32:13.911 200 GET /api/options with 6664 bytes took 1ms 10:32:13.912 200 GET /api/tree with 17157 bytes took 1ms 10:32:13.915 Keyboard action showNoteRevisions found in database, but not in action definition. 10:32:13.915 Keyboard action forceSaveNoteRevision found in database, but not in action definition. 10:32:13.915 200 GET /api/keyboard-actions with 14271 bytes took 1ms 10:32:13.917 200 GET /api/script/widgets with 2687 bytes took 1ms 10:32:13.920 200 POST /api/tree/load with 5021 bytes took 1ms 10:32:13.951 200 GET /api/keyboard-shortcuts-for-notes with 2 bytes took 0ms 10:32:13.987 200 POST /api/tree/load with 6019 bytes took 0ms 10:32:13.999 200 POST /api/tree/load with 18901 bytes took 1ms 10:32:14.262 200 GET /api/notes/FsxNPlVJuJSh/blob with 2996 bytes took 1ms 10:32:14.263 200 GET /api/note-map/FsxNPlVJuJSh/backlink-count with 11 bytes took 0ms 10:32:14.441 No handler matched for custom 'fonts/syhtr.woff2' request. 10:32:15.953 200 GET /api/script/startup with 2 bytes took 1ms 10:32:17.626 Table counts: notes: 425, revisions: 308, attachments: 253, branches: 439, attributes: 447, etapi_tokens: 1, blobs: 725 10:32:17.662 All consistency checks passed with no errors detected (took 52ms) 10:32:18.805 Nothing to push 10:32:18.907 Sending message to all clients: {"type":"sync-pull-in-progress","lastSyncedPush":79785} 10:32:18.923 updated: {branches: [Q7Pa0ynPAoIO_zR1JpzmUrRe5, zR1JpzmUrRe5_u4ddrdD2XUrS, zR1JpzmUrRe5_bIkdSY2WFgid, Ey9Wg3ih3Vhe_y4OVjP6aBZSs], notes: [bIkdSY2WFgid, u4ddrdD2XUrS, zR1JpzmUrRe5, y4OVjP6aBZSs], blobs: [HJCjLPEcmHqLXcIL1j1X, IGiaTgmSsPbvkLJQJMtw, oxZZjMyqXwzwegQeqBkE, 0oeVJzwBkMKsCJX5Yi1U, tpM8GOPKJfiXOAfFUjer, 1iL7QmfFYEd61AWedJIl, iLl2P2KGfEzjGJUEL8ht, WBwdWX8MvAqTibLD4V1V], attributes: [b4HVM0qfbZAP, u45lhlbnerMJ, XQwnAGwULWP8, UwnEFReiSpWo], attachments: [Swy82sgLvg90, thQj7aBIf378], revisions: [ahfTr7EkCNrj, 4sYMkPay2s5E, Wr4qPGXLvGGI, 4iB7Q0ufTE3p, 7RbZlq2LVOXq, HNg445m55era]}, alreadyUpdated: 0, erased: 3, alreadyErased: 0 10:32:18.927 Sync 4yhmJLUWCi: Pulled 31 changes in 84 KB, starting at entityChangeId=73259 in 102ms and applied them in 20ms, 0 outstanding pulls 10:32:18.929 200 POST /api/tree/load with 3929 bytes took 0ms 10:32:19.040 Finished pull 10:32:19.040 Nothing to push 10:32:19.325 Content hash computation took 5ms 10:32:19.325 Content hash checks PASSED 10:32:19.325 Sending message to all clients: {"type":"sync-finished","lastSyncedPush":79816} ```
Author
Owner

@RyanShaw-3083 commented on GitHub:

#4390

@RyanShaw-3083 commented on GitHub: #4390
Author
Owner

@dosubot[bot] commented on GitHub:

There are several reports of Trilium desktop having issues under Wayland, especially on GNOME and Fedora. Users and maintainers have discussed that Electron (which Trilium uses) has had buggy or incomplete Wayland support in some versions. Running Trilium with Ozone platform switches like --enable-features=UseOzonePlatform --ozone-platform=wayland or --ozone-platform-hint=x11 has been tried, but results vary—sometimes it leads to blank windows or crashes, while switching to X11 avoids the problem. Some users have also found that launching with --disable-gpu can help, though it may cause flickering or glitches. These flags need to be passed manually when launching Trilium, as the app itself does not manage them. Upgrading Electron (and thus Trilium, when available) is expected to improve compatibility with Wayland. More details and user experiences are discussed in issues like #3168 and #3597.

To reply, just mention @dosu.


How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other  Chat with Dosu Join Discord Share on X

@dosubot[bot] commented on GitHub: <!-- Answer --> There are several reports of Trilium desktop having issues under Wayland, especially on GNOME and Fedora. Users and maintainers have discussed that Electron (which Trilium uses) has had buggy or incomplete Wayland support in some versions. Running Trilium with Ozone platform switches like `--enable-features=UseOzonePlatform --ozone-platform=wayland` or `--ozone-platform-hint=x11` has been tried, but results vary—sometimes it leads to blank windows or crashes, while switching to X11 avoids the problem. Some users have also found that launching with `--disable-gpu` can help, though it may cause flickering or glitches. These flags need to be passed manually when launching Trilium, as the app itself does not manage them. Upgrading Electron (and thus Trilium, when available) is expected to improve compatibility with Wayland. More details and user experiences are discussed in issues like [#3168](https://github.com/TriliumNext/Trilium/issues/3168) and [#3597](https://github.com/TriliumNext/Trilium/issues/3597). <!-- Dosu Comment Footer --> *To reply, just mention [@dosu](https://go.dosu.dev/dosubot).* --- <sup>How did I do? [Good](https://app.dosu.dev/response-feedback/cd85ffaf-48cd-4b15-b94f-6bd4df2c593a?feedback_type=great_response) | [Irrelevant](https://app.dosu.dev/response-feedback/cd85ffaf-48cd-4b15-b94f-6bd4df2c593a?feedback_type=irrelevant_answer) | [Incorrect](https://app.dosu.dev/response-feedback/cd85ffaf-48cd-4b15-b94f-6bd4df2c593a?feedback_type=incorrect_sources) | [Verbose](https://app.dosu.dev/response-feedback/cd85ffaf-48cd-4b15-b94f-6bd4df2c593a?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/cd85ffaf-48cd-4b15-b94f-6bd4df2c593a?feedback_type=hallucination) | [Report 🐛](https://app.dosu.dev/response-feedback/cd85ffaf-48cd-4b15-b94f-6bd4df2c593a?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/cd85ffaf-48cd-4b15-b94f-6bd4df2c593a?feedback_type=other)</sup>&nbsp;&nbsp;[![Chat with Dosu](https://dosu.dev/dosu-chat-badge.svg)](https://app.dosu.dev/4af773a7-9840-4978-96dc-c436f6f437cf/ask?utm_source=github)&nbsp;[![Join Discord](https://img.shields.io/badge/join-5865F2?logo=discord&logoColor=white&label=)](https://go.dosu.dev/discord-bot)&nbsp;[![Share on X](https://img.shields.io/badge/X-share-black)](https://twitter.com/intent/tweet?text=%40dosu_ai%20helped%20me%20solve%20this%20issue!&url=https%3A//github.com/TriliumNext/Trilium/issues/4670)
Author
Owner

@zadam commented on GitHub:

I suspect it might be something with Wayland support? Maybe playing with some OZone switches like --ozone-platform-hint=x11 and such ...

@zadam commented on GitHub: I suspect it might be something with Wayland support? Maybe playing with some OZone switches like `--ozone-platform-hint=x11` and such ...
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: TriliumNext/Trilium#1310
No description provided.