App is probably not loading DXVK's DXGI DLL which is required for swap chains to work.
App is probably not loading DXVK's DXGI DLL which is required for swap chains to work.
Setting DXVK_LOG_PATH=. DXVK_LOG_LEVEL=debug creates an empty file named D3D12HelloTriangle_dxgi.log, so it seems like it's being loaded? Looking at the exe with Dependencies seems to indicate that it should be loaded as well.
I wasn't getting a log file from vkd3d-proton earlier, but it must have been because I typoed the environment name variable or something:
2348:warn:d3d12core_GetDebugInterface: Returning DXGI_ERROR_SDK_COMPONENT_MISSING.
2348:info:vkd3d_instance_apply_application_workarounds: Program name: "D3D12HelloTriangle.exe"
2348:info:vkd3d_instance_deduce_config_flags_from_environment: shader_cache is used, global_pipeline_cache is enforced.
2348:info:vkd3d_config_flags_init_once: VKD3D_CONFIG=''.
2348:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.9.0.
2348:info:vkd3d_instance_init: vkd3d-proton - build: 6365efeba253807.
2348:warn:vkd3d_init_depth_stencil_formats: Mapping VK_FORMAT_D24_UNORM_S8_UINT to VK_FORMAT_D32_SFLOAT_S8_UINT.
2348:info:vkd3d_memory_info_upload_hvv_memory_properties: Topology: Device heaps are split. Assuming small BAR situation. Using HOST_COHERENT only.
2348:info:vkd3d_bindless_state_get_bindless_flags: Device does not support VK_EXT_mutable_descriptor_type (or VALVE).
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 5120, may be inaccurate.
2348:info:vkd3d_pipeline_library_init_disk_cache: Remapping VKD3D_SHADER_CACHE to: vkd3d-proton.cache.
2348:info:vkd3d_pipeline_library_init_disk_cache: Attempting to load disk cache from: vkd3d-proton.cache.
3074:info:vkd3d_pipeline_library_disk_thread_main: Performing async setup of stream archive ...
3074:info:vkd3d_pipeline_library_disk_cache_merge: No write cache exists. No need to merge any disk caches.
3074:info:vkd3d_pipeline_library_disk_cache_initial_setup: Merging pipeline libraries took 0.102 ms.
3074:info:vkd3d_pipeline_library_disk_cache_initial_setup: Failed to map read-only cache: vkd3d-proton.cache.
3074:info:vkd3d_pipeline_library_disk_thread_main: Done performing async setup of stream archive.
2348:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.9.0.
2348:info:vkd3d_instance_init: vkd3d-proton - build: 6365efeba253807.
2348:warn:vkd3d_init_depth_stencil_formats: Mapping VK_FORMAT_D24_UNORM_S8_UINT to VK_FORMAT_D32_SFLOAT_S8_UINT.
2348:info:vkd3d_memory_info_upload_hvv_memory_properties: Topology: Device heaps are split. Assuming small BAR situation. Using HOST_COHERENT only.
2348:info:vkd3d_bindless_state_get_bindless_flags: Device does not support VK_EXT_mutable_descriptor_type (or VALVE).
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:info:vkd3d_bindless_state_add_binding: Device supports VK_EXT_descriptor_buffer!
2348:fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 5120, may be inaccurate.
2348:info:vkd3d_pipeline_library_init_disk_cache: Remapping VKD3D_SHADER_CACHE to: vkd3d-proton.cache.
2348:info:vkd3d_pipeline_library_init_disk_cache: Attempting to load disk cache from: vkd3d-proton.cache.
2348:info:dxgi_vk_swap_chain_init: Creating swapchain (1280 x 720), BufferCount = 2.
2cd8:info:vkd3d_pipeline_library_disk_thread_main: Performing async setup of stream archive ...
2cd8:info:vkd3d_pipeline_library_disk_cache_merge: No write cache exists. No need to merge any disk caches.
2cd8:info:vkd3d_pipeline_library_disk_cache_initial_setup: Merging pipeline libraries took 0.177 ms.
2cd8:info:vkd3d_pipeline_library_disk_cache_initial_setup: Failed to map read-only cache: vkd3d-proton.cache.
2cd8:info:vkd3d_pipeline_library_disk_thread_main: Done performing async setup of stream archive.
2348:fixme:vkd3d_dxbc_compiler_emit_dcl_global_flags: Unhandled global flags 0x11.
2348:fixme:vkd3d_dxbc_compiler_emit_dcl_global_flags: Unhandled global flags 0x11.
2cd8:info:vkd3d_pipeline_library_disk_thread_main: Pipeline cache marked dirty. Flush is scheduled.
2348:warn:dxgi_vk_swap_chain_Present: Detected excessively slow Present() processing. Potential causes: resize, wait-before-signal.
DXVK_LOG_LEVEL=debug`x1 2023-08DXVK_LOG_PATH=.x1 2023-08VKD3D_CONFIG=''x1 2023-08VKD3D_SHADER_CACHEx1 2023-08
When using vkd3d-proton, I'm seeing a crash on the first present call in the D3D12HelloTriangle sample, with a null dereference in the AMD driver. Is this something that should be reported to AMD instead?
System information
Log files
Crashing thread:
and everyone else: