Bug 1923697 - Block FEATURE_WEBRENDER_COMPOSITOR on Pascal-architecture NVIDIA GPUs on Windows 10 r=win-reviewers,handyman

With NVIDIA GeForce GTX 1050 Ti, hardware video decoding with WebRender native compositor(with Windows DirectComposition) seemed to have problems in some cases.

Block  FEATURE_WEBRENDER_COMPOSITOR on Pascal-architecture that includes NVIDIA GeForce GTX 1050 Ti.

Differential Revision: https://phabricator.services.mozilla.com/D226093
This commit is contained in:
sotaro 2024-10-21 00:27:01 +00:00
parent 51a0f0debf
commit 83916cbffc
3 changed files with 41 additions and 0 deletions

View File

@ -492,6 +492,39 @@ const GfxDeviceFamily* GfxDriverInfo::GetDeviceFamily(DeviceFamily id) {
case DeviceFamily::Nvidia8800GTS:
APPEND_DEVICE(0x0193);
break;
case DeviceFamily::NvidiaPascal:
APPEND_DEVICE(0x1d01);
APPEND_DEVICE(0x1d10);
APPEND_DEVICE(0x1d12);
APPEND_DEVICE(0x1c81);
APPEND_DEVICE(0x1c82);
APPEND_DEVICE(0x1c83);
APPEND_DEVICE(0x1c8c);
APPEND_DEVICE(0x1c8d);
APPEND_DEVICE(0x1c8f);
APPEND_DEVICE(0x1c92);
APPEND_DEVICE(0x1c02);
APPEND_DEVICE(0x1c03);
APPEND_DEVICE(0x1c20);
APPEND_DEVICE(0x1c23);
APPEND_DEVICE(0x1c60);
APPEND_DEVICE(0x1c61);
APPEND_DEVICE(0x1c62);
APPEND_DEVICE(0x1b81);
APPEND_DEVICE(0x1b82);
APPEND_DEVICE(0x1b83);
APPEND_DEVICE(0x1b84);
APPEND_DEVICE(0x1ba0);
APPEND_DEVICE(0x1ba1);
APPEND_DEVICE(0x1ba2);
APPEND_DEVICE(0x1be0);
APPEND_DEVICE(0x1be1);
APPEND_DEVICE(0x1b06);
APPEND_DEVICE(0x1b00);
APPEND_DEVICE(0x1b02);
APPEND_DEVICE(0x17e4);
APPEND_DEVICE(0x174d);
break;
case DeviceFamily::Bug1137716:
APPEND_DEVICE(0x0a29);
APPEND_DEVICE(0x0a2b);
@ -722,6 +755,7 @@ const nsAString& GfxDriverInfo::GetDeviceVendor(DeviceFamily id) {
case DeviceFamily::Geforce7300GT:
case DeviceFamily::Nvidia310M:
case DeviceFamily::Nvidia8800GTS:
case DeviceFamily::NvidiaPascal:
case DeviceFamily::Bug1137716:
vendor = DeviceVendor::NVIDIA;
break;

View File

@ -159,6 +159,7 @@ enum class DeviceFamily : uint8_t {
Geforce7300GT,
Nvidia310M,
Nvidia8800GTS,
NvidiaPascal,
Bug1137716,
Bug1116812,
Bug1155608,

View File

@ -1873,6 +1873,12 @@ const nsTArray<GfxDriverInfo>& GfxInfo::GetGfxDriverInfo() {
"FEATURE_FAILURE_CHROME_BUG_800950");
#endif
APPEND_TO_DRIVER_BLOCKLIST2(
OperatingSystem::Windows10, DeviceFamily::NvidiaPascal,
nsIGfxInfo::FEATURE_WEBRENDER_COMPOSITOR,
nsIGfxInfo::FEATURE_BLOCKED_DEVICE, DRIVER_COMPARISON_IGNORED,
V(0, 0, 0, 0), "FEATURE_FAILURE_BUG_1923697");
// WebRender is unable to use scissored clears in some cases
APPEND_TO_DRIVER_BLOCKLIST2(
OperatingSystem::Windows, DeviceFamily::IntelAll,