doitsujin / dxvk

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

The slime rancher error #4377

Open DanielPopRe opened 5 days ago

DanielPopRe commented 5 days ago

Please describe your issue as accurately as possible.

If you use Windows, please check the following page: https://github.com/doitsujin/dxvk/wiki/Windows

Software information

Name of the game, settings used etc.

System information

Apitrace file(s)

For instructions on how to use apitrace, see: https://github.com/doitsujin/dxvk/wiki/Using-Apitrace

Log files

Please attach Proton or Wine logs as a text file:

Blisto91 commented 5 days ago

@DanielPopRe Hi there. Please fill out the rest of the issue template as you have given almost no information about the issue.

K0bin commented 5 days ago

So... what is the error? Right now we'd have to guess.

So as Blisto wrote, please provide logs and actually describe the problem.

DanielPopRe commented 4 days ago

Screenshot 2024-10-18 152412

DanielPopRe commented 4 days ago

this is it the game runs in dx11 and in x64

Blisto91 commented 4 days ago

Post the d3d11 and dxgi logs that appear next to the exe (usually)

DanielPopRe commented 4 days ago

i tried with dxgi.dll but also doesn t work

Blisto91 commented 4 days ago

We need the log files dxvk outputs

DanielPopRe commented 4 days ago

warn: D3D11InternalCreateDevice: Adapter is not a DXVK adapter info: Game: SlimeRancher.exe info: DXVK: v2.4.1 info: Vulkan: Found vkGetInstanceProcAddr in vulkan-1.dll @ 0x7ffd4df7d360 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 info: D3D11InternalCreateDevice: Maximum supported feature level: D3D_FEATURE_LEVEL_12_1 info: D3D11InternalCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_1 info: Device properties: info: Device : NVIDIA GeForce RTX 3050 Ti Laptop GPU info: Driver : NVIDIA 556.12.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_non_seamless_cube_map 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_maintenance5 info: VK_KHR_pipeline_library info: VK_KHR_present_id info: VK_KHR_present_wait info: VK_KHR_swapchain info: VK_KHR_win32_keyed_mutex info: VK_NVX_binary_import info: VK_NVX_image_view_handle 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 : 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: wideLines : 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: shaderClipDistance : 1 info: shaderCullDistance : 1 info: shaderFloat64 : 1 info: shaderInt64 : 1 info: variableMultisampleRate : 1 info: shaderResourceResidency : 1 info: shaderResourceMinLod : 1 info: sparseBinding : 1 info: sparseResidencyBuffer : 1 info: sparseResidencyImage2D : 1 info: sparseResidencyImage3D : 1 info: sparseResidency2Samples : 1 info: sparseResidency4Samples : 1 info: sparseResidency8Samples : 1 info: sparseResidency16Samples : 1 info: sparseResidencyAliased : 1 info: Vulkan 1.1 info: shaderDrawParameters : 1 info: Vulkan 1.2 info: samplerMirrorClampToEdge : 1 info: drawIndirectCount : 1 info: samplerFilterMinmax : 1 info: hostQueryReset : 1 info: timelineSemaphore : 1 info: bufferDeviceAddress : 1 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 : 0 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 : 1 info: fragmentShaderPixelInterlock : 1 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_non_seamless_cube_map info: nonSeamlessCubeMap : 0 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 : 1 info: geometryStreams : 1 info: VK_EXT_vertex_attribute_divisor info: vertexAttributeInstanceRateDivisor : 1 info: vertexAttributeInstanceRateZeroDivisor : 1 info: VK_KHR_external_memory_win32 info: extension supported : 1 info: VK_KHR_external_semaphore_win32 info: extension supported : 1 info: VK_KHR_maintenance5 info: maintenance5 : 1 info: VK_KHR_present_id info: presentId : 1 info: VK_KHR_present_wait info: presentWait : 1 info: VK_NV_descriptor_pool_overallocation info: descriptorPoolOverallocation : 1 info: VK_NV_raw_access_chains info: shaderRawAccessChains : 1 info: VK_NVX_binary_import info: extension supported : 1 info: VK_NVX_image_view_handle info: extension supported : 1 info: VK_KHR_win32_keyed_mutex info: extension supported : 1 info: Queue families: info: Graphics : 0 info: Transfer : 1 info: Sparse : 0 info: Memory type mask for sparse resources: 0x2 warn: DXVK: No state cache file found info: DXVK: Graphics pipeline libraries supported info: DXVK: Using 16 compiler threads warn: D3D11InternalCreateDevice: Adapter is not a DXVK adapter info: Game: SlimeRancher.exe info: DXVK: v2.4.1 info: Vulkan: Found vkGetInstanceProcAddr in vulkan-1.dll @ 0x7ffd4df7d360 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 info: D3D11InternalCreateDevice: Maximum supported feature level: D3D_FEATURE_LEVEL_12_1 info: D3D11InternalCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0 info: Device properties: info: Device : NVIDIA GeForce RTX 3050 Ti Laptop GPU info: Driver : NVIDIA 556.12.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_non_seamless_cube_map 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_maintenance5 info: VK_KHR_pipeline_library info: VK_KHR_present_id info: VK_KHR_present_wait info: VK_KHR_swapchain info: VK_KHR_win32_keyed_mutex info: VK_NVX_binary_import info: VK_NVX_image_view_handle 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 : 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: wideLines : 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: shaderClipDistance : 1 info: shaderCullDistance : 1 info: shaderFloat64 : 1 info: shaderInt64 : 1 info: variableMultisampleRate : 1 info: shaderResourceResidency : 1 info: shaderResourceMinLod : 1 info: sparseBinding : 1 info: sparseResidencyBuffer : 1 info: sparseResidencyImage2D : 1 info: sparseResidencyImage3D : 1 info: sparseResidency2Samples : 1 info: sparseResidency4Samples : 1 info: sparseResidency8Samples : 1 info: sparseResidency16Samples : 1 info: sparseResidencyAliased : 1 info: Vulkan 1.1 info: shaderDrawParameters : 1 info: Vulkan 1.2 info: samplerMirrorClampToEdge : 1 info: drawIndirectCount : 1 info: samplerFilterMinmax : 1 info: hostQueryReset : 1 info: timelineSemaphore : 1 info: bufferDeviceAddress : 1 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 : 0 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 : 1 info: fragmentShaderPixelInterlock : 1 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_non_seamless_cube_map info: nonSeamlessCubeMap : 0 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 : 1 info: geometryStreams : 1 info: VK_EXT_vertex_attribute_divisor info: vertexAttributeInstanceRateDivisor : 1 info: vertexAttributeInstanceRateZeroDivisor : 1 info: VK_KHR_external_memory_win32 info: extension supported : 1 info: VK_KHR_external_semaphore_win32 info: extension supported : 1 info: VK_KHR_maintenance5

