Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Mac editor won't use eGPU

Discussion in 'Editor & General Support' started by gecko, Apr 18, 2018.

  1. gecko

    gecko

    Joined:
    Aug 10, 2006
    Posts:
    2,238
    I got a Radeon 580 eGPU for my MacBook Pro last week, and was wondering why I didn't see much performance improvement --- turns out that Unity isn't using it. From the editor log:

    Initialize engine version: 2017.3.1f1 (fc1d3344e6ea)
    GfxDevice: creating device client; threaded=1
    Renderer: AMD Radeon Pro 560 OpenGL Engine
    Vendor: ATI Technologies Inc.
    Version: 4.1 ATI-1.66.31

    So...how do I tell Unity to use the eGPU instead of the built-in card?

    Also, in builds, it's nice to have the pulldown for choosing which GPU to use, but it defaults to the integrated card, which is frustrating....
     
  2. gecko

    gecko

    Joined:
    Aug 10, 2006
    Posts:
    2,238
    Ah, found it -- in Preferences, under "Device to Use." (I looked there before but I guess I didn't understand "device" to mean GPU.
     
    Untoldecay, florianhanke and ARTDAMO like this.
  3. gecko

    gecko

    Joined:
    Aug 10, 2006
    Posts:
    2,238
    So this is odd: That option (Unity Prefs>External Tools>Device to Use) only appears in one of my projects. Missing entirely from other projects, including new ones. And now it's gone from the one that it appeared in for the past week. I haven't updated Unity or Mac OS....so what the heck?
     
  4. mahaloKahuna

    mahaloKahuna

    Joined:
    Dec 19, 2017
    Posts:
    1
    @gecko Did you found a solution for this? I am thinking about getting a eGPU for my MacBook Pro (2017) as well and can't find any information if the Unity editor is able to make use of an eGPU.
     
  5. gecko

    gecko

    Joined:
    Aug 10, 2006
    Posts:
    2,238
    @mahaloKahuna Yes, 2018.1.7 finally fixed that bug with the GPU selection pulldown not appearing, so I can also choose (and know which) GPU is in use. Handy for testing. And the eGPU definitely gives a big speed boost (75% to 100% increase) ....except that I've noticed it degrades over time, and I have to restart the Mac every few days to get the proper eGPU speed-boost. Annoying but I can deal with it.
     
    Untoldecay likes this.
  6. Untoldecay

    Untoldecay

    Joined:
    Apr 9, 2016
    Posts:
    24
    @gecko which egpu are you using with your Radeon 580? I'm thinking about getting a Raze Core X.
     
  7. gecko

    gecko

    Joined:
    Aug 10, 2006
    Posts:
    2,238
    I'm using the Sonnet box that includes the 580.
     
  8. barriem

    barriem

    Joined:
    Jun 9, 2019
    Posts:
    1
    thanks, I just found this drop down and worked like a charm.
     
  9. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    515
    Are you still using that? where do you have benefit? in bake lights with progressive?
    I have tested one egpu and a lot of times Unity uses CPU for made a build and other stuff...
     
  10. gecko

    gecko

    Joined:
    Aug 10, 2006
    Posts:
    2,238
    Yes, still using it. We see the improvement in GPU load, so higher FPS at runtime. (Maybe also for compute-shader work, but haven't paid attention to speed improvements in that kind of thin.g)
     
  11. soklamon

    soklamon

    Joined:
    Jan 30, 2019
    Posts:
    1
    Hey there! I have added an additional GPU in my mac and struggling very hard to make it useful for Unity. Although it is correctly recognised in the system report, there is no available option in Unity of choosing any additional device. Screenshot 2019-11-26 at 00.15.29.png Screenshot 2019-11-26 at 00.16.04.png
     
    davidpv likes this.
  12. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    515
    what unity v version do you have? do you have to see below the option "enable code coverage" an option to select what device to use.
    See my attach
     

    Attached Files: