SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > Silent Hunter 4: Wolves of the Pacific
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-30-14, 09:50 AM   #1
waffle
Watch
 
Join Date: Jan 2014
Posts: 30
Downloads: 32
Uploads: 0
Default Memory Stress Test

Ok so I have been having pretty frequent CTDs during my campaign. I have already done a lot of research here and other places online into why I would have so many crashes. The most common solution for my case seemed to be doing the large address aware as well as the 4 gig of memory patches. But after those I am still crashing, and it seems sh4 never uses more then about 1.5ish gigs of memory.

I am running on windows 7 64.
i5 3570k
nvidia gtx 770
8 gig of mem

Running the game through steam updated to 1.5 using the u boat missions.

Mods are

RFB 2.0
RFB 2.0 patch 23april2010
RSRDC RFB v575
RSRDC v5xx patch1
SAP v.5 stock-RFB-RSRDC
Sub class info RFB
sub class info RFB RSRDC

In short, solid system that literally never crashed during gaming before sh4, fully updated game version on steam running the sh4 executable modded for large address and 4 gig memory also as administrator, not to many crazy mods.

My question is, what is the best way to stress test the sim to make it use as much resources as it can? I tried the sub school artillery mission and circled the enemy boats at 32x time compression while shooting them all down, and still usage statistics were not very high.

It is my belief that the crashes are either memory enduced somehow even though I have modded the .exe, or it is most likely mod related since the campaign is the only mode that I have crashed in. Perhaps my RSRDC got slightly messed up during extraction. Regardless this is frustrating, I am about to completely wipe my computer of the sim and start over from scratch.
waffle is offline   Reply With Quote
Old 01-30-14, 10:17 AM   #2
les green01
Seasoned Skipper
 
les green01's Avatar
 
Join Date: Jan 2002
Location: Freeman Missouri
Posts: 1,496
Downloads: 1500
Uploads: 0
Default

are you saving during the campaign also you might remove the mods one by one and see if the crashes stop
__________________
I'll tell you what bravery really is. Bravery is just determination to do a job that you know has to be done.
Audie Murphy
les green01 is offline   Reply With Quote
Old 01-30-14, 10:19 AM   #3
Pisces
Silent Hunter
 
Join Date: Dec 2004
Location: AN9771
Posts: 4,839
Downloads: 309
Uploads: 0
Default

Memory can be tested by burning a cdrom image (or USB stick) from http://www.memtest.org/ and booting your pc with it. It should do extensive tests to see if the silicon in the chips is all right. If it detects something then it should show red stuff.

Your mods don't suggest they need more than 4 GB. At least, I used RFB 2.0 with RSRDC on my system (different CPU and graphics chip) and only have effectively 3 GB RAM.
Pisces is offline   Reply With Quote
Old 01-30-14, 10:30 AM   #4
waffle
Watch
 
Join Date: Jan 2014
Posts: 30
Downloads: 32
Uploads: 0
Default

Saving during the campaign? Yes I am, should I try to avoid saving the game while I am on patrol? The hard part about removing mods to see if the crashes stop is that the crashes are very random, recently though it seems there might be a correlation between listening to the hydrophone right after sinking a ship I have crashed in that circumstance more then once.

And sorry Pisces I did not make myself that clear, I mean stress test inside the sim to see if I can get the usage up. In all other applications my configuration has been performing normally, it is only within sh4 that I am getting CTDs.

I would also like to point out that before I did the large address patch I would get the bug where your gauges and menus and sometimes even parts of the subs interior would be replaced by white textures, and that would also lead to a CTD if I tried to do pretty much anything. At least I have not seen that recently.
waffle is offline   Reply With Quote
Old 01-30-14, 10:48 AM   #5
les green01
Seasoned Skipper
 
les green01's Avatar
 
Join Date: Jan 2002
Location: Freeman Missouri
Posts: 1,496
Downloads: 1500
Uploads: 0
Default

You Can Save On Patrol But Always Save On The Surface And Away From Where You Sunk Any Ships Also I Never Save On The Same Name
__________________
I'll tell you what bravery really is. Bravery is just determination to do a job that you know has to be done.
Audie Murphy
les green01 is offline   Reply With Quote
Old 01-30-14, 10:51 AM   #6
waffle
Watch
 
Join Date: Jan 2014
Posts: 30
Downloads: 32
Uploads: 0
Default

Hmm, the saves might be giving me an issue then. I have a save file that I can use to reproduce crashes, and that one was saved submerged near an enemy ship, and earlier on that same save it was saved near 4 fishing boats that I sank with the gun. I will also start saving each time with a new name, hopefully these things will help. I think I will start a brand new campaign now and see if it crashes at all during the first patrol.
waffle is offline   Reply With Quote
Old 01-30-14, 10:58 AM   #7
les green01
Seasoned Skipper
 
les green01's Avatar
 
Join Date: Jan 2002
Location: Freeman Missouri
Posts: 1,496
Downloads: 1500
Uploads: 0
Default

Hope It Works For You If Not Come Back And With This Bunch If SomeOne Cant Figure It Out No One Can
__________________
I'll tell you what bravery really is. Bravery is just determination to do a job that you know has to be done.
Audie Murphy
les green01 is offline   Reply With Quote
Old 01-30-14, 11:30 AM   #8
BigWalleye
Sea Lord
 
Join Date: Jul 2012
Location: On the Eye-lond, mon!
Posts: 1,973
Downloads: 465
Uploads: 0


Default

There are only two restrictions to successfully save games:

1) Never change activated mods and try to reload an in-patrol save. You can activate or deactivate most (but not all!) mods if you have saved while in port. But changing mods - AT ALL - and trying to reload an in-patrol save will cause trouble.

