Commit c58afb4e authored by Dale Curtis's avatar Dale Curtis Committed by Commit Bot

Disable VP9.2 hardware decoding on Windows RS3.

There seem to be multiple issues with VP9.2 decoding on RS3. NVIDIA has
disabled support in RS3 for some Windows issue in such a way that the
MFT falls back to software decoding without notifying us.

I was unable to find a way to generate the GUID list of supported DXVA
modes like "dxdiag" does (which somehow doesn't include the VP9.2 GUID:
DXVA2_ModeVP9_VLD_10bit_Profile2).

Since we can't test for it, just disable it since it's usage is rare.

BUG=937108
TEST=tmathmeyer on 1709 w/ patch.
R=sunnyps

Change-Id: Id97475b22e322c6fbe347be1ab995d3865418914
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1642034Reviewed-by: default avatarSunny Sachanandani <sunnyps@chromium.org>
Commit-Queue: Dale Curtis <dalecurtis@chromium.org>
Cr-Commit-Position: refs/heads/master@{#669041}
parent f1f7fb7c
...@@ -1446,13 +1446,17 @@ DXVAVideoDecodeAccelerator::GetSupportedProfiles( ...@@ -1446,13 +1446,17 @@ DXVAVideoDecodeAccelerator::GetSupportedProfiles(
{gfx::Size(4096, 2160), gfx::Size(4096, 2304), {gfx::Size(4096, 2160), gfx::Size(4096, 2304),
gfx::Size(7680, 4320), gfx::Size(8192, 4320), gfx::Size(7680, 4320), gfx::Size(8192, 4320),
gfx::Size(8192, 8192)}); gfx::Size(8192, 8192)});
max_vp9_profile2_resolutions = GetMaxResolutionsForGUIDs(
max_vp9_profile2_resolutions.first, video_device.Get(), // RS3 has issues with VP9.2 decoding. See https://crbug.com/937108.
{D3D11_DECODER_PROFILE_VP9_VLD_10BIT_PROFILE2}, if (base::win::GetVersion() != base::win::Version::WIN10_RS3) {
{gfx::Size(4096, 2160), gfx::Size(4096, 2304), max_vp9_profile2_resolutions = GetMaxResolutionsForGUIDs(
gfx::Size(7680, 4320), gfx::Size(8192, 4320), max_vp9_profile2_resolutions.first, video_device.Get(),
gfx::Size(8192, 8192)}, {D3D11_DECODER_PROFILE_VP9_VLD_10BIT_PROFILE2},
DXGI_FORMAT_P010); {gfx::Size(4096, 2160), gfx::Size(4096, 2304),
gfx::Size(7680, 4320), gfx::Size(8192, 4320),
gfx::Size(8192, 8192)},
DXGI_FORMAT_P010);
}
} }
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment