vkd3d-proton icon indicating copy to clipboard operation
vkd3d-proton copied to clipboard

Sherlock Holmes Chapter One (1137300) crashes when reaching open world

Open Tibladar opened this issue 2 years ago • 2 comments

After finishing the level "One Ghosts of the Past" the game crashes during loading of the next level with Assertion failed: 1 <= count && count <= VKD3D_VEC4_SIZE, file ../../../libs/vkd3d-shader/vkd3d_shader_private.h, line 868

https://github.com/HansKristian-Work/vkd3d-proton/blob/2b13d06f82f0a686589967d70e8df8e158d55f53/libs/vkd3d-shader/vkd3d_shader_private.h#L868

This crash does not occur with DXVK (game run with -dx11)

Steps to reproduce

  • Start the game without any startup arguments
  • Finish the level "One Ghosts of the Past"
  • The next level is loaded and when when prompted to "press any key" the game crashes

Savegame where you only have to go upstairs to room 225 and blame the person inside to finish the level: ManualSave.zip Folder: %localappdata%\SH9\Saved\SaveGames

Logs

Wine log
0070:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0070:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
008c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
008c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00bc:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00bc:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0100:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0100:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0108:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0108:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0108:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0108:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0100:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0108:fixme:nls:get_dummy_preferred_ui_language (0x8 0000000000B9E764 0000000000000000 0000000000B9E760) returning a dummy value (current locale)
0108:fixme:nls:get_dummy_preferred_ui_language (0x8 0000000000B9E764 0000000011EB50C0 0000000000B9E760) returning a dummy value (current locale)
0108:fixme:crypt:CNG_VerifySignature Failed to verify signature: c000a000
0108:fixme:win:DisableProcessWindowsGhosting : stub
0108:fixme:msctf:InputProcessorProfileMgr_GetActiveProfile (0000000000FD8C90)->({34745c63-b2f0-4784-8b67-5e12c8701a31} 0000000000B9EB20)
0108:fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
0108:fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
0108:fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
info:  Game: SHCO.exe
info:  DXVK: v1.9.2-21-g2e66f45a
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
warn:  Skipping CPU adapter: llvmpipe (LLVM 13.0.0, 256 bits)
info:  AMD RADV NAVI10:
info:    Driver: 21.3.0
info:    Vulkan: 1.2.195
info:    Memory Heap[0]: 
info:      Size: 8176 MiB
info:      Flags: 0x0
info:      Memory Type[1]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
info:      Memory Type[5]: Property Flags = 0xc6
info:      Memory Type[7]: Property Flags = 0xce
info:    Memory Heap[1]: 
info:      Size: 8176 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[2]: Property Flags = 0x7
info:      Memory Type[4]: Property Flags = 0xc1
info:      Memory Type[6]: Property Flags = 0xc7
0108:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.5.0.
0108:info:vkd3d_instance_init: vkd3d-proton - build: db89d403d630f22.
WINE VERSION = wine-6.21.r0.g63c3baa9 ( TkG Staging Esync Fsync )

0108:info:vkd3d_memory_info_init_budgets: Applying resizable BAR budget to memory types: 0x44.
0108:info:vkd3d_bindless_state_get_bindless_flags: Device supports VK_VALVE_mutable_descriptor_type.
0108:info:d3d12_device_caps_init_shader_model: Enabling support for SM 6.6.
0108:fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 2560, may be inaccurate.
warn:  CreateDXGIFactory2: Ignoring flags
info:  Game: SHCO.exe
info:  DXVK: v1.9.2-21-g2e66f45a
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
info:    OpenXR
info:  OpenVR: could not open registry key, status 2
info:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_surface_capabilities2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
warn:  Skipping CPU adapter: llvmpipe (LLVM 13.0.0, 256 bits)
info:  AMD RADV NAVI10:
info:    Driver: 21.3.0
info:    Vulkan: 1.2.195
info:    Memory Heap[0]: 
info:      Size: 8176 MiB
info:      Flags: 0x0
info:      Memory Type[1]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
info:      Memory Type[5]: Property Flags = 0xc6
info:      Memory Type[7]: Property Flags = 0xce
info:    Memory Heap[1]: 
info:      Size: 8176 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:      Memory Type[2]: Property Flags = 0x7
info:      Memory Type[4]: Property Flags = 0xc1
info:      Memory Type[6]: Property Flags = 0xc7
0108:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.5.0.
0108:info:vkd3d_instance_init: vkd3d-proton - build: db89d403d630f22.

