Jason Iversen

jason_iversen

About Me

Connect

LOCATION
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

XPU shader pre-compile issues Sept. 1, 2026, 3:45 p.m.

EbenF
jason_iversen
In the studio however, doing this for our render farm might save quite a bit more time
Hello! I think precompile is only useful in an interactive session, not in a render farm context.
regards,
F.

Hiya,

Certainly one could argue Karma shaders still compile quite quickly and might not be worth a shared-cache/precompiling on the farm - especially when rendering hero characters and FX - but when you're talking about hundreds or thousands of materials in larger layout scenes, it might help to save some minutes per-frame across multiple frames on a farm.

FYI, we already successfully cache shader compilations for our other renderer (Manuka) on our farm, where big shaders can sometimes take (many) minutes to compile and optimize. So this is area is pretty well understood for us already and it would hopefully be quite trivial to add Karma alongside our preexisting shader cache system.

XPU shader pre-compile issues Sept. 1, 2026, 6:01 a.m.

While I'm a fan of making things faster, I feel that compiling things I'm using just-in-time is probably absolutely fine for my home usage, considering my Mtlx library coverage in my average shader is fairly small.

In the studio however, doing this for our render farm might save quite a bit more time. Has there been much more thought to allowing us to customize the destination of these cache files to shared network disk (using lock-files/etc) so we can do can accumulate compiled code, and/or do a complete precompile upon installation/driver change? Perhaps as a cron which would mostly just NOP until it detected a change.

In short, I'll re-run on a (medium-grade: 32-core Threadripper) workstation and report the performance instead.

It took 55 mins. It might be nice to have an estimated total (eLapsed + Left), and a summary at the end?

XPU shader pre-compile issues Aug. 27, 2026, 4:24 a.m.

brians
- is this a regression for you Jason? Or has it always taken this long? (ie even in H21?)
Yes, sadly, according to this post above [www.sidefx.com], I was getting ~3 hrs predicted before .422. Now it's over 20 hrs...

Ah wait -- I updated my display driver, made sure I wasn't in battery-save mode and now it's back in the slot: