Page 1 of 1

How to use GPUs from command line render?

Posted: Sat May 21, 2016 9:20 am
by cgbeige
I don't see any command line flags to use GPUs for render in the CL help

Re: How to use GPUs from command line render?

Posted: Sat May 28, 2016 7:02 am
by Oscar J
Do you mean activating GPU from scene files?

Re: How to use GPUs from command line render?

Posted: Sat May 28, 2016 7:05 am
by cgbeige
so if I set the scene to use GPUs in the file, it will use them automatically when command line rendering?

Re: How to use GPUs from command line render?

Posted: Sat May 28, 2016 3:06 pm
by cgbeige
actually, I just tried that and it doesn't stick. If you open the file again or try to command line render it after changing to OpenCL with GPU and saving, it will revert back to CPU rendering.

Re: How to use GPUs from command line render?

Posted: Fri Jun 03, 2016 5:53 am
by cgbeige
ok - got answer in email and verified this works. Use arg:

--settings "<gpu_path_tracing>true</gpu_path_tracing>"