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.
The problem is fully documented in this article
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.
You must be running Windows 10 1809 or later for this to work.
- Press the Windows Key, type
Graphics settings
and press enter - You should see the following window:
- Make sure the dropdown is set to
Desktop App
and clickBrowse
- Find the
python.exe
used by your D3D Desktop Duplication project. Example:
- Click on
Options
- Select
Power saving
and clickSave
- If you did everything right it should look like this:
- Repeat the process for other potentially relevant executables for your project:
ipython.exe
,jupyter-kernel.exe
etc.
Need help to fill in this section. See issue SerpentAI/D3DShot#27
Need help to fill in this section. See issue SerpentAI/D3DShot#28
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)