Currently we only show the primary device detected at start up. I'm not sure how this interacts with multiple gpus.
Created attachment 549122 [details] [diff] [review] Identify active GPU in about:support and crash reports This is a revised version of Attachment 544601 [details] [diff] from Bug 628129. This patch checks the Windows registry for the presence of dual GPUs. If dual GPUs are present: -D3D9 is used to determine which GPU is active -both the active and inactive GPUs are listed in about:support and in crash reports There are no changes to the blacklisting logic. The current objective is to identify dual GPU systems and gather information that will help us decide whether we should later change the blacklisting logic to rely on what D3D9 tells us.
Comment on attachment 549122 [details] [diff] [review] Identify active GPU in about:support and crash reports Yes please.
Created attachment 551742 [details] [diff] [review] Identify active GPU in about:support and crash reports Patch updated to include stubs for GetAdapter*2, GetDriver*2, and GetIsGPU2Active in all non-Windows implementors of GfxInfo.
Backed out due to 4% Ts regression :-( http://hg.mozilla.org/mozilla-central/rev/ffb2a6be641a
This regression was surprising since the likely cause of it -- the D3D9 code -- should only run on machines where multiple GPUs are detected, but the Talos machines have a single GPU. It turns out that the Windows registry on the Talos machines has entries for two display devices, even though there is only one GPU actually present (the additional entry is for an Intel 945GM). As a result, the D3D9 code is being run on the Talos machines. I verified that the D3D9 code increases Ts by about 4.1%, accounting for the entire regression. Since the display device entries in the registry seem to retain stale information, we need a better way to determine which GPUs are actually present on a machine.
For Direct3D 9, the following pages seem relevant: http://msdn.microsoft.com/en-us/library/bb174315.aspx http://msdn.microsoft.com/en-us/library/bb147355.aspx For Direct3D 10 (and 11), this page seems relevant: http://msdn.microsoft.com/en-us/library/ff476877.aspx
Created attachment 553216 [details] [diff] [review] List both GPUs in about:support and crash reports This is the previous patch without any D3D9 code. That is, when the Windows registry lists more than one GPU, both GPUs will be included in about:support and in crash reports. However, no attempt is made to determine which GPU is currently active. This seems like a reasonable approach to use for now, while we are still investigating better approaches.
I've filed a follow-up bug (Bug 679110) for improving the way we determine which GPUs are actually present.