On Sat Aug 1 09:15:08 2026 +0000, Stian Low wrote:
Latest push supports `WINE_D3D_CONFIG=no_create_flags=0x800` for all versions of d3d via impl for wined3d vs only d3d11 which is still the only use case found so far. Fixes Hollow Knight Silksong crash for Unity 6000.0.50f1, UnityPlayer 2018.3.0a1 (same crash for 2 different versions including GOG-89650): - https://unity.com/releases/editor/whats-new/6000.0.50f1 6000.0.50f1 is 2025 release but UnityPlayer may be 2018. I did not find 2018 docs but 2019 args seem to apply but none fix crash: - https://docs.unity3d.com/2019.4/Documentation/Manual/PlayerCommandLineArgume... `-force-opengl` `-force-glcore` `-force-vulkan` all throw `Failed to initialize player` popup error preventing launch which may be separate bugs. `-force-d3d12` shows damavand instead of VKD3D which may also be a separate bug. MR-11404 does not fix crash which seems to indicate that this merge has wider/independent scope from `GetSharedHandle` speculated by @zfigura as a better solution and justification for rejecting this merge. Silksong is the first game I've found so far not fixed via MR-11404 as alternative to this merge which minimally supports `GetSharedHandle` only via `WINE_D3D_CONFIG=csmt=0x2,renderer=vulkan` for now until ready. Silksong logs d3d device create flag `0x820` but not `GetSharedHandle` which seems to explain why MR-11404 does not fix and apply: - `0024:fixme:dxgi:DXGID3D10CreateDevice Ignoring flags 0x820.` This seems to backup my theory that despite `D3D11_CREATE_DEVICE_VIDEO_SUPPORT` currently allowed, it is not technically fully supported if at all. I will work to support whatever may be missing to satisfy `D3D11_CREATE_DEVICE_VIDEO_SUPPORT` via a separate merge request. In the meantime I still think this merge request is valid and useful in the same way as the other `WINE_D3D_CONFIG` options and UnityPlayer args like `-force-d3d11` etc. Therefore this merge may be even less out of question now as @hverbeet suggested may be the case earlier. Silksong launch crash without `WINE_D3D_CONFIG=no_create_flags=0x800`
{width=900 height=563} {width=900 height=563} -- https://gitlab.winehq.org/wine/wine/-/merge_requests/11398#note_147539