War Thunder crashs "Out of memory" - Nvidia GTX 1050 2gb

Partially solved, I found a solution.
In summary: Intel iGPU as the primary GPU (UEFI settings), Nvidia proprietary drivers (drivers), and the appropriate game anti-aliasing method (game settings).

Detail:

  1. I performed a clean installation from scratch, enabling Nvidia’s proprietary drivers because in the previous installation, I had already tinkered with pacman and ended up making a mess—I no longer knew what I had done.
    PS: If you could teach me how to handle these kinds of situations in a response, I would appreciate it. Is there any way to revert to a ‘point’ before I started installing things haphazardly?

  2. I went to the Garuda Settings Manager and set the video drivers like this:
    PS: I have configured the iGPU(Mesa Intel® UHD Graphics 630) as the primary GPU in the UEFI settings.This is very important because when the primary GPU was the dedicated one (Nvidia), the game kept closing.

  3. Download and install the game.

  4. Choosing the anti-aliasing method ‘off’ or FXAA LQ (War Thunder lets you choose from 5 anti-aliasing options).
    PS: This configuration turned out to be critical for achieving the result.

    Other configurations like rendering distance or shadows didn’t have an effect. However, if I try to change the settings while playing or when the VRAM is at its limit, the game crashes. The next time I open the game, it works very well with that configuration set. The issue is that if the configuration is set while the VRAM is at its limit, it crashes because it doesn’t recognize something properly and tries to request memory where there is none before ‘making space’.

With these changes, I can play as much as I want without the game crashing.

Update: The game keeps closing :laughing:
The game still crashes if I choose a slightly demanding graphics configuration.
There’s poor video memory management or control somewhere.

Because you probably (:crystal_ball:) used DirectX.

This is nothing new in native War Thunder: Community Bug Reporting System
Take a look at the link on the right under “Similar issues”.


If I were you, I would install Steam - the game is free to play and available there. Or you can install another game launcher, e.g. heroic or bottles and add it manually there.

Then try this:

By DirectX API I mean DXVK.


FYI: since this is exclusively about War Thunder, I renamed the topic and moved it to the correct category.

2 Likes

You can always check /var/log/pacman.log to see what has been installed or uninstalled.

I don’t use snapshots, so I don’t know much about them. But I’d be surprised if you couldn’t take a snapshot of the current system and revert to it at any time.

2 Likes

IIRC, Installing any new package makes a snapshot of that point in system as well as installing any packages before make a snapshot of that respective point in the system as well.

Reboot, select snapshots in the GRUB menu and select a prior one, data might be lost if you did some work between the two points in time (for package installs)

You sure you are using correct runner inside steam? Use linux scout 1.0 and check

I was using lutris for war thunder, and it was really bad experience, best working through steam

You want to make sure to go into btrfs assistant and tweak how many snapshots you want to keep and how many it should take. Or it doesn’t take that many and clears them out pretty quickly.
I always recommend once a month or before you go and attempt to do some tinkering to take a manual snapshot because they don’t get deleted

Update! Solved.
Memory leak from War Thunder, nothing to do.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.