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

Performance issues on macOS #3

Open
leereilly opened this issue Nov 17, 2017 · 20 comments
Open

Performance issues on macOS #3

leereilly opened this issue Nov 17, 2017 · 20 comments
Assignees

Comments

@leereilly
Copy link
Contributor

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!!!

@maxilevi
Copy link
Owner

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 :)

@leereilly
Copy link
Contributor Author

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 😁

@maxilevi
Copy link
Owner

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

@leereilly
Copy link
Contributor Author

leereilly commented Nov 18, 2017

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?

@maxilevi
Copy link
Owner

maxilevi commented Nov 18, 2017

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

@leereilly
Copy link
Contributor Author

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

@maxilevi
Copy link
Owner

maxilevi commented Nov 18, 2017

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

@leereilly
Copy link
Contributor Author

leereilly commented Nov 18, 2017

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! 🤘

@maxilevi
Copy link
Owner

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

@leereilly
Copy link
Contributor Author

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..?

@maxilevi
Copy link
Owner

maxilevi commented Nov 19, 2017

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 25b0101. Here is the latest mac build
Neon Skylines 1.0.3 - Mac x86.zip

@leereilly
Copy link
Contributor Author

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).

@maxilevi
Copy link
Owner

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?

@leereilly
Copy link
Contributor Author

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?

@maxilevi
Copy link
Owner

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

@leereilly
Copy link
Contributor Author

leereilly commented Nov 27, 2017

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 🤘

@maxilevi
Copy link
Owner

maxilevi commented Dec 23, 2017

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

@leereilly
Copy link
Contributor Author

Hi - thanks @Zaphyk! I checked it out, but unfortunately I didn't notice any difference between it and the 1.0.3 version from #3 (comment).

@mike-u
Copy link

mike-u commented Dec 23, 2017

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.

@gurix
Copy link

gurix commented Dec 26, 2017

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

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