DanielPopRe commented 4 days ago

this is the log

DanielPopRe commented 4 days ago

Screenshot 2024-10-18 152653

Blisto91 commented 4 days ago

You need both dxgi.dll and d3d11.dll no matter what. Does a dxgi log not appear when you run with that also in the folder?

DanielPopRe commented 4 days ago

no

Blisto91 commented 4 days ago

https://github.com/doitsujin/dxvk/wiki/Windows#dozen make sure you don't have OpenCL, OpenGL & Vulkan Compatibility Pack installed

DanielPopRe commented 4 days ago

ok wit a little bit

DanielPopRe commented 4 days ago

it doesn t work

DanielPopRe commented 4 days ago

the same error

Blisto91 commented 4 days ago

Was it installed? If it is you should remove it Remember you need both dxgi and d3d11

DanielPopRe commented 4 days ago

yes

DanielPopRe commented 4 days ago

i tried with both . the error is gone but isn t doing anything

Blisto91 commented 4 days ago

If the game wants to only load the dxgi.dll from the system folder (DO NOT REPLACE IT IN THERE) then there isn't anything we can do. It isn't a uncommon issue on Windows. See https://github.com/doitsujin/dxvk/wiki/Windows#dll-loading-issues

DanielPopRe commented 4 days ago

but with dxgi it s not doing anything

DanielPopRe commented 4 days ago

i tried in need for speed most wanted 2005 and gta 4 and it works but this games are not working with d3d11 and dxgi or with both dlls

K0bin commented 4 days ago

Some games fail to load all required DXVK DLLs even when they are correctly placed next to the game's executable. Applicatons may choose to only load DLLs from the system's System32 directory rather than the exxecutable path, in which case the game will either crash or continue using the native D3D implementation. A common scenario that causes a crash is when the game loads dxgi.dll from System32, but then uses the d3d11.dll provided by DXVK.

https://github.com/doitsujin/dxvk/wiki/Windows#dll-loading-issues

Most likely that in which case there's nothing we can do.

Blisto91 commented 4 days ago

fwiw it works fine for me on Windows so there is likely some sort of setup issue going on

qinlili23333 commented 3 days ago

The game runs perfect without any overlay, but will crash with DXVK if RTSS overlay on. It's just another overlay compatibility issue, not DXVK issue.