directx-11

Force to use integrated (Intel) graphic card on Microsoft Hybrid system

廉价感情. 提交于 2021-01-21 10:50:13
问题 I use Microsoft Desktop Duplication API and if my code runs on the Integrated (Intel) graphic card then everything works fine. But if I run on the dedicated card, I get an error. I found that Microsoft does not support this usage on a dedicated card on Microsoft Hybrid system DXGI_ERROR_UNSUPPORTED Similar questions without solution for my needs: DirectX11 Desktop duplication not working with NVIDIA Desktop Duplication API & switchable graphics The workaround is to launch the program on the

Force to use integrated (Intel) graphic card on Microsoft Hybrid system

本秂侑毒 提交于 2021-01-21 10:49:26
问题 I use Microsoft Desktop Duplication API and if my code runs on the Integrated (Intel) graphic card then everything works fine. But if I run on the dedicated card, I get an error. I found that Microsoft does not support this usage on a dedicated card on Microsoft Hybrid system DXGI_ERROR_UNSUPPORTED Similar questions without solution for my needs: DirectX11 Desktop duplication not working with NVIDIA Desktop Duplication API & switchable graphics The workaround is to launch the program on the

Force to use integrated (Intel) graphic card on Microsoft Hybrid system

不问归期 提交于 2021-01-21 10:48:08
问题 I use Microsoft Desktop Duplication API and if my code runs on the Integrated (Intel) graphic card then everything works fine. But if I run on the dedicated card, I get an error. I found that Microsoft does not support this usage on a dedicated card on Microsoft Hybrid system DXGI_ERROR_UNSUPPORTED Similar questions without solution for my needs: DirectX11 Desktop duplication not working with NVIDIA Desktop Duplication API & switchable graphics The workaround is to launch the program on the

How to fix this multisampling error when creating a swapchain?

独自空忆成欢 提交于 2020-12-04 05:28:37
问题 I'm getting an DXGI ERROR about multisampling when creating a swapchain and need some help after hours of trying to resolve this error. I'm setting up a simple window for learning Direct3D 11. I have tried changing the SampleDesc.Count and SampleDesc.Quality in the DXGI_SWAP_CHAIN_DESC1 structure, but I still get the error. // dxgiFactory is using interface IDXGIFactory7 // d3dDevice5 is using interface ID3D11Device5 ComPtr<IDXGISwapChain1> dxgiSwapChain1; DXGI_SWAP_CHAIN_DESC1 desc; desc