protonscr

Memory dump issue and slowly CTD upon travelling to a number of cells in game worldspace

dxvkclosed
doitsujin/dxvk#2026 · opened 2021-04-17 by Juzu1234 · updated 2025-05-23 · 25 comments · github
5 matching comments, n / p to jump
JJuzu1234 2021-04-17 github

Please describe your issue as accurately as possible. If you run into a problem with a binary release, make sure to test with latest master as well.

Ok running Skyrim SE with vulkan - success. Running skyrim se with enb graphics via proxy - success. Problem is the memory allocator which is meant to dump memory upon travelling to new cells. This allow for freeing up memory and then allowing the freed up momory to be used to load new cell. Upon travelling the memory just keeps more or less climbing and therefore the end result being CTD. Is there any way to fix this via any setting.

Important: When reporting an issue with a specific game or application, such as crashes or rendering issues, please include log files and, if possible, a D3D11/D3D9 Apitrace (see https://github.com/apitrace/apitrace) so that the issue can be reproduced.
In order to create a trace for D3D11/D3D10: Run wine apitrace.exe trace -a dxgi YOURGAME.exe.
In order to create a trace for D3D9: Follow https://github.com/Joshua-Ashton/d9vk/wiki/Making-a-Trace.
Preferably record the trace on Windows, or wined3d if possible.

Reports with no log files will be ignored.

Software information

Name of the game, settings used etc.

System information

  • GPU:Nvidia RTX2070 Super 8gb
  • Driver:Latest
  • Wine version: Do not know
  • DXVK version: Latest

Apitrace file(s)

  • I do not have one

Log files

  • d3d9.log:skse64 plugin preloader - d3dx9_42
    exe path: C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\SkyrimSE.exe
    loaded into SkyrimSE.exe or SkyrimVR.exe, proxying SkyrimSE d3dx9_42 funcs and registering preload hook
    success
    hook triggered, loading skse plugins
    found plugin "EngineFixes" for preloading
    attempting to load found plugins
    attempting to load "C:\Program Files (x86)\Steam\steamapps\common\Skyrim Special Edition\Data\SKSE\Plugins\EngineFixes.dll"
    loaded successfully and Initialize() called
    loader finished

  • d3d11.log:info: D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
    info: D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
    info: Device properties:
    info: Device name: : NVIDIA GeForce RTX 2070 SUPER
    info: Driver version : 466.11.0
    info: Enabled device extensions:
    info: VK_EXT_4444_formats
    info: VK_EXT_custom_border_color
    info: VK_EXT_depth_clip_enable
    info: VK_EXT_extended_dynamic_state
    info: VK_EXT_full_screen_exclusive
    info: VK_EXT_host_query_reset
    info: VK_EXT_memory_priority
    info: VK_EXT_robustness2
    info: VK_EXT_shader_demote_to_helper_invocation
    info: VK_EXT_shader_viewport_index_layer
    info: VK_EXT_transform_feedback
    info: VK_EXT_vertex_attribute_divisor
    info: VK_KHR_create_renderpass2
    info: VK_KHR_depth_stencil_resolve
    info: VK_KHR_draw_indirect_count
    info: VK_KHR_driver_properties
    info: VK_KHR_image_format_list
    info: VK_KHR_sampler_mirror_clamp_to_edge
    info: VK_KHR_shader_float_controls
    info: VK_KHR_swapchain
    info: Device features:
    info: robustBufferAccess : 1
    info: fullDrawIndexUint32 : 1
    info: imageCubeArray : 1
    info: independentBlend : 1
    info: geometryShader : 1
    info: tessellationShader : 1
    info: sampleRateShading : 1
    info: dualSrcBlend : 1
    info: logicOp : 1
    info: multiDrawIndirect : 1
    info: drawIndirectFirstInstance : 1
    info: depthClamp : 1
    info: depthBiasClamp : 1
    info: fillModeNonSolid : 1
    info: depthBounds : 1
    info: multiViewport : 1
    info: samplerAnisotropy : 1
    info: textureCompressionBC : 1
    info: occlusionQueryPrecise : 1
    info: pipelineStatisticsQuery : 1
    info: vertexPipelineStoresAndAtomics : 0
    info: fragmentStoresAndAtomics : 1
    info: shaderImageGatherExtended : 1
    info: shaderStorageImageExtendedFormats : 1
    info: shaderStorageImageReadWithoutFormat : 1
    info: shaderStorageImageWriteWithoutFormat : 1
    info: shaderClipDistance : 1
    info: shaderCullDistance : 1
    info: shaderFloat64 : 1
    info: shaderInt64 : 1
    info: variableMultisampleRate : 1
    info: VK_EXT_4444_formats
    info: formatA4R4G4B4 : 1
    info: formatA4B4G4R4 : 1
    info: VK_EXT_custom_border_color
    info: customBorderColors : 1
    info: customBorderColorWithoutFormat : 1
    info: VK_EXT_depth_clip_enable
    info: depthClipEnable : 1
    info: VK_EXT_extended_dynamic_state
    info: extendedDynamicState : 1
    info: VK_EXT_host_query_reset
    info: hostQueryReset : 1
    info: VK_EXT_memory_priority
    info: memoryPriority : 1
    info: VK_EXT_robustness2
    info: robustBufferAccess2 : 1
    info: robustImageAccess2 : 1
    info: nullDescriptor : 1
    info: VK_EXT_shader_demote_to_helper_invocation
    info: shaderDemoteToHelperInvocation : 1
    info: VK_EXT_transform_feedback
    info: transformFeedback : 1
    info: geometryStreams : 1
    info: VK_EXT_vertex_attribute_divisor
    info: vertexAttributeInstanceRateDivisor : 1
    info: vertexAttributeInstanceRateZeroDivisor : 1
    info: Queue families:
    info: Graphics : 0
    info: Transfer : 1
    warn: D3D11CreateDevice: Unsupported driver type
    info: D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_1
    info: D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_1
    info: Device properties:
    info: Device name: : NVIDIA GeForce RTX 2070 SUPER
    info: Driver version : 466.11.0
    info: Enabled device extensions:
    info: VK_EXT_4444_formats
    info: VK_EXT_custom_border_color
    info: VK_EXT_depth_clip_enable
    info: VK_EXT_extended_dynamic_state
    info: VK_EXT_full_screen_exclusive
    info: VK_EXT_host_query_reset
    info: VK_EXT_memory_priority
    info: VK_EXT_robustness2
    info: VK_EXT_shader_demote_to_helper_invocation
    info: VK_EXT_shader_viewport_index_layer
    info: VK_EXT_transform_feedback
    info: VK_EXT_vertex_attribute_divisor
    info: VK_KHR_create_renderpass2
    info: VK_KHR_depth_stencil_resolve
    info: VK_KHR_draw_indirect_count
    info: VK_KHR_driver_properties
    info: VK_KHR_image_format_list
    info: VK_KHR_sampler_mirror_clamp_to_edge
    info: VK_KHR_shader_float_controls
    info: VK_KHR_swapchain
    info: Device features:
    info: robustBufferAccess : 1
    info: fullDrawIndexUint32 : 1
    info: imageCubeArray : 1
    info: independentBlend : 1
    info: geometryShader : 1
    info: tessellationShader : 1
    info: sampleRateShading : 1
    info: dualSrcBlend : 1
    info: logicOp : 1
    info: multiDrawIndirect : 1
    info: drawIndirectFirstInstance : 1
    info: depthClamp : 1
    info: depthBiasClamp : 1
    info: fillModeNonSolid : 1
    info: depthBounds : 1
    info: multiViewport : 1
    info: samplerAnisotropy : 1
    info: textureCompressionBC : 1
    info: occlusionQueryPrecise : 1
    info: pipelineStatisticsQuery : 1
    info: vertexPipelineStoresAndAtomics : 1
    info: fragmentStoresAndAtomics : 1
    info: shaderImageGatherExtended : 1
    info: shaderStorageImageExtendedFormats : 1
    info: shaderStorageImageReadWithoutFormat : 1
    info: shaderStorageImageWriteWithoutFormat : 1
    info: shaderClipDistance : 1
    info: shaderCullDistance : 1
    info: shaderFloat64 : 1
    info: shaderInt64 : 1
    info: variableMultisampleRate : 1
    info: VK_EXT_4444_formats
    info: formatA4R4G4B4 : 1
    info: formatA4B4G4R4 : 1
    info: VK_EXT_custom_border_color
    info: customBorderColors : 1
    info: customBorderColorWithoutFormat : 1
    info: VK_EXT_depth_clip_enable
    info: depthClipEnable : 1
    info: VK_EXT_extended_dynamic_state
    info: extendedDynamicState : 1
    info: VK_EXT_host_query_reset
    info: hostQueryReset : 1
    info: VK_EXT_memory_priority
    info: memoryPriority : 1
    info: VK_EXT_robustness2
    info: robustBufferAccess2 : 1
    info: robustImageAccess2 : 1
    info: nullDescriptor : 1
    info: VK_EXT_shader_demote_to_helper_invocation
    info: shaderDemoteToHelperInvocation : 1
    info: VK_EXT_transform_feedback
    info: transformFeedback : 1
    info: geometryStreams : 1
    info: VK_EXT_vertex_attribute_divisor
    info: vertexAttributeInstanceRateDivisor : 1
    info: vertexAttributeInstanceRateZeroDivisor : 1
    info: Queue families:
    info: Graphics : 0
    info: Transfer : 1
    info: DXVK: Read 4825 valid state cache entries
    info: DXVK: Using 16 compiler threads
    info: DXVK: Read 4825 valid state cache entries
    info: DXVK: Using 16 compiler threads
    info: Presenter: Actual swap chain properties:
    info: Format: VK_FORMAT_B8G8R8A8_UNORM
    info: Present mode: VK_PRESENT_MODE_MAILBOX_KHR
    info: Buffer size: 1920x1080
    info: Image count: 3
    info: Exclusive FS: 1
    info: Presenter: Actual swap chain properties:
    info: Format: VK_FORMAT_B8G8R8A8_UNORM
    info: Present mode: VK_PRESENT_MODE_MAILBOX_KHR
    info: Buffer size: 1920x1080
    info: Image count: 3
    info: Exclusive FS: 1
    warn: D3D11Device::CreateShaderModule: Class linkage not supported
    err: D3D11RasterizerState: Antialiased lines not supported
    err: DxvkMemoryAllocator: Memory allocation failed
    err: Size: 89480704
    err: Alignment: 1024
    err: Mem flags: 0x1
    err: Mem types: 0x3
    err: Heap 0: 7454 MB allocated, 7368 MB used, 22967 MB allocated (driver), 7243 MB budget (driver), 8011 MB total
    err: Heap 1: 15306 MB allocated, 14991 MB used, 328 MB allocated (driver), 15581 MB budget (driver), 16349 MB total
    err: Heap 2: 43 MB allocated, 40 MB used, 44 MB allocated (driver), 169 MB budget (driver), 214 MB total
    err: DxvkMemoryAllocator: Memory allocation failed
    err: DxvkMemoryAllocator: Memory allocation failed
    err: Size: 89480704
    err: Alignment: 1024
    err: Mem flags: 0x1
    err: Mem types: 0x3
    err: Heap 0: 7454 MB allocated, 7368 MB used, 22967 MB allocated (driver), 7243 MB budget (driver), 8011 MB total
    err: Heap 1: 15306 MB allocated, 14991 MB used, 328 MB allocated (driver), 15581 MB budget (driver), 16349 MB total
    err: Heap 2: 43 MB allocated, 40 MB used, 44 MB allocated (driver), 169 MB budget (driver), 214 MB total
    err: DxvkMemoryAllocator: Memory allocation failed

  • dxgi.log:info: Game: SkyrimSE.exe
    info: DXVK: v1.8.1-async
    info: Found config file: dxvk.conf
    info: Effective configuration:
    info: dxvk.hud = full,scale=.8
    info: dxvk.useEarlyDiscard = Auto
    info: dxvk.useRawSsbo = Auto
    info: dxvk.numCompilerThreads = 16
    info: dxvk.halveNvidiaHVVHeap = Auto
    info: d3d11.enableRtOutputNanFixup = False
    info: d3d11.invariantPosition = True
    info: d3d11.zeroWorkgroupMemory = True
    info: d3d11.samplerAnisotropy = 16
    info: d3d11.relaxedBarriers = False
    info: d3d11.maxFeatureLevel = 11_1
    info: dxgi.syncInterval = 0
    info: dxgi.maxFrameLatency = 0
    info: dxvk.enableOpenVR = False
    info: dxgi.maxSharedMemory = 0
    info: dxgi.customDeviceId = 0000
    info: dxgi.customVendorId = 0000
    info: dxgi.deferSurfaceCreation = True
    info: dxgi.numBackBuffers = 0
    info: dxgi.maxDeviceMemory = 0
    info: d3d11.maxTessFactor = 64
    info: dxgi.tearFree = True
    info: d3d11.constantBufferRangeCheck = False
    info: dxgi.nvapiHack = True
    info: d3d11.dcSingleUseMode = False
    info: Built-in extension providers:
    info: Win32 WSI
    info: OpenXR
    info: Enabled instance extensions:
    info: VK_KHR_get_surface_capabilities2
    info: VK_KHR_surface
    info: VK_KHR_win32_surface
    info: NVIDIA GeForce RTX 2070 SUPER:
    info: Driver: 466.11.0
    info: Vulkan: 1.2.168
    info: Memory Heap[0]:
    info: Size: 8011 MiB
    info: Flags: 0x1
    info: Memory Type[1]: Property Flags = 0x1
    info: Memory Heap[1]:
    info: Size: 16349 MiB
    info: Flags: 0x0
    info: Memory Type[0]: Property Flags = 0x0
    info: Memory Type[2]: Property Flags = 0x6
    info: Memory Type[3]: Property Flags = 0xe
    info: Memory Heap[2]:
    info: Size: 214 MiB
    info: Flags: 0x1
    info: Memory Type[4]: Property Flags = 0x7
    info: Game: SkyrimSE.exe
    info: DXVK: v1.8.1-async
    info: Found config file: dxvk.conf
    info: Effective configuration:
    info: dxvk.hud = full,scale=.8
    info: dxvk.useEarlyDiscard = Auto
    info: dxvk.useRawSsbo = Auto
    info: dxvk.numCompilerThreads = 16
    info: dxvk.halveNvidiaHVVHeap = Auto
    info: d3d11.enableRtOutputNanFixup = False
    info: d3d11.invariantPosition = True
    info: d3d11.zeroWorkgroupMemory = True
    info: d3d11.samplerAnisotropy = 16
    info: d3d11.relaxedBarriers = False
    info: d3d11.maxFeatureLevel = 11_1
    info: dxgi.syncInterval = 0
    info: dxgi.maxFrameLatency = 0
    info: dxvk.enableOpenVR = False
    info: dxgi.maxSharedMemory = 0
    info: dxgi.customDeviceId = 0000
    info: dxgi.customVendorId = 0000
    info: dxgi.deferSurfaceCreation = True
    info: dxgi.numBackBuffers = 0
    info: dxgi.maxDeviceMemory = 0
    info: d3d11.maxTessFactor = 64
    info: dxgi.tearFree = True
    info: d3d11.constantBufferRangeCheck = False
    info: dxgi.nvapiHack = True
    info: d3d11.dcSingleUseMode = False
    info: Built-in extension providers:
    info: Win32 WSI
    info: OpenXR
    info: Enabled instance extensions:
    info: VK_KHR_get_surface_capabilities2
    info: VK_KHR_surface
    info: VK_KHR_win32_surface
    info: NVIDIA GeForce RTX 2070 SUPER:
    info: Driver: 466.11.0
    info: Vulkan: 1.2.168
    info: Memory Heap[0]:
    info: Size: 8011 MiB
    info: Flags: 0x1
    info: Memory Type[1]: Property Flags = 0x1
    info: Memory Heap[1]:
    info: Size: 16349 MiB
    info: Flags: 0x0
    info: Memory Type[0]: Property Flags = 0x0
    info: Memory Type[2]: Property Flags = 0x6
    info: Memory Type[3]: Property Flags = 0xe
    info: Memory Heap[2]:
    info: Size: 214 MiB
    info: Flags: 0x1
    info: Memory Type[4]: Property Flags = 0x7
    info: Game: SkyrimSE.exe
    info: DXVK: v1.8.1-async
    info: Found config file: dxvk.conf
    info: Effective configuration:
    info: dxvk.hud = full,scale=.8
    info: dxvk.useEarlyDiscard = Auto
    info: dxvk.useRawSsbo = Auto
    info: dxvk.numCompilerThreads = 16
    info: dxvk.halveNvidiaHVVHeap = Auto
    info: d3d11.enableRtOutputNanFixup = False
    info: d3d11.invariantPosition = True
    info: d3d11.zeroWorkgroupMemory = True
    info: d3d11.samplerAnisotropy = 16
    info: d3d11.relaxedBarriers = False
    info: d3d11.maxFeatureLevel = 11_1
    info: dxgi.syncInterval = 0
    info: dxgi.maxFrameLatency = 0
    info: dxvk.enableOpenVR = False
    info: dxgi.maxSharedMemory = 0
    info: dxgi.customDeviceId = 0000
    info: dxgi.customVendorId = 0000
    info: dxgi.deferSurfaceCreation = True
    info: dxgi.numBackBuffers = 0
    info: dxgi.maxDeviceMemory = 0
    info: d3d11.maxTessFactor = 64
    info: dxgi.tearFree = True
    info: d3d11.constantBufferRangeCheck = False
    info: dxgi.nvapiHack = True
    info: d3d11.dcSingleUseMode = False
    info: Built-in extension providers:
    info: Win32 WSI
    info: OpenXR
    info: Enabled instance extensions:
    info: VK_KHR_get_surface_capabilities2
    info: VK_KHR_surface
    info: VK_KHR_win32_surface
    info: NVIDIA GeForce RTX 2070 SUPER:
    info: Driver: 466.11.0
    info: Vulkan: 1.2.168
    info: Memory Heap[0]:
    info: Size: 8011 MiB
    info: Flags: 0x1
    info: Memory Type[1]: Property Flags = 0x1
    info: Memory Heap[1]:
    info: Size: 16349 MiB
    info: Flags: 0x0
    info: Memory Type[0]: Property Flags = 0x0
    info: Memory Type[2]: Property Flags = 0x6
    info: Memory Type[3]: Property Flags = 0xe
    info: Memory Heap[2]:
    info: Size: 214 MiB
    info: Flags: 0x1
    info: Memory Type[4]: Property Flags = 0x7
    warn: DXGI: MakeWindowAssociation: Ignoring flags

Ddoitsujin maintainer 2021-04-18 github

which memory allocator are you talking about?

JJuzu1234 2021-04-18 github

I am trying to use the vulkan amd asynchronous wrapper for skyrim se. It seems to work but when playing the game the three allocated heap memory partitions do not seem to dump the loaded memory upon leaving an environment and loading a new cell. Normally without the vulcan wrapper installed this happens but this issue is present when installed. I also went one step further and made the vulcan wrapper successfully work with enb by adding a proxy in the enblocal.ini thus renaming the vulcan d3d11.dll to a different name then placing the enb named d3d11.dll in the root folder. Game only currently fires up with the enb plugin for linux and not windows. Tried the windows endorsed plugin but game crashes and doesnt load. Currently in the process to try and load different windows endorsed versions of enb d3d11.dll plugin. You can see from the log files i added that heap allocated memory from the vulcan app misbehaves by looking at the log. Even when trying the vulcan on its own it still misbehaves. Rig is amd ryzen 9 32gb rtx 2070 super nvidia 8gb ssd hd. All drivers for nvudia are latest and vulcan app is latest runtime. Ran vulcan checker and all seems good in report.

Is there any settings or tweaks which an end user can play around with to try and get the memory allocator to behave when running skyrimse?

Thanks for asking about more info.

Ddoitsujin maintainer 2021-04-18 github

Ah, I see it now. Please attach your log files as a text file next time, just dumping them into the comment makes the whole thing unreadable.

Anyway, please try without ENB and try to record an apitrace. There's a memory leak somewhere but that's not necessarily our fault.

BBxaa 2021-04-20 github

Same issues with dx9 dxvk version

JJuzu1234 2021-04-21 github

Do not know if this is a common issue. I did some testing and also got the windows d3d11.dll plugin for windows ENB also to work alongside DXVK for skyrim SE but the memory allocation still reports as failed. This could be because the game papyrus engine manages this. Who knows. Some people have reported in other games even that this reports the same. I have also tried the linux version of enb d3d11.dll plugin and also managed to get that working but still with the same results in the log for the memory allocation.

All I know is that when I use the windows enb d3d11.dll on its own my game does not crash but when using DXVK and also enb as proxy for skyrim se upon playing the game then after travelling to more thana 3different cells then the game crashes due to memory fallout as it gets maxed due to not dumping enough memory from the last loaded cell in order to make room for the new cell to load. Maybe I need more RAM but 32GB shoulod be enough. Or maybe there is a way to increase the memory heap ammounts. Noticed that heap 0 = 8gb and heap 1 = 12gb and heap 2 = 250mb. Wonder if you can tweak this to be increased for the game of skyrim se?? I state skyrim se as the shezons memory patch does not work for SE and it only works for the legacy version of skyrim 32bit and not 64 bit version. As far as I am aware anyway.

BBxaa 2021-04-21 github

@Juzu1234
......DXVK and also enb as proxy for skyrim
You mean dxvk as proxy dll for enb?

You don't need any heap patches for skyrim SE.
This is not a reason of game crash.
Try:

  1. Fully disable enb memory manager (enb's ini)
  2. Remove all heap patches

UPD:
@Juzu1234
In my case: VRAM overflow while changing cells (interior\ exterior cells or fast travel)
(Fps down to 1-5 after some time in game)

Do you tried dxvk with Oblivion or Fallout3\NV?
(same issues?)

And yes - try this build https://github.com/doitsujin/dxvk/issues/1945#issuecomment-786909779

Mmisyltoad 2021-04-21 github

ENBoost has incompatibilities with DXVK that may cause this if you are using that.

JJuzu1234 2021-04-21 github

I do not use enboost. I am currently in the process of disabling the enb memory manager within the enblocal.ini. Also I am trying a different build also. These comments are welcomed very much so. Nice one guys.

BBxaa 2021-04-21 github

@Juzu1234
Enboost is a part of your used enb version (enboost - just a memory manager)
I know one enb's version for gamebryo engines without enboost, and it's for tes-4 only (except generic version)
I could be wrong...

UPD:
So after test: max available memory - is a reason of issue. (vram overflow in my case)
Without it all work fine.
Maybe it will be useful to someone. (dx9)

JJuzu1234 2021-04-22 github

Still no joy in the fixing of the memory manager being an issue. I tried to disable the memory manager in enb local and game does not even fire up. Get this though. If I remove enb and just use dxvk the same thing happens anyway. Wonder if there is a way to get the game to work like when you just use the vanilla game ans also enb? When I just use ENB the memory is stable as hell but when using dxvk it goes crazy. Wonder if there is a way to stop dxvk from trying to manage the memory. Maybe in the config.conf file but the lines involved in this file I have no idea. I have even read the explanation and the options for the config.conf confuse the hell out of me. I wish there was a guide out there explaining it step by step but more basic as in what you would get or what would happen for each option like a scenario what would happen etc. Oh and the game is also stable without dxvk and also enb. My ram is not the issue it is the way its being managed with ref to dxvk.

JJuzu1234 2021-04-22 github

Does anyone know how to fix this and also what the hell it means?

D3D11RasterizerState: Antialiased lines not supported
err: DxvkMemoryAllocator: Memory allocation failed
err: Size: 89480704
err: Alignment: 1024
err: Mem flags: 0x1
err: Mem types: 0x3
err: Heap 0: 7454 MB allocated, 7368 MB used, 22967 MB allocated (driver), 7243 MB budget (driver), 8011 MB total
err: Heap 1: 15306 MB allocated, 14991 MB used, 328 MB allocated (driver), 15581 MB budget (driver), 16349 MB total
err: Heap 2: 43 MB allocated, 40 MB used, 44 MB allocated (driver), 169 MB budget (driver), 214 MB total
err: DxvkMemoryAllocator: Memory allocation failed
err: DxvkMemoryAllocator: Memory allocation failed
err: Size: 89480704
err: Alignment: 1024
err: Mem flags: 0x1
err: Mem types: 0x3
err: Heap 0: 7454 MB allocated, 7368 MB used, 22967 MB allocated (driver), 7243 MB budget (driver), 8011 MB total
err: Heap 1: 15306 MB allocated, 14991 MB used, 328 MB allocated (driver), 15581 MB budget (driver), 16349 MB total
err: Heap 2: 43 MB allocated, 40 MB used, 44 MB allocated (driver), 169 MB budget (driver), 214 MB total
err: DxvkMemoryAllocator: Memory allocation failed

This is from the d3d11.dll report which is created when firing up the game.

The first line is the key I believe: - D3D11RasterizerState: Antialiased lines not supported

AA is disabled in my enb ini anyway and only activated in my nvidia control panel and skyrim ini file. I have even disabled them also and the same reports upon loading.

BBxaa 2021-04-22 github

@Juzu1234
I have a ready working examples, but it for tes-4 and fallour NV. (dxvk + enb + reshade with custom injecting)_

_https://www.nexusmods.com/oblivion/mods/50381
https://www.nexusmods.com/newvegas/mods/69848_

JJuzu1234 2021-04-23 github

I would love to see someone get ENB and dxvk fully working together for Skyrim SE. ENB for graphics and dxvk for high draw calls. Guess this is something I cannot fix.

BBxaa 2021-04-23 github

Maybe i'll try to do it.

JJuzu1234 2021-04-23 github

dxgi.dll vulcan-1.dll the necessary d3d11.dll for vulcan but renamed so to add it to the enblocal.ini a proxy and then the newest d3d11.dll for windows enb. Also the config.conf file for setting up dxvk whilst in game. I have managed to get all of these working in skyrim SE but the memory allocation fails. If someone could get a similar setup but allow the enb d3d11.dll to work fully and then allow dxvk to just be utilized for higher draw calls this would be an absolute popper of an application. Patreon would be cooking mate. There has been massive interest in this application. See below.

https://www.nexusmods.com/skyrimspecialedition/mods/48566

https://www.nexusmods.com/fallout4/mods/48053

What I did was download the async amd pipeline version from the fallout4 web page and then once downloading then unpack and rename the d3d11.dll in this folder to another name. Then add this name in the enblocal.ini file for the enb under [PROXY] line. Once this is done then I put the d3d11.dll for windows enb back in the data folder but had initial problems with the newest 452 version as with this setup I could not run enb effect in main menu and also the map and loading screens. I then tried the latest d3d11.dll for linux enb and for some strange reason it work throughout game. This however shows reports in the d3d11.dll.txt log which generates upon firing up the game stating that memory allocation failed. Try and get to maybe this stage and then go deeper. If one was to fix this issue im telling you they would be then releasing a workable version which would be absolutely massively popular and would take the skyrim se massives by absolute storm.

KK0bin maintainer 2021-04-23 github

dxgi.dll vulcan-1.dll the necessary d3d11.dll for vulcan but renamed so to add it to the enblocal.ini a proxy and then the newest d3d11.dll for windows enb.

I don't fully understand what you did there but that sounds very wrong. For example, I have no idea what vulkan-1.dll you're talking about.

JJuzu1234 2021-04-23 github

Look at the webpage I added. This .dll plugin is in the contents. I just added it and tried it and it worked. I also tried to remove this .dll plugin as some people have said it is not needed but when I did I had intermittent results on the game firing up.

https://www.nexusmods.com/fallout4/mods/48053

JJuzu1234 2021-04-23 github

Seeing this is the same game engine more or less I thought why not and it did work. Problem is upon doing what I said then when playing the game there is a issue with the heap memory allocation as when fast travelling the memory does not drop enough in order to leave room for the next loading cell or worldspace area thus ctd
When using just enb it never ctd and i mean never.

JJuzu1234 2021-04-23 github

Just wish there was a way to turn memory allocation off for dxvk and so the other allocators I use would take over and then surely zero issues then

KK0bin maintainer 2021-04-23 github

That's not how any of this works.

JJuzu1234 2021-04-23 github

Well I got it to work. Honestly now I can get dxvk working and also enb at the same time. My game fires up and runs with enb graphics and then also I can get well over 15000 draw calls so I get zero stutter. I get the best of both worlds and it runs amazing. The issue is when fast travelling or loading a new cell or worldpsace as the memory keeps climbing and then crashes. Just look at the comments on this webpage mate. Loads of people have managed to do the same.

https://www.nexusmods.com/skyrimspecialedition/mods/48566

BBlisto91 2022-08-30 github

@Juzu1234 Are you still having issues? Please retest with latest master https://github.com/doitsujin/dxvk/actions/runs/2955815479
Note you need relatively up to date drivers.

BBlisto91 2022-10-09 github

I have not been able to reproduce this problem with latest enb and dxvk.

BBlisto91 2024-11-13 github

@Juzu1234 Friendly ping

BBlisto91 2025-05-23 github

Gonna close this as we have been unable to reproduce, plus dxvk and likely enb have changed quite a lot in all this time.
If you still have the same issue then feel free to comment again.

Upstream links

DLLs