Skip to content
This repository has been archived by the owner on Aug 23, 2022. It is now read-only.

Installation Note: Laptops

Nicholas Brochu edited this page Jun 11, 2020 · 2 revisions

Installation Note: D3DShot 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 D3DShot 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 D3DShot 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 D3DShot 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 #27

Approach 3: AMD Catalyst Control Center

Need help to fill in this section. See issue #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.