project-skylines icon indicating copy to clipboard operation
project-skylines copied to clipboard

Performance issues on macOS

Open leereilly opened this issue 8 years ago β€’ 20 comments

This game performs great on my Windows PC, but performance is sluggish on my Macbook Pro*β€”even with lowest resolution and lowest quality settings. I recorded some footage if that's useful πŸ˜„

* 2.8 GHz Intel Core i7, AMD Radeon R9 M370X 2048 MB Intel Iris Pro 1536 MB

Cheers,    Lee 🍻

PS: I absolutely love this game!!!

leereilly avatar Nov 17 '17 02:11 leereilly

What are your Windows PC specs? I don't think the issue is related to macOS necessary just poor optimization, I'll do some test and see if I can find the problem :)

maxilevi avatar Nov 18 '17 02:11 maxilevi

My Windows PC is an aging MSI laptop ~

  • Intel Core i7-4710HQ (2.5GHz, 6MB Cache)
  • NVIDIA Geforce GTX980M with 8GB GDDR5 VRAM
  • 32GB DDR3L 1600 MHz

Let me know if you need a hand testing 😁

leereilly avatar Nov 18 '17 02:11 leereilly

Actually, I do. Since I don't have a Mac could you run this new version and tell me how the performance goes? Neon Skylines - Mac x86.zip

maxilevi avatar Nov 18 '17 03:11 maxilevi

I definitely see an improvement, but it still jerky/laggy compared to the Windows version. Playing with the lowest quality settings is slightly better than player with the highest. Would it be helpful if I shared a video showing performance?

leereilly avatar Nov 18 '17 03:11 leereilly

Yes, please do so I can compare it to the first one you showed me. The slight performance difference between the lowest and highest graphic settings must be because the game is CPU-bound

maxilevi avatar Nov 18 '17 03:11 maxilevi

Roger that - here it is starting our with lowest settings and then switching to maximum 🀘

leereilly avatar Nov 18 '17 04:11 leereilly

I've tried distributing some of the heavy chunk loading across frame which should in theory produce less jerkiness. Here is the new build can you tell me how it goes? Neon Skylines 1.0.2 - Mac Universal.zip

maxilevi avatar Nov 18 '17 16:11 maxilevi

1.02 performance is much, much better - probably up to about 90% compared to how it handles in Windows. The graphics are completely different though - not sure if that's intentional? Here's some gameplay footage starting out with lowest quality settings then jumping to highest...

Getting close! 🀘

leereilly avatar Nov 18 '17 23:11 leereilly

The graphics were definitely not intentional. This last build should be the golden one, it should fix the graphics and mantain the performance improvements. Thank you very much for your help in solving the issue. 😁 Neon Skylines 1.0.3 - Mac x86.zip

maxilevi avatar Nov 19 '17 02:11 maxilevi

You're welcome! Thanks for fixing bugs reported by a random guy on the Internet!!!

The ship now flies super smoothly - at maximum resolution and quality! πŸš€

There's still a little bit of jerkiness/stuttering, but on closer look it looks like the ship position/camera might be changing on the Y-axis. Perhaps as more things are coming into view?

GIF to illustrate below. The blue line is static - I believe the ship should always be level with it as long as W and S haven't been pressed..?

leereilly avatar Nov 19 '17 04:11 leereilly

You are right, it should always be in level with the line. I suspect it's an interpolation issue and I took care of it on commit 25b01015f57065e4098216be364cef6ff63b3022. Here is the latest mac build Neon Skylines 1.0.3 - Mac x86.zip

maxilevi avatar Nov 19 '17 19:11 maxilevi

Assuming that's the correct .zip file above (the previous file was also named 1.0.3) I don't think I see a noticeable difference at higher resolutions / quality? Here's some footage showing performance at 640x480 (very low quality), 1600x1200 (medium quality), and 2560x1440 (ultra quality).

leereilly avatar Nov 20 '17 01:11 leereilly

Yes, It was the correct .zip . The build fixed some small jerkiness that was also in the windows build, I thought that was the problem but this to me seems more framerate related/physics timestep. Do you know what is your average framerate while playing? Do you notice big framedrops?

maxilevi avatar Nov 20 '17 05:11 maxilevi

I'm not sure what the best way to give you accurate average framerate information is, but here's some more video footage showing gameplay and framerate windowed at 2560x1440 (high quality). Note: the mangled audio at the start is me messing up with the video capture.

Here's the ~short~ GIF version:

Please let me know if I can do something / provide anything better than that info. Is there some debugging info / logging you can sneak into a build that might be useful?

leereilly avatar Nov 20 '17 06:11 leereilly

Sorry for the delay, here is a build with some debug info on the screen, it should let me know where the bottleneck is. Neon Skylines Debug 1.0 - Mac x86.zip

maxilevi avatar Nov 26 '17 15:11 maxilevi

Hi @Zaphyk - here's some footage showing gameplay (i) 2560x1440 @ Ultra and (ii) 600x480 (Medium) with debugging info. Let me know if I can do anything else 🀘

leereilly avatar Nov 27 '17 20:11 leereilly

Hey, someone suggested me a fix for this. I implemented it and here is the build. Let me know if it works. Neon Skylines 1.0.4 - Mac x86.zip

maxilevi avatar Dec 23 '17 05:12 maxilevi

Hi - thanks @Zaphyk! I checked it out, but unfortunately I didn't notice any difference between it and the 1.0.3 version from https://github.com/Zaphyk/project-skylines/issues/3#issuecomment-345544072.

leereilly avatar Dec 23 '17 06:12 leereilly

I'd like to also report having the same problem on macOS. The game looks good but it's unplayable at 800x600 on Very Low settings.

mike-u avatar Dec 23 '17 23:12 mike-u

Same story here, I can confirm this on a new macbook pro running high sierra.

gurix avatar Dec 26 '17 20:12 gurix