XWA can't see my GPU

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

XWA can't see my GPU

User avatar
Giammafix
Recruit
Posts: 7
Joined: Sat Dec 31, 2022 5:22 pm

Post by Giammafix » Sat Dec 31, 2022 5:30 pm

Hello everyone, I've been following this amazing project from years. Unfortunately, after trying to play the GOG version of the game, it keeps me returning the error of insufficient memory to complete the operation.
The problem is, I have tried everything, installing the new patches like in the instructions, installing the xwa_ddraw_d3d11.1.3.29 (the newest). After uninstalling everything and reinstalling the game (vanilla, with no mods) it appears that it's the game itself which won't recognize my gpu. My guess is that the insufficient resources error depends on the fact that the game is trying to use the integrated graphic card of my pc (like in the screen) and no matter what I can't select it in the video options, not even after trying the patches and the ddraw.
Every time the ship is being launched or returns to the hangar, the game freezes and crashes.
My pc has pretty good specs (processor I7-10700k, gpu nvidia RTX 3060 with 12 gb) so the only thing I can think of is the impossibility to select the proper graphic card to run the game.
Running on Windows 10.
Would really appreciate the help, thank you!
You do not have the required permissions to view the files attached to this post.
This is the way

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

Post by Ace Antilles » Sat Dec 31, 2022 6:32 pm

I believe I read somewhere you can force a game to recognise the GFX from the Nvidia control panel settings.
Maybe in one of the profiles?
Chief XWAU Team annoying nitpicker.
Ace Antilles - The X-Wing Outpost
Image

User avatar
Giammafix
Recruit
Posts: 7
Joined: Sat Dec 31, 2022 5:22 pm

Post by Giammafix » Sat Dec 31, 2022 6:46 pm

Ace Antilles wrote:
Sat Dec 31, 2022 6:32 pm
I believe I read somewhere you can force a game to recognise the GFX from the Nvidia control panel settings.
Maybe in one of the profiles?
Hello, thanks for the help.
I have tried that way too, reading it from an old thread. Unfortunately it appears that my game still uses the integrated graphic cards, this is the option I have selected
You do not have the required permissions to view the files attached to this post.
This is the way

User avatar
Giammafix
Recruit
Posts: 7
Joined: Sat Dec 31, 2022 5:22 pm

Post by Giammafix » Sat Dec 31, 2022 6:53 pm

ps: I don't know if it may be relevant, but I'm running DirectX 12
This is the way

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

Post by Ace Antilles » Sat Dec 31, 2022 9:17 pm

Giammafix wrote:
Sat Dec 31, 2022 6:53 pm
ps: I don't know if it may be relevant, but I'm running DirectX 12
Have you set it to point to xwalliance.exe (maybe wrong name) and not the alliance launcher?
Chief XWAU Team annoying nitpicker.
Ace Antilles - The X-Wing Outpost
Image

User avatar
m0rgg
XWAU Member
Posts: 266
Joined: Wed Apr 01, 2020 10:33 pm

Post by m0rgg » Sat Dec 31, 2022 9:32 pm

As a last resort you may disable the integrated GPU in the BIOS.

User avatar
Giammafix
Recruit
Posts: 7
Joined: Sat Dec 31, 2022 5:22 pm

Post by Giammafix » Sat Dec 31, 2022 9:59 pm

Ace Antilles wrote:
Sat Dec 31, 2022 9:17 pm
Giammafix wrote:
Sat Dec 31, 2022 6:53 pm
ps: I don't know if it may be relevant, but I'm running DirectX 12
Have you set it to point to xwalliance.exe (maybe wrong name) and not the alliance launcher?
yes the name is correct, I also tried to set it to point to that .exe (though I have also applied the gpu as standard option for all the programs)
This is the way

User avatar
Giammafix
Recruit
Posts: 7
Joined: Sat Dec 31, 2022 5:22 pm

Post by Giammafix » Sat Dec 31, 2022 10:00 pm

m0rgg wrote:
Sat Dec 31, 2022 9:32 pm
As a last resort you may disable the integrated GPU in the BIOS.
perhaps the only option to try and force the game to see only the dedicated gpu, I'll try it

UPDATE: now the game is only able to see the microsoft basic render device...
This is the way

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

Post by JeremyaFr » Sun Jan 01, 2023 5:12 pm

Hello,
In your screenshot, you have set the GPU for OpenGL. XWA uses DirectX.

With the new Alliance.exe launcher, before the game is launched, the environment variable "SHIM_MCCOMPAT" is set to "0x800000001" to force the dedicated GPU.

User avatar
Giammafix
Recruit
Posts: 7
Joined: Sat Dec 31, 2022 5:22 pm

Post by Giammafix » Sun Jan 01, 2023 5:44 pm

JeremyaFr wrote:
Sun Jan 01, 2023 5:12 pm
Hello,
In your screenshot, you have set the GPU for OpenGL. XWA uses DirectX.

With the new Alliance.exe launcher, before the game is launched, the environment variable "SHIM_MCCOMPAT" is set to "0x800000001" to force the dedicated GPU.
hello jeremya, thanks I understand now.
I have downloaded the last xwa patch though, my nvidia options don't select DirectX in the control panel.
it's not clear to me yet how do I solve the issue?
should I manually set it somewhere?
This is the way

User avatar
Giammafix
Recruit
Posts: 7
Joined: Sat Dec 31, 2022 5:22 pm

Post by Giammafix » Sun Jan 01, 2023 7:20 pm

Update: I have solved the issue by following these instructions
https://www.addictivetips.com/windows-t ... u-windows/


Open the Settings app and go to the System group of settings.
Select the Display tab and scroll down.
Click the ‘Graphic Settings‘ option.
On the Graphics Settings screen, open the ‘Choose an app to set preference‘ dropdown.
Select the type of app you want to set the GPU use for; Classic app for desktop apps, and Universal app for UWP or Store apps.

Once selected, click the Browse button and select the app. Click the ‘Options‘ button under the app once it has been added.
In the window that opens, select ‘High Performance‘ and click ‘Save‘.

this worked for me finally
This is the way

Post Reply