How to render with vulkan in husk?

   1785   7   1
User Avatar
Member
17 posts
Joined: Feb. 2023
Offline
Hi

first of all, is it possible?

the husk documentation says:
--gpu ** Enable GPU (OpenGL/Vulkan/Metal) support for render delegates.

the --list-renderers ** Prints list of all Hydra render delegates available.
gives me the result
Render Delegates:
- BRAY_HdKarma (Karma CPU)
- BRAY_HdKarmaXPU (Karma XPU)
- HD_HoudiniRendererPlugin (Houdini GL) - unsupported
- HdHDebug (Houdini Hydra Debugger) - unsupported
- HdStormRendererPlugin (GL) - unsupported
Some delegates may require the --gpu option.
You may get more detail using the TF_DEBUG variable

and that does not contain any vulkan.

Tried to set the render delegate to vulkan, but got error Unable to load render plugin: vulkan
And a lot of variants like HdVulkan and so, maybe they just forgot to update the help

btw, my question is, what is the simplest command line to execute husk with vulkan render?

thx
User Avatar
Member
129 posts
Joined: Aug. 2017
Offline
Not sure if this helps, but at one time I contacted SideFX regarding Python API for selecting the Vulkan delegate in the 3D viewport, and they informed me that "Houdini GL" is the internal name for it despite being Vulkan, and that they changed the interface to say "Houdini VK" only because it was confusing people.

Maybe if you choose the Houdini GL it will actually use Vulkan? Just a guess.
User Avatar
Staff
5327 posts
Joined: July 2005
Offline
You can't render HoudiniGL or HoudiniVK with husk. Instead, use the Flipbook ROP with hbatch or hython.
Edited by malexander - Oct. 8, 2025 15:04:43
User Avatar
Member
17 posts
Joined: Feb. 2023
Offline
@alexmajewski: thx. I've tried all delegates from the list (including houdini gl) with no luck

@malexander: I was afraid of that, but very strange, then why they say in the husk doc: --gpu ** Enable GPU (OpenGL/Vulkan/Metal) support for render delegates.

Husk is an ultimate choice for me, because can be executed from cmd line, and have four states where I can do anything with python. And there is no GUI.

If not possible I will find some other way.
Thx
User Avatar
Member
129 posts
Joined: Aug. 2017
Offline
hython and hbatch are command line versions of Houdini. You can pass scripts as arguments
User Avatar
Member
17 posts
Joined: Feb. 2023
Offline
@alexmajewski: thank you, did not know.
Dive deeper into it

thanx again
User Avatar
Staff
5327 posts
Joined: July 2005
Offline
I forgot that hrender is also an option:

hrender -d /path/to/flipbook/node test.hip
Edited by malexander - Oct. 9, 2025 14:14:26
User Avatar
Member
15 posts
Joined: Aug. 2020
Offline
It is working.

thank you again

I started with this video: https://youtu.be/HaxqalR-cUk?si=K4ooGPsfTmBSWRSE [youtu.be]
  • Quick Links