VKD3D Assertion - "iface->lpVtbl == &d3d12_heap_vtbl" #241

Closed
opened 2026-11-26 04:17:13 +00:00 by github-bot · 2 comments
Owner

@⁠jvyden on GitHub · 2026-11-23 21:46 UTC · original

Game and package version

The retail title - 1.0.2.1

What happens

The game crashes on startup with a Wine C++ Runtime Library assertion error:

Assertion failed!
Program: <game folder>\release\xcl.exe
File: ../../../home/maister/git/vkd3d-proton/libs/vkd3d/vkd3d_private.h
Line: 1077

Expression: "iface->lpVtbl == &d3d12_heap_vtbl"

Press OK to exit the program, or Cancel to start the Wine debugger.
image

I've started this on a fresh wine-staging 11.22-1 prefix with vkd3d and dxvk installed via Winetricks.

XCL version

d4f17ca324

GPU and driver version

NVIDIA GeForce RTX 2080 Rev. A 615.78.8.0 (2580775424)

Windows version

Arch Linux x86_64

report.json and xcl.log

xcl.log
report.json
xcl.prev.log
report.prev.json

Console output

📦[jvyden@arch release]$ VKD3D_DEBUG=trace XCL_ADAPTER=llvmpipe wine02c4:fixme:winediag:loader_init wine-staging 11.22 is a testing version containing experimental patches.
02c4:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.


002c:fixme:winediag:loader_init wine-staging 11.22 is a testing version containing experimental patches.
002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
MESA-EGL: warning: pci id for fd 29: 10de:1e87, driver (null)
pci id for fd 30: 10de:1e87, driver (null)
pci id for fd 31: 10de:1e87, driver (null)
MESA-EGL: warning: egl: failed to create dri2 screen
pci id for fd 30: 10de:1e87, driver (null)
pci id for fd 31: 10de:1e87, driver (null)
MESA-EGL: warning: egl: failed to create dri2 screen
pci id for fd 36: 10de:1e87, driver (null)
pci id for fd 37: 10de:1e87, driver (null)
MESA-EGL: warning: pci id for fd 35: 10de:1e87, driver (null)
pci id for fd 36: 10de:1e87, driver (null)
pci id for fd 37: 10de:1e87, driver (null)
MESA-EGL: warning: egl: failed to create dri2 screen
MESA-EGL: warning: pci id for fd 35: 10de:1e87, driver (null)
pci id for fd 36: 10de:1e87, driver (null)
pci id for fd 37: 10de:1e87, driver (null)
MESA-EGL: warning: egl: failed to create dri2 screen
MESA-EGL: warning: pci id for fd 35: 10de:1e87, driver (null)
00ac:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebth": c00000e5
003c:fixme:service:scmdatabase_autostart_services Auto-start service L"winebth" failed to start: 1359
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
00b8:fixme:wineusb:query_id Unhandled ID query type 0x5.
0024:fixme:winediag:loader_init wine-staging 11.22 is a testing version containing experimental patches.
0024:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org.
012c:fixme:file:SetFileInformationByHandle 000000000000008C, 5, 000000D03261E6D8, 8
XCL 0.1.0 – starting '<package id>'
  exe:   <game folder>\game_scarlett_master.exe
  data:  C:\users\jvyden\AppData\Local\XCL\<package id>
  MicrosoftGame.Config: title memory Advanced, PLS 2048 MB, TitleId 7952987A
  console: imports d3d12_xs.dll
xcl: DXC: dxcompiler 1.8.2502.11 (23992152), dxil 1.8.2502.11, from <game folder>\release
warn:  CreateDXGIFactory2: Ignoring flags
info:  Game: xcl.exe
info:  DXVK: v3.1.1
info:  Build: x86_64 gcc 16.2.0
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fe1eba47ab0
info:  Extension providers:
info:    Platform WSI
info:    OpenVR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:    OpenXR
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_surface_maintenance1
info:    VK_KHR_win32_surface
info:  Found device: NVIDIA GeForce RTX 2080 (NVIDIA 615.78.8)
info:  DXGI: Hiding actual GPU, reporting:
info:    vendor ID: 0x1002
info:    device ID: 0x73df
info:  DXGI: Hiding actual GPU, reporting:
info:    vendor ID: 0x1002
info:    device ID: 0x73df
warn:  DxgiAdapter::QueryInterface: Unknown interface query
warn:  f0db4c7f-fe5a-42a2-bd62-f2a6cf6fc83e
44276.215:0128:012c:warn:vkd3d-proton:openvr_instance_extensions: Failed to open VR registry key, status 2.
44276.215:0128:012c:warn:vkd3d-proton:openxr_vulkan_extensions: wineopenxr.dll is missing required symbols.
44276.216:0128:012c:info:vkd3d-proton:vkd3d_instance_deduce_config_flags_from_environment: shader_cache is used, global_pipeline_cache is enforced.
44276.216:0128:012c:info:vkd3d-proton:vkd3d_config_flags_init_once: VKD3D_CONFIG=''.
44276.231:0128:012c:info:vkd3d-proton:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 3.1.0.
44276.231:0128:012c:info:vkd3d-proton:vkd3d_instance_init: vkd3d-proton - build: 4522cc1a8b1347f.
44276.243:0128:012c:warn:vkd3d-proton:openvr_device_extensions: Failed to open VR registry key, status 2.
44276.243:0128:012c:warn:vkd3d-proton:openxr_vulkan_extensions: wineopenxr.dll is missing required symbols.
44276.322:0128:012c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint9: Implementation supports eliding QFOT for non-compressed optimal images.
44276.322:0128:012c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint10: Implementation can copy depth aspect on compute queue.
44276.322:0128:012c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint10: Implementation can copy depth aspect on transfer queue.
44276.322:0128:012c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint10: Implementation can copy stencil aspect on compute queue.
44276.324:0128:012c:warn:vkd3d-proton:vkd3d_physical_device_info_apply_workarounds: Disabling shader_float_controls2 on NV drivers due to buggy implementation.
44276.324:0128:012c:warn:vkd3d-proton:vkd3d_supports_minimum_coopmat_caps: Missing sufficient features to expose WMMA.
44276.798:0128:012c:warn:vkd3d-proton:d3d12_device_create_vkd3d_queues: Could not allocate an out of band queue for queue family 2. All out of band work will happen on the in band queue.
44276.802:0128:012c:info:vkd3d-proton:vkd3d_memory_info_decide_hvv_usage: Topology: Device heaps are split. Assuming small BAR situation.
44276.802:0128:012c:info:vkd3d-proton:vkd3d_memory_info_upload_hvv_memory_properties: Topology: HVV usage is not allowed, using HOST_COHERENT for UPLOAD.
44276.803:0128:012c:info:vkd3d-proton:vkd3d_bindless_state_get_bindless_flags: Enabling fast paths for advanced ExecuteIndirect() graphics and compute (EXT_dgc).
44276.803:0128:012c:info:vkd3d-proton:vkd3d_bindless_state_get_bindless_flags: Device supports VK_EXT_mutable_descriptor_type.
44276.803:0128:012c:info:vkd3d-proton:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
44276.803:0128:012c:info:vkd3d-proton:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
44276.803:0128:012c:info:vkd3d-proton:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
44276.806:0128:012c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling support for SM 6.6.
44276.806:0128:012c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling support for SM 6.7.
44276.806:0128:012c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling support for SM 6.8.
44276.806:0128:012c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling experimental support for SM 6.9.
44276.806:0128:012c:fixme:vkd3d-proton:d3d12_device_caps_init_feature_options1: TotalLaneCount = 2944, may be inaccurate.
44276.806:0128:012c:info:vkd3d-proton:d3d12_device_determine_ray_tracing_tier: DXR support enabled.
44276.806:0128:012c:info:vkd3d-proton:d3d12_device_determine_ray_tracing_tier: DXR 1.1 support enabled.
44276.806:0128:012c:info:vkd3d-proton:d3d12_device_determine_ray_tracing_tier: DXR 1.2 support enabled.
44276.806:0128:012c:info:vkd3d-proton:d3d12_device_caps_init_feature_level: DX Ultimate supported!
44276.806:0128:012c:info:vkd3d-proton:vkd3d_pipeline_library_init_disk_cache: Remapping VKD3D_SHADER_CACHE to: vkd3d-proton.cache.
44276.806:0128:012c:info:vkd3d-proton:vkd3d_pipeline_library_init_disk_cache: Attempting to load disk cache from: vkd3d-proton.cache.
44276.807:0128:0134:info:vkd3d-proton:vkd3d_pipeline_library_disk_thread_main: Performing async setup of stream archive ...
44276.807:0128:0134:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_merge: No write cache exists. No need to merge any disk caches.
44276.807:0128:0134:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_initial_setup: Merging pipeline libraries took 0.287 ms.
44276.807:0128:0134:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_initial_setup: Failed to map read-only cache: vkd3d-proton.cache.
44276.807:0128:0134:info:vkd3d-proton:vkd3d_pipeline_library_disk_thread_main: Done performing async setup of stream archive.
  GPU: NVIDIA GeForce RTX 2080 (8160 MiB VRAM)
  NOTE: waves of 32–32 lanes: the console's 64-lane programs run as two 32-lane halves (slower; vertex / pixel
 shaders that read lanes 32–63 can differ)
  DXC 1.8.2502.11 (23992152): <game folder>\release
  WARNING: no System32\xgameruntime.dll: XCL's own XGameRuntime parts work, the rest (task queues, networking,
 dialogs) is missing
           → install Gaming Services (Microsoft Store)
