Stray - Weird Graphic

Questions about Wine on Linux
Locked
luca92
Level 3
Level 3
Posts: 55
Joined: Thu Jan 23, 2014 5:44 am

Stray - Weird Graphic

Post by luca92 »

hello,
i tried starting Stray (videogame) with wine. To make it work i installed dlls vkd3d and vcrun2019. It works but the graphics are weird:
Image
In the video settings of the game I set everything to HIGH but it didn't fix.

This is a screenshot taken from a youtube video with STRAY running from wine:
Image

Can i solve?

output is too long, these are the last lines:

Code: Select all

01b8:fixme:d3d11:d3d11_device_context_IAGetVertexBuffers Failed to get vertex buffer 21.
01b8:fixme:d3d11:d3d11_device_context_IAGetVertexBuffers Failed to get vertex buffer 22.
01b8:fixme:d3d11:d3d11_device_context_IAGetVertexBuffers Failed to get vertex buffer 23.
01b8:fixme:d3d11:d3d11_device_context_IAGetVertexBuffers Failed to get vertex buffer 24.
01b8:fixme:d3d11:d3d11_device_context_IAGetVertexBuffers Failed to get vertex buffer 25.
01b8:fixme:d3d11:d3d11_device_context_IAGetVertexBuffers Failed to get vertex buffer 26.
01b8:fixme:d3d11:d3d11_device_context_IAGetVertexBuffers Failed to get vertex buffer 27.
01b8:fixme:d3d11:d3d11_device_context_IAGetVertexBuffers Failed to get vertex buffer 28.
01b8:fixme:d3d11:d3d11_device_context_IAGetVertexBuffers Failed to get vertex buffer 29.
01b8:fixme:d3d11:d3d11_device_context_IAGetVertexBuffers Failed to get vertex buffer 30.
01b8:fixme:d3d11:d3d11_device_context_IAGetVertexBuffers Failed to get vertex buffer 31.
0164:fixme:d3d:swapchain_blit_gdi Using GDI present.
0164:err:d3d:swapchain_blit_gdi Failed to get destination DC.
0164:err:d3d:swapchain_blit_gdi Failed to blit.
0110:fixme:msctf:ThreadMgr_Destructor Left Over ITfDocumentMgr.  Should we do something with it?
0164:fixme:d3d:create_texture_view Depth slice (0-1) not supported.
0164:fixme:d3d:create_texture_view Depth slice (0-1) not supported.
0164:fixme:d3d:create_texture_view Depth slice (0-1) not supported.
0164:fixme:d3d:create_texture_view Depth slice (0-1) not supported.
0164:fixme:d3d:create_texture_view Depth slice (0-1) not supported.
0164:fixme:d3d:create_texture_view Depth slice (0-1) not supported.
0108:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 0000000000B9FD70

Configuration:
OS: Archlinux
Kernel: 6.1.2-arch1-1
CPU: Intel i3-7100
GPU: Intel HD 630
Wine version: wine-stable-next 8.0rc3-1
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: Stray - Weird Graphic

Post by invisible kid »

This probably won't be of much help, but I played Stray via Steam and it looked fine. Maybe you can duplicate how Steam would run it. I can check the configuration there if that would help.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Stray - Weird Graphic

Post by jkfloris »

Based on the terminal output, this is a DirectX 11 game. vkd3d is for DirectX 12.
You can try if the game works better with dxvk.
luca92
Level 3
Level 3
Posts: 55
Joined: Thu Jan 23, 2014 5:44 am

Re: Stray - Weird Graphic

Post by luca92 »

invisible kid wrote: Sun Jan 15, 2023 4:50 pm This probably won't be of much help, but I played Stray via Steam and it looked fine. Maybe you can duplicate how Steam would run it. I can check the configuration there if that would help.
yes, thanks. can you tell me what dlls uses proton configuration for Stray?
maybe you can use "WINEPREFIX=/proton-stray-folder winetricks list-installed".
jkfloris wrote: Sun Jan 15, 2023 5:43 pm Based on the terminal output, this is a DirectX 11 game. vkd3d is for DirectX 12.
You can try if the game works better with dxvk.
thx, I had already tried but with a clean wine congifuration with only vcrun2019 and dxvk, Stray it doesn't start. It says Fatal Error.

Code: Select all

$ WINEPREFIX=/tmp/wine wine Stray.exe 
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
007c:fixme:hid:handle_IRP_MN_QUERY_ID Unhandled type 00000005
0110:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION
0110:fixme:heap:RtlSetHeapInformation handle 0000000001720000, info_class 0, info 0000000000B9FD60, size 4 stub!
0110:fixme:gameux:GameExplorerImpl_VerifyAccess (0000000000D53C00, L"Z:\\media\\00DAFA65DAFA55FE\\Stray\\Stray\\Hk_project\\Binaries\\Win64\\Stray-Win64-Shipping.exe", 0000000000B9E240)
0110:fixme:win:DisableProcessWindowsGhosting : stub
0110:fixme:msctf:InputProcessorProfileMgr_GetActiveProfile (0000000000D36250)->({34745c63-b2f0-4784-8b67-5e12c8701a31} 0000000000B9E810)
0110:fixme:system:NtUserSystemParametersInfo Unimplemented action: 59 (SPI_SETSTICKYKEYS)
0110:fixme:system:NtUserSystemParametersInfo Unimplemented action: 53 (SPI_SETTOGGLEKEYS)
0110:fixme:system:NtUserSystemParametersInfo Unimplemented action: 51 (SPI_SETFILTERKEYS)
info:  Game: Stray-Win64-Shipping.exe
info:  DXVK: v2.0
info:  Found built-in config:
info:    d3d11.ignoreGraphicsBarriers = True
info:  Effective configuration:
info:    d3d11.ignoreGraphicsBarriers = True
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
info:  Intel(R) HD Graphics 630 (KBL GT2):
info:    Driver: 22.3.2
info:    Vulkan: 1.3.230
info:    Memory Heap[0]:
info:      Size: 5895 MiB
info:      Flags: 0x1
info:      Memory Type[0]: Property Flags = 0xf
warn:  D3D11DeviceFeatures: External memory features not supported
info:  D3D11CoreCreateDevice: Maximum supported feature level: D3D_FEATURE_LEVEL
_11_1
info:  D3D11CoreCreateDevice: Using feature level D3D_FEATURE_LEVEL_11_0
info:  Device properties:
info:    Device name:     : Intel(R) HD Graphics 630 (KBL GT2)
info:    Driver version   : 22.3.2
info:  Enabled device extensions:
info:    VK_EXT_conservative_rasterization
info:    VK_EXT_custom_border_color
info:    VK_EXT_depth_clip_enable
info:    VK_EXT_extended_dynamic_state3
info:    VK_EXT_fragment_shader_interlock
info:    VK_EXT_non_seamless_cube_map
info:    VK_EXT_robustness2
info:    VK_EXT_shader_module_identifier
info:    VK_EXT_shader_stencil_export
info:    VK_EXT_transform_feedback
info:    VK_EXT_vertex_attribute_divisor
info:    VK_KHR_pipeline_library
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                            : 0
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                : 0
info:    shaderResourceMinLod                   : 1
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                    : 1
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           : 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_extended_dynamic_state3
info:    extendedDynamicState3DepthClipEnable   : 1
info:  VK_EXT_fragment_shader_interlock
info:    fragmentShaderSampleInterlock          : 1
info:    fragmentShaderPixelInterlock           : 1
info:  VK_EXT_full_screen_exclusive
info:    extension supported                    : 0
info:  VK_EXT_graphics_pipeline_library
info:    graphicsPipelineLibrary                : 0
info:  VK_EXT_memory_budget
info:    extension supported                    : 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_module_identifier
info:    shaderModuleIdentifier                 : 1
info:  VK_EXT_shader_stencil_export
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                    : 0
info:  VK_KHR_external_semaphore_win32
info:    extension supported                    : 0
info:  VK_NVX_binary_import
info:    extension supported                    : 0
info:  VK_NVX_image_view_handle
info:    extension supported                    : 0
info:  Queue families:
info:    Graphics : 0
info:    Transfer : 0
info:    Sparse   : n/a
info:  DXVK: Read 0 valid state cache entries
info:  DXVK: Graphics pipeline libraries not supported
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D470, 0, 000000000377D440, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D470, 648, 000000000377D440, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 0, 000000000377D6F0, 3) semi-stub
0114:fixme:seh:EnumProcessModulesEx (FFFFFFFFFFFFFFFF, 000000000377D760, 648, 000000000377D6F0, 3) semi-stub
0114:fixme:imm:ImeSetActiveContext (000000000001007E, 1): stub
0114:fixme:imm:ImmReleaseContext (0000000000010078, 000000000001007E): stub
008c:fixme:imm:ImeSetActiveContext (0000000000010026, 0): stub
008c:fixme:imm:ImmReleaseContext (0000000000010020, 0000000000010026): stub
0108:fixme:kernelbase:AppPolicyGetProcessTerminationMethod FFFFFFFFFFFFFFFA, 0000000000B9FD70

invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: Stray - Weird Graphic

Post by invisible kid »

Maybe I did the command wrong, but here is what happened:

Code: Select all

$ WINEPREFIX=/mnt/sdb1/Steam/steamapps/common/Stray winetricks list-installed
Executing mkdir -p /mnt/sdb1/Steam/steamapps/common
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20220411-next - sha256sum: 2c9a258b3c3f387d40637c76921004dabb8ad41c77ef2c297c50f3c85c56c8c5 with wine-7.14 (Staging) and WINEARCH=win64
warning: /mnt/sdb1/Steam/steamapps/common/Stray/winetricks.log not found; winetricks has not installed anything in this prefix.

Code: Select all

$ WINEPREFIX=/mnt/sdb1/Steam/steamapps/common/Stray/drive_c winetricks list-installed
Executing mkdir -p /mnt/sdb1/Steam/steamapps/common/Stray
------------------------------------------------------
warning: You are using a 64-bit WINEPREFIX. Note that many verbs only install 32-bit versions of packages. If you encounter problems, please retest in a clean 32-bit WINEPREFIX before reporting a bug.
------------------------------------------------------
Using winetricks 20220411-next - sha256sum: 2c9a258b3c3f387d40637c76921004dabb8ad41c77ef2c297c50f3c85c56c8c5 with wine-7.14 (Staging) and WINEARCH=win64
warning: /mnt/sdb1/Steam/steamapps/common/Stray/drive_c/winetricks.log not found; winetricks has not installed anything in this prefix.
jkfloris
Level 12
Level 12
Posts: 3201
Joined: Thu Aug 14, 2014 10:10 am

Re: Stray - Weird Graphic

Post by jkfloris »

@luca92
I think you were on track with vkd3d after all.

Could you try the game with the following settings?
- Clean prefix with the winetricks vcrun2019 and vkd3d
- Set the Windows version to Windows 10 in winecfg
- Run the game with:

Code: Select all

wine Stray.exe -dx12
CPU: Intel i3-7100
GPU: Intel HD 630
Keep in mind that your system is below the minimum system requirements.
invisible kid
Level 5
Level 5
Posts: 368
Joined: Tue Dec 24, 2019 3:23 pm

Re: Stray - Weird Graphic

Post by invisible kid »

I agree with jk, if anyone can get you going he can.
luca92
Level 3
Level 3
Posts: 55
Joined: Thu Jan 23, 2014 5:44 am

Re: Stray - Weird Graphic

Post by luca92 »

jkfloris wrote: Mon Jan 16, 2023 8:44 am @luca92
I think you were on track with vkd3d after all.

Could you try the game with the following settings?
- Clean prefix with the winetricks vcrun2019 and vkd3d
- Set the Windows version to Windows 10 in winecfg
- Run the game with:

Code: Select all

wine Stray.exe -dx12
IT WORKS!!!! thank you very much! :D
jkfloris wrote: Mon Jan 16, 2023 8:44 am
CPU: Intel i3-7100
GPU: Intel HD 630
Keep in mind that your system is below the minimum system requirements.
I've recently bought a new pc with CPU Ryzen 5 5600G with integrated GPU Rx Vega 7.
Stray seems to works good at 720p 50-60fps with video settings set to low and resolution scale set to 50%.

Image
Locked