dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

Error in dxva_video_decode_accelerator_win.cc

Open Arndorferd opened this issue 3 years ago • 6 comments

Getting : [444:448:0725/234745.504:ERROR:mf_helpers.cc(14)] Error in dxva_video_decode_accelerator_win.cc on line 361

trying to run this game on Proton or Wine, its a Visual Novel game

Software information

The Pirates Fate (Game), Proton/WIne (Runner), Manjaro (OS), Lutris

System information

  • GPU: Intel(R) HD Graphics 4000 (IVB GT2)
  • Driver: 21.1.5
  • Wine version: wine-valve 6.3.20210616-1
  • DXVK version: Same errors on v1.9L-8b6ac52, 1.9L, 1.81L

Log files

Arndorferd avatar Jul 26 '21 04:07 Arndorferd

[444:448:0725/234745.504:ERROR:mf_helpers.cc(14)] Error in dxva_video_decode_accelerator_win.cc on line 361

This is not an error from DXVK. Are you sure this is our bug (i.e. does it work with wined3d)?

Also, note that Vulkan support on your GPU is dodgy at best so please don't expect DXVK to work very well on it, especially for D3D11 games.

doitsujin avatar Jul 26 '21 12:07 doitsujin

Intel HD 4000 has very incomplete Vulkan support , the solution for you is to disable DXVK and use WineD3D instead.

iWeaker avatar Jul 27 '21 01:07 iWeaker

Alternatively, there's Gallium Nine with Crocus drivers, too, but that's up to @Arndorferd to verify how the game performs on those. :)

Faalagorn avatar Aug 19 '21 11:08 Faalagorn

getting the same error with an nvidia rtx 2080 Ti so its not that

Arndorferd avatar Apr 15 '22 10:04 Arndorferd

Couldnt ever figure out how to try to get gallium nine to work either

Arndorferd avatar Apr 15 '22 10:04 Arndorferd

@Arndorferd Could i get you to check again with latest dxvk? I see on protondb that this might be working now. At least with Proton GE

Blisto91 avatar Jul 26 '22 17:07 Blisto91

Getting same issue [0928/213818.236:ERROR:mf_helpers.cc(12)] Error in dxva_video_decode_accelerator_win.cc on line 355

  • Game: Grounded
  • OS: Ubuntu 22.04 (All up to date)
  • Runner: Lutris wine Proton 7.28
  • (GPU): Intel Iris Xe

Hideman85 avatar Sep 28 '22 19:09 Hideman85

Which dxvk version and which drivers Also post a dxvk or wine log please

Blisto91 avatar Sep 28 '22 19:09 Blisto91

Defaults from lutris as:

  • DXVK 1.10.3
  • VKD3D 2.6
  • D3D Extra 2

Could you give me a hand how to get the Intel Iris Xe driver version? :thinking: Gonna check if I can grab the logs.

Nevermind everything is in the log, gonna post it soon.

