wez / wezterm

A GPU-accelerated cross-platform terminal emulator and multiplexer written by @wez and implemented in Rust
https://wezfurlong.org/wezterm/
Other
16.98k stars 766 forks source link

Pi5/Wayland WebGpu Display is Garbled #5442

Open RoninTech opened 4 months ago

RoninTech commented 4 months ago

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

Linux Wayland

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

Wayfire Compositor/ wlroots WM

WezTerm version

wezterm 20240515-054355-332b9b8b (same with latest release)

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

I'm a happy wezterm user on Pi4. Just got a Pi5 with Bookworm Debian and Wayland. With current and nightly wezterm builds I get garbled terminal where things just aren't displayed correctly. Since a pic is worth a thousand words I've grabbed a video capture to show what I mean. Also tried flatpak with same results. Also switched Pi5 to X11 and still get same weirdness.

Previously using wezterm, when there was an unknown glyph being displayed, not covered by my Fira Code patched nerdfont, I used to get a pop-up saying which one it was. I don't get that anymore but the attached debug log seem to indicate it happens.

To Reproduce

Simply install and use. Attached video/log shows what garbled terminal output to expect when I do the following terminal commands:

pwd ls ls -al pwd exit

Configuration

-- Pull in the wezterm API local wezterm = require 'wezterm'

-- This table will hold the configuration. local config = {}

-- In newer versions of wezterm, use the config_builder which will -- help provide clearer error messages if wezterm.config_builder then config = wezterm.config_builder() end

-- This is where you actually apply your config choices -- For example, changing the color scheme: config.color_scheme = 'OneDark (base16)'

config.font = wezterm.font('Firacode Nerd Font')

config.font_size = 11

config.use_dead_keys = false config.scrollback_lines = 10000 config.enable_tab_bar = false -- config.enable_wayland = true -- Tried this, no change. config.initial_rows = 40 config.initial_cols = 120 config.front_end = "WebGpu"

-- and finally, return the configuration to wezterm return config

Expected Behavior

No garbled terminal output

Logs

wezterm-gui-log-14930.txt

Anything else?

Video showing the problem:

Wezterm glitching on Pi5 Arm64 Install

RoninTech commented 4 months ago

I had attached an mp4 video that github says is corrupt even though it plays fine for me.

To fix this issue I uploaded the wezterm glitching video to Youtube and updated the issue. Video shows fine now.

sebastianzehner commented 1 month ago

same here and it's not usable