From 84d0fdc576e3581557d1863b50e0fc1b8e20dce2 Mon Sep 17 00:00:00 2001 From: jpark37 Date: Sun, 6 Oct 2019 20:30:49 -0700 Subject: [PATCH] libobs-d3d11: Disable NV12 format support for WARP Speculative fix. Don't have easy ability to reproduce this locally. --- libobs-d3d11/d3d11-subsystem.cpp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/libobs-d3d11/d3d11-subsystem.cpp b/libobs-d3d11/d3d11-subsystem.cpp index 1fd20a98c..e7b6ef97c 100644 --- a/libobs-d3d11/d3d11-subsystem.cpp +++ b/libobs-d3d11/d3d11-subsystem.cpp @@ -390,6 +390,11 @@ void gs_device::InitDevice(uint32_t adapterIdx) nv12Supported = false; + /* WARP NV12 support is suspected to be buggy on older Windows */ + if (desc.VendorId == 0x1414 && desc.DeviceId == 0x8c) { + return; + } + /* Intel CopyResource is very slow with NV12 */ if (desc.VendorId == 0x8086) { return;