Lutris - err: DxvkMemoryAllocator: Memory allocation failed

Nikobelyk

New Member
Joined
Aug 19, 2021
Messages
6
Reaction score
0
Credits
73
Can anybody help me with this trouble?
I spent more than 10 hours to find any solution, but unsuccessful
Info:
Game: Dead Cells (Not from steam or gog)
Problem: After playing 1h game crashed (I entered new location), if i try to resume - game crashes again or just keeping loading screen
There is more than 5Gb free RAM, but game can't use it
Error log:
err: DxvkMemoryAllocator: Memory allocation failed
err: DxvkMemoryAllocator: Memory allocation failed
err: Size: 67174464
err: Alignment: 4096
err: Mem flags: 0x1
err: Mem types: 0x1
err: Heap 0: 1216 MB allocated, 990 MB used, 1239 MB allocated (driver), 1536 MB budget (driver), 1536 MB total

Error looped, i pasted repeating part
I found only "WINE_LARGE_ADDRESS_AWARE=1" and "echo $(( 1024 * 1024 )) | sudo tee /proc/sys/vm/min_free_kbytes" to solve this problem, but i'm new here, so i don't know where must i enter first command, second command is useless
I found mention of dxvk.conf file, but i can't find it in my system..

Wine version: lutris-fshack-6.14-3-x86_64
DXVX version (In lutris): v1.9.1L
Driver: xserver-xorg-video-nouveau (Version 1:1.0.16-1)
Graphical card: Nvidia NVS 5200M
Linux distro; Linux Mint 20.2
Device: Dell latitude E6430

P.S. installation Nvidia driver is useless
Decreasin DXVK version cause momental crash on Nvidia driver (v390) with error INTEL-MESA: warning: Ivy Bridge Vulkan support is incomplete

On xserver-xorg-video-nouveau driver problem stll exist but wit log (error not repeating):

err: DxvkMemoryAllocator: Memory allocation failed
err: Size: 67108864
err: Alignment: 16
err: Mem flags: 0x6
err: Mem types: 0x1
err: Heap 0: 1216 MB allocated, 1055 MB used, 1239 MB allocated (driver), 1536 MB budget (driver), 1536 MB total
err: Exception on CS thread!
err: DxvkMemoryAllocator: Memory allocation failed

If i disable DXVK in lurtis:

ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
ERROR: ld.so: object '/usr/$LIB/libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored.
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
MESA-INTEL: warning: Ivy Bridge Vulkan support is incomplete
wine: Read access denied for device L"\\??\\Z:\\", FS volume label and serial are not available.
Loading assets... Loading pak assets... done.
Steam init...
done.
X Error of failed request: GLXBadFBConfig
Major opcode of failed request: 152 (GLX)
Minor opcode of failed request: 0 ()
Serial number of failed request: 287
Current serial number in output stream: 287
Monitored process exited.
All monitored processes have exited.
Monitored process didn't return an exit code.
Exit with returncode 0
 
Last edited:


Brickwizard

Well-Known Member
Joined
Apr 28, 2021
Messages
2,655
Reaction score
1,756
Credits
19,876
welcome
I am not a gamer. But it may help our other members who are if you include your machine make/model and the linux distro you are using

Bwiz
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,776
Reaction score
3,431
Credits
34,774
I don't use Lutris myself, only Steam. However I would start with this.
Code:
Driver: xserver-xorg-video-nouveau (Version 1:1.0.16-1)
Install the Nvidia proprietary driver instead of using the nouveau driver, for gaming in most cases the nouveau driver isn't good enough. Also According to Lutris documentation you need the proprietary drivers.
 
OP
N

Nikobelyk

New Member
Joined
Aug 19, 2021
Messages
6
Reaction score
0
Credits
73
I don't use Lutris myself, only Steam. However I would start with this.
Code:
Driver: xserver-xorg-video-nouveau (Version 1:1.0.16-1)
Install the Nvidia proprietary driver instead of using the nouveau driver, for gaming in most cases the nouveau driver isn't good enough. Also According to Lutris documentation you need the proprietary drivers.
I tried this, but unsuccessful
I used all available drivers for my notebook, but problem still here..
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,776
Reaction score
3,431
Credits
34,774
I found only "WINE_LARGE_ADDRESS_AWARE=1" and "echo $(( 1024 * 1024 )) | sudo tee /proc/sys/vm/min_free_kbytes" to solve this problem, but i'm new here, so i don't know where must i enter first
You open a terminal from your menu or by right clicking on your desktop and then select open terminal. Then copy/paste both lines into your terminal screen.
Code:
WINE_LARGE_ADDRESS_AWARE=1"
echo $(( 1024 * 1024 )) | sudo tee /proc/sys/vm/min_free_kbytes"
 
OP
N

Nikobelyk

New Member
Joined
Aug 19, 2021
Messages
6
Reaction score
0
Credits
73
You open a terminal from your menu or by right clicking on your desktop and then select open terminal. Then copy/paste both lines into your terminal screen.
Code:
WINE_LARGE_ADDRESS_AWARE=1"
echo $(( 1024 * 1024 )) | sudo tee /proc/sys/vm/min_free_kbytes"
Unfortunately it useless to, same log, nothing changed
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,776
Reaction score
3,431
Credits
34,774
Looks like you need to add that line to your Lutris launch options for the game. So first run this in a terminal
Code:
echo $(( 1024 * 1024 )) | sudo tee /proc/sys/vm/min_free_kbytes
Then add the line you found before to the game launch options in Lutris of the game you are trying to run.
Code:
WINE_LARGE_ADDRESS_AWARE=1
Then try running the game again.
 
OP
N

Nikobelyk

New Member
Joined
Aug 19, 2021
Messages
6
Reaction score
0
Credits
73
Looks like you need to add that line to your Lutris launch options for the game. So first run this in a terminal
Code:
echo $(( 1024 * 1024 )) | sudo tee /proc/sys/vm/min_free_kbytes
Then add the line you found before to the game launch options in Lutris of the game you are trying to run.
Code:
WINE_LARGE_ADDRESS_AWARE=1
Then try running the game again.
Is it "Arguments"? If is - that's useless too
Or where is that field for WINE_LARGE_ADDRESS_AWARE=1 ?
 

Attachments

  • Screenshot at 2021-08-20 20-13-21.png
    Screenshot at 2021-08-20 20-13-21.png
    28.1 KB · Views: 194
  • Screenshot at 2021-08-20 20-15-27.png
    Screenshot at 2021-08-20 20-15-27.png
    29.9 KB · Views: 204

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,776
Reaction score
3,431
Credits
34,774
Yes that, I would advise you to make a post on the lutris forums they will be able to help you out better.
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
4,776
Reaction score
3,431
Credits
34,774
Well, i'll ask there too, thanks for apttempts
I don't use Lutris myself so that's all I know about Lutris and there are not many users here that use Lutris here. You will have more chance of your problem getting solved there, someone else here that uses Lutris may still respond.
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation


Top