Open schmittlauch opened 9 months ago
Seems related to https://bugs.chromium.org/p/chromium/issues/detail?id=1442633 Marking this as upstream.
@schmittlauch as a quick workaround until this is fixed, ~launching Logseq using logseq --disable-gpu
works for me~. edit: It becomes pretty unresponsive when GPU acceleration is disabled.
(Also on NixOS, logseq-0.9.6
from nixpkgs
.)
edit:
rm -rf ~/.config/Logseq/GPUCache/
instead; see https://github.com/logseq/logseq/issues/10031#issuecomment-1683867669.
workaround: rm -rf ~/.config/Element/GPUCache It helps to delete the GPU shader cache. It might make sense to ask Electron upstream to handle this condition automatically.
@jlbribeiro Did you try clearing the GPU cache as @schmittlauch suggested? You should try that first before disabling gpu acceleration.
@sprocketc I feel silly. Yesterday I couldn't find Logseq's directory under ~/.config
(instructions above refer to Element), so I played with "related" ones... (~/.config/Electron
didn't have GPUCache
, messed with chromium
's (assuming Logseq could possibly be using it under the hood)... That solved some similar issues on Chromium.)
After your comment I went back and found Logseq
there, so I'm not sure how I missed it; I probably just searched for lowercase logseq
...
Anyway,
rm -rf ~/.config/Logseq/GPUCache/
did fix my issues, thanks for the ping! (And sorry if I added noise to the issue. Edited my comment above.)
That works, I didn't check with uppercase either.
I just experienced this on my SUSE Tumbleweed machine using the latest beta appimage build. Exact same issue, exact same cause. @schmittlauch suggestion worked perfectly - thank you! I don't want to add unnecessarily to the subject, but it would be great to see this directory cleaned automatically on startup, thus preventing the issue entirely.
Hi There! 👋
We haven't seen any activity on this issue in a while :sleeping:, and we just wanted to make sure that it's still relevant. If you're still experiencing this issue, you might find it helpful to update to the latest version of Logseq. The latest version includes bug fixes and new features that may help to resolve this issue, and you can download it from our website. If updating to the latest version doesn't help, please let us know by adding a comment 💬. We're here to help!
If the issue has been resolved or is no longer relevant, that's great news! 🎉 We'll go ahead and close this issue to keep our backlog organized. Please note that this issue will be closed automatically in 20 days if there is no further activity. If you need more time to resolve the issue or provide more information, please just let us know by adding a comment.
Access additional Logseq 🚀 resources:
Thanks for your contributions to Logseq! If you have any other issues or feature requests, please don't hesitate to let us know. We always welcome pull requests too!
Upstream reports this as fixed, but does anyone know whether https://chromium-review.googlesource.com/c/angle/angle/+/5189152 has already reached the Electron we use for logseq?
Search first
What Happened?
After a system update, logseq does not display an UI anymore but just a blank window.
Error log in console:
This seems to be the same underlying issue as in https://github.com/vector-im/element-desktop/issues/1029 and is related to Mesa (the system graphics driver) also being upgraded and now having incompatible shaders.
workaround:
rm -rf ~/.config/Logseq/GPUCache
It helps to delete the GPU shader cache. It might make sense to ask Electron upstream to handle this condition automatically.
Reproduce the Bug
logseq
Expected Behavior
No response
Screenshots
No response
Desktop or Mobile Platform Information
Linux, NixOS, logseq-0.9.6 from nixpkgs
Additional Context
No response
Are you willing to submit a PR? If you know how to fix the bug.