Support switchable graphics with AMD graphics card
holgerschm opened this issue · 3 comments
On a laptop with AMD switchable graphics the high perfomance mode does not work with the Direct3D11Image.
I'm fairly certain we're seeing the same thing with our similar DX interop library. Can you explain what you mean by "does not work"? Error, nothing renders, crash, stack trace, any DX debug outputs indicating any issues etc?
We are facing this issue with the following configuration:
- Device: Dell Latitude E6540
- OS: Windows 7 - latest.
- GPUs: Onboard Intel HD Graphics 4600 and AMD Radeon HD 8790M (with Catalyst or Crimson switchable graphics)
When running the sample with switchable graphics set to 'High Performance`, the app displays the background image from the XAML stack but anything from the DirectX stack doesn't display at all (no spinning cube). With the switchable graphics set to 'Power Saving', we see the sample run as expected (cube and background image are rendered and animated). Also, the sample runs as expected (in both switchable graphics modes) on the same machine running Windows 10. So this appears to only be an issue in Windows 7.
Also, in our Windows 7 tests, enumerating the DirectX adapters with IDXGIFactory::EnumAdapters
never returns the AMD adapter (only the onboard Intel adapter is returned).
From my research this seems to be a longstanding AMD driver issue. No known workaround, but it might be possible to detect and warn the user.