Search Unity

How to select GPU on a two GPU System

Discussion in 'Getting Started' started by dschiller, Dec 29, 2021.

  1. dschiller

    dschiller

    Joined:
    Nov 12, 2017
    Posts:
    2
    Hi all found this: https://forum.unity.com/threads/how-to-select-gpu.408389/
    But no Answers.

    And found this: https://forum.unity.com/threads/use...7.1526308535.1640768994-1848339195.1640768994

    But it seems not to work:

    Code (CSharp):
    1.  
    2. // Not working; Uses GPU 0 instead of 1
    3. "3D Sample Scene (HDRP).exe" -gpu 1
    4.  
    5. // Not working; Uses GPU 0 instead of 1
    6. "3D Sample Scene (HDRP).exe" "-gpu 1"
    7.  
    8. // Not working; Uses GPU 0 instead of 1
    9. "3D Sample Scene (HDRP).exe" "-GPU 1"
    10.  
    11. // Not working; Uses GPU 0 instead of 1
    12. "3D Sample Scene (HDRP).exe" -GPU 1
    13.  
    14. // Not working; Uses GPU 0 instead of 1
    15. "3D Sample Scene (HDRP).exe" -gpu=1
    16.  
    17. // Not working; Uses GPU 0 instead of 1
    18. "3D Sample Scene (HDRP).exe" "-gpu=1"
    19.  
    20. // Not working; Uses GPU 0 instead of 1
    21. "3D Sample Scene (HDRP).exe" "-GPU=1"
    22.  
    23.  
    24. // Not working; Uses GPU 0 instead of 1
    25. "3D Sample Scene (HDRP).exe" -GPU=1
    26.  
    27.  
    For sure I also tried all variances of "-gpu 0" as well but no luck so far.

    Also selecting the Build ( 3D Sample Scene (HDRP).exe ) with a right click and using "Render OpenGL on / Quadro RTX 4000" doesn't use the second GPU.

    Using Windows 11 / 10 with Unity 2020.3.25f1.1418 Personal. Maybe somone has experiences regarding that or Ideas.