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

Godot Editor freezing after playing scene only on Wayland on Godot 4.3 Beta 3 #94228

Closed
Tracked by #88346
a-collado opened this issue Jul 11, 2024 · 7 comments · Fixed by #94411
Closed
Tracked by #88346

Godot Editor freezing after playing scene only on Wayland on Godot 4.3 Beta 3 #94228

a-collado opened this issue Jul 11, 2024 · 7 comments · Fixed by #94411

Comments

@a-collado
Copy link

Tested versions

Reproducible in: 4.3-beta3. - Not reproducible in: 4.3-beta2, 4.3-beta1, 4.3-dev6

System information

Godot v4.3.beta3 - Arch Linux #1 SMP PREEMPT_DYNAMIC TKG Fri, 21 Jun 2024 13:02:41 +0000 - Wayland - Vulkan (Mobile) - dedicated NVIDIA GeForce GTX 1060 6GB (nvidia; 555.58.02) - AMD Ryzen 5 1600 Six-Core Processor (12 Threads)

Issue description

When I use the Godot Editor under a Wayland session on KDE Plasma, the editor freezes after I push the "Run the Project" or the "Remote Depuration" button. The game windows works fine, but the editor is completely frozen. It doesn't seem to produce a crash, and I can close it with the close button.

If I use the --display-driver x11 flag, the editor works fine and doesn't freeze. The same happens if I try it in a X11 session.

I've used WAYLAND_DEBUG=1 flag to make a log

wayland.log

Here's a sceen record of how it looks like:

2024-07-11.21-24-19.mp4

Steps to reproduce

  • Install Godot 4.3 beta3
  • Open the project
  • Run the project

Minimal reproduction project (MRP)

MRP.zip

@Riteo
Copy link
Contributor

Riteo commented Jul 15, 2024

Thanks for your report and thank you for the log! Thanks to it I was able to track the issue right away and I'm quite confident that the PR I'm going to make will fix the issue.

Unfortunately I don't have a setup with the latest kwin (shoot, I should really investigate on making a test rig or something), so you'll have to confirm whether the PR will work by testing it yourself for the time being, sorry.

@Riteo
Copy link
Contributor

Riteo commented Jul 15, 2024

All right, I made #94411. Please tell me if it fixes the problem :D

@Riteo Riteo closed this as completed Jul 15, 2024
@Riteo
Copy link
Contributor

Riteo commented Jul 15, 2024

Closed this by accident, sorry!

@a-collado
Copy link
Author

Thank you!!!
I've just tried and it seems to be working fine now.
The editor doesn't freeze anymore when starting a scene.

@Riteo
Copy link
Contributor

Riteo commented Jul 16, 2024

@a-collado Thank you for testing! :D

@akien-mga akien-mga added this to the 4.3 milestone Jul 17, 2024
@refrogerator
Copy link

I seem to be having this issue aswell with Godot 4.4-dev1 on bazzite-deck-gnome on my steam deck.

@refrogerator
Copy link

even on gnome xorg which is weird

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants