How to select GPUs for rendering in Unity?

22,000

Solution 1

There is a Unity command line option -gpu # which lets you select which GPU Unity apps run with

UnityApp.exe -gpu 1

editor.exe -gpu 0

I haven't seen this command line argument documented but it let's me test on my integrated and dedicated GPU.

Solution 2

You can change opening settings of a program, such as,compatibility mode, or graphics performance. Every graphics cards have a manager installed on the computer and you can change/add your application to it. A guide for NVIDIA, here is a link:

Link to guide

Try to apply this guide to Unity3d.

Share:
22,000
Admin
Author by

Admin

Updated on July 09, 2022

Comments

  • Admin
    Admin almost 2 years

    I am using Unity3D for rendering a scene and my machine has multiple GPUs. Could someone let me know how I can select a GPU for rendering? For example, I want to use the second GPU for rendering. Is there anyway to specify a GPU?