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

WezTerm doesn't start in Plasma 6 #3996

Closed
hexchain opened this issue Jul 14, 2023 · 6 comments · Fixed by #4322
Closed

WezTerm doesn't start in Plasma 6 #3996

hexchain opened this issue Jul 14, 2023 · 6 comments · Fixed by #4322
Labels
bug Something isn't working PR-welcome Wez doesn't have plans to work on this, but will accept a PR if someone feels motivated! Wayland

Comments

@hexchain
Copy link
Contributor

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

Linux Wayland

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

KWin 5.27.80 (upcoming Plasma 6)

WezTerm version

20230713-174400-115e629e

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

WezTerm fails to start with the following error:

interface 'wl_surface' has no event 2
01:15:04.275  ERROR  wezterm_gui > running message loop: error during event_q.dispatch protocol_error=None: Resource temporarily unavailable (os error 11); terminating

To Reproduce

No response

Configuration

no config

Expected Behavior

No response

Logs

No response

Anything else?

This is probably an issue in smithay-client-toolkit v0.16, because its examples fail with the same error in Plasma 6. Those examples in v0.17 work just fine.

@hexchain hexchain added the bug Something isn't working label Jul 14, 2023
@wez wez added the Wayland label Jul 14, 2023
@wez
Copy link
Owner

wez commented Jul 15, 2023

I'd believe that upgrading will resolve this.

I've spent some time looking at updating this dependency; the changes are significant (and positive), but migrating to sctk 0.17 is effectively a rewrite of wayland support in wezterm and I don't currently have the time for this.

@wez wez added the PR-welcome Wez doesn't have plans to work on this, but will accept a PR if someone feels motivated! label Jul 15, 2023
@PeterCxy
Copy link

Can reproduce the exact same error when running under Sway.

wez added a commit that referenced this issue Aug 6, 2023
This is a baby step towards handling dpi_by_screen.
I don't want to do the actualy per-screen stuff here;
it touches stuff around the edges of SCTK and there is a pending,
significant, rewrite of that code needed to upgrade to a more
recent version of SCTK + wayland-protocols, and I don't want to waste
my effort on the intermediate state.
#3996 (comment)

refs: #4096
@sevz17
Copy link

sevz17 commented Aug 19, 2023

See djpohly/dwl#467 (comment)

@colemickens
Copy link

Hi @wez, I am experiencing various issues with a number of Rust apps with SCTK <=0.17. I asked about this in #sway and one of the SCTK devs opened this:

I tested this by cloning wezterm and running cargo update -p smithay-client-toolkit.

I can confirm that wezterm is now working again under Sway tip.

I think this means that you could unblock some Wayland users now without needing to fully move to smithay-client-toolkit@0.17. If I'm not mistaken, this will resolve this particular issue.

@hexchain
Copy link
Contributor Author

Thanks for the heads up! I've opened #4322 to bump the dependency version. For me, it successfully starts in Plasma 6 now. It would be nice if someone using another compositor could confirm.

@github-actions
Copy link

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working PR-welcome Wez doesn't have plans to work on this, but will accept a PR if someone feels motivated! Wayland
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants