Jump to content
Sign in to follow this  
Heraklit

Where to change opencl device

Recommended Posts

Heraklit    14

Hey, 

 

can anybody tell me where I have to write this line "HOUDINI_OCL_DEVICENUMBER=1" in order to force houdini to use my second GPU and not the one plugged to the display? 

Its not doing anything when I pase this into the houdini.env file. 

Share this post


Link to post
Share on other sites
marty    574

sigh - as was written on your post in the SideFx forum it's most likely that you have a different OpenCL vendor - therefore you need to set that vendor first.

Share this post


Link to post
Share on other sites
Heraklit    14

Its just not working. 

 

When I type "set HOUDINI_OCL_DEVICENUMBER=1" in the shell it then tells me that the second card is used for opencl. But when performance monitoring during a sim still the other card is used.

When pasting "HOUDINI_OCL_DEVICENUMBER=1" in the houdini.env file nothing at all happens. When putting this in the system variables nothing happens to.

Edited by Heraklit

Share this post


Link to post
Share on other sites
marty    574

hey, try the `hgpuinfo -l` command - it's meant to list all available OpenCL devieces.

Share this post


Link to post
Share on other sites
Heraklit    14

It shows me the cpu and both cards. now need to know how I effectively can change the device. Changing device in the shell only tells me that the other cards gets used without really utilizing it. 

Share this post


Link to post
Share on other sites
Heraklit    14

Talked to the support. 

The only thing that works is to extend the code a bit:

HOUDINI_OCL_DEVICETYPE = “GPU”
HOUDINI_OCL_VENDOR = “NVIDIA Corporation”
HOUDINI_OCL_DEVICENUMBER = 1
 

  • Like 1

Share this post


Link to post
Share on other sites
Heraklit    14

Well, much more accessable VRAM due to not being responsible for a display. So I don't know how much of that 11 GB you effectively can use when the card runs a lot of other things + the viewport..but probably around 6 GB are REALLY free? The titan gives me much more space. 

Share this post


Link to post
Share on other sites
Heraklit    14

Well, the card speeds up unter pressure - like the cpu or whatever. It just doesn't with opencl. Its a titan x maxwell hydro copper. Standard overclocking from the manufacture is @ around 1375 mhz. I overlocked it to even 1500 MHZ. Houdini's opencl is pushing the card to only around 1100 MHZ. Same problem with the 1080 ti. Its running at a max of 1400 where during gpu rendering or gaming @ nearly 2000. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×