Hard Light Productions Forums

Hosted Projects - Standalone => Diaspora => Diaspora Tech Help => Topic started by: SasoDuck on April 27, 2014, 03:11:56 am

Title: Crashing on Obit Rescue Mission
Post by: SasoDuck on April 27, 2014, 03:11:56 am
Hi, rather new here. I'm getting a recurring crash on the Obit Rescue Mission (not sure which mission number that is, if it counts as 2, or 1.5 because it's optional or what), but basically the briefing loads in and I click Commit, then the small video of the Theseus over the planet plays, and right as it fades to black and the mission is about to start-- boom, crash to desktop. I tried tinkering with the settings, but to no avail. Really itching to get back to playing the game but as of right now I cannot because of this crash. Please let me know what info you guys need (what graphics card I have, what the error message says, whatever), again I'm new here so I'm not sure how you guys go about these bug reports.

Thanks for the great game, content-wise! It's astoundingly accurate to the show.
Title: Re: Crashing on Obit Rescue Mission
Post by: niffiwan on April 27, 2014, 03:20:40 am
Please post your fs2_open.log file.  Instructions on how to do this can be found in this post.

That should help us figure out what might be going wrong here.
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on April 27, 2014, 01:44:15 pm
Thanks! I'll do that after breakfast
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on April 28, 2014, 02:42:22 pm
So, this is considerably after breakfast, but when I load the debugger build, the game just won't even load. I can launch it, go to the briefing, but while the mission is loading, it gets to about two bars/dots and then stops. The entire program becomes unresponsive, so... how can I get the fs2_open.log file?
Title: Re: Crashing on Obit Rescue Mission
Post by: X3N0-Life-Form on April 28, 2014, 02:49:43 pm
It should be located in Diaspora/data/.
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on April 28, 2014, 03:06:00 pm
Ok, I found it, but I didn't actually get to the point where it crashes, so will the file still help?
Title: Re: Crashing on Obit Rescue Mission
Post by: niffiwan on April 28, 2014, 04:34:23 pm
The debug build runs significantly slower than the normal build especially during mission load.  How long did you let it run for?  I'd suggest waiting for at least 5-10 mins (maybe even 15) and don't close FSO if Windows says that it's unresponsive. It should become responsive again once it has finished loading everything.
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on April 29, 2014, 11:02:54 am
Oh wow, ok. I let it go for maybe 5 minutes, but I guess I'll let it do its thing...
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on April 29, 2014, 11:10:10 am
Ok loaded quite fast this time, here's the fs2_open.log file (attached)

[attachment deleted by an evil time traveler]
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on April 29, 2014, 04:50:50 pm
That is the right file, right?

I should mention I'm getting an error saying "Malloc Failed"

Malloc Failed!

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_Diaspora_R1.exe! <no symbol>
fs2_open_Diaspora_R1.exe! <no symbol>
ntdll.dll! RtlImageNtHeader + 782 bytes
ig7icd32.dll! DllMain + 194765 bytes




Another error:

Unable to pack vertex buffer for 'Col_BS_Sobek.pof'

ntdll.dll! ZwWaitForSingleObject + 21 bytes
kernel32.dll! WaitForSingleObjectEx + 67 bytes
kernel32.dll! WaitForSingleObject + 18 bytes
fs2_open_Diaspora_R1.exe! <no symbol>
fs2_open_Diaspora_R1.exe! <no symbol>
fs2_open_Diaspora_R1.exe! <no symbol>
ntdll.dll! RtlFreeHeap + 126 bytes
fs2_open_Diaspora_R1.exe! <no symbol>
fs2_open_Diaspora_R1.exe! <no symbol>

Title: Re: Crashing on Obit Rescue Mission
Post by: niffiwan on April 29, 2014, 07:22:15 pm
OK, you've got an Intel Video card which technically isn't supported by Diaspora.

Code: [Select]
Initializing OpenGL graphics device at 1600x900 with 32-bit color...
  Initializing WGL...
  Requested WGL Video values = R: 8, G: 8, B: 8, depth: 24, stencil: 8, double-buffer: 1
  Actual WGL Video values    = R: 8, G: 8, B: 8, depth: 24, stencil: 8, double-buffer: 1
  OpenGL Vendor    : Intel
  OpenGL Renderer  : Intel(R) HD Graphics 4000
  OpenGL Version   : 3.3.0 - Build 8.15.10.2618

You might be able to run the mission by disabling shader support.  To do that, select the following option in the Launcher:

Advanced Settings Tab -> Troubleshoot -> Disable GLSL (shader) support  (aka -no_glsl).

Alternatively, if you have a laptop with switchable graphics (e.g. Nvidia Optimus) you need to select Diaspora to run on the more powerful card.

Lastly you seem to be playing the 1.0 version of Diaspora. I'd recommend updating to the latest 1.1 patch (http://www.hard-light.net/forums/index.php?topic=87289.0).
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on April 29, 2014, 08:14:43 pm
OK, you've got an Intel Video card which technically isn't supported by Diaspora.

Don't tell me that! :'(

But hey, disabled shaders and lo and behold, it WORKS! Thanks a ton, and I actually think it looks better without the shaders. The Theseus looks a bit more real imo being flat metal than super reflective.
Title: Re: Crashing on Obit Rescue Mission
Post by: niffiwan on April 29, 2014, 09:39:51 pm
I'm glad its working for you now :)

And keep in mind that 1.1 patch, I think there are a few issues in later missions that you might run into.
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on April 30, 2014, 12:46:35 am
Crap. Mission 2 works now, but Mission 3 is getting the same error as Mission 2 was. Guess the shaders weren't a permanent fix :/

What kind of issues is the 1.1 patch having? (downloading that now)

If nothing else, can I tell Diaspora to run off my Intel Integrated HD Graphics card? Might look ****tier but at least would be supported, right?
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on April 30, 2014, 01:15:12 am
Ok, here's the .log for this crash... groan

[attachment deleted by an evil time traveler]
Title: Re: Crashing on Obit Rescue Mission
Post by: niffiwan on April 30, 2014, 01:38:34 am
At least one other person had some luck with turning down the graphics settings (http://www.hard-light.net/forums/index.php?topic=85601.msg1712920#msg1712920). You could try that to see if it helps?

edit: derp! messed up the url tags...
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on April 30, 2014, 01:54:11 am
I'll report back.

Is this a fairly common issue, then?
Out of curiosity, if NVIDIA isn't supported, and Intel isn't supported, what IS supported? :P Just AMD?
Title: Re: Crashing on Obit Rescue Mission
Post by: niffiwan on April 30, 2014, 02:24:25 am
Uhh... where did I say that Nvidia isn't supported? :p

Both AMD and Nvidia cards are supported. Intel cards often work if shaders are disabled. I think that's about all the 3D card vendors we need to worry about these days.
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on April 30, 2014, 02:47:22 am
Uhh... where did I say that Nvidia isn't supported? :p

Both AMD and Nvidia cards are supported. Intel cards often work if shaders are disabled. I think that's about all the 3D card vendors we need to worry about these days.

... wow. I must be really tired. Read your original reply as NVIDIA.
So... maybe if I force Diaspora to run off my NVIDIA card,* it will work? Why would it be trying to use my integrated Intel card, that makes no sense :P

*how would I do that?
Title: Re: Crashing on Obit Rescue Mission
Post by: niffiwan on April 30, 2014, 03:05:51 am
I haven't used a switchable graphics card computer. I think the settings are in Nvidia control panel, and you need specify the names / locations of executables (both release and debug!) that you want to run in "performance" mode.

(hopefully someone else around here who has one of these setups can offer better advice on how to do this)
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on April 30, 2014, 01:10:53 pm
Tried:
- forcing Diaspora to use NVIDIA card (no change)
- Disabling post-processing (no change)
- installing Patch 1.1 (no change)

Here's my latest .log
I am at a loss...

[attachment deleted by an evil time traveler]
Title: Re: Crashing on Obit Rescue Mission
Post by: niffiwan on April 30, 2014, 04:25:06 pm
hmm... your most recent log still shows the Intel card being used.  Did you set it active for both the normal & debug executables?

If can't get the nvidia card working then you could try going to (from the main menu) Options -> Detail, then setting the "Preset Detail Levels" to "Medium". You can also set details individually, Model Detail, 3D Hardware Textures, Particles, Impact Effects, Stars on the left, and Lighting on the right.
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on May 01, 2014, 02:06:00 am
Wow, crap, I'm a halfwit.

So I realized I need to force all of these
(http://i.imgur.com/CYGpQB7.png)
to use the NVIDIA card under the NVIDIA control panel. I was only forcing the wdx_launcher.exe or whatever it's called to use the NVIDIA card. Just launched the next mission and it worked :)

Course it worked last time, so I'll let you know if I get more than two missions past before really saying it's worked.
Title: Re: Crashing on Obit Rescue Mission
Post by: niffiwan on May 01, 2014, 03:43:52 am
Hurrah! :D

Now that you've got your nVidia card selected you can probably remove the "-no_glsl" command line parameter to get extra prettiness.
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on May 01, 2014, 10:13:48 am
I dunno, like I said I think it actually looks better with shaders off. To me that super-shiny metal looks kind of unrealistic, and if you look at the Galactica, it's really not all that shiny:
(http://matttoomb.files.wordpress.com/2011/05/mini_side_fleet.jpg)

Anyhow, once again thanks for all the help and way too cool how involved you guys are and willing to delve into each and every bug report. Keep up the good work!
Title: Re: Crashing on Obit Rescue Mission
Post by: General Battuta on May 01, 2014, 11:58:28 am
GLSL does a lot more than make the ships shiny.
Title: Re: Crashing on Obit Rescue Mission
Post by: SasoDuck on May 01, 2014, 02:33:40 pm
Is there a way to enable GLSL but make it so the Theseus is still a more matte metal?
Title: Re: Crashing on Obit Rescue Mission
Post by: niffiwan on May 01, 2014, 06:09:28 pm
I'm not an expert on this, but you could try adjusting some of the lighting settings (http://www.hard-light.net/wiki/index.php/Command-Line_Reference#Lighting).  You can check your current settings in the launcher, this page also lists the Diaspora defaults (http://www.hard-light.net/wiki/index.php/Sample_Lighting_Settings).