Karma Shader Precompilation H22

   775   5   2
User Avatar
Member
21 posts
Joined: 3月 2025
オフライン
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.
Edited by jemabaris - 2026年7月18日 13:56:17
User Avatar
Member
4 posts
Joined: 5月 2026
オフライン
Yep same here with the same gpu.
User Avatar
Member
13 posts
Joined: 3月 2017
オフライン
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.
User Avatar
Member
107 posts
Joined: 9月 2009
オフライン
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
Edited by TheNotepadShow - 2026年7月19日 08:05:40
Thanks,
Todd Manus
www.artstation.com/thenotepadshow
www.itodd.net
renderman.pixar.com/the-notepad-show
User Avatar
スタッフ
616 posts
Joined: 5月 2019
オフライン
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.
User Avatar
Member
1 posts
Joined: 6月 2026
オフライン
@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
  • Quick Links