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

Mouse freezes, skips, and stutters over the wezterm window, recovers as soon as it leaves. #5366

Open
ilar opened this issue May 3, 2024 · 2 comments
Labels
bug Something isn't working Wayland

Comments

@ilar
Copy link

ilar commented May 3, 2024

What Operating System(s) are you seeing this problem on?

Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

Ubuntu Mutter

WezTerm version

20240429-102818-0184e88e

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

Whenever my mouse enters the boundaries of the wezterm window, it immediately either freezes or starts stuttering and I see a 40-70% cpu increase on whatever core wezterm is running on. Wezterm also starts getting very slow- any freezes or stutters the mouse displays also corrosponds to a hiccup in wezterm's responsiveness.

As soon as i stop moving the mouse, or move the mouse outside the exact boundary of the wezterm window, this stops.

To Reproduce

Open wezterm, move mouse inside the wezterm window.

Configuration

no config

Expected Behavior

Mouse to move smoothly and like normal when located over a wezterm window.

Logs

Debug Overlay
wezterm version: 20240429-102818-0184e88e x86_64-unknown-linux-gnu
Window Environment: Wayland
Lua Version: Lua 5.4
OpenGL: AMD Radeon RX 6800 XT (navi21, LLVM 15.0.7, DRM 3.54, 6.5.0-28-generic) 4.6 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1
Enter lua statements or expressions and hit Enter.
Press ESC or CTRL-D to exit

(no other logs)

Anything else?

No response

@ilar ilar added the bug Something isn't working label May 3, 2024
@ilar
Copy link
Author

ilar commented May 4, 2024

This must have been something in the OS interacting with with wezterm, because I apt-get update/upgraded and the issue instantly cleared, without even restarting.

Weird.

@ilar ilar closed this as completed May 4, 2024
@ilar
Copy link
Author

ilar commented May 4, 2024

Nevermind, it came back as soon as I locked my computer and unlocked it. Looks like rebooting fixes it until I lock my screen, or if libmesa gets updated by apt.

@ilar ilar reopened this May 4, 2024
@wez wez added the Wayland label May 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Wayland
Projects
None yet
Development

No branches or pull requests

2 participants