http://bugs.winehq.org/show_bug.cgi?id=50277 --- Comment #46 from Stian Low <wineryyyyy@gmail.com> --- This patch alone forces UnityPlayer.dll to use software video decoding which seems to skip cross-device sharing and plays videos for renderer=gl and vulkan even with multi-threading enabled via WINE_D3D_CONFIG=csmt=0x1. diff --git a/dlls/dxgi/dxgi_main.c b/dlls/dxgi/dxgi_main.c index ca1fb525535..34719b1c5ef 100644 --- a/dlls/dxgi/dxgi_main.c +++ b/dlls/dxgi/dxgi_main.c @@ -147,6 +147,11 @@ HRESULT WINAPI DXGID3D10CreateDevice(HMODULE d3d10core, IDXGIFactory *factory, I if (flags) FIXME("Ignoring flags %#x.\n", flags); + if (flags & 0x800) + { + FIXME("failing for D3D11_CREATE_DEVICE_VIDEO_SUPPORT\n"); + return E_FAIL; + } if (TRACE_ON(dxgi)) dump_feature_levels(feature_levels, level_count); dxgi_resource_GetSharedHandle and d3d11_device_OpenSharedResource are no longer logged which may be specific to D3D11_CREATE_DEVICE_VIDEO_SUPPORT skipped. Vulkan still plays video choppy vs gl which plays without any obvious issues. -force-d3d12 via vkd3d also plays the video choppy similar to damavand. Maybe some combo of Unity flags supports forcing software rendering without need for the hack. D3D11_CREATE_DEVICE_VIDEO_SUPPORT seems to be lacking support which probably requires all multi-thread safety work. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.