[Bug Report] installation fails
The steps to take are literally just install it in Blender 4.5.2 and set it to CUDA, then hit the render preview after selecting LuxCore, and it will proceed to say: 'utf-8' codec can't decode byte 0xe1 in position 151: invalid continuation byte And also, it doesn't detect my GPU, and when I try to update the list, it just throws another error: File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\operators\general.py", line 126, in execute devices.init_devices(devices.get_device_props()) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\properties\devices.py", line 108, in get_device_props return pyluxcore.GetOpenCLDeviceDescs() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe1 in position 151: invalid continuation byte
Like, I don't understand why this is failing. This should be an out-of-the-box experience; I shouldn't even be wrestling with Python at 2 AM because I want to render realistic caustics. Either your installation tutorial is incomplete, or something is wrong with your add-on. I tried on older versions of Blender too, with their appropriate version of BlenLuxCore, and it's the same error. This is so frustrating.
Have you access to a Python console?
If so, can you please:
- install pyluxcore (
pip install pyluxcore) - run the following commands in Python:
import pyluxcore
pyluxcore.Init()
print(pyluxcore.GetOpenCLDeviceDescs())
- report the result here
hi here is the console paste: PYTHON INTERACTIVE CONSOLE 3.11.11 (main, May 31 2025, 09:35:27) [MSC v.1929 64 bit (AMD64)]
Builtin Modules: bpy, bpy.data, bpy.ops, bpy.props, bpy.types, bpy.context, bpy.utils, bgl, gpu, blf, mathutils Convenience Imports: from mathutils import *; from math import * Convenience Variables: C = bpy.context, D = bpy.data
import pyluxcore pyluxcore.Init() print(pyluxcore.GetOpenCLDeviceDescs()) Traceback (most recent call last): File "<blender_console>", line 1, in
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe1 in position 151: invalid continuation byte
btw hardware specs: HP Omen 16 laptop with an AMD Ryzen 7 5800H CPU with RADEON graphics, 16 GB of DDR4 PC4-25600 3200MHz Non-ECC SODIMM RAM, and an NVIDIA GeForce RTX 3050 Ti laptop GPU, and uses Windows 11 Home version latest update as of today, NVIDIA graphic drivers are up to date too.
OK, can you try:
import pyluxcore
pyluxcore.Init()
bytes(pyluxcore.GetOpenCLDeviceDescs().ToString(), encoding="ascii")
(in a fresh session)
same result
The same, replacing last line with:
pyluxcore.GetOpenCLDeviceDescs().ToString().encode("ascii")
and another try:
pyluxcore.GetOpenCLDeviceDescs().GetAllNames()
OK, simply:
pyluxcore.GetOpenCLDeviceDescs()
OK, this is deeper than I expected. I must think about it.
Thanks for your patience btw, I would be pulling my hairs by this point if I were you
Please do ask for any extra details of my computer, I will gladly pull the details
Another try:
pyluxcore.GetOpenCLDeviceList()
same error. what could cause this?
The name of one of your GPUs may contain a special character, for instance a á. Have you got any means to list your GPUs, like nvidia-smi?
You can also have a look to Cycles preferences, the GPUs are listed there.
I ran cmd with nvidia smi and this is the listing:
C:\Users\engar>nvidia-smi -L GPU 0: NVIDIA GeForce RTX 3050 Ti Laptop GPU (UUID: GPU-2ce8453d-00ab-222a-5c15-501f5499ee69)
And what about Cycles preferences in Blender?
Well, no more idea tonight, I'll see further tomorrow
Is there a way to see, like a debug mode, when this command is run, like registers and stuff? It would be easier if the steps weren't hidden behind a function
Unfortunately, this function is a pure C++ binding. The binding framework (pybind11) expects a Unicode encoding, but I fear the initial string may be latin-1 encoded. https://pybind11.readthedocs.io/en/stable/advanced/cast/strings.html#returning-c-strings-to-python
Hmm, I've gone to Blender's System Console, and maybe this helps: [Engine/Final] Rendering layer "ViewLayer" [Exporter] Creating session [SDL][57.547] Define ImageMap: NamedObject
[SDL][57.547] Camera type: perspective
[SDL][57.547] Camera position: Point[7.35889, -6.92579, 4.95831]
[SDL][57.547] Camera target: Point[6.70733, -6.31162, 4.51304]
[SDL][57.547] Camera clipping plane disabled
WARNING: Material "Material.001": Missing node tree WARNING: No material defined [SDL][57.563] Material definition: Material__0011790623933000
[SDL][57.563] Material definition: CLAY
[SDL][57.563] Scene objects count: 2
[SDL][57.563] Light definition: 1789058915616
[SDL][57.563] Light definition: WORLD_BACKGROUND_LIGHT
[LuxCore][57.578] Configuration:
[LuxCore][57.578] path.pathdepth.total = 13
[LuxCore][57.578] path.pathdepth.diffuse = 5
[LuxCore][57.578] path.pathdepth.glossy = 5
[LuxCore][57.578] path.pathdepth.specular = 12
[LuxCore][57.578] path.hybridbackforward.enable = 0
[LuxCore][57.578] path.hybridbackforward.partition = 0.8
[LuxCore][57.578] path.hybridbackforward.glossinessthreshold = 0.049
[LuxCore][57.578] film.noiseestimation.warmup = 8
[LuxCore][57.578] film.noiseestimation.step = 32
[LuxCore][57.578] sampler.sobol.adaptive.strength = 0.9
[LuxCore][57.578] sampler.sobol.bucketsize = 16
[LuxCore][57.578] sampler.sobol.tilesize = 16
[LuxCore][57.594] sampler.sobol.supersampling = 1
[LuxCore][57.594] sampler.sobol.overlapping = 1
[LuxCore][57.594] renderengine.type = "PATHCPU"
[LuxCore][57.594] sampler.type = "SOBOL"
[LuxCore][57.594] film.width = 1920
[LuxCore][57.594] film.height = 1080
[LuxCore][57.594] film.filter.type = "NONE"
[LuxCore][57.594] film.filter.width = 1.5
[LuxCore][57.594] lightstrategy.type = "DLS_CACHE"
[LuxCore][57.594] scene.epsilon.min = 1e-05
[LuxCore][57.594] scene.epsilon.max = 0.1
[LuxCore][57.594] path.albedospecular.type = "REFLECT_TRANSMIT"
[LuxCore][57.594] path.albedospecular.glossinessthreshold = 0.05
[LuxCore][57.594] film.opencl.enable = 0
[LuxCore][57.594] lightstrategy.entry.radius = 0
[LuxCore][57.594] lightstrategy.entry.normalangle = 10
[LuxCore][57.594] lightstrategy.entry.maxpasses = 1024
[LuxCore][57.594] lightstrategy.entry.convergencethreshold = 0.01
[LuxCore][57.594] lightstrategy.entry.warmupsamples = 12
[LuxCore][57.594] lightstrategy.entry.volumes.enable = 0
[LuxCore][57.594] lightstrategy.lightthreshold = 0.01
[LuxCore][57.594] lightstrategy.targetcachehitratio = 0.995
[LuxCore][57.594] lightstrategy.maxdepth = 4
[LuxCore][57.594] lightstrategy.maxsamplescount = 10000000
[LuxCore][57.594] lightstrategy.persistent.file = ""
[LuxCore][57.594] path.photongi.photon.maxcount = 20000000
[LuxCore][57.594] path.photongi.photon.maxdepth = 8
[LuxCore][57.594] path.photongi.glossinessusagethreshold = 0.049
[LuxCore][57.594] path.photongi.indirect.enabled = 1
[LuxCore][57.610] path.photongi.indirect.maxsize = 0
[LuxCore][57.610] path.photongi.indirect.haltthreshold = 0.05
[LuxCore][57.610] path.photongi.indirect.lookup.radius = 0
[LuxCore][57.610] path.photongi.indirect.lookup.normalangle = 10
[LuxCore][57.610] path.photongi.indirect.usagethresholdscale = 8
[LuxCore][57.610] path.photongi.caustic.enabled = 0
[LuxCore][57.610] path.photongi.caustic.maxsize = 100000
[LuxCore][57.610] path.photongi.caustic.lookup.radius = 0.075
[LuxCore][57.610] path.photongi.caustic.lookup.normalangle = 10
[LuxCore][57.610] path.photongi.caustic.updatespp = 8
[LuxCore][57.610] path.photongi.caustic.updatespp.radiusreduction = 0.96
[LuxCore][57.610] path.photongi.caustic.updatespp.minradius = 0.003
[LuxCore][57.610] path.photongi.persistent.file = ""
[LuxCore][57.610] path.forceblackbackground.enable = 0
[LuxCore][57.610] renderengine.seed = 1
[LuxCore][57.610] film.outputs.0.type = "RGB_IMAGEPIPELINE"
[LuxCore][57.610] film.outputs.0.index = 0
[LuxCore][57.610] film.outputs.0.filename = "RGB_IMAGEPIPELINE_0.png"
[LuxCore][57.610] film.outputs.1.type = "RGB_IMAGEPIPELINE"
[LuxCore][57.610] film.outputs.1.index = 1
[LuxCore][57.610] film.outputs.1.filename = "RGB_IMAGEPIPELINE_1.png"
[LuxCore][57.610] film.imagepipelines.001.0.type = "NOP"
[LuxCore][57.610] film.imagepipelines.001.1.type = "TONEMAP_LINEAR"
[LuxCore][57.610] film.imagepipelines.001.1.scale = 1
[LuxCore][57.610] film.imagepipelines.001.radiancescales.0.enabled = 1
[LuxCore][57.625] film.imagepipelines.001.radiancescales.0.globalscale = 1
[LuxCore][57.625] film.imagepipelines.001.radiancescales.0.rgbscale = 1 1 1
[LuxCore][57.625] film.imagepipelines.001.2.type = "GAMMA_CORRECTION"
[LuxCore][57.625] film.imagepipelines.001.2.value = 2.2
[LuxCore][57.625] film.noiseestimation.index = 1
[LuxCore][57.625] film.imagepipelines.000.0.type = "NOP"
[LuxCore][57.625] film.imagepipelines.000.1.type = "TONEMAP_LINEAR"
[LuxCore][57.625] film.imagepipelines.000.1.scale = 1
[LuxCore][57.625] film.imagepipelines.000.radiancescales.0.enabled = 1
[LuxCore][57.625] film.imagepipelines.000.radiancescales.0.globalscale = 1
[LuxCore][57.625] film.imagepipelines.000.radiancescales.0.rgbscale = 1 1 1
[LuxCore][57.625] batch.haltspp = 0 0
[LuxCore][57.625] batch.halttime = 0
[LuxCore][57.625] File Name Resolver Configuration:
Export took 0.1 s [LuxCore][57.625] Film resolution: 1920x1080
[SDL][57.625] Film output definition: RGB_IMAGEPIPELINE [image.png]
[SDL][57.625] Image pipeline: film.imagepipelines.000
[SDL][57.625] Image pipeline step 0: NOP
[SDL][57.625] Image pipeline step 1: TONEMAP_LINEAR
[SDL][57.625] Image pipeline: film.imagepipelines.001
[SDL][57.625] Image pipeline step 0: NOP
[SDL][57.625] Image pipeline step 1: TONEMAP_LINEAR
[SDL][57.625] Image pipeline step 2: GAMMA_CORRECTION
[SDL][57.625] Film output definition: RGB_IMAGEPIPELINE [RGB_IMAGEPIPELINE_0.png]
[SDL][57.625] Film output definition: RGB_IMAGEPIPELINE [RGB_IMAGEPIPELINE_1.png]
[LuxRays][57.641] OpenCL support: enabled
[LuxRays][57.641] OpenCL Platform 0: NVIDIA CUDA
[LuxRays][57.641] OpenCL Platform 1: AMD Accelerated Parallel Processing
[LuxRays][57.641] OpenCL Platform 2: OpenCLOn12
[LuxRays][57.641] CUDA support: enabled
[LuxRays][57.641] CUDA support: available
[LuxRays][57.641] CUDA driver version: 12.90
[LuxRays][57.641] CUDA device count: 1
[LuxRays][57.641] Optix support: available
[LuxRays][57.641] Device 0 name: Native
[LuxRays][57.641] Device 0 type: NATIVE_THREAD
[LuxRays][57.641] Device 0 compute units: 1
[LuxRays][57.641] Device 0 preferred float vector width: 4
[LuxRays][57.641] Device 0 max allocable memory: 17592186044415MBytes
[LuxRays][57.641] Device 0 max allocable memory block size: 17592186044415MBytes
[LuxRays][57.641] Device 0 has out of core memory support: 0
[LuxRays][57.641] Device 1 name: NVIDIA GeForce RTX 3050 Ti Laptop GPU
[LuxRays][57.641] Device 1 type: OPENCL_GPU
[LuxRays][57.641] Device 1 compute units: 20
[LuxRays][57.641] Device 1 preferred float vector width: 1
[LuxRays][57.641] Device 1 max allocable memory: 4095MBytes
[LuxRays][57.641] Device 1 max allocable memory block size: 1023MBytes
[LuxRays][57.657] Device 1 has out of core memory support: 0
[LuxRays][57.657] Device 2 name: gfx90c
[LuxRays][57.657] Device 2 type: OPENCL_GPU
[LuxRays][57.657] Device 2 compute units: 8
[LuxRays][57.657] Device 2 preferred float vector width: 1
[LuxRays][57.657] Device 2 max allocable memory: 6212MBytes
[LuxRays][57.657] Device 2 max allocable memory block size: 4845MBytes
[LuxRays][57.657] Device 2 has out of core memory support: 0
[LuxRays][57.657] Device 3 name: NVIDIA GeForce RTX 3050 Ti Laptop GPU
[LuxRays][57.657] Device 3 type: OPENCL_GPU
[LuxRays][57.657] Device 3 compute units: 1
[LuxRays][57.657] Device 3 preferred float vector width: 4
[LuxRays][57.657] Device 3 max allocable memory: 3962MBytes
[LuxRays][57.657] Device 3 max allocable memory block size: 990MBytes
[LuxRays][57.657] Device 3 has out of core memory support: 0
[LuxRays][57.657] Device 4 name: AMD Radeon(TM) Graphics
[LuxRays][57.657] Device 4 type: OPENCL_GPU
[LuxRays][57.657] Device 4 compute units: 1
[LuxRays][57.657] Device 4 preferred float vector width: 4
Traceback (most recent call last): File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\engine\base.py", line 99, in render_final final.render(self, depsgraph) File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\engine\final.py", line 45, in render _render_layer(engine, depsgraph, statistics, layer) File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\engine\final.py", line 57, in render_layer engine.session = engine.exporter.create_session(depsgraph, engine=engine, view_layer=view_layer) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\export_init.py", line 253, in create_session return pyluxcore.RenderSession(renderconfig) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe1 in position 151: invalid continuation byte ERROR: 'utf-8' codec can't decode byte 0xe1 in position 151: invalid continuation byte
I've changed my computer language to english and now it's a runtimeerror. so moral of the story for this error luxcore doesn't like computers in other languages
It's still not fixed, still doesn't find the GPU, and still doesn't work, but now it's [Engine/Viewport] New session [Exporter] Creating session [SDL][45.984] Define ImageMap: NamedObject
[SDL][45.984] Camera type: perspective
[SDL][45.984] Camera position: Point[14.7279, -6.50511, 8.01803]
[SDL][45.984] Camera target: Point[13.9091, -6.14344, 7.57225]
[SDL][45.984] Camera clipping plane disabled
WARNING: Material "Material": Missing node tree [SDL][45.984] Material definition: 1845789368928
[SDL][45.984] Scene objects count: 1
[SDL][45.984] Light definition: 1845776091168
[SDL][45.984] Light definition: WORLD_BACKGROUND_LIGHT
[LuxCore][46.000] Configuration:
[LuxCore][46.000] path.pathdepth.total = 1
[LuxCore][46.000] path.pathdepth.diffuse = 1
[LuxCore][46.000] path.pathdepth.glossy = 1
[LuxCore][46.000] path.pathdepth.specular = 1
[LuxCore][46.000] rtpathcpu.zoomphase.size = 4
[LuxCore][46.000] rtpathcpu.zoomphase.weight = 0
[LuxCore][46.000] renderengine.type = "RTPATHCPU"
[LuxCore][46.000] sampler.type = "RTPATHCPUSAMPLER"
[LuxCore][46.000] film.width = 1585
[LuxCore][46.000] film.height = 857
[LuxCore][46.000] film.filter.type = "NONE"
[LuxCore][46.000] film.filter.width = 1.5
[LuxCore][46.000] lightstrategy.type = "LOG_POWER"
[LuxCore][46.000] scene.epsilon.min = 1e-05
[LuxCore][46.000] scene.epsilon.max = 0.1
[LuxCore][46.000] path.albedospecular.type = "REFLECT_TRANSMIT"
[LuxCore][46.000] path.albedospecular.glossinessthreshold = 0.05
[LuxCore][46.000] film.opencl.enable = 0
[LuxCore][46.000] path.forceblackbackground.enable = 0
[LuxCore][46.000] renderengine.seed = 1
[LuxCore][46.000] film.outputs.0.type = "ALBEDO"
[LuxCore][46.000] film.outputs.0.filename = "ALBEDO.exr"
[LuxCore][46.015] film.imagepipelines.000.0.type = "OUTPUT_SWITCHER"
[LuxCore][46.015] film.imagepipelines.000.0.channel = "ALBEDO"
[LuxCore][46.015] film.imagepipelines.000.1.type = "TONEMAP_LINEAR"
[LuxCore][46.015] film.imagepipelines.000.1.scale = 1
[LuxCore][46.015] batch.haltspp = 0 0
[LuxCore][46.015] batch.halttime = 0
[LuxCore][46.015] File Name Resolver Configuration:
Export took 0.0 s [LuxCore][46.015] Film resolution: 1585x857
[SDL][46.015] Film output definition: RGB_IMAGEPIPELINE [image.png]
[SDL][46.015] Image pipeline: film.imagepipelines.000
[SDL][46.015] Image pipeline step 0: OUTPUT_SWITCHER
[SDL][46.015] Image pipeline step 1: TONEMAP_LINEAR
[SDL][46.015] Film output definition: ALBEDO [ALBEDO.exr]
[LuxRays][46.015] OpenCL support: enabled
[LuxRays][46.015] OpenCL Platform 0: NVIDIA CUDA
[LuxRays][46.015] OpenCL Platform 1: AMD Accelerated Parallel Processing
[LuxRays][46.015] OpenCL Platform 2: OpenCLOn12
[LuxRays][46.015] CUDA support: enabled
[LuxRays][46.015] CUDA support: available
[LuxRays][46.015] CUDA driver version: 12.90
[LuxRays][46.015] CUDA device count: 1
[LuxRays][46.015] Optix support: available
[LuxRays][46.015] Device 0 name: Native
[LuxRays][46.015] Device 0 type: NATIVE_THREAD
[LuxRays][46.015] Device 0 compute units: 1
[LuxRays][46.015] Device 0 preferred float vector width: 4
[LuxRays][46.015] Device 0 max allocable memory: 17592186044415MBytes
[LuxRays][46.015] Device 0 max allocable memory block size: 17592186044415MBytes
[LuxRays][46.015] Device 0 has out of core memory support: 0
[LuxRays][46.015] Device 1 name: NVIDIA GeForce RTX 3050 Ti Laptop GPU
[LuxRays][46.015] Device 1 type: OPENCL_GPU
[LuxRays][46.015] Device 1 compute units: 20
[LuxRays][46.015] Device 1 preferred float vector width: 1
[LuxRays][46.015] Device 1 max allocable memory: 4095MBytes
[LuxRays][46.015] Device 1 max allocable memory block size: 1023MBytes
[LuxRays][46.015] Device 1 has out of core memory support: 0
[LuxRays][46.015] Device 2 name: gfx90c
[LuxRays][46.015] Device 2 type: OPENCL_GPU
[LuxRays][46.015] Device 2 compute units: 8
[LuxRays][46.015] Device 2 preferred float vector width: 1
[LuxRays][46.015] Device 2 max allocable memory: 6212MBytes
[LuxRays][46.015] Device 2 max allocable memory block size: 4845MBytes
[LuxRays][46.015] Device 2 has out of core memory support: 0
[LuxRays][46.015] Device 3 name: NVIDIA GeForce RTX 3050 Ti Laptop GPU
[LuxRays][46.015] Device 3 type: OPENCL_GPU
[LuxRays][46.015] Device 3 compute units: 1
[LuxRays][46.015] Device 3 preferred float vector width: 4
[LuxRays][46.015] Device 3 max allocable memory: 3962MBytes
[LuxRays][46.015] Device 3 max allocable memory block size: 990MBytes
[LuxRays][46.015] Device 3 has out of core memory support: 0
[LuxRays][46.015] Device 4 name: AMD Radeon(TM) Graphics
[LuxRays][46.015] Device 4 type: OPENCL_GPU
[LuxRays][46.015] Device 4 compute units: 1
[LuxRays][46.015] Device 4 preferred float vector width: 4
ERROR: C:__w\1\s\OpenCLOn12\src\openclon12\device.cpp(671)\OpenCLOn12.dll!00007FF941790131: (caller: 00007FF941790AF6) Exception(4) tid(25cc) 80070057 The parameter is incorrect.
Traceback (most recent call last): File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\engine\viewport.py", line 86, in view_update engine.session = engine.exporter.create_session(depsgraph, context, engine=engine) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\export_init_.py", line 253, in create_session return pyluxcore.RenderSession(renderconfig) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: C:__w\1\s\OpenCLOn12\src\openclon12\device.cpp(671)\OpenCLOn12.dll!00007FF941790131: (caller: 00007FF941790AF6) Exception(4) tid(25cc) 80070057 The parameter is incorrect.
Traceback (most recent call last): File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\operators\general.py", line 126, in execute devices.init_devices(devices.get_device_props()) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\properties\devices.py", line 108, in get_device_props return pyluxcore.GetOpenCLDeviceDescs() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: C:__w\1\s\OpenCLOn12\src\openclon12\device.cpp(671)\OpenCLOn12.dll!00007FF941790131: (caller: 00007FF941790AF6) Exception(5) tid(25cc) 80070057 The parameter is incorrect.
Error: Python: Traceback (most recent call last): File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\operators\general.py", line 126, in execute devices.init_devices(devices.get_device_props()) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\properties\devices.py", line 108, in get_device_props return pyluxcore.GetOpenCLDeviceDescs() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: C:__w\1\s\OpenCLOn12\src\openclon12\device.cpp(671)\OpenCLOn12.dll!00007FF941790131: (caller: 00007FF941790AF6) Exception(5) tid(25cc) 80070057 The parameter is incorrect. Traceback (most recent call last): File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\operators\general.py", line 126, in execute devices.init_devices(devices.get_device_props()) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\properties\devices.py", line 108, in get_device_props return pyluxcore.GetOpenCLDeviceDescs() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: C:__w\1\s\OpenCLOn12\src\openclon12\device.cpp(671)\OpenCLOn12.dll!00007FF941790131: (caller: 00007FF941790AF6) Exception(6) tid(25cc) 80070057 The parameter is incorrect.
Error: Python: Traceback (most recent call last): File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\operators\general.py", line 126, in execute devices.init_devices(devices.get_device_props()) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\properties\devices.py", line 108, in get_device_props return pyluxcore.GetOpenCLDeviceDescs() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: C:__w\1\s\OpenCLOn12\src\openclon12\device.cpp(671)\OpenCLOn12.dll!00007FF941790131: (caller: 00007FF941790AF6) Exception(6) tid(25cc) 80070057 The parameter is incorrect. Traceback (most recent call last): File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\operators\general.py", line 126, in execute devices.init_devices(devices.get_device_props()) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\properties\devices.py", line 108, in get_device_props return pyluxcore.GetOpenCLDeviceDescs() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: C:__w\1\s\OpenCLOn12\src\openclon12\device.cpp(671)\OpenCLOn12.dll!00007FF941790131: (caller: 00007FF941790AF6) Exception(7) tid(25cc) 80070057 The parameter is incorrect.
Error: Python: Traceback (most recent call last): File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\operators\general.py", line 126, in execute devices.init_devices(devices.get_device_props()) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\engar\AppData\Roaming\Blender Foundation\Blender\4.5\extensions\user_default\BlendLuxCore\properties\devices.py", line 108, in get_device_props return pyluxcore.GetOpenCLDeviceDescs() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ RuntimeError: C:__w\1\s\OpenCLOn12\src\openclon12\device.cpp(671)\OpenCLOn12.dll!00007FF941790131: (caller: 00007FF941790AF6) Exception(7) tid(25cc) 80070057 The parameter is incorrect.
OK. At this stage, I would say:
- there is a trouble with OpenCL in your system
- that trouble generates an exception, with an error message, when LuxCore tries to discover devices.
- when the language is Spanish, the error message may contain accented characters (perhaps "El parámetro es incorrecto"?) but the message is not encoded in Unicode, so LuxCore does not handle it correctly and a Unicode exception is raised. This can be worked around by selecting "English" as the platform language, until we fix the issue permanently. (I put the text in italics for future reuse).
- As for OpenCL, unfortunately, I can only encourage you to continue searching for a solution on the web. You may also check your system with
clinfo(https://github.com/ahoylabs/clinfo)