xcl: XCL 0.1.0 – host for '<package id>'
xcl: game: <game folder>\game_scarlett_master.exe (read-only folder: Z:\data\T
orrents\<game folder>)
xcl: XCL data: C:\users\jvyden\AppData\Local\XCL\<package id>
xcl: VFS: 31 file hooks active
xcl: loaded game_scarlett_master.exe @ 0x140000000 (size 0xb06d000, preferred 0x140000000)
xcl: loaded msvcp140.dll @ 0x180000000 (size 0x8d000, preferred 0x180000000)
xcl: loaded vcruntime140.dll @ 0xe909780000 (size 0x1b000, preferred 0x180000000, relocated)
xcl: vcruntime140.dll: stack-cookie failures are reported (__report_gsfailure at 0xe90978fda0)
xcl: DllMain(vcruntime140.dll, PROCESS_ATTACH)
xcl: loaded vcruntime140_1.dll @ 0xe9097b0000 (size 0xc000, preferred 0x180000000, relocated)
xcl: vcruntime140_1.dll: stack-cookie failures are reported (__report_gsfailure at 0xe9097b42d0)
xcl: DllMain(vcruntime140_1.dll, PROCESS_ATTACH)
xcl: msvcp140.dll: stack-cookie failures are reported (__report_gsfailure at 0x180052920)
xcl: DllMain(msvcp140.dll, PROCESS_ATTACH)
xcl: loaded xboxbvhbuilder.dll @ 0xe9097c0000 (size 0xde000, preferred 0x180000000, relocated)
xcl: TLS: xboxbvhbuilder.dll: template 8 B, block 16 B, index 3, threads initialized: 1
xcl: xboxbvhbuilder.dll: stack-cookie failures are reported (__report_gsfailure at 0xe9097e21a8)
xcl: DllMain(xboxbvhbuilder.dll, PROCESS_ATTACH)
xcl: loaded amd_fidelityfx_loader_xbox.dll @ 0xe9098a0000 (size 0x8000, preferred 0x180000000, relocated)
xcl: amd_fidelityfx_loader_xbox.dll: stack-cookie failures are reported (__report_gsfailure at 0xe9098a1910)
xcl: DllMain(amd_fidelityfx_loader_xbox.dll, PROCESS_ATTACH)
xcl: loaded libhttpclient.gdk.dll @ 0xe909cb0000 (size 0xf4000, preferred 0x180000000, relocated)
xcl: TLS: libhttpclient.gdk.dll: template 520 B, block 528 B, index 4, threads initialized: 1
xcl: libhttpclient.gdk.dll: stack-cookie failures are reported (__report_gsfailure at 0xe909cb1740)
xcl: DllMain(libhttpclient.gdk.dll, PROCESS_ATTACH)
xcl: loaded bink2scarlett.dll @ 0xe9098b0000 (size 0x44000, preferred 0x180000000, relocated)
xcl: bink2scarlett.dll: stack-cookie failures are reported (__report_gsfailure at 0xe9098da694)
xcl: DllMain(bink2scarlett.dll, PROCESS_ATTACH)
xcl: TLS: game_scarlett_master.exe: template 5248 B, block 5248 B, index 5, threads initialized: 1
xcl: TLS: game_scarlett_master.exe has slot 0 (as a process's executable); xcl.exe's own TLS is in slot 5 – 1 
threads
xcl: game_scarlett_master.exe: stack-cookie failures are reported (__report_gsfailure at 0x145600570)
xcl: XMem: the title has allocation hooks (game_scarlett_master.exe+0x4deb420, game_scarlett_master.exe+0x4e38
ec0)
warn:  CreateDXGIFactory2: Ignoring flags
info:  Game: xcl.exe
info:  DXVK: v3.1.1
info:  Build: x86_64 gcc 16.2.0
xcl: VFS: CreateFileW(dxvk.conf) flags 0x1
info:  Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fe1eba47ab0
info:  Extension providers:
info:    Platform WSI
info:    OpenVR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:    OpenXR
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_surface_maintenance1
info:    VK_KHR_win32_surface
info:  Found device: NVIDIA GeForce RTX 2080 (NVIDIA 615.78.8)
info:  DXGI: Hiding actual GPU, reporting:
info:    vendor ID: 0x1002
info:    device ID: 0x73df
info:  DXGI: Hiding actual GPU, reporting:
info:    vendor ID: 0x1002
info:    device ID: 0x73df
xcl: D3D12: XCL_ADAPTER / d3d12_adapter "llvmpipe" matches no hardware adapter (have: 0 = NVIDIA GeForce RTX 2
080) – using auto
info:  DXGI: Hiding actual GPU, reporting:
info:    vendor ID: 0x1002
info:    device ID: 0x73df
warn:  DxgiAdapter::QueryInterface: Unknown interface query
warn:  f0db4c7f-fe5a-42a2-bd62-f2a6cf6fc83e
44277.827:0138:013c:warn:vkd3d-proton:openvr_instance_extensions: Failed to open VR registry key, status 2.
44277.827:0138:013c:warn:vkd3d-proton:openxr_vulkan_extensions: wineopenxr.dll is missing required symbols.
44277.828:0138:013c:info:vkd3d-proton:vkd3d_instance_deduce_config_flags_from_environment: shader_cache is used, global_pipeline_cache is enforced.
44277.828:0138:013c:info:vkd3d-proton:vkd3d_config_flags_init_once: VKD3D_CONFIG=''.
44277.843:0138:013c:info:vkd3d-proton:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 3.1.0.
44277.843:0138:013c:info:vkd3d-proton:vkd3d_instance_init: vkd3d-proton - build: 4522cc1a8b1347f.
44277.855:0138:013c:warn:vkd3d-proton:openvr_device_extensions: Failed to open VR registry key, status 2.
44277.855:0138:013c:warn:vkd3d-proton:openxr_vulkan_extensions: wineopenxr.dll is missing required symbols.
44277.937:0138:013c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint9: Implementation supports eliding QFOT for non-compressed optimal images.
44277.937:0138:013c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint10: Implementation can copy depth aspect on compute queue.
44277.937:0138:013c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint10: Implementation can copy depth aspect on transfer queue.
44277.937:0138:013c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint10: Implementation can copy stencil aspect on compute queue.
44277.938:0138:013c:warn:vkd3d-proton:vkd3d_physical_device_info_apply_workarounds: Disabling shader_float_controls2 on NV drivers due to buggy implementation.
44277.938:0138:013c:warn:vkd3d-proton:vkd3d_supports_minimum_coopmat_caps: Missing sufficient features to expose WMMA.
44278.365:0138:013c:warn:vkd3d-proton:d3d12_device_create_vkd3d_queues: Could not allocate an out of band queue for queue family 2. All out of band work will happen on the in band queue.
44278.369:0138:013c:info:vkd3d-proton:vkd3d_memory_info_decide_hvv_usage: Topology: Device heaps are split. Assuming small BAR situation.
44278.369:0138:013c:info:vkd3d-proton:vkd3d_memory_info_upload_hvv_memory_properties: Topology: HVV usage is not allowed, using HOST_COHERENT for UPLOAD.
44278.369:0138:013c:info:vkd3d-proton:vkd3d_bindless_state_get_bindless_flags: Enabling fast paths for advanced ExecuteIndirect() graphics and compute (EXT_dgc).
44278.369:0138:013c:info:vkd3d-proton:vkd3d_bindless_state_get_bindless_flags: Device supports VK_EXT_mutable_descriptor_type.
44278.370:0138:013c:info:vkd3d-proton:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
44278.370:0138:013c:info:vkd3d-proton:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
44278.370:0138:013c:info:vkd3d-proton:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
44278.372:0138:013c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling support for SM 6.6.
44278.372:0138:013c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling support for SM 6.7.
44278.372:0138:013c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling support for SM 6.8.
44278.372:0138:013c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling experimental support for SM 6.9.
44278.372:0138:013c:fixme:vkd3d-proton:d3d12_device_caps_init_feature_options1: TotalLaneCount = 2944, may be inaccurate.
44278.372:0138:013c:info:vkd3d-proton:d3d12_device_determine_ray_tracing_tier: DXR support enabled.
44278.372:0138:013c:info:vkd3d-proton:d3d12_device_determine_ray_tracing_tier: DXR 1.1 support enabled.
44278.372:0138:013c:info:vkd3d-proton:d3d12_device_determine_ray_tracing_tier: DXR 1.2 support enabled.
44278.372:0138:013c:info:vkd3d-proton:d3d12_device_caps_init_feature_level: DX Ultimate supported!
44278.373:0138:013c:info:vkd3d-proton:vkd3d_pipeline_library_init_disk_cache: Remapping VKD3D_SHADER_CACHE to: vkd3d-proton.cache.
44278.373:0138:013c:info:vkd3d-proton:vkd3d_pipeline_library_init_disk_cache: Attempting to load disk cache from: vkd3d-proton.cache.
44278.373:0138:0144:info:vkd3d-proton:vkd3d_pipeline_library_disk_thread_main: Performing async setup of stream archive ...
013c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
xcl: VFS: CreateFileA(vkd3d-proton.cache.write) flags 0x8000080
xcl: UMA: 12217 MB of commit free, under 17408 MB: the title's GPU heaps stay outside unified memory (a larger
 page file gives them the coherent window)
