doitsujin / dxvk

Vulkan-based implementation of D3D8, 9, 10 and 11 for Linux / Wine
zlib License
13.43k stars 868 forks source link

Heroes of Storm crash at startup with DXVK #524

Closed Krovikan closed 6 years ago

Krovikan commented 6 years ago

From Battle.net Launcher, HoTS works in 64bit with the workaround of d3dcompiler_47.dll and d3dx11_42.dll.

With VXDK I use:

krovikan@linux:/mnt/juegos/wine/drive_c/Program Files (x86)/Heroes of the Storm/Support64> env DXVK_HUD=devinfo,fps DXVK_FAKE_DX10_SUPPORT=1 WINEDEBUG=-all WINEPREFIX=/home/krovikan/.winedxvk wine64 HeroesSwitcher_x64.exe

Crash at start.

d3d11.log

info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0

dxgi.log

info:  Game: HeroesOfTheStorm_x64.exe
info:  DXVK: v0.63-21-g1da6617
warn:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_physical_device_properties2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  GeForce GTX 1070:
info:    Driver: 396.45.0
info:    Vulkan: 1.1.70
info:    Memory Heap[0]: 
info:      Size: 8192 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:      Memory Type[8]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 24083 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[9]: Property Flags = 0x6
info:      Memory Type[10]: Property Flags = 0xe
info:  Enabled device extensions:
info:    VK_EXT_shader_viewport_index_layer
info:    VK_KHR_dedicated_allocation
info:    VK_KHR_descriptor_update_template
info:    VK_KHR_get_memory_requirements2
info:    VK_KHR_image_format_list
info:    VK_KHR_maintenance1
info:    VK_KHR_maintenance2
info:    VK_KHR_sampler_mirror_clamp_to_edge
info:    VK_KHR_shader_draw_parameters
info:    VK_KHR_swapchain
warn:  DXGI: MakeWindowAssociation: Ignoring flags

Software information

Heroes of Storm Settings HIgh

System information

Apitrace file(s)

Sorry, I can't do Apitrace. Is a bit complicated to build.

Log files

info:  Game: HeroesOfTheStorm_x64.exe
info:  DXVK: v0.63-21-g1da6617
warn:  OpenVR: Failed to locate module
info:  Enabled instance extensions:
info:    VK_KHR_get_physical_device_properties2
info:    VK_KHR_surface
info:    VK_KHR_win32_surface
info:  GeForce GTX 1070:
info:    Driver: 396.45.0
info:    Vulkan: 1.1.70
info:    Memory Heap[0]: 
info:      Size: 8192 MiB
info:      Flags: 0x1
info:      Memory Type[7]: Property Flags = 0x1
info:      Memory Type[8]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 24083 MiB
info:      Flags: 0x0
info:      Memory Type[0]: Property Flags = 0x0
info:      Memory Type[1]: Property Flags = 0x0
info:      Memory Type[2]: Property Flags = 0x0
info:      Memory Type[3]: Property Flags = 0x0
info:      Memory Type[4]: Property Flags = 0x0
info:      Memory Type[5]: Property Flags = 0x0
info:      Memory Type[6]: Property Flags = 0x0
info:      Memory Type[9]: Property Flags = 0x6
info:      Memory Type[10]: Property Flags = 0xe
info:  Enabled device extensions:
info:    VK_EXT_shader_viewport_index_layer
info:    VK_KHR_dedicated_allocation
info:    VK_KHR_descriptor_update_template
info:    VK_KHR_get_memory_requirements2
info:    VK_KHR_image_format_list
info:    VK_KHR_maintenance1
info:    VK_KHR_maintenance2
info:    VK_KHR_sampler_mirror_clamp_to_edge
info:    VK_KHR_shader_draw_parameters
info:    VK_KHR_swapchain
warn:  DXGI: MakeWindowAssociation: Ignoring flags
EntropicEffect commented 6 years ago

HOTS is working for me.

See the output if you remove the WINEDEBUG=-all flag.

ssorgatem commented 6 years ago

You don't need to build apitrace, you can use the Windows binaries through wine

Krovikan commented 6 years ago

I am outside of my home at the moment. I'll return in 10h aprox.

I am thinking that may be is the files d3dcompiler_47.dll and d3dx11_42.dll.

I do the workaround in my .wine prefix (for this works from Battle.net Launcher) but not in my .winedxvk. May be this is the error.

I'll can try this night and I post if is this.

PD: Sorry for my English.

Guy1524 commented 6 years ago

Since this is not a DXVK issue, an apitrace won't be needed

Krovikan commented 6 years ago

Sorry for the ticket, guys.

As I think, I don't copy the DLLs d3dcompiler_47.dll and d3dx11_42.dll to the .winedxvk PREFIX.

Works nice.