dxvk icon indicating copy to clipboard operation
dxvk copied to clipboard

Unable to start left 4 dead 2 game using DXVK2.6 version

Open UTSWSORA opened this issue 9 months ago • 19 comments

After using DXVK2.6 version, Left 4 Dead 2 cannot be opened. I hope it can be fixed (my English is terrible, so I used software for translation. I'm sorry)

UTSWSORA avatar Apr 04 '25 12:04 UTSWSORA

Which graphics card and driver version do you have? Also i assume it is on Windows?

Blisto91 avatar Apr 04 '25 16:04 Blisto91

Which graphics card and driver version do you have? Also i assume it is on Windows?

I am using Windows 11 Professional Edition with version number 23H3 and operating system version 22631.4112. The graphics card is RTX 4060 with driver version 572.83. In this environment, using DXVK2.5.3 version can open Left 4 Dead 2 game normally, but using DXVK2.6 version will result in the inability to open the game.

UTSWSORA avatar Apr 05 '25 02:04 UTSWSORA

Which graphics card and driver version do you have? Also i assume it is on Windows?

I am using Windows 11 Professional Edition with version number 23H3 and operating system version 22631.4112. The graphics card is RTX 4060 with driver version 572.83. In this environment, using DXVK2.5.3 version can open Left 4 Dead 2 game normally, but using DXVK2.6 version will result in the inability to open the game.

Are you using the d3d9.dll from the x32 folder? With my setup (RTX 3060 + 12490F) and always keeping DXVK updated, I've never encountered this issue. Also, if you're placing d3d9.dll directly in the root directory, you shouldn't add -vulkan to the launch options. Left 4 Dead 2 is a 32-bit game, so a 64-bit d3d9.dll won't work.

            Another method:

Rename the 32-bit d3d9.dll to dxvk_d3d9.dll, replace the file at: steam\steamapps\common\Left 4 Dead 2\bin\dxvk_d3d9.dll Add -vulkan to launch options.

For both methods, a successful installation will generate left4dead2_d3d9.log in the game's root directory.

Image

Miku2563 avatar Apr 05 '25 06:04 Miku2563

Rename the 32-bit d3d9.dll to dxvk_d3d9.dll, replace the file at: steam\steamapps\common\Left 4 Dead 2\bin\dxvk_d3d9.dll Add -vulkan to launch options.

For both methods, a successful installation will generate left4dead2_d3d9.log in the game's root directory.

Of course, it's the 32-bit d3d9.dll, and I've been using it to replace dxvk_d3d9.dll. However, when using DXVK2.6 version, the game cannot start properly whether it is directly placed in the root directory or replaced with dxvk_d3d9.dll. At present, until there is a new solution, I can only temporarily use DXVK2.5.3 version to start Left 4 Dead 2.

UTSWSORA avatar Apr 05 '25 06:04 UTSWSORA

Rename the 32-bit d3d9.dll to dxvk_d3d9.dll, replace the file at: steam\steamapps\common\Left 4 Dead 2\bin\dxvk_d3d9.dll Add -vulkan to launch options. For both methods, a successful installation will generate left4dead2_d3d9.log in the game's root directory.

Of course, it's the 32-bit d3d9.dll, and I've been using it to replace dxvk_d3d9.dll. However, when using DXVK2.6 version, the game cannot start properly whether it is directly placed in the root directory or replaced with dxvk_d3d9.dll. At present, until there is a new solution, I can only temporarily use DXVK2.5.3 version to start Left 4 Dead 2.

My RTX 3060 is also using driver version 572.83 (GeForce Game Ready Driver)

Miku2563 avatar Apr 05 '25 06:04 Miku2563

My RTX 3060 is also using driver version 572.83 (GeForce Game Ready Driver)

Or I can try waiting for the new version of DXVK

UTSWSORA avatar Apr 05 '25 06:04 UTSWSORA

Bro the source games like half life 2 and left for dead and many others have the most of the files to bin folder copy that d3d9 file to bin for me i play that game almost everyday and i copied that file to that bin folder and it works

DanielPopRe avatar Apr 06 '25 17:04 DanielPopRe

for me it works with the latest beta

DanielPopRe avatar Apr 06 '25 17:04 DanielPopRe

for me it works with the latest beta

I tried, but still only version 2.5.3 of DXVK can open Left 4 Dead 2 game normally, even with the updated version 2.6.1 of DXVK, the game cannot be opened normally. I even downloaded the game again, but even without loading any mods, I still couldn't execute the game properly. But I tried using versions 2.6 and 2.6.1 of DXVK on other Source games (Half Life 2, Counter Strike Source), and it was able to run the game normally.

UTSWSORA avatar Apr 08 '25 12:04 UTSWSORA

I tried giving it a go with AMD and Intel on Windows, but i wasn't able to reproduce so far.

Blisto91 avatar Apr 11 '25 15:04 Blisto91

I tried giving it a go with AMD and Intel on Windows, but i wasn't able to reproduce so far.

I have tried various situations recently, and I am not sure if it is a problem with the game itself. There are no issues with using DXVK for 2.6.0 and 2.6.1 in other games. Only Left 4 Dead 2 has this issue.

Operating System: Windows 11 Professional Edition Version number: 23H2 Operating system version: 22631.4112 Graphics card: RTX 4060 8G Driver: GeForce Game Ready Driver 572.83 version RAM:32G CPU: 12th Gen Intel(R) Core(TM) i5-12400F 2.50 GHz

UTSWSORA avatar Apr 16 '25 05:04 UTSWSORA

For me the game is working perfectly fine without any issues

DanielPopRe avatar Apr 16 '25 15:04 DanielPopRe

For me the game is working perfectly fine without any issues

I have tried it on other games and there have been no issues with version 2.6.1 of DXVK. I'm completely unsure why this issue only occurs on Left 4 Dead 2.

UTSWSORA avatar Apr 17 '25 04:04 UTSWSORA

I tried giving it a go with AMD and Intel on Windows, but i wasn't able to reproduce so far.

This is the content of the 'left4dead2.d3d9.log' file found from the game directory. I'm not sure if can find some issues here.

info: Game: left4dead2.exe info: DXVK: v2.6.1 info: Build: x86 gcc 14.2.0 info: Vulkan: Found vkGetInstanceProcAddr in vulkan-1.dll @ 0x79581760 info: Built-in extension providers: info: Platform 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_EXT_surface_maintenance1 info: VK_KHR_get_surface_capabilities2 info: VK_KHR_surface info: VK_KHR_win32_surface warn: Skipping Vulkan 1.2 adapter: Microsoft Direct3D12 (NVIDIA GeForce RTX 4060) warn: Skipping Vulkan 1.2 adapter: Microsoft Direct3D12 (Microsoft Basic Render Driver) info: D3D9: VK_FORMAT_D16_UNORM_S8_UINT -> VK_FORMAT_D24_UNORM_S8_UINT info: NVIDIA GeForce RTX 4060: info: Driver : NVIDIA 576.2.0 info: Memory Heap[0]: info: Size: 7957 MiB info: Flags: 0x1 info: Memory Type[1]: Property Flags = 0x1 info: Memory Type[4]: Property Flags = 0x7 info: Memory Heap[1]: info: Size: 16302 MiB info: Flags: 0x0 info: Memory Type[0]: Property Flags = 0x0 info: Memory Type[2]: Property Flags = 0x6 info: Memory Type[3]: Property Flags = 0xe info: Process set as DPI aware info: Device properties: info: Device : NVIDIA GeForce RTX 4060 info: Driver : NVIDIA 576.2.0 info: Enabled device extensions: info: VK_EXT_attachment_feedback_loop_layout info: VK_EXT_conservative_rasterization info: VK_EXT_custom_border_color info: VK_EXT_depth_bias_control info: VK_EXT_depth_clip_enable info: VK_EXT_extended_dynamic_state3 info: VK_EXT_fragment_shader_interlock info: VK_EXT_full_screen_exclusive info: VK_EXT_graphics_pipeline_library info: VK_EXT_hdr_metadata info: VK_EXT_line_rasterization info: VK_EXT_memory_priority info: VK_EXT_multi_draw info: VK_EXT_non_seamless_cube_map info: VK_EXT_pageable_device_local_memory info: VK_EXT_robustness2 info: VK_EXT_shader_module_identifier info: VK_EXT_swapchain_maintenance1 info: VK_EXT_transform_feedback info: VK_EXT_vertex_attribute_divisor info: VK_KHR_external_memory_win32 info: VK_KHR_external_semaphore_win32 info: VK_KHR_load_store_op_none info: VK_KHR_maintenance5 info: VK_KHR_maintenance7 info: VK_KHR_pipeline_library info: VK_KHR_present_id info: VK_KHR_present_wait info: VK_KHR_swapchain info: VK_KHR_swapchain_mutable_format info: VK_KHR_win32_keyed_mutex info: VK_NV_descriptor_pool_overallocation info: VK_NV_raw_access_chains info: Device features: info: robustBufferAccess : 1 info: fullDrawIndexUint32 : 1 info: imageCubeArray : 1 info: independentBlend : 1 info: geometryShader : 1 info: tessellationShader : 0 info: sampleRateShading : 1 info: dualSrcBlend : 0 info: logicOp : 0 info: multiDrawIndirect : 1 info: drawIndirectFirstInstance : 0 info: depthClamp : 1 info: depthBiasClamp : 1 info: fillModeNonSolid : 1 info: depthBounds : 1 info: wideLines : 1 info: multiViewport : 1 info: samplerAnisotropy : 1 info: textureCompressionBC : 1 info: occlusionQueryPrecise : 1 info: pipelineStatisticsQuery : 1 info: vertexPipelineStoresAndAtomics : 1 info: fragmentStoresAndAtomics : 0 info: shaderImageGatherExtended : 0 info: shaderClipDistance : 1 info: shaderCullDistance : 1 info: shaderFloat64 : 0 info: shaderInt64 : 0 info: variableMultisampleRate : 1 info: shaderResourceResidency : 0 info: shaderResourceMinLod : 0 info: sparseBinding : 0 info: sparseResidencyBuffer : 0 info: sparseResidencyImage2D : 0 info: sparseResidencyImage3D : 0 info: sparseResidency2Samples : 0 info: sparseResidency4Samples : 0 info: sparseResidency8Samples : 0 info: sparseResidency16Samples : 0 info: sparseResidencyAliased : 0 info: Vulkan 1.1 info: shaderDrawParameters : 1 info: Vulkan 1.2 info: samplerMirrorClampToEdge : 1 info: drawIndirectCount : 1 info: samplerFilterMinmax : 0 info: hostQueryReset : 1 info: timelineSemaphore : 1 info: bufferDeviceAddress : 0 info: shaderOutputViewportIndex : 1 info: shaderOutputLayer : 1 info: vulkanMemoryModel : 1 info: Vulkan 1.3 info: robustImageAccess : 0 info: pipelineCreationCacheControl : 1 info: shaderDemoteToHelperInvocation : 1 info: shaderZeroInitializeWorkgroupMemory : 0 info: synchronization2 : 1 info: dynamicRendering : 1 info: VK_AMD_shader_fragment_mask info: extension supported : 0 info: VK_EXT_attachment_feedback_loop_layout info: attachmentFeedbackLoopLayout : 1 info: VK_EXT_conservative_rasterization info: extension supported : 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_depth_bias_control info: depthBiasControl : 1 info: leastRepresentableValueForceUnormRepresentation : 1 info: floatRepresentation : 0 info: depthBiasExact : 1 info: VK_EXT_extended_dynamic_state3 info: extDynamicState3AlphaToCoverageEnable : 1 info: extDynamicState3DepthClipEnable : 1 info: extDynamicState3RasterizationSamples : 1 info: extDynamicState3SampleMask : 1 info: extDynamicState3LineRasterizationMode : 1 info: VK_EXT_fragment_shader_interlock info: fragmentShaderSampleInterlock : 0 info: fragmentShaderPixelInterlock : 0 info: VK_EXT_full_screen_exclusive info: extension supported : 1 info: VK_EXT_graphics_pipeline_library info: graphicsPipelineLibrary : 1 info: VK_EXT_line_rasterization info: rectangularLines : 1 info: smoothLines : 1 info: VK_EXT_memory_budget info: extension supported : 1 info: VK_EXT_memory_priority info: memoryPriority : 1 info: VK_EXT_multi_draw info: multiDraw : 1 info: VK_EXT_non_seamless_cube_map info: nonSeamlessCubeMap : 1 info: VK_EXT_pageable_device_local_memory info: pageableDeviceLocalMemory : 1 info: VK_EXT_robustness2 info: robustBufferAccess2 : 1 info: robustImageAccess2 : 1 info: nullDescriptor : 1 info: VK_EXT_shader_module_identifier info: shaderModuleIdentifier : 1 info: VK_EXT_shader_stencil_export info: extension supported : 0 info: VK_EXT_swapchain_colorspace info: extension supported : 0 info: VK_EXT_swapchain_maintenance1 info: swapchainMaintenance1 : 1 info: VK_EXT_hdr_metadata info: extension supported : 1 info: VK_EXT_transform_feedback info: transformFeedback : 0 info: geometryStreams : 0 info: VK_EXT_vertex_attribute_divisor

UTSWSORA avatar Apr 17 '25 05:04 UTSWSORA

When using DXVK 2.5, would you encounter these two warnings?

Image i use AI

  1. First Warning: warn: Skipping Vulkan 1.2 adapter: Microsoft Direct3D12 (NVIDIA GeForce RTX 4060)

Interpretation:

The system detected your NVIDIA RTX 4060 GPU

Instead of using NVIDIA's native Vulkan driver, it's being presented through Microsoft's Direct3D12 compatibility layer

The Vulkan loader is rejecting this adapter because:

It's not a true Vulkan implementation

It lacks full Vulkan 1.2 feature support

Performance would be suboptimal (translation overhead)

Root Causes:

Missing or corrupted NVIDIA Vulkan Installable Client Driver (ICD)

Windows prioritising D3D12 over native Vulkan drivers

Outdated NVIDIA driver (older than 516.94)

Improper Vulkan loader configuration

  1. Second Warning: warn: Skipping Vulkan 1.2 adapter: Microsoft Direct3D12 (Microsoft Basic Render Driver)

Interpretation:

The system detected Microsoft's software renderer (WARP driver)

This is a CPU-based fallback adapter with:

No hardware acceleration

Extremely limited performance

Incomplete Vulkan 1.2 support

Rightfully skipped as it's unsuitable for real-time graphics

Why It Appears:

Default Windows behavior when hardware drivers fail

Safety fallback mechanism

Indicates primary GPU driver isn't properly engaged

Miku2563 avatar Jun 09 '25 05:06 Miku2563

That's probably not the issue. In the line immediately below it, it says that it picked the proper Nvidia driver instead.

K0bin avatar Jun 09 '25 13:06 K0bin

That's probably not the issue. In the line immediately below it, it says that it picked the proper Nvidia driver instead.

Ok

Miku2563 avatar Jun 09 '25 13:06 Miku2563

@UTSWSORA For good measure you'll likely want to uninstall OpenCL, OpenGL & Vulkan Compatibility Pack even if it shows not to be an issue here https://github.com/doitsujin/dxvk/wiki/Windows#dozen

Blisto91 avatar Jun 09 '25 13:06 Blisto91

@UTSWSORA For good measure you'll likely want to uninstall even if it shows not to be an issue here https://github.com/doitsujin/dxvk/wiki/Windows#dozenOpenCL, OpenGL & Vulkan Compatibility Pack

I tried, but it still didn't work. The game still cannot start with DXVK version 2.6 or above installed. The graphics card driver has also been updated to the latest version 576.52. Maybe I should consider changing the operating system...

UTSWSORA avatar Jun 10 '25 03:06 UTSWSORA

@UTSWSORA For good measure you'll likely want to uninstall OpenCL, OpenGL & Vulkan Compatibility Pack even if it shows not to be an issue here https://github.com/doitsujin/dxvk/wiki/Windows#dozen

This issue no longer occurs after using version 2.7 of DXVK

UTSWSORA avatar Jul 11 '25 10:07 UTSWSORA