Logs
Started initial process 38721 from gamemoderun .local/share/lutris/runners/wine/lutris-GE-Proton7-28-x86_64/bin/wine Games/Grounded/Grounded.exe
Start monitoring process.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object 'libgamemodeauto.so.0' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
fsync: up and running.
wine: RLIMIT_NICE is <= 20, unable to use setpriority safely
info:  Game: Maine-Win64-Shipping.exe
info:  DXVK: v1.10.3
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 14.0.6, 256 bits)
info:  Intel(R) Xe Graphics (TGL GT2):
info:    Driver: 22.2.99
info:    Vulkan: 1.3.228
info:    Memory Heap[0]: 
info:      Size: 11840 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0xf
011c:info:vkd3d_instance_apply_application_workarounds: Detected game Maine-Win64-Shipping.exe, adding shader quirks for specific shaders.
011c:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.6.0.
011c:info:vkd3d_instance_init: vkd3d-proton - build: 3e5aab6fb3e18f8.
011c:info:vkd3d_bindless_state_get_bindless_flags: Device supports VK_VALVE_mutable_descriptor_type.
011c:info:d3d12_device_caps_init_shader_model: Enabling support for SM 6.6.
011c:fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 1024, may be inaccurate.
warn:  CreateDXGIFactory2: Ignoring flags
info:  Game: Maine-Win64-Shipping.exe
info:  DXVK: v1.10.3
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 14.0.6, 256 bits)
info:  Intel(R) Xe Graphics (TGL GT2):
info:    Driver: 22.2.99
info:    Vulkan: 1.3.228
info:    Memory Heap[0]: 
info:      Size: 11840 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0xf
011c:info:vkd3d_get_vk_version: vkd3d-proton - applicationVersion: 2.6.0.
011c:info:vkd3d_instance_init: vkd3d-proton - build: 3e5aab6fb3e18f8.
011c:info:vkd3d_bindless_state_get_bindless_flags: Device supports VK_VALVE_mutable_descriptor_type.
011c:info:d3d12_device_caps_init_shader_model: Enabling support for SM 6.6.
011c:fixme:d3d12_device_caps_init_feature_options1: TotalLaneCount = 1024, may be inaccurate.
../src/intel/isl/isl.c:2216: FINISHME: ../src/intel/isl/isl.c:isl_surf_supports_ccs: CCS for 3D textures is disabled, but a workaround is available.
011c:fixme:d3d12_swapchain_init: Ignoring swap effect 0x4.
011c:fixme:d3d12_swapchain_init: Ignoring buffer usage 0x30.
011c:fixme:d3d12_swapchain_init: Ignoring swapchain flags 0x802.
warn:  DXGI: MakeWindowAssociation: Ignoring flags
011c:fixme:d3d12_swapchain_resize_buffers: Ignoring flags 0x802.
0144:fixme:rs_desc_from_d3d12: Ignoring MultisampleEnable 0x1.
0150: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.
0144:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
[0928/215330.058:ERROR:network_change_notifier_win.cc(156)] WSALookupServiceBegin failed with: 8
013c:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
info:  Game: UnrealCEFSubProcess.exe
info:  DXVK: v1.10.3
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
0150:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.
warn:  Skipping CPU adapter: llvmpipe (LLVM 14.0.6, 256 bits)
info:  Intel(R) Xe Graphics (TGL GT2):
info:    Driver: 22.2.99
info:    Vulkan: 1.3.228
info:    Memory Heap[0]: 
info:      Size: 11840 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0xf
info:  D3D11CoreCreateDevice: Probing D3D_FEATURE_LEVEL_11_0
info:  D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
info:  Device properties:
info:    Device name:     : Intel(R) Xe Graphics (TGL GT2)
info:    Driver version   : 22.2.99
info:  Enabled device extensions:
info:    VK_EXT_4444_formats
info:    VK_EXT_conservative_rasterization
info:    VK_EXT_custom_border_color
info:    VK_EXT_depth_clip_enable
info:    VK_EXT_extended_dynamic_state
info:    VK_EXT_host_query_reset
info:    VK_EXT_non_seamless_cube_map
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_external_memory_win32
info:    VK_KHR_external_semaphore_win32
info:    VK_KHR_image_format_list
info:    VK_KHR_sampler_mirror_clamp_to_edge
info:    VK_KHR_shader_float_controls
info:    VK_KHR_swapchain
info:    VK_KHR_timeline_semaphore
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         : 0
info:    fragmentStoresAndAtomics               : 1
info:    shaderImageGatherExtended              : 1
info:    shaderStorageImageExtendedFormats      : 0
info:    shaderStorageImageReadWithoutFormat    : 0
info:    shaderStorageImageWriteWithoutFormat   : 1
info:    shaderClipDistance                     : 1
info:    shaderCullDistance                     : 1
info:    shaderFloat64                          : 0
info:    shaderInt64                            : 1
info:    variableMultisampleRate                : 1
info:  VK_EXT_4444_formats
info:    formatA4R4G4B4                         : 1
info:    formatA4B4G4R4                         : 0
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                         : 0
info:  VK_EXT_non_seamless_cube_map
info:    nonSeamlessCubeMap                     : 0
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:  VK_KHR_buffer_device_address
info:    bufferDeviceAddress                    : 0
info:  VK_KHR_timeline_semaphore
info:    timelineSemaphore                      : 1
info:  Queue families:
info:    Graphics : 0
info:    Transfer : 0
info:  DXVK: Read 0 valid state cache entries
../src/intel/isl/isl.c:2216: FINISHME: ../src/intel/isl/isl.c:isl_surf_supports_ccs: CCS for 3D textures is disabled, but a workaround is available.
warn:  D3D11Texture2D::QueryInterface: Unknown interface query
warn:  9d8e1289-d7b3-465f-8126-250e349af85d
[0928/215330.583:ERROR:mf_helpers.cc(12)] Error in dxva_video_decode_accelerator_win.cc on line 355
0150:fixme:vkd3d_dxbc_compiler_emit_output: Unhandled component index 1.

