Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Zulip doesn't start on Linux w/ Nvidia version 560 driver #1384

Open
snazy opened this issue Aug 28, 2024 · 2 comments
Open

Zulip doesn't start on Linux w/ Nvidia version 560 driver #1384

snazy opened this issue Aug 28, 2024 · 2 comments

Comments

@snazy
Copy link

snazy commented Aug 28, 2024

I'm not sure whether this is actually a bug in Zulip/Linux or the Nvidia version 560 drivers (with both the "NVIDIA driver metapackage from nvidia-driver-560" and the "NVIDIA driver (open kernel) metapackage from nvidia-driver-560-open" via Ubuntu's "Additional Drivers" tool) - using Wayland.

There are a couple of messages in the syslog:

2024-08-27T08:54:03.539060+02:00 shark systemd[3741]: Started app-gnome-zulip-18688.scope - Application launched by gnome-shell.
2024-08-27T08:54:04.679656+02:00 shark zulip.desktop[18688]: Reverting GDK_BACKEND to work around https://github.com/electron/electron/issues/28436
2024-08-27T08:54:05.393539+02:00 shark zulip.desktop[18688]: (electron) 'webContents.canGoBack' is deprecated and will be removed. Please use 'webContents.navigationHistory.canGoBack' instead.
2024-08-27T08:54:19.731215+02:00 shark zulip.desktop[18688]: [18688:0827/085419.730961:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/
2024-08-27T19:54:41.846406+02:00 shark zulip.desktop[18912]: [18912:0827/195441.845653:ERROR:shared_image_manager.cc(224)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
2024-08-27T19:54:41.846504+02:00 shark zulip.desktop[18912]: [18912:0827/195441.846372:ERROR:shared_image_manager.cc(224)] SharedImageManager::ProduceSkia: Trying to Produce a Skia representation from a non-existent mailbox.
2024-08-27T21:13:16.124272+02:00 shark systemd[3741]: app-gnome-zulip-18688.scope: Consumed 9min 28.881s CPU time.
2024-08-28T07:11:42.592738+02:00 shark systemd[3807]: Started app-gnome-zulip-30389.scope - Application launched by gnome-shell.
2024-08-28T07:11:43.350360+02:00 shark zulip.desktop[30389]: Reverting GDK_BACKEND to work around https://github.com/electron/electron/issues/28436
2024-08-28T07:11:45.205385+02:00 shark zulip.desktop[30389]: [30389:0828/071145.205191:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=139
2024-08-28T07:11:45.259396+02:00 shark update-notifier-crash[31099]: zulip
2024-08-28T07:11:45.404190+02:00 shark zulip.desktop[30389]: [30389:0828/071145.404126:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=139
2024-08-28T07:11:46.835378+02:00 shark zulip.desktop[30389]: [30389:0828/071146.835073:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=139
2024-08-28T07:11:47.021822+02:00 shark zulip.desktop[30389]: [30389:0828/071147.021754:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=139
2024-08-28T07:11:47.221286+02:00 shark zulip.desktop[30389]: [30389:0828/071147.221228:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=139
2024-08-28T07:11:47.421417+02:00 shark zulip.desktop[30389]: [30389:0828/071147.421363:ERROR:gpu_process_host.cc(1007)] GPU process exited unexpectedly: exit_code=139
2024-08-28T07:11:48.103219+02:00 shark update-notifier-crash[31715]: sh: 1: /opt/Zulip/zulip --type=gpu-process --crashpad-handler-pid=30419 --enable-crash-reporter=b29741ce-74ec-4bcd-b337-eb50d874d4d2,no_channel --user-data-dir=/home/snazy/.config/Zulip --gpu-preferences=UAAAAAAAAAAgAAAEAAAAAAAAAAAAAAAAAABgAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAABAAAAAAAAAAEAAAAAAAAAAIAAAAAAAAAAgAAAAAAAAA --shared-files --field-trial-handle=3,i,13672014313291726643,12850394890060868835,262144 --disable-features=SpareRendererForSitePerProcess --variations-seed-version: not found
2024-08-28T07:11:49.864828+02:00 shark systemd[3807]: Started app-gnome-zulip-31744.scope - Application launched by gnome-shell.
2024-08-28T07:11:50.135270+02:00 shark zulip.desktop[31767]: [0828/071150.134980:ERROR:process_memory.cc(41)] short read
2024-08-28T07:11:50.135317+02:00 shark zulip.desktop[31767]: [0828/071150.135059:ERROR:process_memory.cc(41)] short read
2024-08-28T07:11:50.135332+02:00 shark zulip.desktop[31767]: [0828/071150.135062:ERROR:process_reader_linux.cc(542)] no module mappings 0x7fba87fef000
... (tons of these short-read messages)
2024-08-28T07:11:50.137573+02:00 shark zulip.desktop[31767]: [0828/071150.135657:ERROR:process_memory.cc(41)] short read
2024-08-28T07:11:50.137583+02:00 shark zulip.desktop[31767]: [0828/071150.135661:ERROR:ptracer.cc(454)] ptrace: No such process (3)
2024-08-28T07:11:50.137593+02:00 shark zulip.desktop[31767]: [0828/071150.135665:ERROR:ptracer.cc(480)] Unexpected registers size 0 != 216
2024-08-28T07:11:50.137602+02:00 shark zulip.desktop[31767]: [0828/071150.135667:WARNING:process_reader_linux.cc(400)] Couldn't initialize main thread.
2024-08-28T07:11:50.137611+02:00 shark zulip.desktop[31767]: [0828/071150.135683:ERROR:process_memory.cc(41)] short read
2024-08-28T07:11:50.137627+02:00 shark zulip.desktop[31767]: [0828/071150.135686:ERROR:process_snapshot_linux.cc(78)] Couldn't read exception info
2024-08-28T07:11:50.137637+02:00 shark zulip.desktop[31767]: [0828/071150.135733:ERROR:scoped_ptrace_attach.cc(45)] ptrace: No such process (3)
2024-08-28T07:11:58.474596+02:00 shark zulip.desktop[30389]: [30389:0828/071158.474396:ERROR:object_proxy.cc(576)] Failed to call method: org.freedesktop.ScreenSaver.GetActive: object_path= /org/freedesktop/ScreenSaver: org.freedesktop.DBus.Error.NotSupported: This method is not part of the idle inhibition specification: https://specifications.freedesktop.org/idle-inhibit-spec/latest/
2024-08-28T07:12:03.819624+02:00 shark zulip.desktop[30389]: This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). The promise rejected with the reason:
2024-08-28T07:12:03.819699+02:00 shark zulip.desktop[30389]: Error: ERR_FAILED (-2) loading 'file:///opt/Zulip/resources/app.asar/dist-electron/app/renderer/main.html'
2024-08-28T07:12:03.819712+02:00 shark zulip.desktop[30389]:     at rejectAndCleanup (node:electron/js2c/browser_init:2:79352)
2024-08-28T07:12:03.819723+02:00 shark zulip.desktop[30389]:     at finishListener (node:electron/js2c/browser_init:2:79514)
2024-08-28T07:12:03.819734+02:00 shark zulip.desktop[30389]:     at WebContents.stopLoadingListener (node:electron/js2c/browser_init:2:79901)
2024-08-28T07:12:03.819745+02:00 shark zulip.desktop[30389]:     at WebContents.emit (node:events:531:35)
2024-08-28T07:12:03.819756+02:00 shark zulip.desktop[30389]:     at emitter.emit (/opt/Zulip/resources/app.asar/dist-electron/index.js:49649:14)
2024-08-28T07:12:03.878039+02:00 shark systemd[3807]: app-gnome-zulip-30389.scope: Consumed 19.560s CPU time.

Everything works fine with the Nvidia version 555 drivers - and it seems that all other apps work fine with version 560.

Just wanted to give you guys a heads up on this.

@alya
Copy link
Collaborator

alya commented Aug 28, 2024

Thanks for the report, @snazy ! I re-posted it in the Zulip development community for discussion.

@andersk
Copy link
Member

andersk commented Aug 29, 2024

I have been trying to reproduce your problem but I’ve had no luck so far.

Maybe try deleting the ~/.config/Zulip/GPUCache folder?

Are you running Zulip with the --ozone-platform-hint=auto flag (which enables native Wayland support rather than defaulting to X11)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants
@andersk @snazy @alya and others