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

Window resize crash in Multi-Threaded thread model #75659

Open
Tracked by #71929
MegadronA03 opened this issue Apr 4, 2023 · 7 comments
Open
Tracked by #71929

Window resize crash in Multi-Threaded thread model #75659

MegadronA03 opened this issue Apr 4, 2023 · 7 comments

Comments

@MegadronA03
Copy link

MegadronA03 commented Apr 4, 2023

Godot version

4.0.1.stable.official [cacf499]

System information

Windows 10, GT740-OC-2GD5 (ASUS GT 740)

Issue description

Godot crashes on window resize without single error(last tests). I'm not sure yet what causing the issue, before removing WorldEnvironment cause editor to report dozens of errors with swapchain errors, now it say that its just swapchain not ready, and most of the time its nothing. (resizing editor windows does not cause any issues).

Steps to reproduce

open minimal reproduction project, resize window

Minimal reproduction project

BUG_1.zip

@MegadronA03 MegadronA03 changed the title Window resize crash with WorldEnvironment(?) Window resize crash Apr 5, 2023
@MegadronA03
Copy link
Author

Update just in case:
4.0.2.stable.official [7a0977c], nothing changed, no errors in debugger.

@MegadronA03
Copy link
Author

MegadronA03 commented Apr 7, 2023

--rendering-driver opengl3 and Compatibility result in this:
Godot logo an black screen flashes. Any action with window(resize/move) result in hung.
image

@MegadronA03
Copy link
Author

MegadronA03 commented Apr 8, 2023

sometimes it crashes instantly on resize

@MegadronA03
Copy link
Author

Project Settings > Display > Window > Embed Subwindows true windows wont crash godot on resizing, but on false its same case

@MegadronA03
Copy link
Author

Crash happens only on Driver > Thread model > Multi-Threaded

@MegadronA03 MegadronA03 changed the title Window resize crash Window resize crash in Multi-Threaded thread model Apr 8, 2023
@deviledtheg
Copy link

Experiencing this issue on linux, fixed with the same workaround. Additionally fullscreening would crash my entire window manager (sway).

@Calinou
Copy link
Member

Calinou commented Apr 22, 2023

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

No branches or pull requests

4 participants