Page 1 of 1

Select cpu/gpu in *.igs file

Posted: Fri Jan 12, 2018 9:39 am
by eyeball3000
Hello there

I have a question about the selection of the cpu/gpu in an scene (*.igs) file. I'm creating scene files by myself (with python) and use indigo via commend to render the scene. I already know (and it seems to work) that I can switch on GPU acceleration via the gpu node:

Code: Select all

	<renderer_settings>
		...
		<gpu>true</gpu>
		...
	</renderer_settings>
When I start rendering Indigo outputs:

Code: Select all

...
Starting threads... (num threads: 8)
Starting Render Master Server on port 7777.
Using OpenCL device 'Intel(R) HD Graphics 530'
...
However, in the Indigo GUI there are three Devices listed.
devices.png
My question is how (or if) I can select the device in the *.igs file.

I'm using Indigo 3.8.34, probably soon 4.x on macOS 10.13.x. Hope you guys can help me.

Cheers
Benjamin

Re: Select cpu/gpu in *.igs file

Posted: Fri Jan 12, 2018 9:48 am
by Oscar J
Welcome :)

Hmm, I'm not sure exactly what you're trying to do.

You'll need Indigo 4 for multi-GPU rendering. When you've selected GPU devices in the Indigo GUI, then that device selection is saved and used for any other scenes you launch (until you change device selection again of course). It's not possible to select devices with an igs file.

By the way, while it's possible to use those Intel units for OpenCL rendering, it won't be fast. I would stick to the Radeon Pro card, and/or potentially get a (miles faster) AMD desktop external GPU for your Mac if you're going to do GPU rendering frequently.