Bug 1548410 - Disable DXVA on Qualcomm WoA drivers. r=mattwoodrow a=pascalc
authorChris Pearce <cpearce@mozilla.com>
Thu, 02 May 2019 02:42:31 +0000
changeset 526513 79e9a8ef0735ae3a27531a09a54bc3b2771766a6
parent 526512 7c01984d0300b910f42e1abd4c57ad5d51539451
child 526514 d52fac94f5077ee49700efe646b67a613761cda9
push id2032
push userffxbld-merge
push dateMon, 13 May 2019 09:36:57 +0000
treeherdermozilla-release@455c1065dcbe [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmattwoodrow, pascalc
bugs1548410
milestone67.0
Bug 1548410 - Disable DXVA on Qualcomm WoA drivers. r=mattwoodrow a=pascalc This driver version is known to have busg which cause the output of green frames from the decoder, and to cause BSODs. Differential Revision: https://phabricator.services.mozilla.com/D29603
widget/windows/GfxInfo.cpp
--- a/widget/windows/GfxInfo.cpp
+++ b/widget/windows/GfxInfo.cpp
@@ -1334,16 +1334,26 @@ const nsTArray<GfxDriverInfo>& GfxInfo::
 
     APPEND_TO_DRIVER_BLOCKLIST2(
         OperatingSystem::Windows10,
         (nsAString&)GfxDriverInfo::GetDeviceVendor(VendorQualcomm),
         GfxDriverInfo::allDevices, nsIGfxInfo::FEATURE_DIRECT2D,
         nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION, DRIVER_LESS_THAN,
         GfxDriverInfo::allDriverVersions, "FEATURE_FAILURE_QUALCOMM");
 
+    // Bug 1548410. Disable hardware accelerated video decoding on
+    // Qualcomm drivers used on Windows on ARM64 which are known to
+    // cause BSOD's and output suprious green frames while decoding video.
+    APPEND_TO_DRIVER_BLOCKLIST2(
+        OperatingSystem::Windows10,
+        (nsAString&)GfxDriverInfo::GetDeviceVendor(VendorQualcomm),
+        GfxDriverInfo::allDevices, nsIGfxInfo::FEATURE_HARDWARE_VIDEO_DECODING,
+        nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION, DRIVER_LESS_THAN_OR_EQUAL,
+        V(23, 18, 9310, 0), "FEATURE_FAILURE_BUG_1548410");
+
     /* Disable D2D on AMD Catalyst 14.4 until 14.6
      * See bug 984488
      */
     APPEND_TO_DRIVER_BLOCKLIST_RANGE(
         OperatingSystem::Windows,
         (nsAString&)GfxDriverInfo::GetDeviceVendor(VendorATI),
         GfxDriverInfo::allDevices, nsIGfxInfo::FEATURE_DIRECT2D,
         nsIGfxInfo::FEATURE_BLOCKED_DRIVER_VERSION,