-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Allow user to select which GPU to use #7
Comments
Just running my first test - sure this is a daft question - but where are the GPU options? |
Not a bad question! The GPU options are only available in the full beta addon, not the test suite addon. I have updated the workaround with a note about this. |
Should my GPU be doing anything on the test version? Currently running a 300 resolution test and noticed although my CPU is working my GPU utilization is running at 1% or 2% most of the time (CPUID HW Monitor) |
Low GPU usage is normal. The simulator offloads some calculations to the GPU to boost performance. Many FLIP calculations aren't perfectly suited for GPU processing, so the full power of the GPU cannot be 100% utilized. Often the GPU usage is under 5%, but with this low percentage, the calculations can still run much faster on the GPU than CPU. For example, mesh data is generated on the GPU and in tests, when running on CPU, these calculations could be two to five times slower. The performance boost will depend on your hardware. In the full version, you can try disabling the GPU features to test if the calculations run faster on your CPU. |
OK - thanks - makes sense. |
The next version (Test Suite v0.1.2t and Beta v0.1.2b) will include this improvement. Functionality to specify which GPU to use is still in progress. |
An option has been added to the addon preferences menu to select which GPU to use as a compute device. If no device is selected, the addon will automatically try to select the most 'powerful' device. Tip: remember to save your user settings so that Blender remembers your GPU selection preference. This feature will be included in the next beta version (0.1.3b). |
Problem
The simulator doesn't have a 'smart' method of selecting which GPU to use, it just picks the first GPU from a list. This can cause the simulator to choose the less powerful GPU, or even an integrated graphics chip which will slow down simulation baking.
Solution
Workaround
Note: This workaround only applies to the FLIP Fluids Beta addon, not the Test Suite addon
If the addon is selecting the wrong GPU, try disabling GPU features until this issue is fixed. Simulations may run faster using your CPU.
The text was updated successfully, but these errors were encountered: