我正在尝试调试在带有集成和独立GPU(英特尔和AMD)的笔记本电脑上使用SharpDX的项目。
我了解I can't use the discrete GPU because it's not supported。所以,我剩下集成的那个了。
问题是我也不能使用集成GPU,因为SharpDX无法检测到任何Output
。
//Create the DXGI Factory1.
var factory = new Factory1();
Adapter1 adapter = factory.GetAdapter1(numAdapter);
//'adapter' contains 3 adapters: The discrete GPU, the integrated GPU
//and one named 'Microsoft Basic Render Driver'.
//Create the device from the Adapter.
device = new Device(adapter);
//Only the discrete GPU adapter has 1 output.
//The other two fail to get any output.
//Get DXGI.Output
Output output = adapter.GetOutput(numOutput);
var output1 = output.QueryInterface<Output1>();
总有办法解决吗?
我正在运行带有Intel i7 5550U
处理器和AMD Radeon R7 M260
GPU的Dell Inspiron 15(5548)。同样是Windows 10,构建18362.175
。