2) Never save over the top of an existing save. That is, don't try to save the game using the same save name as an existing save. This will frequently cause problems. To reuse a save name, first delete the existing save, then re-type the name and save again.

I have saved and successfully reloaded games near land, while submerged, near enemy ships, while engaged, etc, etc.The saves always reload successfully. The two conditions above will cause problems. Nothing else will.
BigWalleye is offline   Reply With Quote
Old 01-30-14, 03:08 PM   #9
waffle
Watch
 
Join Date: Jan 2014
Posts: 30
Downloads: 32
Uploads: 0
Default

Thanks a lot guys I appreciate the info. I think I have narrowed down the crash. I just started a brand new campaign at the earliest date with task force using the S-class boat. I never saved on top of another save, and the sim was performing flawlessly. Unfortunately I seemed to never manage to position myself at the right place and right time to line up on a target. Finally after patroling about a month I came across a big merchant ship, I forget the name but it was a least a 7000 ton ship. I engaged and the sim was perform great, I however sucked and missed with several of my fish. After a successful re-attack she was definitely sinking. I turned away to the south and dove down to take a listen to see if anything was coming to help. I picked up on at least one contact, but it was to far away to actually here, the green light did come on though. After monitoring the exterior camera a bit watching the boat go down I went back and listened again. Crash.

So I think thats it, something is wrong with the hydrophone while something is sinking. The memory used never got above 1.47 gigs(cpu usage maxed at 27%). But it seems like that is linked, enemy boat sinking, listening moving the hydrophone around, then crash.

Working on that assumption that a sound file is wrong leads me to believe that perhaps SAP is actually what is breaking it, since it modifies ship movement physics?

TLDR: While near a sinking ship and using my hydrophone to listen around for incoming contacts my game crashes, memory/cpu/gpu usage looks fine, potential problem with audio files?

EDIT: UPDATE!!! Upon reading into SAP more i found that it includes a sonarfix mod by vickers, and in the thread he speaks of a bug specifically with listening on the sonar while a boat is sinking!!! This mod is packedged into SAP and websters movement fixes! I think I may have isolated the problem. maybe SAP never got vickers updated sonar fix!

Last edited by waffle; 01-30-14 at 03:24 PM.
waffle is offline   Reply With Quote
Old 01-30-14, 05:18 PM   #10
waffle
Watch
 
Join Date: Jan 2014
Posts: 30
Downloads: 32
Uploads: 0
Default

I just successfully isolated the problem! Using the torpedo training missions I simply put 2 fish into the large merchant boat, submerged and watched on the external camera until water was washing up on its deck. Then I went to the sonar station and listened to it, sure enough after a little bit of time acceleration the sim crashed perfectly!(lol) Now how to fix it? I am going to test vickers sonar target fix2, which was released after SAP, hopefully by installing it last it will successfully overwrite whatever is currently wrong. I will report back when I am done.
waffle is offline   Reply With Quote
Old 01-30-14, 05:38 PM   #11
waffle
Watch
 
Join Date: Jan 2014
Posts: 30
Downloads: 32
Uploads: 0
Default

Sorry I keep bumping this but I only do so because I have new information.

Ok so I just did the exact same thing except with sonarfixv2 http://www.subsim.com/radioroom/down...o=file&id=1127

And the first test worked great the sim did not crash.

So hopefully problem solved for good!
waffle is offline   Reply With Quote
Old 01-30-14, 07:18 PM   #12
merc4ulfate
DILLIGAF
 
merc4ulfate's Avatar
 
Join Date: Feb 2007
Location: florida
Posts: 2,083
Downloads: 227
Uploads: 0
Default

I am curious why you have both Sub class info RFB and sub class info RFB RSRDC?

Since your running both then the mod for both (sub class info RFB RSRDC)should be there but not the mod for the single mod(RFB)
__________________
Self-education is, I firmly believe, the only kind of education there is.
~Isaac Asimov~

Mercfulfate
将補
日本帝國海軍

merc4ulfate is offline   Reply With Quote
Old 01-30-14, 07:48 PM   #13
waffle
Watch
 
Join Date: Jan 2014
Posts: 30
Downloads: 32
Uploads: 0
Default

The PDF that came with the mod explained that both should be installed in that order, something to do specifically with one of the sub classes added.

Sub Class Info - RFB - Use this version with the Real Fleet Boat mod
Sub Class Info - RSRDC - Use this version for the standalone RSRDC mod.
Sub Class Info - RSRDC - RFB - Use this version for RFB with the RSRDC mod. Install AFTER the RFB version above (this one only changes the pseudo-Narwhal UnitParts file, which is the
only file the RSRDC for RFB affects).

From the PDF
waffle is offline   Reply With Quote
Old 01-30-14, 09:46 PM   #14
les green01
Seasoned Skipper
 
les green01's Avatar
 
Join Date: Jan 2002
Location: Freeman Missouri
Posts: 1,496
Downloads: 1500
Uploads: 0
Default

don't worry about bumbing this,glad you found the problem and hope it is fix now
__________________
I'll tell you what bravery really is. Bravery is just determination to do a job that you know has to be done.
Audie Murphy
les green01 is offline   Reply With Quote
Old 01-31-14, 01:50 AM   #15
TorpX
Silent Hunter
 
Join Date: Sep 2010
Posts: 3,969
Downloads: 153
Uploads: 11
Default

I had the same problem with crashes while using hydrophones. I remember it was a known issue, but the only remedy I had was to save my game, before using the hydrophone in those circumstances. I kind of got out of the habit of listening to sinking ships, and had more or less assumed, that later versions of RFB fixed it.

Anyway, good that you figured it out.
TorpX is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:44 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Copyright © 1995- 2026 Subsim®
"Subsim" is a registered trademark, all rights reserved.