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

Progressive GPU with eGPU Works 100% with 12/4 but not 24/6

Discussion in 'Global Illumination' started by IndieFist, Apr 26, 2020.

  1. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    515
    Hi!
    I was testing my egpu and when i bake lighs with setup 12 lightmap resolution and 4 in lightmap padding Unity uses 100% of eGPU and do it fast
    But if i use 24 in lightmap res and 6 in lightmap padding then only takes 30% of his power and more time than the internal graphics card.

    Tested in Catalina 10.15.3, 4 and latest 10.15.5
    Its normal that ?
     
  2. Kuba

    Kuba

    Unity Technologies

    Joined:
    Jan 13, 2009
    Posts:
    416
    Hey @IndieFist!

    Generally it might be hard to compare a certain lightmap resolution+padding pair with another one, as the atlassing for certain values might be less optimal (more unused space) than for others.

    Considering the very big drop in performance however, I'd expect that you ran out of physical GPU memory on your eGPU and there's likely a significant cost of paging data in and out of main memory.
    The fact that the internal graphics card finished more quickly would also support that theory.

    Knowing more about your setup would help in verifying this assumption. Could you perhaps submit a bug report and post the case number here? That will share the information about your system with us.
     
    IndieFist likes this.
  3. IndieFist

    IndieFist

    Joined:
    Jul 18, 2013
    Posts:
    515
    About the memory...this card got 8GB
    Just testing right now, bake with 12/4 external takes 20s and internal takes 41s
    bake with 20/6 internal takes 2'18" -> external takes 3' 18"

    THIS IS IMPORTANT
    after the 20/6 the memory of radeon was full and then the bake of 12/4 takes 1'18" thats is! do not release catalina the memory when finish the job?
    Attack more pictures with name for detailed info

    Every time i do a test i clean cache, and clean bake date and swithc to one or other gpu correctly, i see gpu usage in activity monitor.
    Also every time i use External 5700XT or internal 5300M i get graphical glitechs, you can see attach picture, but if i switch to internal Intel graphics then dissappears (maybe is a bug with unity editor + amd driver with apple because i reproduce same bug in every version of unity and projects)

    also opened a bug report ticket 1241935_ruiq03a5r8fkhp43

    THANKS FOR SUPPORT!

    edit2: After restart unity memroy usage from external reduced to 25%
     

    Attached Files:

    Last edited: Apr 27, 2020