Indigobench select gpu via command line
-
- Posts: 4
- Joined: Tue Feb 13, 2018 5:39 am
Indigobench select gpu via command line
So I am trying to run indigobench on my macbook pro via the command line, but I only want it to run on the AMD GPU and not the intel integrated one. I tried the --gpuonly flag but it runs on both the GPUs on your computer (AMD and intel GPU). Is there any way to specify which GPU to run the benchmark on?
Thanks!
Thanks!
Re: Indigobench select gpu via command line
Hi,
currently that isn't possible. It could be added at some point, I guess. I put a feature request into the tracker.
currently that isn't possible. It could be added at some point, I guess. I put a feature request into the tracker.
-
- Posts: 4
- Joined: Tue Feb 13, 2018 5:39 am
Re: Indigobench select gpu via command line
If I want to add this feature in myself, how exactly would I go about doing that?
-
- Posts: 4
- Joined: Tue Feb 13, 2018 5:39 am
- Oscar J
- Posts: 2204
- Joined: Sat Mar 31, 2012 3:47 am
- Location: Gothenburg, Sweden
- 3D Software: Blender
Re: Indigobench select gpu via command line
No, it's not.
-
- Posts: 4
- Joined: Tue Feb 13, 2018 5:39 am
Re: Indigobench select gpu via command line
I have a question regarding how the --settings flag works. I have a custom settings.xml file where the only device under the tag <selected_opencl_devices> is my AMD GPU, but when I run the command line pointing the --settings flag to that settings.xml file, it still runs indigobench on my intel GPU and the AMD GPU. Here is my command:
Here is my settings.xml file:
Code: Select all
/Indigobench/Indigo\ Benchmark.app/Contents/MacOS/indigo_benchmark --settings "/path/to/file/settings.xml" --silent --scenes "supercar" --gpuonly
Code: Select all
<?xml version="1.0" encoding="utf-8"?>
<settings>
<use_network_manager>false</use_network_manager>
<use_network_floating_licence>false</use_network_floating_licence>
<network_manager_hostname><![CDATA[localhost]]></network_manager_hostname>
<do_master_search_broadcast>true</do_master_search_broadcast>
<use_custom_cache_directory_path>false</use_custom_cache_directory_path>
<cache_directory_path><![CDATA[]]></cache_directory_path>
<use_custom_render_directory_path>false</use_custom_render_directory_path>
<render_directory_path><![CDATA[]]></render_directory_path>
<allow_gpu_as_slave>true</allow_gpu_as_slave>
<png_bit_depth>8</png_bit_depth>
<jpeg_image_quality>95</jpeg_image_quality>
<exr_bit_depth>32</exr_bit_depth>
<exr_compression_method><![CDATA[PIZ]]></exr_compression_method>
<use_online_license>false</use_online_license>
<online_license_user><![CDATA[]]></online_license_user>
<selected_opencl_devices>
<device>
<device_name><![CDATA[AMD Radeon Pro 460 Compute Engine]]></device_name>
<vendor_name><![CDATA[Apple]]></vendor_name>
<id>0</id>
</device>
</selected_opencl_devices>
</settings>
Re: Indigobench select gpu via command line
--settings works differently, it expects the settings as xml, not a path to a settings file. For example: --settings "<width>1920</width><height>1080</height>"
The benchmark currently ignores the "selected_opencl_devices" setting. It should also be noted that not all settings can be overridden (render mode, for example). Also, overriding settings will make it impossible to submit the results to the database.
The benchmark currently ignores the "selected_opencl_devices" setting. It should also be noted that not all settings can be overridden (render mode, for example). Also, overriding settings will make it impossible to submit the results to the database.
Re: Indigobench select gpu via command line
Hi,
Is there any update on this feature? When can we expect the new version later than 4.0.64?
Is there any update on this feature? When can we expect the new version later than 4.0.64?
Who is online
Users browsing this forum: No registered users and 42 guests