Houdini not using one GPU

   314   2   0
User Avatar
Member
1 posts
Joined: March 2023
Offline
Hello,

I have been using Houdini FX Education Edition 20.0.625 on a computer with two NVIDIA GeForece RTX 4090. The drives seem to be working fine, and both GPUs work with other programs, but Houdini for some reason is not using the first GPU. It´s just using 2% of the second GPU and 100% of the CPU. Houdini has worked in the past on another computer with one GPU when I set it to XPU.
What could be the isue?

Thank you.
User Avatar
Staff
469 posts
Joined: May 2019
Offline
Are you determining this by looking at the windows task manager performance tab?
We've found that with 2 GPUs (have not tested with more sorry), the 2nd GPU doesn't seem to register any usage, even though it is running at full steam. Some hint that it is working is that you can see its temperature rise.
So this is an issue with the windows performance UI (probably something to do with the way Optix talks to the GPU under the hood :/ )

Evidence to show that it's running fine can be seen by looking at the header of the EXR image. If you render with the new driver (ie not the legacy driver), karma will put stats in the EXR header. You can then view those stats by this command line call
iinfo -v myfile.exr

The data is fairly dense sorry, but what we're looking for is the "xpu_device_samples" value associated with each device (which indicates how many passes each device contributed to the frame). So for a 128 sample image, all 3 devices should add to 128. I'm guessing the two GPU devices will have approximately the same value (indicating they're both working fine).
User Avatar
Staff
469 posts
Joined: May 2019
Offline
Another thing you can do is to do some render tests.
So... perform renders with the following environment variables set.

This will test with only the first GPU enabled
KARMA_XPU_DISABLE_DEVICE_0=0
KARMA_XPU_DISABLE_DEVICE_1=1
KARMA_XPU_DISABLE_DEVICE_2=1

This will test with only the second GPU enabled
KARMA_XPU_DISABLE_DEVICE_0=1
KARMA_XPU_DISABLE_DEVICE_1=0
KARMA_XPU_DISABLE_DEVICE_2=1

This will test with both of the GPUs enabled.
KARMA_XPU_DISABLE_DEVICE_0=0
KARMA_XPU_DISABLE_DEVICE_1=0
KARMA_XPU_DISABLE_DEVICE_2=1

more instructions here
https://www.sidefx.com/docs/houdini/solaris/karma_xpu.html#disablingdevices [www.sidefx.com]

I'm guessing you'll find the first two have the same approximate time, and the last will be approximately twice as fast. Please note that its best to run the tests twice, to ensure all GPU shaders are compiled and cached.
  • Quick Links