Skip to content

Latest commit

 

History

History
47 lines (30 loc) · 2.61 KB

D3DDD-Note-Laptops.md

File metadata and controls

47 lines (30 loc) · 2.61 KB

Installation Note: D3D Desktop Duplication on Laptops

Windows has a little quirk when running Desktop Duplication on laptops with hybrid GPU systems (integrated + dedicated). You will need to perform an additional tweak to get D3D Desktop Duplication to work correctly on your system.

Problem

The problem is fully documented in this article

Solution

The solution is presented as such:

Run the application on the integrated GPU instead of on the discrete GPU

Therefore, to be able to use D3D Desktop Duplication on hybrid GPU laptops, we need to force Python to run on the integrated GPU.

Approach 1: Windows 10 Settings

You must be running Windows 10 1809 or later for this to work.

  1. Press the Windows Key, type Graphics settings and press enter
  2. You should see the following window:
    image
  3. Make sure the dropdown is set to Desktop App and click Browse
  4. Find the python.exe used by your D3D Desktop Duplication project. Example:
    image
  5. Click on Options
  6. Select Power saving and click Save
    image
  7. If you did everything right it should look like this:
    image
  8. Repeat the process for other potentially relevant executables for your project: ipython.exe, jupyter-kernel.exe etc.

Approach 2: Nvidia Control Panel

Need help to fill in this section. See issue SerpentAI/D3DShot#27

Approach 3: AMD Catalyst Control Center

Need help to fill in this section. See issue SerpentAI/D3DShot#28

Question: Won't this impede on my ability to use CUDA, OpenCL etc?

Preliminary answer: No. This is telling Windows how to render Python processes with the Desktop Window Manager. Most Python applications are console applications that don't have a window. Even if you have a GUI application with one or more windows, this should only affect the rendering aspect (i.e. your windows won't be rendered through the dedicated GPU) and shouldn't limit hardware access in any way.


(copied and adapted from https://github.com/SerpentAI/D3DShot/wiki/Installation-Note:-Laptops)