-
Notifications
You must be signed in to change notification settings - Fork 507
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
How can I use GPU acceleration? #55
Comments
|
ok,i got it,not all processes have GPU acceleration |
Actually the render part of the code enabled GPUs, regardless of whether
If I use
However, if I manually execute render step as listed in
blender will use GPU and rendering is significantly faster (25 min on GTX 1070 vs. 4 hours on Intel i7 6700 3.4G) UpdateI finally figured out why The culprit is So if you, like me, want to do all other steps in CPU but only rendering on GPU, do this:
This will do coarse, populate, and fine_terrain using CPUs but short (rendering) on GPUs. For my machine which is very old, this is the only way to get a decent performance out of it. In particular, If you have beefy GPUs (3090/4090), turn on Thanks to @badgids for |
I also have the same problem,how can i solved it. |
You should expect to see GPU usage briefly during the fine_terrain stage, and for a decent duration during any rendering stage. 0 GPU usage during coarse/populate stages is expected and typical. Confusion RE LocalScheduleHandler.use_gpu will be cleared up via PR |
My GPU is nvidia-RTX3090. I have already installed Cuda, and there is also a compilation package for Cuda when using
install.sh
. And also enabled on the command line toenable_GPU
, but when I render, the speed is still very slow, and the program innvidia-smi
does not occupy graphics memory.The text was updated successfully, but these errors were encountered: