protonscr

Unified Memory Architecture (UMA)

dxvkclosed d3d9needs more info
doitsujin/dxvk#4362 · opened 2024-10-14 by DocMAX · updated 2024-10-14 · 6 comments · github
1 matching comments, n / p to jump
DDocMAX 2024-10-14 github

Getting:

Okt 14 13:47:56 gpdwin4 wine[31672]: 0748:fixme:vulkan:NtGdiDdDDIOpenAdapterFromHdc (0x2f7ef10): stub
Okt 14 13:47:56 gpdwin4 wine[31672]: info:  Presenter: Actual swap chain properties:
Okt 14 13:47:56 gpdwin4 wine[31672]: info:    Format:       VK_FORMAT_B8G8R8A8_UNORM
Okt 14 13:47:56 gpdwin4 wine[31672]: info:    Color space:  VK_COLOR_SPACE_SRGB_NONLINEAR_KHR
Okt 14 13:47:56 gpdwin4 wine[31672]: info:    Present mode: VK_PRESENT_MODE_IMMEDIATE_KHR (dynamic: yes)
Okt 14 13:47:56 gpdwin4 wine[31672]: info:    Buffer size:  1920x1080
Okt 14 13:47:56 gpdwin4 wine[31672]: info:    Image count:  4
Okt 14 13:47:56 gpdwin4 wine[31672]: info:    Exclusive FS: 0
Okt 14 13:47:56 gpdwin4 wine[31672]: info:  DXVK: Using 16 compiler threads
Okt 14 13:48:12 gpdwin4 wine[31672]: 0748:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 00fd0000
Okt 14 13:48:12 gpdwin4 wine[31672]: 0748:err:virtual:allocate_virtual_memory out of memory for allocation, base (nil) size 007e8000
Okt 14 13:48:12 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 51712320
Okt 14 13:48:12 gpdwin4 wine[31672]: err:   D3D9: InitTexture: map failed
Okt 14 13:48:12 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 54918336
Okt 14 13:48:12 gpdwin4 wine[31672]: err:   D3D9: InitTexture: map failed
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 56737344
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   D3D9: InitTexture: map failed
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 57785920, Msg: Not enough memory.
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 57785920, Msg: Not enough memory.
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 64105152
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   D3D9: InitTexture: map failed
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 65153728, Msg: Not enough memory.
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 65153728, Msg: Not enough memory.
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 66336448, Msg: Not enough memory.
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 66336448, Msg: Not enough memory.
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 68087232, Msg: Not enough memory.
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 68087232, Msg: Not enough memory.
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 69532288
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   D3D9: InitTexture: map failed
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 71305088, Msg: Not enough memory.
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 71305088, Msg: Not enough memory.
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 74148800
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   D3D9: InitTexture: map failed
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 75550656, Msg: Not enough memory.
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   Mapping non-persisted file failed: 8, Mapped memory: 79770624
Okt 14 13:48:13 gpdwin4 wine[31672]: err:   D3D9: InitTexture: map failed
Okt 14 13:48:13 gpdwin4 wine[31672]: wine: Unhandled page fault on write access to 00006400 at address 7B2C59F0 (thread 0770), starting debugger...

I'm not sure if DXVK has anything to do with it, but is it possible to use UMA Memory for providing more memory to the game?

WWinterSnowfall 2024-10-14 github

It's not really a choice if you use UMA or not, it's a characteristic of your GPU architecture. Or more precisely, your iGPU, since these will be predominantly on UMA.

Please fill in the issue template and let us know at least:
a) What the game is
b) What your GPU is
c) What drivers and dxvk version you are using
d) Your OS

KK0bin maintainer 2024-10-14 github

Okt 14 13:48:12 gpdwin4 wine[31672]: err: Mapping non-persisted file failed: 8, Mapped memory: 51712320
Okt 14 13:48:12 gpdwin4 wine[31672]: err: D3D9: InitTexture: map failed

It may be counter intuitive but this memory has nothing to do with the GPU anyway. Not on UMA and not on systems with discrete GPUs either. You're either simply out of memory or out of address space. As Winter already points out, we need more information.

DDocMAX 2024-10-14 github

Ok, thanks. Here is the info:

a) What the game is
Race Driver GRID (from 2008, GOG Version)

b) What your GPU is
It's a AMD 6800U APU on a handheld (GPD WIN 4)

c) What drivers and dxvk version you are using
DXVK: v2.4.1-184-gf65897be4
wine-9.19

d) Your OS
Running on Arch Linux and using steam ui + gamescope.

I did not test it yet but i am pretty sure chaning GPU memory size in BIOS will fix this (it's currently on AUTO)

WWinterSnowfall 2024-10-14 github

GRID is known to be borderline on memory use, being a 32-bit executable. It doesn't even start without the LAA flag applied. Proton applies it for you by default, but on Wine/Wine Staging you have to do that yourself, using stuff like the "4GB Patch".

DDocMAX 2024-10-14 github

Ah, thank you very much. I will do my research.

DDocMAX 2024-10-14 github

I am impressed. Proton GE works. I just had to install OpenAI for audio. FIXED

Nothing extracted yet.