luxcore 2.5 with intel igpu

Use this forum for general user support and related questions.
Forum rules
Please upload a testscene that allows developers to reproduce the problem, and attach some images.
Post Reply
drsp
Posts: 13
Joined: Mon Oct 26, 2020 9:11 am

luxcore 2.5 with intel igpu

Post by drsp »

Hello,

I'm just in the process to upgrade my systems from ubuntu 20.04 to 21.04.
With that comes blender 2.83.5 and I installed luxcore plugin v2.5.

With 2.4 I couldn't manage to use the internal GPU of my intel processors.
I gave it a try with 2.5 but the kernel compilation process crashes.
intel_opencl_icd is installed and clinfo gives meaningful output.
I'm attaching the log file. Can someone give me a hint to make this work?

Or is luxcore just not working with intels opencl drivers?
If so what's your recommendation for a well supported GPU (nvidia with RTX or amd with better FP64 performance)?

Thanks a lot,
Ingo

Code: Select all

[LuxRays][123.529] [PathOCL kernel] Compiler options: -D LUXRAYS_OPENCL_KERNEL -D SLG_OPENCL_KERNEL -D RENDER_ENGINE_PATHOCL -D PARAM_RAY_EPSILON_MIN=1e-05f -D PARAM_RAY_EPSILON_MAX=0.1f -D LUXCORE_GENERIC_OPENCL -D LUXRAYS_OPENCL_DEVICE -D LUXRAYS_OS_LINUX -cl-fast-relaxed-math -cl-mad-enable
[LuxRays][123.529] [PathOCL kernel] Compiling kernels 
Writing: /tmp/blender.crash.txt

Code: Select all

# Blender 2.83.5, Unknown revision
bpy.context.space_data.context = 'RENDER'  # Property
bpy.context.scene.render.engine = 'LUXCORE'  # Property
bpy.context.scene.luxcore.config.device = 'OCL'  # Property
bpy.context.scene.luxcore.devices.devices[0].enabled = True  # Property
bpy.ops.object.select_all(action='DESELECT')  # Operator
bpy.context.scene.use_nodes = True  # Property
bpy.context.scene.use_nodes = False  # Property
bpy.context.area.ui_type = 'luxcore_material_nodes'  # Property
bpy.context.space_data.context = 'MATERIAL'  # Property
Compiling OPENCL kernels (just once, usually takes 15-30 minutes)  # Info

# backtrace
blender(BLI_system_backtrace+0x37) [0x56453b363677]
blender(+0xefbef1) [0x564538e18ef1]
/lib/x86_64-linux-gnu/libc.so.6(+0x41040) [0x7f65ed340040]
/lib/x86_64-linux-gnu/libigc.so.1(+0x3b70b3) [0x7f657c4cc0b3]
/lib/x86_64-linux-gnu/libigc.so.1(+0x3bfec3) [0x7f657c4d4ec3]
/lib/x86_64-linux-gnu/libLLVM-11.so.1(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x3b9) [0x7f659a3b00e9]
/lib/x86_64-linux-gnu/libLLVM-11.so.1(_ZN4llvm13FPPassManager11runOnModuleERNS_6ModuleE+0x33) [0x7f659a3b5693]
/lib/x86_64-linux-gnu/libLLVM-11.so.1(_ZN4llvm6legacy15PassManagerImpl3runERNS_6ModuleE+0x3e0) [0x7f659a3b0700]
/lib/x86_64-linux-gnu/libigc.so.1(+0x28eb61) [0x7f657c3a3b61]
/lib/x86_64-linux-gnu/libigc.so.1(+0x266b5a) [0x7f657c37bb5a]
/lib/x86_64-linux-gnu/libigc.so.1(+0x141aa6) [0x7f657c256aa6]
/lib/x86_64-linux-gnu/libigc.so.1(+0x1f7282) [0x7f657c30c282]
/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so(+0x2ba2b7) [0x7f658410e2b7]
/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so(+0xe40a1) [0x7f6583f380a1]
/usr/lib/x86_64-linux-gnu/intel-opencl/libigdrcl.so(+0x44e18) [0x7f6583e98e18]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(_ZN7luxrays14oclKernelCache13ForcedCompileEP11_cl_contextP13_cl_device_idRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISB_EERKSB_PSB_+0xed) [0x7f658f0deebd]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(_ZN7luxrays24oclKernelPersistentCache7CompileEP11_cl_contextP13_cl_device_idRKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISB_EERKSB_PbPSB_+0x1ce8) [0x7f658f0e2df8]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(_ZN7luxrays12OpenCLDevice14CompileProgramEPPNS_21HardwareDeviceProgramERKSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISA_EERKSA_SG_+0x16f3) [0x7f658f0d02b3]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(_ZN3slg26PathOCLBaseOCLRenderThread11InitKernelsEv+0x459) [0x7f658ede7b79]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(_ZN3slg26PathOCLBaseOCLRenderThread10InitRenderEv+0x457) [0x7f658ede3287]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(_ZN3slg26PathOCLBaseOCLRenderThread5StartEv+0x10) [0x7f658edd4180]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(_ZN3slg23PathOCLBaseRenderEngine13StartLockLessEv+0xf98) [0x7f658edcc548]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(_ZN3slg19PathOCLRenderEngine13StartLockLessEv+0x986) [0x7f658eb9ba76]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(+0x56b5f1) [0x7f658eb365f1]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(_ZN7luxcore6detail17RenderSessionImpl5StartEv+0x37) [0x7f658eabf877]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(+0x5177b0) [0x7f658eae27b0]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(_ZN7luxcore15KernelCacheFillERKN7luxrays10PropertiesEPFvmmE+0x1dc) [0x7f658eae3bfc]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(+0x47723b) [0x7f658ea4223b]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(+0x18be8c5) [0x7f658fe898c5]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(+0x18bea28) [0x7f658fe89a28]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(+0x18c4b03) [0x7f658fe8fb03]
/home/ingo/.config/blender/2.83/scripts/addons/BlendLuxCore/bin/pyluxcore.so(+0x18bc179) [0x7f658fe87179]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyObject_MakeTpCall+0x94) [0x7f65ef937004]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x8811) [0x7f65ef8e8271]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0x1a98dc) [0x7f65efa168dc]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyFunction_Vectorcall+0xa2) [0x7f65ef932132]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0xccd08) [0x7f65ef939d08]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x63b1) [0x7f65ef8e5e11]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0x71da3) [0x7f65ef8deda3]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x613b) [0x7f65ef8e5b9b]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0x71da3) [0x7f65ef8deda3]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x7070) [0x7f65ef8e6ad0]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0x71da3) [0x7f65ef8deda3]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0xccd08) [0x7f65ef939d08]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(_PyEval_EvalFrameDefault+0x7070) [0x7f65ef8e6ad0]
/lib/x86_64-linux-gnu/libpython3.9.so.1.0(+0x71da3) [0x7f65ef8deda3]
blender(+0x151ae7d) [0x564539437e7d]
blender(+0x1483554) [0x5645393a0554]
blender(RE_engine_render+0x38e) [0x56453ade294e]
blender(+0x2ecf747) [0x56453adec747]
blender(+0x2ed2c28) [0x56453adefc28]
blender(RE_RenderFrame+0xf2) [0x56453adf0342]
blender(+0x1eda8d4) [0x564539df78d4]
blender(+0x11cbb26) [0x5645390e8b26]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9450) [0x7f65f1d81450]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f65ed416d53]
bestman8
Posts: 16
Joined: Sat Jul 25, 2020 6:45 pm

Re: luxcore 2.5 with intel igpu

Post by bestman8 »

i can't really help with your issue but if you are looking for a new gpu pls go for nvidia a lot of render engines dont support amd or will stop the support in the near future.
User avatar
TAO
Developer
Developer
Posts: 850
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: luxcore 2.5 with intel igpu

Post by TAO »

intel GPUs not work really well for GPU render and in my experience crash most of the time.
Post Reply