wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

Wezterm has slow response and even freeze

Open nghiaxsm opened this issue 1 year ago • 26 comments

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

Linux Wayland

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

Hyprland

WezTerm version

20230305-221833-55982436

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

The response to keyboard typing or navigation is unpredictably slow, sometimes I have to wait few seconds to make it response or need to focus on other windows

To Reproduce

OS: Arch Linux x86_64 Kernel: 6.2.2-arch1-1 Shell: bash 5.1.16 DE: Hyprland Terminal: WezTerm CPU: Intel Pentium G4560 (4) @ 3.500GHz GPU: Intel HD Graphics 610 GPU: NVIDIA GeForce GT 1030 Memory: 998MiB / 14820MiB

I just installed the Archlinux with vanilla Hyprland The only significant thing I did with the system is install nvidia-dkms and add some varibles on /etc/environment

XDG_CURRENT_DESKTOP=Hyprland XDG_SESSION_TYPE=wayland XDG_SESSION_DESKTOP=Hyprland

LIBVA_DRIVER_NAME=nvidia XDG_SESSION_TYPE=wayland GBM_BACKEND=nvidia-drm __GLX_VENDOR_LIBRARY_NAME=nvidia WLR_NO_HARDWARE_CURSORS=1

in /etc/mkinitcpio.conf add nvidia nvidia_modeset nvidia_uvm nvidia_drm to your MODULES

run # mkinitcpio --config /etc/mkinitcpio.conf --generate /boot/initramfs-custom.img

add a new line to /etc/modprobe.d/nvidia.conf (make it if it does not exist) and add the line options nvidia-drm modeset=1

Configuration

no config

Expected Behavior

The typing should be fast response but sometimes the text did not follow as I typed within milliseconds

Logs

Debug Overlay wezterm version: 20230305-221833-55982436 x86_64-unknown-linux-gnu Window Environment: Wayland OpenGL version: NVIDIA GeForce GT 1030/PCIe/SSE2 4.6.0 NVIDIA 525.89.02 Enter lua statements or expressions and hit Enter. Press ESC or CTRL-D to exit 19:17:49.707 WARN wezterm_term::terminalstate::performer > Unhandled OSC 1337 SetUserVar=c2xrZGpmIGRrZmogbGthZGpmYQ===

Anything else?

No response

nghiaxsm avatar Mar 07 '23 12:03 nghiaxsm