r/KerbalSpaceProgram • u/Fllambe DRAMA MAN • Oct 27 '14
Help 64 bit not stable enough for you? /r/KSPBugStomping needs your help!
Greetings Kerbanauts!
The /r/KSPBugStomping sub-reddit wants you to play KSP 64 bit, primarily stock, and document your crash report on our sub-reddit! We need you, particularly stock players, to help make 64 bit stable. If you aren't typically a stock player you can help too! However, you will need to have a stock version of the game on your computer – fortunately it doesn't take up much room.
We need you to collect this data:
- Rough system specs
- Detailed system specs (using dxdiag)
- Crash folder
- Circumstances around the crash
OR
- Upvote someone who has the exact same or similar circumstances as you. (with a reply elaborating on the differences)
Don’t know what some of these are? Don’t worry. The sticky in our subreddit lists handy tools and guides to make it easy for you to give us the small amount information we need to help the devs hunt the bugs. The more data we collect the better. Come by KSPBugStomping subreddit and read the sticky post!
"Let's learn what causes us to crash today, to avoid crashes tomorrow." -Werner von Kerman (On a slightly unrelated issue)
15
u/xeranes Oct 27 '14
I haven't had many crashing issues with KSP 64-bit, but I have noticed that the physics speed and framerate are abysmal compared to the normal .exe. I have an intel i7 (can't remember the model) and a 580M, and on the standard exe I get 60+fps. In 64-bit, it dips to the 20s and lagsbane is on yellow.
7
u/[deleted] Oct 27 '14
How much longer is this going to be needed? Now we are using a kluged together x64 patch that isn't properly supported by the engine. This was done because the community got excited that Unity said they were adding x64 support, but didn't realize that Unity 5 was more than a week or two away. Lilleman on the KSP forums worked together the hack, and the dev team implemented the hack into the game, probably more to appease the community for the time being than to have a great working x64 version. I could totally be wrong and the dev team could very well be putting a lot of time into this, I just don't see why because:
Unity 5 is literally on the horizon. The Beta was just released today for those who preordered, and I highly doubt that Squad didn't preorder, so there are probably dev team members looking at Unity 5 official x64 support right now.
2
u/Chappens Oct 28 '14
My 64-bit 0.25 never crashes can I help?
2
u/thedude1693 Nov 01 '14
I dont even really know HOW to play 64bit, I think I am playing 64 bit (renamed the ksp 64 bit exe).
98
u/ithisa Oct 28 '14 edited Oct 28 '14
I've said this before, but the problem with 64-bit, I am 99% sure, has to do with pointer truncation. This is absolutely consistent with all the symptoms: the crashes are of the memory access violation type, and it occurs when more than 232 bytes of memory are in use. This means that things like stack traces, logs, etc, would be almost completely useless, since the crashes would be pseudorandom.
This also explains, IMO, very well why the crashes are more common by every release. It's simply the case that there is more content each release, which means higher memory usage, which means higher chance to run into a pointer that is longer than 32 bits.
In short: somewhere in KSP or Unity's code, somebody assumed that you can cast a pointer to a
long. This is not true on Windows 64-bit, but it is true on Linux, which completely explains why the Linux 64-bit build is perfectly stable.So I'll give a "stupid suggestion" to Squad: go through all of KSPs code, and replace all instances of
longwithint64_t, andunsigned longwithuint64_t. Compile it for Windows 64-bit. I am almost completely sure that with this "one simple stupid trick", all the crashes will disappear, if the problem is not with Unity itself. If it is, then I would suppose bugging the creator of Unity would help. I'm pretty sure that such a mistake would be caught by whatever static analysis tools big companies like the one behind Unity would use though :/2
u/bgog Oct 27 '14
Good luck to you.
However I notice that you have no reports for either of the 13 day old posts about stock x64 bugs.
I my experience x64 runs fine for me on stock. It only starts getting wonky when you exceed 4gb of used ram.
5
u/NASAguy1000 Master Kerbalnaut Oct 27 '14
Mine is fine after thw first start up crash. But some times it is a bitch for no reason.
Amd fx-8350, saphire radeon hd6990, 16gb corsair vengance, 240gb ssd, 2tb worth of other drives, 750 watt corsair psu.
4
u/eli232323 Oct 27 '14
Great idea!
3
u/Anubiska Oct 27 '14
64 bit suffers random slowdowns and then lockups with a blank screen and audio from game on loop. Game is listed as not responding. Switched to 32 bit and the game.might seem to partly freeze but recovers right away. Very seldomly will it crash to desktop. Using Windows 7 SP1 on Intel I7 2600K not overclocked. Using Nvidia drivers 340.46. On same system but in Ubuntu 14.04 the 64 bit Ksp actually works smooth and better than in Windows.
3
u/stdexception Master Kerbalnaut Oct 27 '14
Might be of use to have a link to the bug tracker in the bug thread and/or in the sidebar, so people can first search if the issue is known, or add information related to an existing issue with an issue ID.
3
u/Tortfeasor Oct 28 '14
I feel like I might be in a minority, but I'm still yet to see a single crash under x64.
Probably 50 to 75 hours played (of about 200 total) using that binary. Generally only Mechjeb installed, although more recently I've installed EnvironmentalVisualEnhancements as well.
Windows 8, running on some custom built system, the specs of which I don't remember, but which was, at best, midrange when I bought it about eight to twelve months ago. 8Gb RAM, 4Gb graphics and an AMD CPU which could, for all I know, be a Casio timepiece.
I used to get a glitch with an older PC under the 32bit binary which saw the music stutter every second or so. That was incredibly annoying. Otherwise I've never seen a major glitch that I can remember, other than the odd orbit prediction going wobbly (which I don't count, given the limitations of the model).
4
u/shadowfu Oct 29 '14
I'm having odd right click targeting problems, like I can't seem to target fuel, solar panels, science equipment.
Win7 64bit I5 4670k OC 16GB of ram GTX-770
2
u/[deleted] Oct 27 '14
After the update to 0.25 the game would load then quit before the title/menu screen. So I've been using the 64-bit binary(Linux) and have not encountered any issues yet. It seems to run smoother and my CPU fan doesn't kick in as often. I have a Core 2 Duo(yikes!) at 2.64ghz * 2 , GTX650 and a mere 4 gb ram. There might have been a glitch with the textures(weird diagonal streaks) once but I remember seeing it in the 32-bit version as well.
2
u/itsamee Oct 27 '14
Good idea! I must say though, since the .25 patch i had significantly less bugs than before. I'm using a bunch of addons and before the game would crash once every so often. Now I only had a handfull of crashes.
2
u/TheSubOrbiter Nov 18 '14
is it strange that the "unstable" x64 version of KSP has crashed exactly Zero times for me, while the normal version has crashed an innumerable amount of times...
2
u/Baaz Feb 15 '15 edited Feb 15 '15
I experience occasional crashes (about twice per session of ~4 hours continuous gameplay). The crashes only occur when I load to another screen (usually to launch pad or from tracking center to a ship I'd like to fly). When I start KSP up again my save files always is in tact so I basically continue where I left the game without any hassle or interruption.
Actually I have a save game available where the crash is reproducible on command on my system. If you load a specific craft directly from the Space Center onto the Launch Pad it crashes KSP, but if I load it in VAB first and go from there to launch it's fine. Let me know if this is helpful for you to have, I can link it up through Google Drive if you like.
For me the performance of the x64 is a great improvement over the 32-bit version, that's why I bear with the crashes.
I start KSP through Steam (using the Launch Options edit: "C:\Program Files (x86)\Steam\SteamApps\common\Kerbal Space Program\KSP_x64.exe" %command%)
I usually have MechJeb2 (latest release) installed and no other mods.
Since May 2013 I've logged 790 hours of gameplay on KSP (apparently that boils down to about 1.2 hours per day, every day). I wouldn't mind being a test volunteer or answering further questions if this would help development.
Basic specs follow, these links have the full details:
DXdiag: https://drive.google.com/file/d/0B7lPJbTES0MOODBVbmhoOV8tblk/view?usp=sharing
Speccy: https://drive.google.com/file/d/0B7lPJbTES0MONWxKOGlaMUVpYlE/view?usp=sharing
2
u/chubbysumo Oct 27 '14
I just want to point out that DXdiag is useless as far as specs and computer info goes, just so you know. It will not give you any useful information about a crash, or about a computer. It gives a lot of info, but nothing really relevant to KSP or the cause of a crash.
1
u/EmrysAllen Dec 06 '14
(I just posted this in the "old" thread before realizing it...)
I'm on the 0.25 version (from Steam if it matters), Win 7 x64. Just thought this may be useful...I've played long enough to get all of the highest level tech, and I've had NO issues with crashes. Only one mod installed (Flight Engineer). I have only really seen two minor issues...when I'm using two monitors, when exiting from Tracking Station the screen would sometimes go black, and I would lose whatever vehicle I was tracking (i.e. the next time I started the game the whole vehicle was gone and was no longer listed in the Tracking list). The other is that the physics gets a little wonky when I speed up time...especially when I'm in a land rover. But otherwise stable for me, just thought I'd share.
1
u/[deleted] Oct 28 '14
If you want people to play the 64 bit version, you should probably include information on how to download it.
1
u/shadowfu Oct 28 '14
Does 64bit run by default if you have a newer machine?
1
u/janiekh Oct 28 '14 edited Oct 28 '14
I'm actually not having a lot of problems, at least i think it's always because of my mods.
And i don't really know about the performance because my laptop isn't that good :P
Only performance issues could be that the game kinda 'freezes' for a very short time after i crash a kinda big rocket.
And that sometimes the loading takes a long time (Like loading up the game, loading up the craft)
-1
u/h3ron Oct 28 '14 edited Oct 28 '14
KSP x64 on Arch Linux works fine with mods and vanilla. If you need a stable KSP x64 just dualboot your OS with Linux. It also doesn't suffer from the 4K texture resolution bugs encountered on MAC version.
Anyway I'm sorry I don't use Windows or I'd have helped Squad for sure squashing all the bugs they want. But couldn't they be actually Unity3D bugs? In this scenario there's nothing to to for Squad's dev. The only thing they could do is filling a bug.
0
u/[deleted] Nov 25 '14
On a 2012 MBA with Windows 7 Ult 64bit via bootcamp absolutely no problems at all. Performance is stunning compared to the 32bit version. Although, I haven't gotten further out then the Mun just yet.
-7
u/aperlscript Oct 28 '14
WTB OSX 64bit. For god's sake, even Linux beat us to the punch this time around! I'm used to lagging behind Windows, but lagging behind those smelly hippies hawking tanks out of their RVs, yurts, tepees, and geodesic domes is a special kind of fuck-you.
1
u/[deleted] Oct 27 '14
[removed] — view removed comment