Published:
Karma XPU Pre-compile Slow in Houdini 22: Multi-GPU and RTX 5090 Fixes
Why the pre-compile can run for hours, and what to do on a multi-GPU RTX 5090 server:
- What it is: an optional step (Render › Pre-compile Karma XPU Render Kernels) that fills the OptiX kernel cache so the first Karma XPU frame starts sooner.
- Known issues: Houdini 22.0.398 fixed a pre-compile problem that affected multi-GPU users, and SideFX traced another to an NVIDIA CUDA/OptiX compiler fault on Blackwell GPUs, fixed for 22.0.422.
- Cost on a rented server: SideFX says a full pre-compile can take several hours; farm machines do not need it, because kernels compile on demand.
- On iRender: use Houdini 22.0.422 or later on RTX 5090 servers, skip the full pre-compile for batch work, and let the cache build once in your saved server image.
Karma XPU pre-compile in Houdini 22 aims to shorten the time to the first pixel. However, in the first Houdini 22 builds many users saw it run for hours with low CPU use. SideFX has now traced two causes. One is a bug that affected multi-GPU systems, and the other is an NVIDIA compiler fault on Blackwell (RTX 50) GPUs. This guide explains what the pre-compile does and which builds fix it. It also shows when the step is worth running on a rented multi-GPU server at all.
Checked on 4 December 2026 against SideFX's Karma XPU pre-compiling page for Houdini 22.0 and the SideFX forum thread “XPU shader pre-compile issues”. Disclosure: iRender publishes this guide and rents GPU servers for Houdini; the pre-compile facts come from SideFX documentation and the SideFX forum, and the session video is our own recording.
Quick answer. A slow Karma XPU pre-compile in Houdini 22 is usually a known bug, not your scene. Use build 22.0.398 or later on multi-GPU machines and 22.0.422 or later on RTX 50 GPUs, with a current NVIDIA driver. On a rented server you can usually skip the full pre-compile, which SideFX says can take hours. The renderer compiles the kernels it needs on demand.
1. What does Karma XPU pre-compile actually do?
Karma XPU pre-compile builds the render kernels ahead of time and stores them in a cache. As a result, the first frame does not have to wait for them. SideFX describes the step as absolutely optional: it only covers render kernels, only the OptiX (GPU) device, and not your own shaders, which compile quickly anyway (SideFX: Karma XPU pre-compiling). Without it, Karma XPU compiles a missing kernel on the fly when a render needs it. That can take a few seconds to several minutes.
The menu entry is Render › Pre-compile Karma XPU Render Kernels. SideFX also warns that a full pre-compile can take several hours. So save your work and free up system resources first, since some users reported an unresponsive machine.
How to read the figure. When a render starts, Karma XPU looks for each OptiX kernel in the cache for this machine and GPU. On a cache hit (green) the render begins at once. On a cache miss, however, Karma XPU compiles the kernel on the fly and then stores it for the next render. Pre-compiling simply fills the cache in advance. The moving dashes only show the direction of the work.
2. Why is the Karma XPU pre-compile so slow in Houdini 22?
Slow pre-compile runs come mostly from bugs in the early Houdini 22 builds and in the NVIDIA compiler. The SideFX forum thread on the issue traces both (XPU shader pre-compile issues). One user reported almost two hours on 22.0.368 at about 40% CPU, and another about seven and a half hours at 2–3% CPU. A SideFX developer then said that 22.0.398 contains a fix that would have affected multi-GPU users.
On 24 August 2026, SideFX traced a second cause to a fault in the NVIDIA CUDA/OptiX compiler affecting Blackwell GPUs. The fix went into 22.0.422. That matters directly for RTX 5090 servers, because the RTX 50 series is Blackwell. Results after 22.0.422 still varied for a few users. So a current NVIDIA driver is part of the fix too.
The pre-compile runs for hours with low CPU use.
It is still slow on an RTX 50 (Blackwell) GPU.
Many karma_cc.exe processes start, then CPU use drops.
The machine becomes unresponsive during the run.
The first frame is slow again after an update.
The cards above follow the order in which most people meet the problem. Start with the build number in Help › About Houdini, then the driver version from nvidia-smi. Only then change anything else or rerun the kernel pre-compile.
How to read the figure. The line runs through the Houdini 22 builds named in the SideFX forum thread. The grey point, 22.0.368, is where the slow pre-compile was first reported. Next, the blue point, 22.0.398, carries the multi-GPU fix. Finally, the green points mark 22.0.422 with the Blackwell compiler fix and any later build, which is what to install today.
3. Should you run the Karma XPU pre-compile on a rented server?
Usually not for batch rendering. SideFX says render farm machines do not need pre-compilation, because they compile the kernels they need on demand, and that pre-compiling mainly helps interactive use. A full pre-compile can take hours, and on a rented server you pay for that time without a frame rendered.
Running the pre-compile can still pay off if you plan days of interactive work in the Solaris viewport. In that case, run it once in a quiet session. On iRender the cache sits in your user folder, so it stays in your saved server image. However, SideFX notes that the kernels match the specific system and GPU. It also advises against sharing the cache over a network drive. So a move between RTX 4090 and RTX 5090 servers, a driver update or a new Houdini install means the kernels compile again.
How to read the figure. Start at the top. For mostly batch rendering, follow the green path on the left and let the kernels compile during the first frames. For long interactive sessions, follow the blue path and pre-compile once. In both cases, the box at the bottom lists what forces a rebuild of the cache.
Both paths start with the same check, and the pre-compile itself is a single menu entry. The mock-up below shows where to look in Houdini 22:
How to read the figure. The left half is the About Houdini window from the Help menu, where badge 1 marks the build number. It should read 22.0.398 or later on a multi-GPU machine and 22.0.422 or later on an RTX 5090, because that build carries the Blackwell compiler fix. The right half is the Render menu, where badge 2 marks the pre-compile entry. Run it once before a long interactive session. Grey bars stand in for the other menu entries, because they do not matter here.
4. Where is the Karma XPU kernel cache stored?
In the NVIDIA OptiX cache folder of your user account, in a subfolder per major Houdini release. SideFX's page gives these locations, still written with a Houdini 21.0 folder even on the Houdini 22.0 page. On Windows, copy the path below into the File Explorer address bar:
On Linux, the same cache sits in a per-user folder under /var/tmp. Run this in a terminal on the server to see the cached kernels and their size:
If the Houdini21.0 folder is missing, open the parent OptixCache folder and look for the one named after your Houdini release. The cache can use several gigabytes. If you suspect a broken cache, delete the folder: Karma XPU then simply compiles as it goes again. A stale cache does not change render quality; it only adds waiting time.
Frequently asked questions
1. What does Karma XPU pre-compile do?
It compiles Karma XPU's OptiX render kernels ahead of time and stores them in a cache, so the first frame starts sooner. It is optional and does not cover your own shaders.
2. Why does the Karma XPU pre-compile take hours in Houdini 22?
SideFX linked slow runs to a bug fixed in 22.0.398 that affected multi-GPU users and to an NVIDIA CUDA/OptiX compiler fault on Blackwell GPUs, fixed for 22.0.422. SideFX also says a full run can take several hours on some systems.
3. Which Houdini 22 build should I use with RTX 5090?
Use 22.0.422 or later with a current NVIDIA driver, because the RTX 5090 is a Blackwell GPU and that build carries the compiler fix.
4. Do I need to pre-compile Karma XPU on a render farm?
No. SideFX says farm machines compile the kernels they need on demand, and pre-compiling mainly helps interactive work.
5. Where is the Karma XPU kernel cache?
In the NVIDIA OptixCache folder of your user account, in a subfolder per Houdini release, for example AppData\Local\NVIDIA\OptixCache on Windows.
6. Does a driver update clear the Karma XPU cache?
It makes the cache out of date, so the kernels compile again. A new Houdini install or a different GPU model has the same effect.
7. Does pre-compiling make Karma XPU render faster?
It shortens the time to the first pixel, not the render itself. A stale or missing cache adds waiting time but does not change quality.
Render your Houdini Karma XPU scenes on iRender
The Karma XPU kernel cache works the same way on a rented server as on your workstation. Once a build has compiled its kernels, the next render on 4x RTX 5090 starts without the wait. On the iRender Houdini Karma XPU render farm you rent a whole bare-metal server with 1x, 2x, 4x or 8x RTX 5090 or RTX 4090 GPUs and work on it by remote desktop. The latest Houdini comes pre-installed, and you use your own SideFX licence. iRender keeps your server image between sessions, so your kernel cache stays too. iRender bills multi-GPU servers per minute; 1-GPU servers have a one-hour minimum.
Elite support is available 7 days a week by hotline, live chat, WhatsApp and email.
New users get a 100% bonus on the first top-up (minimum $50). See the Karma XPU render farm page for server options, or download the iRender GPU app.
Sources: SideFX: Karma XPU pre-compiling (Houdini 22.0), SideFX forum: XPU shader pre-compile issues. All sources accessed 4 December 2026.
If Karma XPU renders are slow on your machine, iRender's Karma XPU render farm gives you a dedicated remote server with Houdini pre-installed. You bring your own licence and render on multiple RTX 5090 GPUs; for Karma XPU, 4 GPUs is usually the most efficient setup.


