[D3D12] Targeting a laptops Nvidia and Integrated chip

Started by
1 comment, last by TheeCrowe 7 years, 10 months ago

I searched for this on forum, but my internet connection is garbage and my lunch break is coming to an end quickly.

I have started playing around with DX12, but have run into a problem that I do my development on a laptop that has both an integrated GPU and an NVidia card. By default the compiled code runs on the integrated chip, but I can force it to run on the NVidia.

There are a lot of articles out there stating that DX 12 should be able to use both simultaneously, has anyone encountered an example that details this specifically. I believe the "Mini-Engine" at GitHub may hint to how to do it, but I keep getting lost in all the additional code.

Any insight would be appreciated, Thanks!

Advertisement

What you're talking about doing is writing an application that uses the Multi-Adapter functionality added to D3D12. Specifically, since you mentioned one NVIDIA and one Intel GPU, it's Heterogeneous Multi-Adapter (two or more GPUs of different designs).

There's a Heterogeneous Multi-adapter sample here: https://github.com/Microsoft/DirectX-Graphics-Samples/tree/master/Samples/Desktop/D3D12HeterogeneousMultiadapter

There is no switch you can flip that will make this 'just work', it needs to be thought about and designed into the application. I don't think MiniEngine has any multi-adapter code in it yet, although it wouldn't surprise me if it wasn't added some time in the future.

Adam Miles - Principal Software Development Engineer - Microsoft Xbox Advanced Technology Group

Thanks!

I figured it would require to be planned and implemented in at a foundation level of the code, and wanted to try to figure out as quickly as possible how to do it.

Will check out the provided example.

Thanks again

This topic is closed to new replies.

Advertisement