Support specifying render adapter #12
Labels
duplicate
This issue or pull request already exists
enhancement
New feature or request
help wanted
Extra attention is needed
I'm using this on a laptop with an Intel iGPU as well as an Nvidia dGPU. Windows OS code currently automatically picks my iGPU as the render adapter for the DXGI swapchain which isn't desirable as my iGPU isn't nearly as good at video encoding compared to my dGPU. From a cursory look, a potential fix would involve specifying the desired adapter in the config either by its name or LUID and calling
IddCxAdapterSetRenderAdapter
at the start with the GPU's LUID to ensure it's using the right adapter. A tiny utility to enumerate the LUIDs of all GPUs present on the system to go with it would be perfect.The text was updated successfully, but these errors were encountered: