zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
45.66k stars 2.51k forks source link

[Ubuntu 24.04] No Text or icon displayed after suspending #14446

Open ylopezjaime opened 1 month ago

ylopezjaime commented 1 month ago

Check for existing issues

Describe the bug / provide steps to reproduce it

After suspending the PC for fews hours with zed open, when re-open the PC to keep working, no text or icons are displayed

Environment

Cannot do it in the current state of the app

If applicable, add mockups / screenshots to help explain present your vision of the feature

Screenshot from 2024-07-14 09-23-11

If applicable, attach your Zed.log file to this issue.

Zed.log


notpeter commented 1 month ago

Eeek. Can you provide some additional details?

  1. Zed environment/version info (restart zed, and paste into the description above)
  2. X11 or Wayland
  3. Which GPU(s) do you have?
ylopezjaime commented 1 month ago

Eeek. Can you provide some additional details?

  1. Zed environment/version info (restart zed, and paste into the description above)
  2. X11 or Wayland
  3. Which GPU(s) do you have?

Zed: v0.143.7 (Zed) OS: Linux Wayland ubuntu 24.04 Memory: 15.4 GiB Architecture: x86_64

I have a Nvidia RTX 3050 Ti

bbb651 commented 1 month ago

I think this is an issue on nvidia's side where textures in vram get corrupted, I've had this issue for years with mutter which made me disable suspend, there are a couple of module options and resources mentioned in that issue that may be useful: image What version are your drivers? I think the 555 drivers really improved things on wayland in general, is it straight forward to update graphics drivers on an ubuntu lts?

ylopezjaime commented 1 month ago

My version is 550.90.07. Will try to jump to 555 and report later.

ylopezjaime commented 1 month ago

At the moment of the creation of the bug, my driver were the 550.90. I update to the 555.42.06 and know Suspend doesn't work on Wayland. I will assume the bug was related to that since I wasn't able to replicate it with the new drivers on wayland.