Re: Windows Build FAILED
Posted: Sun Apr 26, 2020 12:03 am
Show your work, get help, participate in development
https://forums.luxcorerender.org/
Yes, I am aware of that... I just need to get used to it. None the less, great work, so thanks again.
Did you modify the .cfg file as mentioned?epilectrolytics wrote: ↑Sun Apr 26, 2020 7:58 am Still I cannot select devices in LuxCoreUI, same error as in BlendLuxCore:
I should have fixed this problem, this is likely to have fixed BlendLuxCore problem too.epilectrolytics wrote: ↑Sun Apr 26, 2020 7:58 am Still I cannot select devices in LuxCoreUI, same error as in BlendLuxCore:
Sadly no, BlendLuxCore still gives an error.Dade wrote: ↑Sun Apr 26, 2020 11:07 amI should have fixed this problem, this is likely to have fixed BlendLuxCore problem too.epilectrolytics wrote: ↑Sun Apr 26, 2020 7:58 am Still I cannot select devices in LuxCoreUI, same error as in BlendLuxCore:
Code: Select all
Traceback (most recent call last):
File "C:\Users\309\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\BlendLuxCore\engine\base.py", line 83, in render_final
final.render(self, depsgraph)
File "C:\Users\309\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\BlendLuxCore\engine\final.py", line 49, in render
_render_layer(engine, depsgraph, statistics, layer)
File "C:\Users\309\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\BlendLuxCore\engine\final.py", line 61, in _render_layer
engine.session = engine.exporter.create_session(depsgraph, engine=engine, view_layer=view_layer)
File "C:\Users\309\AppData\Roaming\Blender Foundation\Blender\2.81\scripts\addons\BlendLuxCore\export\__init__.py", line 251, in create_session
return pyluxcore.RenderSession(renderconfig)
RuntimeError: Hardware device selection string has the wrong length, must be 4 instead of 2
ERROR: Hardware device selection string has the wrong length, must be 4 instead of 2
In LuxCoreUI now everything works fine, two GPUs are listed as 4 devices, 2 x OCL + 2 x CUDA and can be selected and applied.
Code: Select all
>>> pyluxcore.GetOpenCLDeviceList()
[('GeForce RTX 2080', 'OPENCL_GPU', 46, 1, 8589934592, 2147483648)]
>>> print(pyluxcore.GetOpenCLDeviceDescs())
opencl.device.0.platform.name = "NVIDIA Corporation
opencl.device.0.platform.version = "OpenCL 1.2 CUDA 11.0.126
opencl.device.0.name = "GeForce RTX 2080"
opencl.device.0.type = "OPENCL_GPU"
opencl.device.0.units = 46
opencl.device.0.clock = 1815
opencl.device.0.nativevectorwidthfloat = 1
opencl.device.0.maxmemory = 8589934592
opencl.device.0.maxmemoryallocsize = 2147483648
opencl.device.0.localmemory = 49152
opencl.device.0.constmemory = 65536
opencl.device.1.platform.name = "NVIDIA"
opencl.device.1.platform.version = "UNKNOWN"
opencl.device.1.name = "GeForce RTX 2080"
opencl.device.1.type = "CUDA_GPU"
opencl.device.1.units = 64
opencl.device.1.clock = 0
opencl.device.1.nativevectorwidthfloat = 1
opencl.device.1.maxmemory = 8589934592
opencl.device.1.maxmemoryallocsize = 18446744073709551615
opencl.device.1.localmemory = 0
opencl.device.1.constmemory = 0
It is a deprecated method: https://github.com/LuxCoreRender/LuxCor ... .cpp#L1752B.Y.O.B. wrote: ↑Sun Apr 26, 2020 3:57 pm I guess this needs an update? https://github.com/LuxCoreRender/LuxCor ... e.cpp#L121