0108:info:vkd3d_memory_info_init_budgets: Applying resizable BAR budget to memory types: 0x44.
0108:info:vkd3d_bindless_state_get_bindless_flags: Device supports VK_VALVE_mutable_descriptor_type.
0108:info:d3d12_device_caps_init_shader_model: Enabling support for SM 6.6.
0108:fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 2560, may be inaccurate.
0108:fixme:win:RegisterTouchWindow (0000000000010084 00000000): stub
0108:fixme:imm:ImmReleaseContext (0000000000010084, 0000000000000000): stub
00bc:fixme:imm:ImeSetActiveContext (0x4403d0, 0): stub
00bc:fixme:imm:ImmReleaseContext (0000000000010020, 00000000004403D0): stub
0108:fixme:d3d12_swapchain_init: Ignoring swap effect 0x4.
0108:fixme:d3d12_swapchain_init: Ignoring buffer usage 0x30.
0108:fixme:d3d12_swapchain_init: Ignoring swapchain flags 0x802.
warn:  DXGI: MakeWindowAssociation: Ignoring flags
0108:fixme:d3d12_swapchain_resize_buffers: Ignoring flags 0x802.
0138:fixme:rs_desc_from_d3d12: Ignoring MultisampleEnable 0x1.
024c:fixme:service:I_ScRegisterDeviceNotification Notification filters are not yet implemented.
0158:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0144:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0148:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
013c:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0140:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0140:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0150:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0158:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
015c:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0138:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0154:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0148:fixme:vk_samples_from_dxgi_sample_desc: Unhandled sample count 0.
0138:fixme:vk_samples_from_dxgi_sample_desc: Unhandled sample count 0.
014c:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
015c:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0138:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0154:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0150:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0144:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0138:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
014c:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0144:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0148:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0138:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0138:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0138:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
013c:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0138:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0148:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0138:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
0138:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
Assertion failed: 1 <= count && count <= VKD3D_VEC4_SIZE, file ../../../libs/vkd3d-shader/vkd3d_shader_private.h, line 868

I tried creating an apitrace with this fork https://github.com/Joshua-Ashton/apitrace/releases/tag/d3d12-alpha-4 but it refuses to start with error: unavailable function CreateDXGIFactory

When running the game with vulkan-validationlayers it crashes when loading the save game and produces this log: validation_crash.zip

VKD3D_SHADER_DEBUG and VKD3D_DEBUG = trace: vkd3dlogs.zip

System

VKD3D-Proton: 2.5 and latest from https://github.com/HansKristian-Work/vkd3d-proton/actions/runs/1452475263 Wine: 6.14, 6.16 and 6.21 GPU: AMD 5700 with Mesa 21.3.0

Tibladar avatar Nov 21 '21 14:11 Tibladar

error: unavailable function CreateDXGIFactory

Did you copy dxgi.dll and dxgitrace.dll?

K0bin avatar Nov 21 '21 20:11 K0bin

Did you copy dxgi.dll and dxgitrace.dll?

When dxgi, dxgitrace and d3d12.dll are in the folder the game throws this error: image

Wine log
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
006c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0084:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00b4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00b4:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
002c:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00f8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
00f8:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0024:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0100:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0100:fixme:font:get_name_record_codepage encoding 20 not handled, platform 1.
0100:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0100:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
00f8:fixme:msg:pack_message msg 14 (WM_ERASEBKGND) not supported yet
0100:fixme:nls:get_dummy_preferred_ui_language (0x8 0000000000B9E764 0000000000000000 0000000000B9E760) returning a dummy value (current locale)
0100:fixme:nls:get_dummy_preferred_ui_language (0x8 0000000000B9E764 0000000011EE50C0 0000000000B9E760) returning a dummy value (current locale)
0100:fixme:crypt:CNG_VerifySignature Failed to verify signature: c000a000
0100:fixme:win:DisableProcessWindowsGhosting : stub
0100:fixme:msctf:InputProcessorProfileMgr_GetActiveProfile (00000000010C8330)->({34745c63-b2f0-4784-8b67-5e12c8701a31} 0000000000B9EB20)
0100:fixme:system:SystemParametersInfoW Unimplemented action: 59 (SPI_SETSTICKYKEYS)
0100:fixme:system:SystemParametersInfoW Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
0100:fixme:system:SystemParametersInfoW Unimplemented action: 51 (SPI_SETFILTERKEYS)
apitrace: loaded into C:\Program Files\Sherlock Holmes - Chapter One\SH9\Binaries\Win64\SHCO.exe
apitrace: warning: D3D12CreateDevice: unexpected IUnknown pointer 00000000010CAF10
apitrace: tracing to C:\users\user\Desktop\SHCO.trace
0100:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.5.0.
0100:info:vkd3d_instance_init: vkd3d-proton - build: db89d403d630f22.
0100:info:vkd3d_memory_info_init_budgets: Applying resizable BAR budget to memory types: 0x44.
0100:info:vkd3d_bindless_state_get_bindless_flags: Device supports VK_VALVE_mutable_descriptor_type.
0100:info:d3d12_device_caps_init_shader_model: Enabling support for SM 6.6.
0100:fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 2560, may be inaccurate.
apitrace: warning: D3D12CreateDevice: unexpected IUnknown pointer 00000000010CB810
apitrace: flushing trace
0100:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.5.0.
0100:info:vkd3d_instance_init: vkd3d-proton - build: db89d403d630f22.
0100:info:vkd3d_memory_info_init_budgets: Applying resizable BAR budget to memory types: 0x44.
0100:info:vkd3d_bindless_state_get_bindless_flags: Device supports VK_VALVE_mutable_descriptor_type.
0100:info:d3d12_device_caps_init_shader_model: Enabling support for SM 6.6.
0100:fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 2560, may be inaccurate.
apitrace: warning: WrapID3D12Device6::CreateCommandSignature: unexpected polymorphic case 0
apitrace: warning: WrapID3D12Device6::CreateCommandSignature: unexpected polymorphic case 1
apitrace: warning: WrapID3D12Device6::CreateCommandSignature: unexpected polymorphic case 2
0100:fixme:dxgi:dxgi_adapter_QueryVideoMemoryInfo Returning fake video memory info.
0100:fixme:dxgi:dxgi_adapter_SetVideoMemoryReservation iface 0x10cb810, node_index 0, segment_group 0, reservation 0x100000000 stub!
0100:fixme:dxgi:dxgi_output_GetDesc1 iface 0x10ce6f0, desc 0xb9ea30 semi-stub!
0100:fixme:dxgi:dxgi_output_GetDesc1 iface 0x10ce6f0, desc 0xb9ea30 semi-stub!
0100:fixme:imm:ImeSetActiveContext (0xd70c90, 1): stub
0100:fixme:imm:ImmReleaseContext (000000000001009C, 0000000000D70C90): stub
00b4:fixme:imm:ImeSetActiveContext (0x4403d0, 0): stub
00b4:fixme:imm:ImmReleaseContext (0000000000010020, 00000000004403D0): stub

Tibladar avatar Nov 22 '21 16:11 Tibladar

@Tibladar Friendly hello hello ping. Do you still experience issues with this game?

Blisto91 avatar Feb 14 '23 14:02 Blisto91

@Tibladar Friendly hello hello ping. Do you still experience issues with this game?

I currently don't have the game installed but according to a ProtonDB entry it still

crashes at the end of the tutorial mission

which is what happened to me

Tibladar avatar Feb 14 '23 17:02 Tibladar