doitsujin / dxvk

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

WoW TBC beta DXVK error #2049

Closed ghost closed 3 years ago

ghost commented 3 years ago

Note: I'm not original user who had this error, as I don't have access to TBC beta yet.

Sources: https://www.reddit.com/r/linux_gaming/comments/mdqrkq/any_wow_the_burning_crusade_beta_testers_on_linux/ https://us.forums.blizzard.com/en/wow/t/memory-access-violation-instant-crash-on-linux/918352

It seems like when DXVK is enabled, and trying launch TBC beta, this error happens: https://imgur.com/a/4kpDoR2

When DXVK is disabled, TBC beta seem to run, according to user.

EDIT: I did some further testing, disabling DXVK allows TBC to boot normally. So some sort of incompatibility there.

Clicking show logs in lutris gives no errors at all. Logs in there are identical to a successful bootup of the classic client. Is there another log I should look at?

I've tried DXVK v1.7.1L and v1.7.3L-03f11ba

Both crash in the same manner.

Edit: Here is a log anyways in case it helps. It is identical between classic/tbc, launching either client does not add any lines to the log, its only when im booting bnet client or interacting with bnet.

lutris-wrapper: World of Warcraft
Running gamemoderun /home/<user>/.local/share/lutris/runners/wine/lutris-6.0-x86_64/bin/wine /home/<user>/Games/world-of-warcraft/drive_c/Program Files (x86)/Battle.net/Battle.net.exe
Initial process has started with pid 571952
Start monitoring process.
gamemodeauto: 
esync: up and running.
[0326/132316.352:ERROR:network_change_notifier_win.cc(142)] WSALookupServiceBegin failed with: 0
info:  Game: Battle.net.exe
info:  DXVK: v1.7.1
info:  Built-in extension providers:
info:    Win32 WSI
info:    OpenVR
warn:  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 Vulkan 1.0 adapter: llvmpipe (LLVM 11.0.0, 256 bits)
info:  AMD RADV POLARIS10 (ACO):
info:    Driver: 20.3.4
info:    Vulkan: 1.2.145
info:    Memory Heap[0]: 
info:      Size: 7936 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0x1
info:    Memory Heap[1]: 
info:      Size: 8192 MiB
info:      Flags: 0x0
info:      Memory Type[1]: Property Flags = 0x6
info:      Memory Type[3]: Property Flags = 0xe
info:    Memory Heap[2]: 
info:      Size: 256 MiB
info:      Flags: 0x1
info:      Memory Type[2]: Property Flags = 0x7
[0326/132316.919:ERROR:dxva_video_decode_accelerator_win.cc(1397)] DXVAVDA fatal error: could not LoadLibrary: msmpeg2vdec.dll: Module not found. (0x7E)
[0326/132317.600:ERROR:network_change_notifier_win.cc(142)] WSALookupServiceBegin failed with: 0
[0326/132332.999:ERROR:mf_video_decoder.cc(747)] Unsupported codec by MfVideoDecoder: 6
[0326/132416.804:INFO:cef_logging.h(628)] BNET, sending query, close window
Initial process has exited (return code: 0)
warn: DXGIDeclareAdapterRemovalSupport: Stub
warn: CreateDXGIFactory2: Ignoring flags
info: Game: WowClassicB.exe
info: DXVK: v1.7.1
info: Built-in extension providers:
info: Win32 WSI
info: OpenVR
warn: 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 Vulkan 1.0 adapter: llvmpipe (LLVM 11.0.0, 256 bits)
info: AMD RADV POLARIS10 (ACO):
info: Driver: 20.3.4
info: Vulkan: 1.2.145
info: Memory Heap[0]:
info: Size: 7936 MiB
info: Flags: 0x1
info: Memory Type[0]: Property Flags = 0x1
info: Memory Heap[1]:
info: Size: 8192 MiB
info: Flags: 0x0
info: Memory Type[1]: Property Flags = 0x6
info: Memory Type[3]: Property Flags = 0xe
info: Memory Heap[2]:
info: Size: 256 MiB
info: Flags: 0x1
info: Memory Type[2]: Property Flags = 0x7
warn: DxgiFactory::QueryInterface: Unknown interface query
warn: c1b6694f-ff09-44a9-b03c-77900a0a1d17
info: D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_1
info: D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_1
info: Device properties:
info: Device name: : AMD RADV POLARIS10 (ACO)
info: Driver version : 20.3.4
info: Enabled device extensions:
info: VK_AMD_memory_overallocation_behavior
info: VK_AMD_shader_fragment_mask
info: VK_EXT_4444_formats
info: VK_EXT_custom_border_color
info: VK_EXT_depth_clip_enable
info: VK_EXT_extended_dynamic_state
info: VK_EXT_full_screen_exclusive
info: VK_EXT_host_query_reset
info: VK_EXT_memory_priority
info: VK_EXT_robustness2
info: VK_EXT_shader_demote_to_helper_invocation
info: VK_EXT_shader_stencil_export
info: VK_EXT_shader_viewport_index_layer
info: VK_EXT_transform_feedback
info: VK_EXT_vertex_attribute_divisor
info: VK_KHR_create_renderpass2
info: VK_KHR_depth_stencil_resolve
info: VK_KHR_draw_indirect_count
info: VK_KHR_driver_properties
info: VK_KHR_image_format_list
info: VK_KHR_sampler_mirror_clamp_to_edge
info: VK_KHR_swapchain
info: Device features:
info: robustBufferAccess : 1
info: fullDrawIndexUint32 : 1
info: imageCubeArray : 1
info: independentBlend : 1
info: geometryShader : 1
info: tessellationShader : 1
info: sampleRateShading : 1
info: dualSrcBlend : 1
info: logicOp : 1
info: multiDrawIndirect : 1
info: drawIndirectFirstInstance : 1
info: depthClamp : 1
info: depthBiasClamp : 1
info: fillModeNonSolid : 1
info: depthBounds : 1
info: multiViewport : 1
info: samplerAnisotropy : 1
info: textureCompressionBC : 1
info: occlusionQueryPrecise : 1
info: pipelineStatisticsQuery : 1
info: vertexPipelineStoresAndAtomics : 1
info: fragmentStoresAndAtomics : 1
info: shaderImageGatherExtended : 1
info: shaderStorageImageExtendedFormats : 1
info: shaderStorageImageReadWithoutFormat : 1
info: shaderStorageImageWriteWithoutFormat : 1
info: shaderClipDistance : 1
info: shaderCullDistance : 1
info: shaderFloat64 : 1
info: shaderInt64 : 1
info: variableMultisampleRate : 1
info: VK_EXT_conditional_rendering
info: conditionalRendering : 1
info: VK_EXT_4444_formats
info: formatA4R4G4B4 : 1
info: formatA4B4G4R4 : 1
info: VK_EXT_custom_border_color
info: customBorderColors : 1
info: customBorderColorWithoutFormat : 1
info: VK_EXT_depth_clip_enable
info: depthClipEnable : 1
info: VK_EXT_extended_dynamic_state
info: extendedDynamicState : 1
info: VK_EXT_host_query_reset
info: hostQueryReset : 1
info: VK_EXT_memory_priority
info: memoryPriority : 1
info: VK_EXT_robustness2
info: robustBufferAccess2 : 1
info: robustImageAccess2 : 1
info: nullDescriptor : 1
info: VK_EXT_shader_demote_to_helper_invocation
info: shaderDemoteToHelperInvocation : 1
info: VK_EXT_transform_feedback
info: transformFeedback : 1
info: geometryStreams : 1
info: VK_EXT_vertex_attribute_divisor
info: vertexAttributeInstanceRateDivisor : 1
info: vertexAttributeInstanceRateZeroDivisor : 1
info: Queue families:
info: Graphics : 0
info: Transfer : 1
info: DXVK: Read 0 valid state cache entries
info: DXVK: Using 7 compiler threads
warn: DXGI: VK_FORMAT_D24_UNORM_S8_UINT -> VK_FORMAT_D32_SFLOAT_S8_UINT
warn: DxgiAdapter::QueryInterface: Unknown interface query
warn: 7abb6563-02bc-47c4-8ef9-acc4795edbcf
ACCESS_VIOLATION : error 132: ERROR #132 (0x85100084) Fatal exception!

The instruction at “0x000000018000396a” referenced memory at “0x0000000000000000”.
The memory could not be “read”.
ghost commented 3 years ago

Original user can come here and add something more if needed.

misyltoad commented 3 years ago

Please provide an apitrace and test with the latest release also.

I do not know what GUID 7abb6563-02bc-47c4-8ef9-acc4795edbcf is or why it is being queried, however, WineD3D does not implement that either so I imagine that isn't the problem...

doitsujin commented 3 years ago

Well, not much we can do here if something is locked behind some beta that mere mortals don't have access to.

[0326/132316.919:ERROR:dxva_video_decode_accelerator_win.cc(1397)] DXVAVDA fatal error: could not LoadLibrary: msmpeg2vdec.dll: Module not found. (0x7E)

you sure this is actually our problem?