jemabaris
2026年7月18日 09:20:11
Anyone else experiencing issues with the Karma shader precompilation in H22? It first took absurdly long (7h or so on an RTX4090) and it then ends with this error:
-------- Error Summary --------
PID: 37116
Command: karma --renderer BRAY_HdKarmaXPU -o husk:null_raster -p1 --res 1 1 C:/PROGRA~1/SIDEEF~1/HOUDIN~1.368/houdini/usd/karma/kma_precompile_shaders.usda
-------- 548 total errors --------
I've never had any issues with precompilation in H21 so not too sure what to make of this.
CooCooCaCha
2026年7月19日 01:56:55
Yep same here with the same gpu.
isamarsh
2026年7月19日 04:50:25
On a 4070Ti Super it doesn't error but does take a ridiculously long time. And it seems to be doing the compiling again and again for some reason ? It's repeating the same xx/548 whatever for the fourth time now. I'm pretty sure it didn't do this in earlier versions.
TheNotepadShow
2026年7月19日 06:40:11
So I get the same error as you do at the end, jemabaris.
Plus, on Linux the compile took only 23 minutes, on Windows 11 was looking to take 10+ hours.
Rocky Linux 9.8, KDE
Threadripper 7980x w/ 128 Gb RAM
RTX 4090
brians
2026年7月19日 20:31:12
We've fixed the error-message at the end of the (you could ignore that stuff anyway).
The fix will be out in the first daily-build.
isamarsh
It's repeating the same xx/548 whatever for the fourth time now. I'm pretty sure it didn't do this in earlier versions.
TheNotepadShow
Plus, on Linux the compile took only 23 minutes, on Windows 11 was looking to take 10+ hours.
regarding these two, we're still looking into it and with the aim to have it fixed by the first daily, thanks for testing + reporting back.
andreibadger
2026年7月21日 10:20:18
@brians, so if i install the houdini-22.0.387-win64-vc143.exe, i should not have a problem when precompile render kernels ? What other things do i have to do when precompiling render kernesl in h22 ? I have an rtx 5080. Im reading on the internet that i have to add this code lines. KARMA_XPU_OPTIX_FORCE_OPTIXIR = 1 or # Forces modern shader compilation paths to support the RTX 5080 in Houdini 21
KARMA_XPU_OPTIX_FORCE_OPTIXIR = 1 or Forces OptiX to use proper intermediate representation to bypass Blackwell compile stalls
KARMA_XPU_OPTIX_ENABLE_OPTIXIR = 1
# Bypasses UI thread exhaustion when generating complex compute queues
HOUDINI_UI_QUEUE_SIZE = 99999