-
Notifications
You must be signed in to change notification settings - Fork 90
VK_ERROR_OUT_OF_DEVICE_MEMORY when starting #22
Comments
I'm also experiencing this problem my GPU is a AMD RX 570 8GB, don't know if this is the problems but VRAM size on the console shows as -1. |
Try to run with r_vkDeviceLocalMemoryMB set to higher value than default one (128), e.g. It works for me, but in my case the memory seems to be exhausted earlier (when the depth buffer is being created). This problem is related to VK allocator default block size for device local allocations. |
Thanks for the hint but in my case it unfortunately didn't worked. |
Same issue on a AMD Radeon Vega 56, Vulkan API v1.1.101 , Windows 10. Using parameter Tried with vkdoom3 0.90 - 0.93. Not sure how I could manually test older Vulkan versions without downgrading my graphics driver. Another update: I just tried several vulkan-1.dll runtime files put inside of the doom binary directory, old ones from ~ mid 2017 (to best match date of latest vkdoom release) and they definitely register during launch since I get a different error when i use the wrong one of the 32bit & 64bit ones in the VulkanRT package from their website. |
I also see this issue on an AMD RX 560. Does an API Dump help? |
Yeah I have this issue too, no idea why my radeon vii is failing on a 64MB allocate. Doom2016 runs great. |
Wait fellas, just use the amd allocator and it works. |
@LWSS sry. what did you exactly do? I dont unterstand |
while ur compiling it, there's a definition to use the amd allocator |
I'm using the pre-compiled exes, i'm not a coder so I don't know how to
compile them.
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
Sem
vírus. www.avast.com
<https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=webmail>
<#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
LWSS <notifications@github.com> escreveu no dia segunda, 14/10/2019 à(s)
18:28:
… while ur compiling it, there's a definition to use the amd allocator
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#22?email_source=notifications&email_token=ALMJ2GM7ZBVENUIIXJINRDDQOST3HA5CNFSM4GX4CAG2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBFWAKY#issuecomment-541810731>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALMJ2GPMXR5R7MUB477ODJDQOST3HANCNFSM4GX4CAGQ>
.
|
Can you expand on this a bit please? |
@HMart81 @VVSRwastaken |
Thank you for reminding me to read the instructions but the problem is not about building the solution; it's the "select the configuration for using amd allocator during before compile starts" part that I need clarification on, because I see nothing regarding this in my configuration manager and there's no "allocator" mentioned the readme. If I take a look at the "Allocator_VK.cpp" code I see something related to "ID_USE_AMD_ALLOCATOR" but I have no clue what to do about it and since you haven't mentioned anything about the code I guess I'm looking at the wrong way |
if you look at the VStudio project files in ..vkDOOM3/blob/master/neo/ *.vcxproj |
Is this the line you're referring to?
Looking at your first reference this should be set correctly but I dont get the other part; how is this vma.cpp a configuration file? I'm looking through the engine property pages but nothing points at a .cpp file being some sort of configuration By the way I'm using VS2019 (with 2015 assets to load the project) so maybe there's something different that I can't figure out |
Uncommenting #define ID_USE_AMD_ALLOCATOR in qvk.h solved the problem, I had the suspect you had no clue what you were talking about and I guess I was right |
Black screen and then...
This is using v0.93.0 on Windows. What could be wrong?
The text was updated successfully, but these errors were encountered: