SerpentAI / D3DShot

Extremely fast and robust screen capture on Windows with the Desktop Duplication API
MIT License
328 stars 74 forks source link

Fill in the Nvidia Control Panel section in Installation Note: Laptops section of the wiki #27

Open nbrochu opened 4 years ago

nbrochu commented 4 years ago

I don't have an hybrid GPU laptop with an Nvidia dedicated GPU so I can't properly document the steps to force Python to use the onboard GPU.

If anyone can document the steps here (including screenshots, if possible), I will append the information to the wiki article.

Thanks!

Deto15 commented 4 years ago

Hello, I can't make screenshots of my own because the program appears in my native language, but the process is basically depicted here: https://nvidia.custhelp.com/app/answers/detail/a_id/2615/~/how-do-i-customize-optimus-profiles-and-settings%3F

Selecting python.exe and changing setting to make it use integrated graphics fixed the problem I was having.

Also thanks for your work on this :)

alexstepanyshchenko commented 4 years ago

Hello Nicholas,

Please, check this steps as solution for your issue:

  1. Open Nvidia Control Panel
  2. Go to 3D Settings -> Manage 3D settings
  3. Select "Program Settings" tab nvidia_help1
  4. Press Add button nvidia_help2
  5. In "Add" window press "Browse..." button nvidia_help3
  6. Select your Python.exe and press "Open" nvidia_help4
  7. In the "Manage 3D Settings" window select the preferred graphics processor for this program as "Integrated graphics" nvidia_help5
  8. Press "Apply" button
  9. Repeat the process for other potentially relevant executables for your project: ipython.exe, jupyter-kernel.exe etc.