Unhandled Exception:
System.TypeLoadException: Could not load type of field 'SpeechSynthWrapper:_synthesizer' (4) due to: Could not load file or assembly 'System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.
  at (wrapper native-to-managed) <Module>.CreateSpeechSynthesizer()
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeLoadException: Could not load type of field 'SpeechSynthWrapper:_synthesizer' (4) due to: Could not load file or assembly 'System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.

Note also have an issue about SpeechSynthWrapper:_synthesizer no idea what I should do with :thinking: Just need to add dotnet40 for that one.

Extra note, I tried a clean wine prefix with winetricks vcrun2019 dotnet40 win10 both required by the game. Game start loading screan and die with that error.

Hideman85 avatar Sep 28 '22 19:09 Hideman85

I will try to check out grounded tomorrow on steam. See if i Notice anything.

Blisto91 avatar Sep 28 '22 20:09 Blisto91

Getting same issue [0928/213818.236:ERROR:mf_helpers.cc(12)] Error in dxva_video_decode_accelerator_win.cc on line 355

That's a Wine issue, not a DXVK one.

K0bin avatar Sep 28 '22 20:09 K0bin

I found the following https://github.com/ValveSoftware/Proton/issues/4102 people noticing that the fix made by proton is not anymore working since the latest version of this game.

Hideman85 avatar Sep 28 '22 20:09 Hideman85

Does it work if you disable DXVK? PROTON_USE_WINED3D=1

K0bin avatar Sep 28 '22 20:09 K0bin

Or in lutris tick the dxvk option so it is off.

Tho i think this game might be directx 12 by default? You can also try to force dx11 -d3d11

Blisto91 avatar Sep 28 '22 20:09 Blisto91

Yes I tried to turn off, use the env var and even install with winetricks d3dx11_43 none of these options work, even worse it does not show loading screen. Will try the option to force dx11

Hideman85 avatar Sep 28 '22 20:09 Hideman85

If it doesn't work with WineD3D either, it's a Wine bug.

K0bin avatar Sep 28 '22 20:09 K0bin

Will wait a Proton fix then, I guess it would be faster to come :sweat_smile:

Hideman85 avatar Sep 28 '22 20:09 Hideman85

Fwiw I'm not sure that it's the dxva_video_decode_accelerator_win.cc error that's the issue here (but don't know so maybe). But i don't think it's dxvk either But i will check it myself tomorrow. If i reproduce and figure something out i will ping you in the proton issue

Blisto91 avatar Sep 28 '22 20:09 Blisto91

That would be awesome, thank you in advance mate :slightly_smiling_face:

Hideman85 avatar Sep 28 '22 20:09 Hideman85

Getting this issue Game: Deep Rock Galactic OS: Ubuntu 23.04 (latest update) Compatibility: Proton-GE 8.6 GPU: Nvidia RTX 3070 Platform: Steam

Perhaps this is a Unreal Engine issue? Grounded is built in UE, Not sure about pirates fate tho

https://pastebin.com/8JFSUdEW (edit, the pastebin is my crash-dump)

KeebWasTaken avatar Jul 13 '23 12:07 KeebWasTaken

You should post in the Proton issue.

Blisto91 avatar Jul 13 '23 12:07 Blisto91

you right, will share it there too, hopefully someone figures out a fix

KeebWasTaken avatar Jul 13 '23 12:07 KeebWasTaken