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
Freezing with high CPU usage on Apple Silicon (M1/M2) #3876
Comments
I got this to work by downloading source to my m2 Mac and compiling under qt. The file dialogs all pause when opening but become responsive within a couple seconds. Probably something there just haven’t had time to look yet. I wonder if the author has access to a Mac m[n] environment or access to GitHub actions to handle the binary compile? Hats off to the developer for having a super clear readme file allowing me to easily build it. Let me know if/how I can help @bjorn |
I also notice that having a map open and opening another one results in the following out of range exception when running on my m2 (I don't have an M1 -I assume it's the same). It happens with
|
To make sure I understand this, do you mean you had this issue with the Tiled 1.10.2 release, so you've installed Qt and compiled Tiled yourself? And does the problem still happen for your own build?
I don't have a physical M1 or M2. To see if I could reproduce this, I've recently rented an M1 Mac Mini at Scaleway, using VNC to access it. However, I had both the Tiled 1.10.2 release and a local build running there for a while and I could not reproduce the issue. :-(
Hmm, it could help to include the full call stack, because yours doesn't show which Tiled function is involved in this. However, it appears to be QTBUG-118585, which is marked as fixed in Qt 6.6.2, which isn't released yet. There are more accessibility released issues reportedly fixed in Qt 6.6.2, so when that release happens I think it could be a good time to make a new Tiled release against it. |
Had the same issue (NSRangeException using Apple M2 hw). Recompiling using a Qt 6.8 snapshot has been super stable for me; hopefully the 6.6.2 includes the same fixes. |
Hopefully this addresses some issues on macOS (see mapeditor#3876).
been testing with qt 6.6.2 on M1. The issue I had before was gone (was not able to open a map file) and it is so far so good. |
Since a long time many different people are reporting issues running Tiled on their M1 / M2 Macs, most frequently on this forum thread.
I hoped a Universal build that included native ARM64 support would help with the issue, but that shipped with Tiled 1.10.2 and the problem is still being reported.
Describe the bug
Various quotes from the above forum thread:
To Reproduce
So far this problem has only been reported on M1 / M2 hardware, which is likely necessary to reproduce the problem. I don't have access to such hardware myself.
Tiled Version: Reportedly happened also with 1.7.2 (possibly earlier) and up to 1.10.2
How to Help
If you can reproduce this issue on your macOS system, please try to set up a Qt development environment by installing Qt and Xcode, then see if you can also reproduce the issue with your own build of Tiled. If it happens, it could help to run Tiled in the debugger and pause it, to see where it is getting stuck.
The text was updated successfully, but these errors were encountered: