protonscr

Hi, How can i debug and set log level to trace

vkd3dclosed
HansKristian-Work/vkd3d-proton#2557 · opened 2025-08-04 by NRTnarathip · updated 2025-08-05 · 4 comments · github
NNRTnarathip 2025-08-04 github

Hello guy, currently i'm try fix bug game death stranding on Winlator Cmod v13
and i don't know how to set debug log file level "trace"?

here my log

0104:warn:openvr_instance_extensions: Failed to open VR registry key, status 2.
0104:warn:openxr_vulkan_extensions: wineopenxr.dll is missing required symbols.
0104:info:vkd3d_instance_apply_application_workarounds: Program name: "ds-patch.exe" (hash: dfbb46dd2d0088cb)
0104:info:vkd3d_instance_deduce_config_flags_from_environment: shader_cache is used, global_pipeline_cache is enforced.
0104:info:vkd3d_config_flags_init_once: VKD3D_CONFIG='vk_debug'.
0104:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.13.0.
0104:info:vkd3d_instance_init: vkd3d-proton - build: 81ac2f2cc689fe6.
0104:err:vkd3d_instance_init: Failed to enumerate instance layers, will not use VK_LAYER_KHRONOS_validation directly.
Use VKD3D_CONFIG=vk_debug VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation instead!
0104:warn:openvr_device_extensions: Failed to open VR registry key, status 2.
0104:warn:openxr_vulkan_extensions: wineopenxr.dll is missing required symbols.
0104:warn:d3d12_device_create_vkd3d_queues: Could not allocate an out of band queue for queue family 0. All out of band work will happen on the in band queue.
0104:warn:d3d12_device_create_vkd3d_queues: Could not allocate an out of band queue for queue family 1. All out of band work will happen on the in band queue.
0104:info:vkd3d_memory_info_upload_hvv_memory_properties: Topology: UMA-like topology. Using DEVICE_LOCAL | HOST_COHERENT for UPLOAD.
0104:info:vkd3d_global_descriptor_buffer_init: Small descriptor heap detected, falling back to MUTABLE_SINGLE_SET.
0104:info:vkd3d_bindless_state_get_bindless_flags: Device supports VK_EXT_mutable_descriptor_type.
0104:warn:d3d12_device_caps_init_feature_options1: No device info available for TotalLaneCount = 2048.
0104:fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 2048, may be inaccurate.
0104:warn:d3d12_device_caps_override: Overriding feature level: 0xc200.
0104:info:vkd3d_pipeline_library_init_disk_cache: Remapping VKD3D_SHADER_CACHE to: vkd3d-proton.cache.
0104:info:vkd3d_pipeline_library_init_disk_cache: Attempting to load disk cache from: vkd3d-proton.cache.
0174:info:vkd3d_pipeline_library_disk_thread_main: Performing async setup of stream archive ...
0174:info:vkd3d_pipeline_library_disk_cache_merge: Write cache is invalid (hr #887e0002), nuking it.
0174:info:vkd3d_pipeline_library_disk_cache_initial_setup: Merging pipeline libraries took 28.669 ms.
0174:info:vkd3d_pipeline_library_disk_cache_initial_setup: Mapping read-only cache took 3.494 ms.
0174:info:vkd3d_pipeline_library_disk_cache_initial_setup: Parsing stream archive took 0.087 ms.
0174:info:vkd3d_pipeline_library_disk_cache_initial_setup: Cannot load existing on-disk cache due to driver version mismatch.
0174:info:vkd3d_pipeline_library_disk_thread_main: Done performing async setup of stream archive.
0104:warn:openvr_instance_extensions: Failed to open VR registry key, status 2.
0104:warn:openxr_vulkan_extensions: wineopenxr.dll is missing required symbols.
0104:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.13.0.
0104:info:vkd3d_instance_init: vkd3d-proton - build: 81ac2f2cc689fe6.
0104:err:vkd3d_instance_init: Failed to enumerate instance layers, will not use VK_LAYER_KHRONOS_validation directly.
Use VKD3D_CONFIG=vk_debug VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation instead!
0104:warn:openvr_device_extensions: Failed to open VR registry key, status 2.
0104:warn:openxr_vulkan_extensions: wineopenxr.dll is missing required symbols.
0104:warn:d3d12_device_create_vkd3d_queues: Could not allocate an out of band queue for queue family 0. All out of band work will happen on the in band queue.
0104:warn:d3d12_device_create_vkd3d_queues: Could not allocate an out of band queue for queue family 1. All out of band work will happen on the in band queue.
0104:info:vkd3d_memory_info_upload_hvv_memory_properties: Topology: UMA-like topology. Using DEVICE_LOCAL | HOST_COHERENT for UPLOAD.
0104:info:vkd3d_global_descriptor_buffer_init: Small descriptor heap detected, falling back to MUTABLE_SINGLE_SET.
0104:info:vkd3d_bindless_state_get_bindless_flags: Device supports VK_EXT_mutable_descriptor_type.
0104:warn:d3d12_device_caps_init_feature_options1: No device info available for TotalLaneCount = 2048.
0104:fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 2048, may be inaccurate.
0104:warn:d3d12_device_caps_override: Overriding feature level: 0xc200.
0104:info:vkd3d_pipeline_library_init_disk_cache: Remapping VKD3D_SHADER_CACHE to: vkd3d-proton.cache.
0104:info:vkd3d_pipeline_library_init_disk_cache: Attempting to load disk cache from: vkd3d-proton.cache.
017c:info:vkd3d_pipeline_library_disk_thread_main: Performing async setup of stream archive ...
017c:info:vkd3d_pipeline_library_disk_cache_merge: No write cache exists. No need to merge any disk caches.
017c:info:vkd3d_pipeline_library_disk_cache_initial_setup: Merging pipeline libraries took 15.876 ms.
017c:info:vkd3d_pipeline_library_disk_cache_initial_setup: Mapping read-only cache took 2.890 ms.
017c:info:vkd3d_pipeline_library_disk_cache_initial_setup: Parsing stream archive took 0.029 ms.
017c:info:vkd3d_pipeline_library_disk_cache_initial_setup: Cannot load existing on-disk cache due to driver version mismatch.
017c:info:vkd3d_pipeline_library_disk_thread_main: Done performing async setup of stream archive.
0104:info:dxgi_vk_swap_chain_init: Creating swapchain (1280 x 720), BufferCount = 2.
0104:info:dxgi_vk_swap_chain_init_sync_objects: Ensure maximum latency of 2 frames with KHR_present_wait.
0104:info:dxgi_vk_swap_chain_init_waiter_thread: Enabling present wait path for frame latency.
017c:info:vkd3d_pipeline_library_disk_thread_main: Pipeline cache marked dirty. Flush is scheduled.
0184:info:dxgi_vk_swap_chain_recreate_swapchain_in_present_task: Got 3 swapchain images.
0184:info:dxgi_vk_swap_chain_recreate_swapchain_in_present_task: Got 3 swapchain images.
0184:warn:dxgi_vk_swap_chain_record_render_pass: Application is presenting user index 1, but it has never been rendered to.
0184:warn:dxgi_vk_swap_chain_record_render_pass: Application is presenting user index 1, but it has never been rendered to.
0184:warn:dxgi_vk_swap_chain_record_render_pass: Application is presenting user index 1, but it has never been rendered to.
017c:info:vkd3d_pipeline_library_disk_thread_main: Flushing disk cache (wakeup counter since last flush = 4). It seems like application has stopped creating new PSOs for the time being.
0184:err:d3d12_command_queue_execute: Failed to submit queue(s), vr -4.
0184:warn:d3d12_device_mark_as_removed: Device 0000000044800080 is lost (reason 0x887a0005, "VK_ERROR_DEVICE_LOST").
0184:err:d3d12_command_queue_execute: Failed to submit queue(s), vr -4.
0184:warn:d3d12_device_mark_as_removed: Device 0000000044800080 is lost (reason 0x887a0005, "VK_ERROR_DEVICE_LOST").
0184:warn:d3d12_device_mark_as_removed: Device 0000000044800080 is lost (reason 0x887a0005, "VK_ERROR_DEVICE_LOST").
0184:err:dxgi_vk_swap_chain_submit_blit: Failed to submit swapchain blit, vr -4.
0104:err:d3d12_command_allocator_Reset: There are still 1 pending command lists awaiting execution from command allocator iface 000000004f971210!
0104:err:d3d12_command_allocator_Reset: There are still 1 pending command lists awaiting execution from command allocator iface 000000004f99c4e0!
0184:err:d3d12_command_queue_execute: Failed to submit queue(s), vr -4.
HHansKristian-Work maintainer 2025-08-04 github

You have to build it yourself in debugoptimized build or use proton-experimental debug branches which are built with that enabled.

NNRTnarathip 2025-08-04 github

thanks you, i will check it again 🙏

HHansKristian-Work maintainer 2025-08-04 github

Closing as resolved.

NNRTnarathip 2025-08-05 github

Hi, i have question
how can i enable VK_INSTANCE_LAYERS?

i'm try fix this bug, but i don't know how to see deep log
thanks

0148:trace:d3d12_command_queue_ExecuteCommandLists: iface 000000002461e530, command_list_count 2, command_lists 0000000020fff030.
0104:trace:d3d12_command_list_SetPipelineState: iface 000000004c2b3b00, pipeline_state 0000000000000000.
0148:trace:d3d12_command_queue_Signal: iface 000000002461e530, fence 000000002462bc40, value 0xe.
0104:trace:d3d12_command_list_QueryInterface: iface 000000004c2b3b00, iid {38c3e585-ff17-412c-9150-4fc6f9d72a28}, object 000000000f436d60.
0148:trace:d3d12_command_list_Release: 000000004c29e940 decreasing refcount to 1.
0104:trace:d3d12_command_list_AddRef: 000000004c2b3b00 increasing refcount to 2.
0148:trace:d3d12_command_list_Release: 000000004c2b7a40 decreasing refcount to 1.
0104:trace:d3d12_command_list_Release: 000000004c2b3b00 decreasing refcount to 1.
0148:trace:d3d12_command_list_Release: 000000004c2a2a40 decreasing refcount to 1.
0104:trace:d3d12_command_list_SetDescriptorHeaps: iface 000000004c2b3b00, heap_count 2, heaps 000000000041eb10.
0184:trace:vkd3d_queue_release: queue 0000000000e9ff10.
0148:trace:dxgi_vk_swap_chain_Present: iface 000000002461e990, SyncInterval 1, PresentFlags #0, pPresentParameters 0000000000000000.
0184:trace:d3d12_command_queue_execute: queue 000000002461e530, command_list_count 2, command_lists 0000000024602330.
0184:trace:d3d12_command_queue_execute: num_submits: 1
0184:trace:vkd3d_queue_acquire: queue 0000000000e9ff10.
0184:trace:d3d12_command_queue_execute: num_submits: 1
0184:trace:d3d12_command_queue_execute: num_submits: 1
0184:err:d3d12_command_queue_execute: Failed to submit queue(s), vr -4.
0184:warn:d3d12_device_mark_as_removed: Device 0000000044800080 is lost (reason 0x887a0005, "VK_ERROR_DEVICE_LOST").

Proton versions

Launch options

DLLs

Error codes