Crash with Error Message—GPU

Any issues with the XWAU or X-Wing Alliance? Please let us know here!
Post Reply

Crash with Error Message—GPU

Dmman33
Recruit
Posts: 3
Joined: Tue Mar 31, 2020 12:16 pm

Post by Dmman33 » Tue Mar 31, 2020 12:21 pm

I’ve been getting an error message regarding GPU during single-player missions that crash the game. This has happened on three separate occasions

Error Message reads:

Direct3DTexture:Load

The GPU Device Instance has been suspended. Use GetDeviceRemovedReason to determine the appropriate action

Thanks!

User avatar
JeremyaFr
XWAU Member
Posts: 3922
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Mar 31, 2020 12:46 pm

Hello,

You can try the latest version of the DDraw dll and see if the problem persists.

https://github.com/JeremyAnsel/xwa_ddra ... ses/latest

Dmman33
Recruit
Posts: 3
Joined: Tue Mar 31, 2020 12:16 pm

Post by Dmman33 » Tue Mar 31, 2020 3:04 pm

Cool, thanks! I should make copies of the ddraw.dll and ddraw.cfg files already in the xwa folder, right?

User avatar
JeremyaFr
XWAU Member
Posts: 3922
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Tue Mar 31, 2020 3:08 pm

Yes

Dmman33
Recruit
Posts: 3
Joined: Tue Mar 31, 2020 12:16 pm

Post by Dmman33 » Tue Mar 31, 2020 7:56 pm

Seems to work fine. Thanks!

whiskey
Recruit
Posts: 6
Joined: Thu Sep 24, 2020 9:29 pm

Post by whiskey » Thu Sep 24, 2020 11:08 pm

Sorry to resurrect an old thread, but I wasn't sure if this required a new one, as it's the same problem.

I'm currently getting the exact same error message as Dmman33, but the only difference is that my problem has persisted even though I have the latest ddraw files. Currently, I can replicate it every time by completing the single-player mission B1M2 "Rescue Uncle Antan"...after completing the mission objectives and returning to the Defiance, it crashes every time right after hitting Space to enter the hangar.

Relevant info: I'm on Win10 Home 64-bit, and have installed XWAUCPv1.6 with the patch v1.0 right afterwards. No other installs (except the latest ddraw from Jeremy's site).

Here's the Event Viewer readout:

Code: Select all

Faulting application name: XWingAlliance.exe, version: 2.0.0.2, time stamp: 0x3765a9b7
Faulting module name: XWingAlliance.exe, version: 2.0.0.2, time stamp: 0x3765a9b7
Exception code: 0xc0000005
Fault offset: 0x00195047
Faulting process id: 0xc50
Faulting application start time: 0x01d692bb0116df37
Faulting application path: C:\Program Files (x86)\Steam\steamapps\common\Star Wars X-Wing Alliance\XWingAlliance.exe
Faulting module path: C:\Program Files (x86)\Steam\steamapps\common\Star Wars X-Wing Alliance\XWingAlliance.exe
Report Id: 0e367e2e-bacb-4a27-b6fc-71b20436f611
Faulting package full name: 
Faulting package-relative application ID:

whiskey
Recruit
Posts: 6
Joined: Thu Sep 24, 2020 9:29 pm

Post by whiskey » Fri Sep 25, 2020 4:05 pm

UPDATE: a clean install with only XWAUCPv1.6 and NO patch 1.0 has cleared the issue for now. I think it's one of the hooks or the newer ddraw causing the issue on my end, I'm going to try to isolate which one.

whiskey
Recruit
Posts: 6
Joined: Thu Sep 24, 2020 9:29 pm

Post by whiskey » Fri Sep 25, 2020 8:13 pm

I'm going to continue testing, but I've narrowed the culprits down to:

- Hook_32bpp.dll
- Hook_d3d.dll

Having either or both in my game directory is causing problems, although I'd need someone with more tools / knowledge to figure out why. All other hooks downloaded from the XWAHooksSetup program, as well as Jeremy's latest ddraw (as of 25 Sep 2020) have been added back with no ill effects.

User avatar
Ace Antilles
Admiral (Moderator)
Posts: 7829
Joined: Sat Jan 22, 2000 12:01 am
Contact:

Post by Ace Antilles » Sat Sep 26, 2020 1:03 pm

JeremyaFr wrote:
Tue Mar 31, 2020 3:08 pm
snip
Jeremy is the hook guy who knows it all.
Hopefully he will come online and maybe able to help.
Chief XWAU Team annoying nitpicker.
Ace Antilles - The X-Wing Outpost
Image

User avatar
JeremyaFr
XWAU Member
Posts: 3922
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Sat Sep 26, 2020 3:15 pm

Hello,

Correct me if I'm wrong. When you disable the 32bpp and the d3d hooks, the game runs fine. And when one of them or both are enabled, then the game crashes.
Which patches are applied with XwaExePatcher? You can applied all the patches marked as Recommended or Fix except the patches marked as Hook.
When the game crashes, is it always the same fault offset? Is there an easy way the reproduce the crash?

whiskey
Recruit
Posts: 6
Joined: Thu Sep 24, 2020 9:29 pm

Post by whiskey » Tue Sep 29, 2020 8:47 pm

JeremyaFr wrote:
Sat Sep 26, 2020 3:15 pm
Hello,

Correct me if I'm wrong. When you disable the 32bpp and the d3d hooks, the game runs fine. And when one of them or both are enabled, then the game crashes.
That is correct. Right now, the game runs fine when both are disabled. Sorry for the delay, I'm trying to get enough data to be helpful, as the way that I was easily reproducing the crash is now only working intermittently. I'll report back when I have something more substantial.

EDIT: forgot to answer your other question...the only patches I had applied were the full XWAUCPv1.6 with the patch 1.0 directly after. After doing a clean install with only the XWAUCPv1.6 and NO patch 1.0 afterwards, things got better, and then I narrowed the last problems down to the two hooks I mentioned previously. No other patches or installs, and I haven't used Xwaexepatcher at all.

User avatar
JeremyaFr
XWAU Member
Posts: 3922
Joined: Mon Jan 18, 2010 5:52 pm
Contact:

Post by JeremyaFr » Wed Sep 30, 2020 5:06 pm

Hello,
Does it show the error message if you re-enter the hangar after the launch without completing the mission?

Dax
Cadet 4th Class
Posts: 18
Joined: Sat Apr 24, 2021 4:26 pm

Post by Dax » Thu Jul 01, 2021 2:08 am

I'm getting the same issue. Not sure if it's related to megapatch update 4, which I just downloaded... trying to start battle of endor. Downloading the ddraw file above allowed the mission to start, but there was no starfield--only green screen. Please advise.

Dax
Cadet 4th Class
Posts: 18
Joined: Sat Apr 24, 2021 4:26 pm

Post by Dax » Thu Jul 01, 2021 3:32 am

I uninstalled everything and re-installed up to megapatch update 3, thinking that would solve the problem. It did not. Now the game simply crashes when it tries to load the mission. Advice appreciated. I'd love to finish the game!

Post Reply