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

WebGPU not working on latest MESA v24.1.5 #5915

Open
ashleysommer opened this issue Aug 8, 2024 · 2 comments
Open

WebGPU not working on latest MESA v24.1.5 #5915

ashleysommer opened this issue Aug 8, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@ashleysommer
Copy link

ashleysommer commented Aug 8, 2024

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

Linux Wayland

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

Plasma 6.1 on Wayland

WezTerm version

nightly 20240730

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

After updating MESA drivers from v24.1.3 to v24.1.5 wezterm WebGpu driver no longer works.

Now attempting to launch wezterm with WebGPU driver results in error: "running message loop: Io error: Broken pipe (os error 32)"

To Reproduce

I ran a system update this morning, the only packages that updated were MESA, it was on v24.1.3 and new version is v24.1.5. After rebooting my PC, attempting to open "wezterm" gives the error above.
Switching from WebGpu to OpenGL in the config resolves the error.

Configuration

local wezterm = require 'wezterm'  
local config = {}

-- Use this default_prog because wezterm likes to use a login shell by default.
config.default_prog = { '/usr/bin/zsh' }

config.front_end = "WebGpu"

config.enable_wayland = true
config.font = wezterm.font 'FantasqueSansM Nerd Font'
config.font_size = 14
config.color_scheme = 'Monokai Dark (Gogh)'
config.bold_brightens_ansi_colors = "BrightOnly"
config.use_fancy_tab_bar = false
config.hide_tab_bar_if_only_one_tab = false

config.enable_scroll_bar = true

config.inactive_pane_hsb = {
  saturation = 0.9,
  brightness = 0.8,
}
config.window_background_opacity = 0.82
config.window_decorations = "INTEGRATED_BUTTONS|RESIZE"

return config

Expected Behavior

No response

Logs

> cat /run/user/558965/wezterm/wezterm-gui-log-37201.txt

18:40:12.448 ERROR wezterm_gui > running message loop: Io error: Broken pipe (os error 32); terminating

Anything else?

No response

@ashleysommer ashleysommer added the bug Something isn't working label Aug 8, 2024
@ashleysommer
Copy link
Author

Update: I tried with enable_wayland=false and WebGpu works.
So this is an issue with WebGPU on Wayland, which was working great before the MESA update.

Also note, this is not related to issue #5790 because I see the same results whether I enable or disable the opacity.

@zierf
Copy link

zierf commented Aug 22, 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
Projects
None yet
Development

No branches or pull requests

2 participants