検索 - User list
Full Version: Karma Shader Precompilation H22
Root » Technical Discussion » Karma Shader Precompilation H22
jemabaris
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
Yep same here with the same gpu.
isamarsh
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
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
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
@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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.