Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78861 - [obsidian] Electron25 update breaks Obsidian on Wayland

Attached to Project: Arch Linux
Opened by Samuel Kogler (skogler) - Thursday, 22 June 2023, 14:13 GMT
Last edited by Toolybird (Toolybird) - Sunday, 25 June 2023, 21:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Obsidian fails to start on Wayland with Electron 25. I swapped out electron25 with electron22 manually in /usr/bin/obsidian and it started working again.

Additional info:

* package version(s)

electron-1:25-1
electron25-25.1.1-3
obsidian-1.3.5-1
nvidia-535.54.03-3
hyprland-nvidia-0.26.0-1

* config and/or log files etc.
* link to upstream bug report, if any

Steps to reproduce:

obsidian --enable-features=UseOzonePlatform --ozone-platform=wayland

[9643:0622/160405.308518:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[9643:0622/160405.308637:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=SCANOUT
[9643:0622/160405.308720:ERROR:gbm_wrapper.cc(258)] Failed to export buffer to dma_buf: No such file or directory (2)
[9643:0622/160405.308733:ERROR:gbm_pixmap_wayland.cc(75)] Cannot create bo with format= RGBA_8888 and usage=GPU_READ
[9643:0622/160405.308745:ERROR:shared_image_factory.cc(673)] CreateSharedImage: could not create backing.
[9643:0622/160405.308757:ERROR:shared_image_factory.cc(527)] DestroySharedImage: Could not find shared image mailbox
[9643:0622/160405.308778:ERROR:gpu_service_impl.cc(1010)] Exiting GPU process because some drivers can't recover from errors. GPU process will restart shortly.



This task depends upon

Closed by  Toolybird (Toolybird)
Sunday, 25 June 2023, 21:23 GMT
Reason for closing:  Upstream
Additional comments about closing:  See comments
Comment by q rty (q234rty) - Thursday, 22 June 2023, 18:07 GMT
Interesting, I imagine this is a nvidia quirk again but have you tried running with --disable-gpu-sandbox ?
Comment by Samuel Kogler (skogler) - Friday, 23 June 2023, 08:05 GMT
Just tried it, same error.
Comment by q rty (q234rty) - Friday, 23 June 2023, 08:08 GMT
Could you try running extra/chromium with the same set of flags then?
Comment by Samuel Kogler (skogler) - Friday, 23 June 2023, 08:15 GMT
Interesting, this logs the same error, but chromium still works. I suspect it just falls back to some other method?
Comment by Samuel Kogler (skogler) - Friday, 23 June 2023, 08:16 GMT
Yeah, about://gpu says hardware acceleration disabled
Comment by q rty (q234rty) - Friday, 23 June 2023, 08:18 GMT
Then what about running obsidian but with --disable-gpu instead of --disable-gpu-sandbox?
Comment by Samuel Kogler (skogler) - Friday, 23 June 2023, 08:29 GMT
That works, thanks! Not a long-term solution, but for now should be fine.
Do you have any idea if the chromium/electron people know about this bug?
Comment by q rty (q234rty) - Friday, 23 June 2023, 09:06 GMT
I'm not sure, if you're going to report this make sure to report to both chromium and nvidia.

Loading...