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

Zed freezing my enviroment #14519

Open
1 task done
dayves opened this issue Jul 15, 2024 · 11 comments
Open
1 task done

Zed freezing my enviroment #14519

dayves opened this issue Jul 15, 2024 · 11 comments
Labels
bug [core label] freeze Editor or OS - freezing / hanging / locking linux performance Feedback for performance issues, speed, memory usage, etc

Comments

@dayves
Copy link

dayves commented Jul 15, 2024

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

The screen frequently freezes, causing all visual elements on my laptop to become unresponsive for a few seconds. However, it seems to be only a visual freeze, bacause when I use ctrl+tab, for example, it's change the app tab, after the screen freeze.
Same bug on zed 0.143.6 and 0.143.7

Environment

image

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

No response

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

Zed.log
[Zed.log](https://github.com/user-attachments/files/16240426/Zed.log)
@dayves dayves added admin read Pending admin review bug [core label] triage Maintainer needs to classify the issue labels Jul 15, 2024
@betancour
Copy link

betancour commented Jul 16, 2024

Same thing happens in my environment. When using hybrid mode with both GPUs, everything works flawlessly. However, when I switch to using only the integrated graphics, the Zed Editor starts consuming a lot of CPU and my computer freezes. So, I can relate to the person who reported this issue. I am using an Nvidia graphics card.

Zed LogZed.log

Screenshot from 2024-07-15 21-10-57

@notpeter notpeter added linux and removed triage Maintainer needs to classify the issue admin read Pending admin review labels Jul 16, 2024
@notpeter
Copy link
Member

Of note, both your laptops have an Nvidia Geforce RTX 3050 GPU.

@JosephTLyons JosephTLyons added performance Feedback for performance issues, speed, memory usage, etc freeze Editor or OS - freezing / hanging / locking labels Jul 22, 2024
@ConradIrwin
Copy link
Member

@dayves Can you confirm if the graphics mode is what causes this?

If so, this might be another GPU compatibility issue

@betancour
Copy link

@dayves Can you confirm if the graphics mode is what causes this?

If so, this might be another GPU compatibility issue

Conrad, I'd like to point out that the issue occurs exclusively when using Wayland. When I switch to X, this problem doesn't arise.

@ConradIrwin
Copy link
Member

Weird. Do you know why that would cause a difference?

@betancour
Copy link

Weird. Do you know why that would cause a difference?

It might be a GPU issue. The GPU shows usage by the app, but since my CPU usage spikes due to Zed, I'm wondering how to debug this. It likely has to do with how Wayland handles GPU calls. When using hybrid mode, the integrated GPU on CPU works fine. It also works with NVIDIA Prime, so I'm trying to figure out what the problem could be.

@dayves
Copy link
Author

dayves commented Jul 22, 2024

@ConradIrwin I trying on another DE, and distro, and now it's working fine, but this time my Nvidia gpu is disabled. Now I'm using Popos

@github-actions github-actions bot added admin read Pending admin review triage Maintainer needs to classify the issue labels Nov 5, 2024
@notpeter notpeter removed triage Maintainer needs to classify the issue admin read Pending admin review labels Nov 5, 2024
@pro-khar
Copy link

Same issue with me. The screen occasionally freezes for 1-2 seconds and then continues normally. Only happening with zed, Other apps are fine. Specs:
image

@betancour
Copy link

Hey @pro-khar, are you using Wayland or Xorg?
Just a heads-up: the issue doesn't seem to occur on Xorg.

@pro-khar
Copy link

Hey @betancour . I'm on Xorg (X11)

@snoopdouglas
Copy link

Just encountered this on Xorg too. The issue only seems to occur when opening Zed on an external display. No errors are shown in any logs that I can see.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug [core label] freeze Editor or OS - freezing / hanging / locking linux performance Feedback for performance issues, speed, memory usage, etc
Projects
None yet
Development

No branches or pull requests

7 participants