r/KerbalSpaceProgram • • Mar 17 '15

Maxmaps on Twitter - "...now considering that adding as much as we are to 1.0 may be bad for quality."

https://twitter.com/Maxmaps/status/577678205416419329
542 Upvotes

302 comments sorted by

View all comments

Show parent comment

14

u/Rohaq Mar 17 '15

32 bit Unity means that they can't increase the RAM limit, but it doesn't mean that they can't possibly improve memory management in order to reduce usage.

4

u/t_Lancer Mar 17 '15

I've said it for ages. if the assets were loaded on a "as needed" basis the RAM usage would be so much lower. Why does the game need to load every part on game load? what if I only plan to fly a tiny rocket? every other part is still loaded in the background using up RAM for no reason. why?

1

u/Rohaq Mar 17 '15

To play devil's advocate on my own point, Unity may not allow that level of control over memory management, so anything loaded prior to a scene loading may be retained in memory until the scene changes.

2

u/[deleted] Mar 17 '15

For example, changing the rendering engine to OpenGL, on average saves 1 GB of system memory. It comes with a performance penalty, but I seriously wonder what horrible code is being run that changing the graphics library frees up 1 GB of system memory.

Source: Examination of KSP Memory Management

1

u/Captain_Planetesimal Mar 18 '15

You're right. However, OpenGL has its own quirks and for me, gives lots of visual bugs. From what I've gathered it works on a case-by-case basis. Forcing DX11 does a lot more for keeping my framerate smooth and the RAM usage below the maximum, but again, won't work for everyone.

1

u/[deleted] Mar 18 '15

Definitely. There's a reason the game is DirectX by default. OpenGL especially has problems on AMD video cards. Specifically, the problem lies with Unity, the game engine KSP uses. It doesn't support anti aliasing using OpenGL mode on AMD hardware. Also, shadows are only partially supported.

Honestly, I hate running OpenGL, the performance compromises are large. But it's the only way I've been able to run my current mod install. Otherwise I'm right at 3.5 GB, which is too close to 3.8 GB for stability.

0

u/[deleted] Mar 17 '15

64 bit works pretty well.

7

u/KillerRaccoon Super Kerbalnaut Mar 17 '15

Only in Linux. It's really unstable in windows.

4

u/kupiakos Mar 17 '15

One of the rare situations in which a game runs better in Linux than in Windows.

4

u/katalliaan Mar 17 '15

It seems that the "engine issues" that Squad's claiming aren't Unity's fault. Cities: Skylines is running on Unity 4 or 4.5 (can't find which specifically, but definitely not 5), and they only have a 64-bit build. Whatever the issue with 64-bit Windows is, it's not Unity's fault, but something Squad is doing.

2

u/[deleted] Mar 17 '15

Oh, okay. My bad.