44278.374:0138:0144:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_merge: No write cache exists. No need to merge any disk caches.
44278.374:0138:0144:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_initial_setup: Merging pipeline libraries took 1.272 ms.
xcl: VFS: CreateFileA(vkd3d-proton.cache) flags 0x8000080
44278.427:0138:0144:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_initial_setup: Failed to map read-only cache: vkd3d-proton.cache.
44278.427:0138:0144:info:vkd3d-proton:vkd3d_pipeline_library_disk_thread_main: Done performing async setup of stream archive.
xcl: UMA: 3 sparse VRAM window(s) (12 GiB VA) + 512 MB coherent window at 0x400000000
013c:fixme:vulkan:win32u_vkCreateBuffer Unsupported handle types 0x80
xcl: D3D12.X: UMA import check: ok, 1 window(s), 5244 µs
xcl: D3D12.X: 3 sparse window(s) for the title's own memory (tiled buffers on video memory)
xcl: D3D12.X: UMA opened (3 sparse VRAM window(s), 512 MB coherent window), window 0 buffer at VA 0xde7dfc0000
xcl: D3D12.X: native dynamic depth bias (OPTIONS16): supported (ID3D12GraphicsCommandList9::RSSetDepthBias)
44278.686:0138:013c:warn:vkd3d-proton:d3d12_device_QueryInterface: {b34a50dd-e102-428f-82a0-82294a27bbe6} not implemented, returning E_NOINTERFACE.
xcl: D3D12.X: ID3D12Device15 – 94 PC methods, 0 internal slots under the guard, +64 stubs (Device, PC vtable d
3d12core.dll+0x55d4c0)
xcl: D3D12.X: backend 'real' – NVIDIA GeForce RTX 2080 (8160 MiB VRAM)
xcl: Wine: PEB.ImageBaseAddress left alone (its loader needs the real main image there)
xcl: start game_scarlett_master.exe: entry point game_scarlett_master.exe+0x56a1ec8 , stack 0x100000
xcl: D3D12ConfigureVirtualMemoryX: [0, 4, 0, 0, 0, 0, 0, 0] – accepted (nothing to configure on the PC)
xcl: D3D12.X: ID3D12Heap1 – 10 PC methods, 0 internal slots under the guard, +64 stubs (Heap, PC vtable d3d12c
ore.dll+0x55f7c0)
0158:err:msvcrt:_wassert (L"iface->lpVtbl == &d3d12_heap_vtbl",L"../../../home/maister/git/vkd3d-proton/libs/vkd3d/vkd3d_private.h",1077)
xcl: process ends with status 0x3 (thread 344); on the stack: kernel32.dll+0x1a24a, ucrtbase.dll+0x8e0db, ucrt
base.dll+0x26c28, ucrtbase.dll+0x9a59d, ucrtbase.dll+0x6f316, ucrtbase.dll+0x9a600, ucrtbase.dll+0x1877b, ucrt
base.dll+0x3f1f4, kernelbase.dll+0x7d4e8, kernelbase.dll+0x3dcbf, kernelbase.dll+0x7a18a, xcl.exe+0x4546b8
xcl: thread dump (5 threads):
thread 316 'main': ntdll.dll+0xec74 < kernelbase.dll+0x772bd < xcl.exe+0x96057 < xcl.exe+0x26e46 < xcl.exe+0x2
b90 < xcl.exe+0x1586 < xcl.exe+0x188c < xcl.exe+0x44c067 < xcl.exe+0x4b2c < xcl.exe+0x47316f < kernel32.dll+0x
11789 < ntdll.dll+0x1116f
thread 320 '': ntdll.dll+0x10cb4 < ntdll.dll+0x3efad < ntdll.dll+0x3a84b < kernelbase.dll+0x6652c < d3d12core.
dll+0x1f293 < d3d12core.dll+0x1d68f < kernel32.dll+0x11789 < ntdll.dll+0x1116f
thread 324 'vkd3d-disk$': ntdll.dll+0x10cb4 < ntdll.dll+0x3efad < ntdll.dll+0x3a84b < kernelbase.dll+0x6652c <
 d3d12core.dll+0x89d17 < d3d12core.dll+0x80dbf < kernel32.dll+0x11789 < ntdll.dll+0x1116f
thread 336 'vkd3d_fence': ntdll.dll+0x10cb4 < ntdll.dll+0x3efad < ntdll.dll+0x3a84b < kernelbase.dll+0x6652c <
 d3d12core.dll+0x934c8 < d3d12core.dll+0x8d36f < kernel32.dll+0x11789 < ntdll.dll+0x1116f
thread 340 'vkd3d_queue': ntdll.dll+0x10cb4 < ntdll.dll+0x3efad < ntdll.dll+0x3a84b < kernelbase.dll+0x6652c <
 d3d12core.dll+0xd18a5 < d3d12core.dll+0x8d36f < kernel32.dll+0x11789 < ntdll.dll+0x1116f
012c:fixme:file:SetFileInformationByHandle 0000000000000094, 5, 000000D03261E6D8, 8

Game exited with code 0x3 (3)
Missing on this PC (see the start of the run):
  WARNING: no System32\xgameruntime.dll: XCL's own XGameRuntime parts work, the rest (task queues, networking,
 dialogs) is missing
           → install Gaming Services (Microsoft Store)
Imports: 1186 (game-dll:amd_fidelityfx_loader_xbox.dll: 4, game-dll:bink2scarlett.dll: 23, game-dll:libhttpcli
ent.gdk.dll: 38, game-dll:msvcp140.dll: 157, game-dll:vcruntime140.dll: 82, game-dll:vcruntime140_1.dll: 4, ga
me-dll:xboxbvhbuilder.dll: 7, hle-cross:kernelx.dll: 14, hle:acphal.dll: 19, hle:d3d12_xs.dll: 4, hle:gameinpu
t.dll: 1, hle:kernelx.dll: 56, hle:minuserx.dll: 2, hle:xaudio2_9.dll: 1, hle:xcrdapi.dll: 1, hle:xg_xs.dll: 2
, stub: 1, system: 770)
Report: C:\users\jvyden\AppData\Local\XCL\<package id>\logs\report.json
Log:    C:\users\jvyden\AppData\Local\XCL\<package id>\logs\xcl.log
**@⁠jvyden** on GitHub · 2026-11-23 21:46 UTC · [original](https://github.com/xcl-dev/xcl/issues/241) ### Game and package version The retail title - <package id> 1.0.2.1 ### What happens The game crashes on startup with a Wine C++ Runtime Library assertion error: ``` Assertion failed! Program: <game folder>\release\xcl.exe File: ../../../home/maister/git/vkd3d-proton/libs/vkd3d/vkd3d_private.h Line: 1077 Expression: "iface->lpVtbl == &d3d12_heap_vtbl" Press OK to exit the program, or Cancel to start the Wine debugger. ``` <img width="393" height="244" alt="image" src="https://github.com/user-attachments/assets/b832ce3d-e2d0-4d69-9533-b1f63c3cafc3" /> I've started this on a fresh wine-staging 11.22-1 prefix with `vkd3d` and `dxvk` installed via Winetricks. ### XCL version d4f17ca3246b6013bfa39ea2bed543cbe52309a6 ### GPU and driver version NVIDIA GeForce RTX 2080 Rev. A 615.78.8.0 (2580775424) ### Windows version Arch Linux x86_64 ### report.json and xcl.log [xcl.log](https://github.com/user-attachments/files/35300681/xcl.log) [report.json](https://github.com/user-attachments/files/35300680/report.json) [xcl.prev.log](https://github.com/user-attachments/files/35300679/xcl.prev.log) [report.prev.json](https://github.com/user-attachments/files/35300678/report.prev.json) ### Console output ```text 📦[jvyden@arch release]$ VKD3D_DEBUG=trace XCL_ADAPTER=llvmpipe wine02c4:fixme:winediag:loader_init wine-staging 11.22 is a testing version containing experimental patches. 02c4:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org. 002c:fixme:winediag:loader_init wine-staging 11.22 is a testing version containing experimental patches. 002c:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org. MESA-EGL: warning: pci id for fd 29: 10de:1e87, driver (null) pci id for fd 30: 10de:1e87, driver (null) pci id for fd 31: 10de:1e87, driver (null) MESA-EGL: warning: egl: failed to create dri2 screen pci id for fd 30: 10de:1e87, driver (null) pci id for fd 31: 10de:1e87, driver (null) MESA-EGL: warning: egl: failed to create dri2 screen pci id for fd 36: 10de:1e87, driver (null) pci id for fd 37: 10de:1e87, driver (null) MESA-EGL: warning: pci id for fd 35: 10de:1e87, driver (null) pci id for fd 36: 10de:1e87, driver (null) pci id for fd 37: 10de:1e87, driver (null) MESA-EGL: warning: egl: failed to create dri2 screen MESA-EGL: warning: pci id for fd 35: 10de:1e87, driver (null) pci id for fd 36: 10de:1e87, driver (null) pci id for fd 37: 10de:1e87, driver (null) MESA-EGL: warning: egl: failed to create dri2 screen MESA-EGL: warning: pci id for fd 35: 10de:1e87, driver (null) 00ac:err:ntoskrnl:ZwLoadDriver failed to create driver L"\\Registry\\Machine\\System\\CurrentControlSet\\Services\\winebth": c00000e5 003c:fixme:service:scmdatabase_autostart_services Auto-start service L"winebth" failed to start: 1359 00b8:fixme:wineusb:query_id Unhandled ID query type 0x5. 00b8:fixme:wineusb:query_id Unhandled ID query type 0x5. 00b8:fixme:wineusb:query_id Unhandled ID query type 0x5. 00b8:fixme:wineusb:query_id Unhandled ID query type 0x5. 0024:fixme:winediag:loader_init wine-staging 11.22 is a testing version containing experimental patches. 0024:fixme:winediag:loader_init Please mention your exact version when filing bug reports on winehq.org. 012c:fixme:file:SetFileInformationByHandle 000000000000008C, 5, 000000D03261E6D8, 8 XCL 0.1.0 – starting '<package id>' exe: <game folder>\game_scarlett_master.exe data: C:\users\jvyden\AppData\Local\XCL\<package id> MicrosoftGame.Config: title memory Advanced, PLS 2048 MB, TitleId 7952987A console: imports d3d12_xs.dll xcl: DXC: dxcompiler 1.8.2502.11 (23992152), dxil 1.8.2502.11, from <game folder>\release warn: CreateDXGIFactory2: Ignoring flags info: Game: xcl.exe info: DXVK: v3.1.1 info: Build: x86_64 gcc 16.2.0 info: Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fe1eba47ab0 info: Extension providers: info: Platform WSI info: OpenVR info: OpenVR: could not open registry key, status 2 info: OpenVR: Failed to locate module info: OpenXR info: Enabled instance extensions: info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_surface_maintenance1 info: VK_KHR_win32_surface info: Found device: NVIDIA GeForce RTX 2080 (NVIDIA 615.78.8) info: DXGI: Hiding actual GPU, reporting: info: vendor ID: 0x1002 info: device ID: 0x73df info: DXGI: Hiding actual GPU, reporting: info: vendor ID: 0x1002 info: device ID: 0x73df warn: DxgiAdapter::QueryInterface: Unknown interface query warn: f0db4c7f-fe5a-42a2-bd62-f2a6cf6fc83e 44276.215:0128:012c:warn:vkd3d-proton:openvr_instance_extensions: Failed to open VR registry key, status 2. 44276.215:0128:012c:warn:vkd3d-proton:openxr_vulkan_extensions: wineopenxr.dll is missing required symbols. 44276.216:0128:012c:info:vkd3d-proton:vkd3d_instance_deduce_config_flags_from_environment: shader_cache is used, global_pipeline_cache is enforced. 44276.216:0128:012c:info:vkd3d-proton:vkd3d_config_flags_init_once: VKD3D_CONFIG=''. 44276.231:0128:012c:info:vkd3d-proton:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 3.1.0. 44276.231:0128:012c:info:vkd3d-proton:vkd3d_instance_init: vkd3d-proton - build: 4522cc1a8b1347f. 44276.243:0128:012c:warn:vkd3d-proton:openvr_device_extensions: Failed to open VR registry key, status 2. 44276.243:0128:012c:warn:vkd3d-proton:openxr_vulkan_extensions: wineopenxr.dll is missing required symbols. 44276.322:0128:012c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint9: Implementation supports eliding QFOT for non-compressed optimal images. 44276.322:0128:012c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint10: Implementation can copy depth aspect on compute queue. 44276.322:0128:012c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint10: Implementation can copy depth aspect on transfer queue. 44276.322:0128:012c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint10: Implementation can copy stencil aspect on compute queue. 44276.324:0128:012c:warn:vkd3d-proton:vkd3d_physical_device_info_apply_workarounds: Disabling shader_float_controls2 on NV drivers due to buggy implementation. 44276.324:0128:012c:warn:vkd3d-proton:vkd3d_supports_minimum_coopmat_caps: Missing sufficient features to expose WMMA. 44276.798:0128:012c:warn:vkd3d-proton:d3d12_device_create_vkd3d_queues: Could not allocate an out of band queue for queue family 2. All out of band work will happen on the in band queue. 44276.802:0128:012c:info:vkd3d-proton:vkd3d_memory_info_decide_hvv_usage: Topology: Device heaps are split. Assuming small BAR situation. 44276.802:0128:012c:info:vkd3d-proton:vkd3d_memory_info_upload_hvv_memory_properties: Topology: HVV usage is not allowed, using HOST_COHERENT for UPLOAD. 44276.803:0128:012c:info:vkd3d-proton:vkd3d_bindless_state_get_bindless_flags: Enabling fast paths for advanced ExecuteIndirect() graphics and compute (EXT_dgc). 44276.803:0128:012c:info:vkd3d-proton:vkd3d_bindless_state_get_bindless_flags: Device supports VK_EXT_mutable_descriptor_type. 44276.803:0128:012c:info:vkd3d-proton:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer! 44276.803:0128:012c:info:vkd3d-proton:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer! 44276.803:0128:012c:info:vkd3d-proton:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer! 44276.806:0128:012c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling support for SM 6.6. 44276.806:0128:012c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling support for SM 6.7. 44276.806:0128:012c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling support for SM 6.8. 44276.806:0128:012c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling experimental support for SM 6.9. 44276.806:0128:012c:fixme:vkd3d-proton:d3d12_device_caps_init_feature_options1: TotalLaneCount = 2944, may be inaccurate. 44276.806:0128:012c:info:vkd3d-proton:d3d12_device_determine_ray_tracing_tier: DXR support enabled. 44276.806:0128:012c:info:vkd3d-proton:d3d12_device_determine_ray_tracing_tier: DXR 1.1 support enabled. 44276.806:0128:012c:info:vkd3d-proton:d3d12_device_determine_ray_tracing_tier: DXR 1.2 support enabled. 44276.806:0128:012c:info:vkd3d-proton:d3d12_device_caps_init_feature_level: DX Ultimate supported! 44276.806:0128:012c:info:vkd3d-proton:vkd3d_pipeline_library_init_disk_cache: Remapping VKD3D_SHADER_CACHE to: vkd3d-proton.cache. 44276.806:0128:012c:info:vkd3d-proton:vkd3d_pipeline_library_init_disk_cache: Attempting to load disk cache from: vkd3d-proton.cache. 44276.807:0128:0134:info:vkd3d-proton:vkd3d_pipeline_library_disk_thread_main: Performing async setup of stream archive ... 44276.807:0128:0134:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_merge: No write cache exists. No need to merge any disk caches. 44276.807:0128:0134:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_initial_setup: Merging pipeline libraries took 0.287 ms. 44276.807:0128:0134:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_initial_setup: Failed to map read-only cache: vkd3d-proton.cache. 44276.807:0128:0134:info:vkd3d-proton:vkd3d_pipeline_library_disk_thread_main: Done performing async setup of stream archive. GPU: NVIDIA GeForce RTX 2080 (8160 MiB VRAM) NOTE: waves of 32–32 lanes: the console's 64-lane programs run as two 32-lane halves (slower; vertex / pixel shaders that read lanes 32–63 can differ) DXC 1.8.2502.11 (23992152): <game folder>\release WARNING: no System32\xgameruntime.dll: XCL's own XGameRuntime parts work, the rest (task queues, networking, dialogs) is missing → install Gaming Services (Microsoft Store) xcl: XCL 0.1.0 – host for '<package id>' xcl: game: <game folder>\game_scarlett_master.exe (read-only folder: Z:\data\T orrents\<game folder>) xcl: XCL data: C:\users\jvyden\AppData\Local\XCL\<package id> xcl: VFS: 31 file hooks active xcl: loaded game_scarlett_master.exe @ 0x140000000 (size 0xb06d000, preferred 0x140000000) xcl: loaded msvcp140.dll @ 0x180000000 (size 0x8d000, preferred 0x180000000) xcl: loaded vcruntime140.dll @ 0xe909780000 (size 0x1b000, preferred 0x180000000, relocated) xcl: vcruntime140.dll: stack-cookie failures are reported (__report_gsfailure at 0xe90978fda0) xcl: DllMain(vcruntime140.dll, PROCESS_ATTACH) xcl: loaded vcruntime140_1.dll @ 0xe9097b0000 (size 0xc000, preferred 0x180000000, relocated) xcl: vcruntime140_1.dll: stack-cookie failures are reported (__report_gsfailure at 0xe9097b42d0) xcl: DllMain(vcruntime140_1.dll, PROCESS_ATTACH) xcl: msvcp140.dll: stack-cookie failures are reported (__report_gsfailure at 0x180052920) xcl: DllMain(msvcp140.dll, PROCESS_ATTACH) xcl: loaded xboxbvhbuilder.dll @ 0xe9097c0000 (size 0xde000, preferred 0x180000000, relocated) xcl: TLS: xboxbvhbuilder.dll: template 8 B, block 16 B, index 3, threads initialized: 1 xcl: xboxbvhbuilder.dll: stack-cookie failures are reported (__report_gsfailure at 0xe9097e21a8) xcl: DllMain(xboxbvhbuilder.dll, PROCESS_ATTACH) xcl: loaded amd_fidelityfx_loader_xbox.dll @ 0xe9098a0000 (size 0x8000, preferred 0x180000000, relocated) xcl: amd_fidelityfx_loader_xbox.dll: stack-cookie failures are reported (__report_gsfailure at 0xe9098a1910) xcl: DllMain(amd_fidelityfx_loader_xbox.dll, PROCESS_ATTACH) xcl: loaded libhttpclient.gdk.dll @ 0xe909cb0000 (size 0xf4000, preferred 0x180000000, relocated) xcl: TLS: libhttpclient.gdk.dll: template 520 B, block 528 B, index 4, threads initialized: 1 xcl: libhttpclient.gdk.dll: stack-cookie failures are reported (__report_gsfailure at 0xe909cb1740) xcl: DllMain(libhttpclient.gdk.dll, PROCESS_ATTACH) xcl: loaded bink2scarlett.dll @ 0xe9098b0000 (size 0x44000, preferred 0x180000000, relocated) xcl: bink2scarlett.dll: stack-cookie failures are reported (__report_gsfailure at 0xe9098da694) xcl: DllMain(bink2scarlett.dll, PROCESS_ATTACH) xcl: TLS: game_scarlett_master.exe: template 5248 B, block 5248 B, index 5, threads initialized: 1 xcl: TLS: game_scarlett_master.exe has slot 0 (as a process's executable); xcl.exe's own TLS is in slot 5 – 1 threads xcl: game_scarlett_master.exe: stack-cookie failures are reported (__report_gsfailure at 0x145600570) xcl: XMem: the title has allocation hooks (game_scarlett_master.exe+0x4deb420, game_scarlett_master.exe+0x4e38 ec0) warn: CreateDXGIFactory2: Ignoring flags info: Game: xcl.exe info: DXVK: v3.1.1 info: Build: x86_64 gcc 16.2.0 xcl: VFS: CreateFileW(dxvk.conf) flags 0x1 info: Vulkan: Found vkGetInstanceProcAddr in winevulkan.dll @ 0x6fe1eba47ab0 info: Extension providers: info: Platform WSI info: OpenVR info: OpenVR: could not open registry key, status 2 info: OpenVR: Failed to locate module info: OpenXR info: Enabled instance extensions: info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_surface_maintenance1 info: VK_KHR_win32_surface info: Found device: NVIDIA GeForce RTX 2080 (NVIDIA 615.78.8) info: DXGI: Hiding actual GPU, reporting: info: vendor ID: 0x1002 info: device ID: 0x73df info: DXGI: Hiding actual GPU, reporting: info: vendor ID: 0x1002 info: device ID: 0x73df xcl: D3D12: XCL_ADAPTER / d3d12_adapter "llvmpipe" matches no hardware adapter (have: 0 = NVIDIA GeForce RTX 2 080) – using auto info: DXGI: Hiding actual GPU, reporting: info: vendor ID: 0x1002 info: device ID: 0x73df warn: DxgiAdapter::QueryInterface: Unknown interface query warn: f0db4c7f-fe5a-42a2-bd62-f2a6cf6fc83e 44277.827:0138:013c:warn:vkd3d-proton:openvr_instance_extensions: Failed to open VR registry key, status 2. 44277.827:0138:013c:warn:vkd3d-proton:openxr_vulkan_extensions: wineopenxr.dll is missing required symbols. 44277.828:0138:013c:info:vkd3d-proton:vkd3d_instance_deduce_config_flags_from_environment: shader_cache is used, global_pipeline_cache is enforced. 44277.828:0138:013c:info:vkd3d-proton:vkd3d_config_flags_init_once: VKD3D_CONFIG=''. 44277.843:0138:013c:info:vkd3d-proton:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 3.1.0. 44277.843:0138:013c:info:vkd3d-proton:vkd3d_instance_init: vkd3d-proton - build: 4522cc1a8b1347f. 44277.855:0138:013c:warn:vkd3d-proton:openvr_device_extensions: Failed to open VR registry key, status 2. 44277.855:0138:013c:warn:vkd3d-proton:openxr_vulkan_extensions: wineopenxr.dll is missing required symbols. 44277.937:0138:013c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint9: Implementation supports eliding QFOT for non-compressed optimal images. 44277.937:0138:013c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint10: Implementation can copy depth aspect on compute queue. 44277.937:0138:013c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint10: Implementation can copy depth aspect on transfer queue. 44277.937:0138:013c:info:vkd3d-proton:vkd3d_physical_device_info_init_maint10: Implementation can copy stencil aspect on compute queue. 44277.938:0138:013c:warn:vkd3d-proton:vkd3d_physical_device_info_apply_workarounds: Disabling shader_float_controls2 on NV drivers due to buggy implementation. 44277.938:0138:013c:warn:vkd3d-proton:vkd3d_supports_minimum_coopmat_caps: Missing sufficient features to expose WMMA. 44278.365:0138:013c:warn:vkd3d-proton:d3d12_device_create_vkd3d_queues: Could not allocate an out of band queue for queue family 2. All out of band work will happen on the in band queue. 44278.369:0138:013c:info:vkd3d-proton:vkd3d_memory_info_decide_hvv_usage: Topology: Device heaps are split. Assuming small BAR situation. 44278.369:0138:013c:info:vkd3d-proton:vkd3d_memory_info_upload_hvv_memory_properties: Topology: HVV usage is not allowed, using HOST_COHERENT for UPLOAD. 44278.369:0138:013c:info:vkd3d-proton:vkd3d_bindless_state_get_bindless_flags: Enabling fast paths for advanced ExecuteIndirect() graphics and compute (EXT_dgc). 44278.369:0138:013c:info:vkd3d-proton:vkd3d_bindless_state_get_bindless_flags: Device supports VK_EXT_mutable_descriptor_type. 44278.370:0138:013c:info:vkd3d-proton:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer! 44278.370:0138:013c:info:vkd3d-proton:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer! 44278.370:0138:013c:info:vkd3d-proton:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer! 44278.372:0138:013c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling support for SM 6.6. 44278.372:0138:013c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling support for SM 6.7. 44278.372:0138:013c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling support for SM 6.8. 44278.372:0138:013c:info:vkd3d-proton:d3d12_device_caps_init_shader_model: Enabling experimental support for SM 6.9. 44278.372:0138:013c:fixme:vkd3d-proton:d3d12_device_caps_init_feature_options1: TotalLaneCount = 2944, may be inaccurate. 44278.372:0138:013c:info:vkd3d-proton:d3d12_device_determine_ray_tracing_tier: DXR support enabled. 44278.372:0138:013c:info:vkd3d-proton:d3d12_device_determine_ray_tracing_tier: DXR 1.1 support enabled. 44278.372:0138:013c:info:vkd3d-proton:d3d12_device_determine_ray_tracing_tier: DXR 1.2 support enabled. 44278.372:0138:013c:info:vkd3d-proton:d3d12_device_caps_init_feature_level: DX Ultimate supported! 44278.373:0138:013c:info:vkd3d-proton:vkd3d_pipeline_library_init_disk_cache: Remapping VKD3D_SHADER_CACHE to: vkd3d-proton.cache. 44278.373:0138:013c:info:vkd3d-proton:vkd3d_pipeline_library_init_disk_cache: Attempting to load disk cache from: vkd3d-proton.cache. 44278.373:0138:0144:info:vkd3d-proton:vkd3d_pipeline_library_disk_thread_main: Performing async setup of stream archive ... 013c:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION xcl: VFS: CreateFileA(vkd3d-proton.cache.write) flags 0x8000080 xcl: UMA: 12217 MB of commit free, under 17408 MB: the title's GPU heaps stay outside unified memory (a larger page file gives them the coherent window) 44278.374:0138:0144:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_merge: No write cache exists. No need to merge any disk caches. 44278.374:0138:0144:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_initial_setup: Merging pipeline libraries took 1.272 ms. xcl: VFS: CreateFileA(vkd3d-proton.cache) flags 0x8000080 44278.427:0138:0144:info:vkd3d-proton:vkd3d_pipeline_library_disk_cache_initial_setup: Failed to map read-only cache: vkd3d-proton.cache. 44278.427:0138:0144:info:vkd3d-proton:vkd3d_pipeline_library_disk_thread_main: Done performing async setup of stream archive. xcl: UMA: 3 sparse VRAM window(s) (12 GiB VA) + 512 MB coherent window at 0x400000000 013c:fixme:vulkan:win32u_vkCreateBuffer Unsupported handle types 0x80 xcl: D3D12.X: UMA import check: ok, 1 window(s), 5244 µs xcl: D3D12.X: 3 sparse window(s) for the title's own memory (tiled buffers on video memory) xcl: D3D12.X: UMA opened (3 sparse VRAM window(s), 512 MB coherent window), window 0 buffer at VA 0xde7dfc0000 xcl: D3D12.X: native dynamic depth bias (OPTIONS16): supported (ID3D12GraphicsCommandList9::RSSetDepthBias) 44278.686:0138:013c:warn:vkd3d-proton:d3d12_device_QueryInterface: {b34a50dd-e102-428f-82a0-82294a27bbe6} not implemented, returning E_NOINTERFACE. xcl: D3D12.X: ID3D12Device15 – 94 PC methods, 0 internal slots under the guard, +64 stubs (Device, PC vtable d 3d12core.dll+0x55d4c0) xcl: D3D12.X: backend 'real' – NVIDIA GeForce RTX 2080 (8160 MiB VRAM) xcl: Wine: PEB.ImageBaseAddress left alone (its loader needs the real main image there) xcl: start game_scarlett_master.exe: entry point game_scarlett_master.exe+0x56a1ec8 , stack 0x100000 xcl: D3D12ConfigureVirtualMemoryX: [0, 4, 0, 0, 0, 0, 0, 0] – accepted (nothing to configure on the PC) xcl: D3D12.X: ID3D12Heap1 – 10 PC methods, 0 internal slots under the guard, +64 stubs (Heap, PC vtable d3d12c ore.dll+0x55f7c0) 0158:err:msvcrt:_wassert (L"iface->lpVtbl == &d3d12_heap_vtbl",L"../../../home/maister/git/vkd3d-proton/libs/vkd3d/vkd3d_private.h",1077) xcl: process ends with status 0x3 (thread 344); on the stack: kernel32.dll+0x1a24a, ucrtbase.dll+0x8e0db, ucrt base.dll+0x26c28, ucrtbase.dll+0x9a59d, ucrtbase.dll+0x6f316, ucrtbase.dll+0x9a600, ucrtbase.dll+0x1877b, ucrt base.dll+0x3f1f4, kernelbase.dll+0x7d4e8, kernelbase.dll+0x3dcbf, kernelbase.dll+0x7a18a, xcl.exe+0x4546b8 xcl: thread dump (5 threads): thread 316 'main': ntdll.dll+0xec74 < kernelbase.dll+0x772bd < xcl.exe+0x96057 < xcl.exe+0x26e46 < xcl.exe+0x2 b90 < xcl.exe+0x1586 < xcl.exe+0x188c < xcl.exe+0x44c067 < xcl.exe+0x4b2c < xcl.exe+0x47316f < kernel32.dll+0x 11789 < ntdll.dll+0x1116f thread 320 '': ntdll.dll+0x10cb4 < ntdll.dll+0x3efad < ntdll.dll+0x3a84b < kernelbase.dll+0x6652c < d3d12core. dll+0x1f293 < d3d12core.dll+0x1d68f < kernel32.dll+0x11789 < ntdll.dll+0x1116f thread 324 'vkd3d-disk$': ntdll.dll+0x10cb4 < ntdll.dll+0x3efad < ntdll.dll+0x3a84b < kernelbase.dll+0x6652c < d3d12core.dll+0x89d17 < d3d12core.dll+0x80dbf < kernel32.dll+0x11789 < ntdll.dll+0x1116f thread 336 'vkd3d_fence': ntdll.dll+0x10cb4 < ntdll.dll+0x3efad < ntdll.dll+0x3a84b < kernelbase.dll+0x6652c < d3d12core.dll+0x934c8 < d3d12core.dll+0x8d36f < kernel32.dll+0x11789 < ntdll.dll+0x1116f thread 340 'vkd3d_queue': ntdll.dll+0x10cb4 < ntdll.dll+0x3efad < ntdll.dll+0x3a84b < kernelbase.dll+0x6652c < d3d12core.dll+0xd18a5 < d3d12core.dll+0x8d36f < kernel32.dll+0x11789 < ntdll.dll+0x1116f 012c:fixme:file:SetFileInformationByHandle 0000000000000094, 5, 000000D03261E6D8, 8 Game exited with code 0x3 (3) Missing on this PC (see the start of the run): WARNING: no System32\xgameruntime.dll: XCL's own XGameRuntime parts work, the rest (task queues, networking, dialogs) is missing → install Gaming Services (Microsoft Store) Imports: 1186 (game-dll:amd_fidelityfx_loader_xbox.dll: 4, game-dll:bink2scarlett.dll: 23, game-dll:libhttpcli ent.gdk.dll: 38, game-dll:msvcp140.dll: 157, game-dll:vcruntime140.dll: 82, game-dll:vcruntime140_1.dll: 4, ga me-dll:xboxbvhbuilder.dll: 7, hle-cross:kernelx.dll: 14, hle:acphal.dll: 19, hle:d3d12_xs.dll: 4, hle:gameinpu t.dll: 1, hle:kernelx.dll: 56, hle:minuserx.dll: 2, hle:xaudio2_9.dll: 1, hle:xcrdapi.dll: 1, hle:xg_xs.dll: 2 , stub: 1, system: 770) Report: C:\users\jvyden\AppData\Local\XCL\<package id>\logs\report.json Log: C:\users\jvyden\AppData\Local\XCL\<package id>\logs\xcl.log ```
github-bot 2026-11-26 04:17:13 +00:00
  • closed this issue
  • added the
    bug
    label
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:17:13 +00:00
Author
Owner

@⁠Kalmarv on GitHub · 2026-11-23 21:50 UTC · original

This is the obstacle described in #175, reached with stock vkd3d-proton: the heap is vkd3d-proton's own object, but XCL has replaced its vtable pointer, and vkd3d-proton 3.1 asserts on that. It is not a wrapper object and not the unified-memory import.

What the log shows

  • The last XCL line before the assertion is D3D12.X: ID3D12Heap1 – 10 PC methods, 0 internal slots under the guard, +64 stubs (Heap, PC vtable d3d12core.dll+0x55f7c0), on the game's thread, 8 ms after its entry point.
  • real::class_for prints that line the first time a heap gets XCL's extended vtable. real::adopt then writes the pointer to that table into the object (*(obj as *mut usize) = ext, hle/d3d12x/real.rs). The only callers for heaps are the device's CreateHeap and CreateHeap1 (creator! in the same file).
  • The heap XCL imports for unified memory (OpenExistingHeapFromAddress) is not adopted: UMA import check: ok comes before any heap class exists.

Why vkd3d-proton stops

  • The log names build 4522cc1a8b1347f, which is the v3.1 tag. Line 1077 of its vkd3d_private.h is assert(iface->lpVtbl == &d3d12_heap_vtbl); in impl_from_ID3D12Heap1.
  • All eight of the heap's own methods go through that helper (heap.c: QueryInterface, AddRef, Release, GetPrivateData, SetPrivateData, SetPrivateDataInterface, GetDevice, GetDesc). So do the calls that take a heap: CreatePlacedResource1 / 2, MakeResident, Evict, SetResidencyPriority and the queue's UpdateTileMappings.
  • So the first call that touches the heap after CreateHeap asserts, whichever it is. The log cannot say which one; a run with XCL_D3D12_TRACE=1 would name the last method the title called.

It is not only heaps. That header has ten such assertions (fence, shared fence, heap, resource, descriptor heap, query heap, root signature, pipeline state, command signature), and #175 lists the list and allocator checks as well. XCL adopts all of those kinds. The heap is just the first one a title reaches, so leaving heaps alone would move the stop to the first resource. The fix is the direction #175 asks about (proxies, so host objects stay untouched), which is waiting for a decision there.

For now: stock vkd3d-proton from winetricks cannot run XCL. #175 describes the diagnostic build people have used to get further (-Db_ndebug=true, the two from_iface changes, VKD3D_CONFIG=ignore_shared_fence). It removes checks for every application, so treat it as a test setup.

Two smaller things in the same log, unrelated to the assertion:

  • XCL_ADAPTER=llvmpipe matched no adapter, so XCL used the RTX 2080.
  • UMA: 12217 MB of commit free, under 17408 MB: the title's GPU heaps stay outside unified memory on this machine.

Tested: read the attached xcl.log and report.json, XCL main 60565c4, and vkd3d-proton at 4522cc1a (vkd3d_private.h, heap.c, device.c, command.c).
Not tested: nothing was run under Wine; the assertion was not reproduced here.

🤖 Claude Fable 5.2

**@⁠Kalmarv** on GitHub · 2026-11-23 21:50 UTC · [original](https://github.com/xcl-dev/xcl/issues/241#issuecomment-7114992198) This is the obstacle described in #175, reached with stock vkd3d-proton: the heap is vkd3d-proton's own object, but XCL has replaced its vtable pointer, and vkd3d-proton 3.1 asserts on that. It is not a wrapper object and not the unified-memory import. **What the log shows** - The last XCL line before the assertion is `D3D12.X: ID3D12Heap1 – 10 PC methods, 0 internal slots under the guard, +64 stubs (Heap, PC vtable d3d12core.dll+0x55f7c0)`, on the game's thread, 8 ms after its entry point. - `real::class_for` prints that line the first time a heap gets XCL's extended vtable. `real::adopt` then writes the pointer to that table into the object (`*(obj as *mut usize) = ext`, `hle/d3d12x/real.rs`). The only callers for heaps are the device's `CreateHeap` and `CreateHeap1` (`creator!` in the same file). - The heap XCL imports for unified memory (`OpenExistingHeapFromAddress`) is not adopted: `UMA import check: ok` comes before any heap class exists. **Why vkd3d-proton stops** - The log names build `4522cc1a8b1347f`, which is the v3.1 tag. Line 1077 of its `vkd3d_private.h` is `assert(iface->lpVtbl == &d3d12_heap_vtbl);` in `impl_from_ID3D12Heap1`. - All eight of the heap's own methods go through that helper (`heap.c`: `QueryInterface`, `AddRef`, `Release`, `GetPrivateData`, `SetPrivateData`, `SetPrivateDataInterface`, `GetDevice`, `GetDesc`). So do the calls that take a heap: `CreatePlacedResource1` / `2`, `MakeResident`, `Evict`, `SetResidencyPriority` and the queue's `UpdateTileMappings`. - So the first call that touches the heap after `CreateHeap` asserts, whichever it is. The log cannot say which one; a run with `XCL_D3D12_TRACE=1` would name the last method the title called. **It is not only heaps.** That header has ten such assertions (fence, shared fence, heap, resource, descriptor heap, query heap, root signature, pipeline state, command signature), and #175 lists the list and allocator checks as well. XCL adopts all of those kinds. The heap is just the first one a title reaches, so leaving heaps alone would move the stop to the first resource. The fix is the direction #175 asks about (proxies, so host objects stay untouched), which is waiting for a decision there. **For now:** stock vkd3d-proton from winetricks cannot run XCL. #175 describes the diagnostic build people have used to get further (`-Db_ndebug=true`, the two `from_iface` changes, `VKD3D_CONFIG=ignore_shared_fence`). It removes checks for every application, so treat it as a test setup. Two smaller things in the same log, unrelated to the assertion: - `XCL_ADAPTER=llvmpipe` matched no adapter, so XCL used the RTX 2080. - `UMA: 12217 MB of commit free, under 17408 MB`: the title's GPU heaps stay outside unified memory on this machine. **Tested:** read the attached `xcl.log` and `report.json`, XCL `main` `60565c4`, and vkd3d-proton at `4522cc1a` (`vkd3d_private.h`, `heap.c`, `device.c`, `command.c`). **Not tested:** nothing was run under Wine; the assertion was not reproduced here. 🤖 Claude Fable 5.2
Author
Owner

@⁠jvyden on GitHub · 2026-11-23 22:16 UTC · original

Closing in favor of #175!

**@⁠jvyden** on GitHub · 2026-11-23 22:16 UTC · [original](https://github.com/xcl-dev/xcl/issues/241#issuecomment-7115551470) Closing in favor of #175!
This discussion has been locked. Commenting is limited to contributors.
No description provided.