Jump to content
  • Advertisement
Sign in to follow this  
TheeCrowe

DX12 [D3D12] Targeting a laptops Nvidia and Integrated chip

This topic is 829 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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!

 

Share this post


Link to post
Share on other sites
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.

Edited by Adam Miles

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!