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 is not working giving two errors

Discussion in 'Global Illumination' started by SamiRehman1997, Oct 30, 2020.

  1. SamiRehman1997

    SamiRehman1997

    Joined:
    Aug 13, 2018
    Posts:
    74
    i brought is budget laptop recently with
    Nvidia MX 130 2GB (which supports DX12)
    And Core i5 10210U,
    8GB Ram

    but when i use Progressive GPU i get these errors

    OpenCL GPU device GeForce MX130 from NVIDIA Corporation has less than 4 GB of global memory, ignoring device for lightmapping.

    OpenCL GPU device Intel(R) UHD Graphics from Intel(R) Corporation has less than 4 GB of global memory, ignoring device for lightmapping.

    Failed to find a suitable OpenCL device, falling back to CPU lightmapper.

    OpenCL Error. Falling back to CPU lightmapper. Error callback from context: CL_INVALID_PROGRAM


    i am not rendering anything complex it is a very simple scene even for now i don't even need to bake lights, i am just wondering why am i getting these error do i need 4GB GPU?
     

    Attached Files:

    Last edited: Oct 30, 2020
  2. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,001
    This part of the error seems pretty clear.
     
  3. SamiRehman1997

    SamiRehman1997

    Joined:
    Aug 13, 2018
    Posts:
    74
    I don't see how, is this a Unity Bug? or graphics driver? and if I need a high end GPU for lighting baking in a scene where there is only one directional light using progressive GPU then system requirements information on unity site should get updated.
     
  4. AcidArrow

    AcidArrow

    Joined:
    May 20, 2010
    Posts:
    11,001
    Are there system requirements for the GPU Lightmapper somewhere?
     
    JamesArndt likes this.
  5. Bordeaux_Fox

    Bordeaux_Fox

    Joined:
    Nov 14, 2018
    Posts:
    589
    Are you using the denoiser? It has a 4GB gfx minimum ...
    Personally I would not bother with GPU lightmapping with anything under 6GB because GPU lightmapper is too hungry. My RTX 2060 is already obsolete, cannot do any useful baking nor realtime raytracing with it (for Unity). Just as a reminder.
     
  6. JamesArndt

    JamesArndt

    Unity Technologies

    Joined:
    Dec 1, 2009
    Posts:
    2,912
    The GPU Lightmapper is memory intensive and is still finicky with a wide variety of lower to mid powered GPUs. Hell it didn't want to work efficiently or correctly on some of our desktop workstations that were using budget GPUs. Best bet is to stick the CPU lightmapper and work around the limitation.
     
  7. SamiRehman1997

    SamiRehman1997

    Joined:
    Aug 13, 2018
    Posts:
    74
    denoiser, is under filtering settings which is by default set to Auto so i think it does use Denoiser if i set filtering to 'none' then i don't face that memory Error.

    okay then i will stick with CPU then, thank you both of you
     
  8. ADufay

    ADufay

    Unity Technologies

    Joined:
    Jan 2, 2020
    Posts:
    30
    Hello SamiRehman1997,
    you can indeed find the requirements for GPULM in this documentation:
    https://docs.unity3d.com/2020.2/Documentation/Manual/GPUProgressiveLightmapper.html
    Note that for 2018.x and 2019.x versions of Unity the memory requirement was 2GB. For 2020.x and above it is now 4GB.

    The error you are seeing is actually warning you that the Lightmapper has switched to its CPU backend, bake should continue on the CPU side. If it is not the case please report a bug on https://unity3d.com/unity/qa/bug-reporting with a repro.

    Cheers.
     
  9. JamesArndt

    JamesArndt

    Unity Technologies

    Joined:
    Dec 1, 2009
    Posts:
    2,912
    Holy smackerel, is this temporary or a permanent requirement? Why such a massive increase in the specs required to bake lighting?
     
  10. SamiRehman1997

    SamiRehman1997

    Joined:
    Aug 13, 2018
    Posts:
    74

    wow that's alot ok, i am good with CPU then,
     
  11. KEngelstoft

    KEngelstoft

    Unity Technologies

    Joined:
    Aug 13, 2013
    Posts:
    1,366
    I agree that the increase in minimum specifications is unfortunate. It was chosen to reduce user pain from failing bakes. Adding features to the lightmapper to increase performance cost some additional memory. We are working on some features to reduce overall memory consumption and if we get it low enough we can reduce the minimum requirements again.
     
    ADufay likes this.