Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

196.8. oidn-2.5.1

Intel's AI denoising of path-traced images on the CPU, with oidnDenoise

2.5.1-1 · Apache-2.0 · 2.5 SBU · 51.0 MiB, 22 files · 42_graphics, 24 of 189 · ports/core/3d/oidn

Homepage: https://www.openimagedenoise.org/

Depends on: cmake, ninja, python3, ispc, onetbb.

Required by (1): blender.

Sources: oidn-2.5.1.tar.gz (84.9 MiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/42_graphics/phase.env && kpkg install oidn'

build.sh:

cmake -B build -G Ninja \
	-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
	-DCMAKE_BUILD_TYPE=Release \
	-DCMAKE_INSTALL_PREFIX=/usr \
	-DCMAKE_INSTALL_LIBDIR=lib \
	-DOIDN_STATIC_LIB=OFF \
	-DOIDN_LIBRARY_VERSIONED=ON \
	-DOIDN_DEVICE_CPU=ON \
	-DOIDN_DEVICE_SYCL=OFF \
	-DOIDN_DEVICE_CUDA=OFF \
	-DOIDN_DEVICE_HIP=OFF \
	-DOIDN_FILTER_RT=ON \
	-DOIDN_FILTER_RTLIGHTMAP=ON \
	-DOIDN_INSTALL_DEPENDENCIES=OFF \
	-DOIDN_WARN_AS_ERRORS=OFF \
	-DOIDN_APPS=ON \
	-DISPC_EXECUTABLE=/usr/bin/ispc \
	-DTBB_ROOT=/usr
cmake --build build
DESTDIR=$PKG cmake --install build

test -f "$PKG/usr/lib/libOpenImageDenoise.so"
test -n "$(find "$PKG/usr/lib" -name 'libOpenImageDenoise_device_cpu.so*' | head -1)"
test -x "$PKG/usr/bin/oidnDenoise"

Programs: oidnBenchmark, oidnDenoise, oidnTest.

Libraries: libOpenImageDenoise.so, libOpenImageDenoise_core.so, libOpenImageDenoise_device_cpu.so.

Directories: /usr/include/OpenImageDenoise, /usr/lib/cmake/OpenImageDenoise-2.5.1, /usr/share/doc/OpenImageDenoise, /usr/share/licenses/oidn.