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

Crash on M1 with multi-threaded rendering on window resize #54519

Closed
chrrrrrrr opened this issue Nov 2, 2021 · 5 comments
Closed

Crash on M1 with multi-threaded rendering on window resize #54519

chrrrrrrr opened this issue Nov 2, 2021 · 5 comments

Comments

@chrrrrrrr
Copy link

Godot version

3.3.4

System information

macOS 11.6, GLES3, M1

Issue description

Dragging to resize the game window makes it crash when rendering is multi-threaded. Doesn't happen on my intel mac -- only on M1. Using GLES2 seems to fix it in a simple project, but in a larger project it also crashes on GLES2.

Steps to reproduce

Create blank project.
Project Settings > Rendering > Thread > Multi-threaded
Play project
Resize window by dragging a side or corner for a bit to crash it.

Minimal reproduction project

No response

@Calinou
Copy link
Member

Calinou commented Nov 2, 2021

cc @bruvzg

@chrrrrrrr Just to make sure, can you reproduce this on the master branch by compiling it from source?

@chrrrrrrr
Copy link
Author

@Calinou I tried compiling the master, but I end up with a file that I can't run: bin/godot.osx.tools.arm64

@alexruetz
Copy link

alexruetz commented Nov 3, 2021

@Calinou I tried compiling the master, but I end up with a file that I can't run: bin/godot.osx.tools.arm64

As stated in the docs, to make an .app bundle you need do a bit more after compiling

cp -r misc/dist/osx_tools.app ./Godot.app
mkdir -p Godot.app/Contents/MacOS
cp bin/godot.osx.opt.tools.universal Godot.app/Contents/MacOS/Godot
chmod +x Godot.app/Contents/MacOS/Godot

And don't forget to include the MoltenVK library

I tried to replicate that crash on the master branch but it seemed fine to me. No crash so far.

This is the crash log for the 3.3.4 Version: https://pastebin.com/HxitWbkD

@chrrrrrrr
Copy link
Author

Thanks @alexruetz . I just got it working as well and haven't had it crash either.

@akien-mga
Copy link
Member

Fixed by #54526.

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