-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
Zed's text breaks after entering and exiting sleep / suspend #12827
Comments
This is really weird, and it looks like a graphical issue (rather than an issue with the text system). Could you run Zed with |
Output from running zed with
Also, is there a specific section of vulkan info you need? I don't think I can fit the full info into a single github comment. |
That doesn't say anything useful in this case. Could you share the whole log from running with those settings I mentioned?
You can attach the output file or upload it to https://pastebin.com/. |
This looks like the same Vulkan error as in #8168 🤔 |
I had that error too at first and I couldn't even start Zed, but after properly setting up Nvidia drivers (Adding early loading etc.) (Archinstall doesn't do all the steps) I can get it to start without errors in terminal. This weird text rendering issue only happens after a suspension. |
We couldn't reproduce these on our machines. Let us know if it's still happening :) |
This is still an issue, here is a full video showing it. Screencast_20240626_145138.mp4 |
Hmm... notice how it's not only the text but also icons (only quads seem to be rendered after resume) Could you try running with the OpenGL ES backend? you'll need to recompile with |
Running with those flags appear to stop the breakage of zed. |
Same problem here: Ubuntu 24.04.1, via X11. I was trying zed but this is a blocker for my workflow. As soon as it is fixed I will try it again. |
For me it breaks completely, causing Zed to quit. I've managed to get the error message by running Zed with Details
|
Can affected people post what sleep modes their systems support (and what they actually use)? The reproducibility problem may be related to different sleep modes being used. You can find out like this:
This one is my desktop, which supports suspend-to-idle (s2idle) and suspend-to-ram (deep), and the latter is what it actually chooses to do at the moment. I have heard a lot of stories about problems with resuming from suspend, but haven't encountered them myself (I haven't really used suspend on the desktop). FWIW on my laptop Zed is fine after suspending by closing the lid (only s2idle supported, AMD integrated GPU with RADV driver + NVIDIA with proprietary driver) @mikayla-maki I'd double-check what your test machines say about that as well. |
❯ cat /sys/power/mem_sleep
s2idle [deep] Just installed the last version and the problem persists (with the same configuration as indicated above). |
There's a few duplicated issues on this topic, so I'm going to close this in favor of: Please 👍 and subscribe to that issue to be notified of progress/discussion. |
Check for existing issues
Describe the bug / provide steps to reproduce it
After entering and exiting suspend mode with
systemctl suspend
, the zed ui loses all it's text aside from popups:The only way I have found to return the text is to restart Zed or scroll which causes an unpleasant flickering:
https://github.com/zed-industries/zed/assets/123006012/abd0213f-86bd-411c-a9d4-f7423413c02e
Environment
landonk@archlinux
OS: Arch Linux x86_64
Host: Predator PH315-54 V1.15
Kernel: 6.9.3-arch1-1
Shell: bash 5.2.26
Resolution: 1920x1080
DE: Plasma 6.0.5
WM: kwin
Terminal: alacritty
CPU: 11th Gen Intel i7-11800H (16) @ 4.600GHz
GPU: Intel TigerLake-H GT1 [UHD Graphics]
GPU: NVIDIA GeForce RTX 3050 Ti Mobile
Memory: 4097MiB / 15770MiB
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.The text was updated successfully, but these errors were encountered: