Jump to content
  • 0

Stutter on Apple silicon Macs -- update JVM to Apple native?


fuzzycuffs

Question

Running Zomboid on my Mac Mini M1/8GB/256GB model.  I notice quite a lot of stutter, particularly when zombies are on screen. Graphics settings are default, but I've turned them down to see if it helped but it didn't. 

 

I peeked into the app bundle and it looks like it is bundled with the x64 version of Zulu JRE v17.  Therefore it's running JRE through Rosetta, which I think is why it's being so laggy. 

 

Some zomboiders tried to swap the JRE at runtime but it doesn't seem like it worked:

 

https://theindiestone.com/forums/index.php?/topic/54603-how-to-use-m1-optimized-version-of-java-for-pz-on-mac/

 

Now, having a native M1 version would be the best, but in lieu of that could we at least get an update that has native Apple JRE alongside x64?

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

For now, we can't support M1/M2 Macs, as mentioned in the specs on the Steam store. PZ is only a x86 application.

 

Every single library we use + all our custom stuff would have to be converted or already built using ARM64 for this to be possible. So while we do hope to support it in the future, we're unable to at this time. it's not possible to just replace one moment, such as the JVM, or one library -- they all have to be converted.

 

I should note that it ran fine at the time of original release for the M1 but subsequent OSX updates seems to have degraded performance and removed features, such as DPI awareness.  Unfortunately we don't have a fix for that.

 

We're also on borrowed time on Mac in general because Apple has deprecated OpenGl support. It's anyone's guess as to when they'll fully remove it, but the chances of us migrating to metal or vulken is very low at the moment. We don't have the expertise for this and the audience isn't there for a Mac-focused dev team, basically. (Part of why Java and OpenGL was chosen was that it worked across Windows, Mac, and Linux -- everyone on the same build). Not a great situation for anyone.

Link to comment
Share on other sites

On 1/31/2023 at 4:26 AM, EnigmaGrey said:

So while we do hope to support it in the future, we're unable to at this time.

 

I signed up for the forum to talk about the game and ask about M support, knowing that it's unlikely. I appreciate you being open about it just not being something that's going to happen right now, if ever. I needed to decide if I was going to get a PC or wait for an M update, dreading a vague answer that gave me hope of something that was never coming.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...