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?
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.
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.
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.
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
Hello SamiRehman1997,
you can indeed find the requirements for GPULM in this documentation:
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 Unity QA: Building quality with passion with a repro.
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.