Page 2 of 2

Re: LuxCore didt see OpenCL devices on Linux

Posted: Wed Apr 18, 2018 10:52 am
by mib2berlin
Hm, 760 is shown, HD 4400 only in Luxmark not in the addon. If Luxmark render on the HD 4400 Luxcore should work too, doesn't it?

Thanks for watching, mib

Re: LuxCore didt see OpenCL devices on Linux

Posted: Wed Apr 18, 2018 10:54 am
by Dade
mib2berlin wrote: Wed Apr 18, 2018 10:52 am Hm, 760 is shown, HD 4400 only in Luxmark not in the addon. If Luxmark render on the HD 4400 Luxcore should work too, doesn't it?
Yes, you should have command named "clinfo", can you post the output here ?

Re: LuxCore didt see OpenCL devices on Linux

Posted: Wed Apr 18, 2018 1:53 pm
by mib2berlin
I don´t have clinfo but another tool check_opencl, output is:
If I try to compile clinfo it errors out CL.h is missing and I think this is a problem.

Code: Select all

Platform            : Intel(R) OpenCL
Platform extensions : cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64 
Platform profile    : FULL_PROFILE
Platform vendor     : Intel(R) Corporation
Platform version    : OpenCL 1.2 LINUX
        Device number         : 0
        Device name           :        Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz
        Device extensions     : cl_khr_icd cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_depth_images cl_khr_3d_image_writes cl_intel_exec_by_local_thread cl_khr_spir cl_khr_fp64 
        Device Opencl Version : OpenCL C 1.2 
        Device max comp unit  : 4


Test of directory creation :
Creation of /tmp/test_check_opencl directory is OK
 It will be removed
/tmp/test_check_opencl directory is removed

Test of directory creation with opencl name :
                Creation of "/tmp"/test_check_openc_cl/Intel(R) Corporation
                Creation of "/tmp/test_check_opencl/Intel(R) Corporation" : OK
                Creation of "/tmp/test_check_opencl/Intel(R) Corporation/Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz" : OK
                Creation of "/tmp/test_check_opencl/Intel(R) Corporation/Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz/4" : OK
I have installed:
intel-opencl-r5.0-63503.x86_64.rpm
intel-opencl-devel-r5.0-63503.x86_64.rpm
intel-opencl-r5.0-cpu-63503.x86_64.rpm

It seams it is only CPU installed, where I get GPU driver?

Re: LuxCore didt see OpenCL devices on Linux

Posted: Wed Apr 18, 2018 2:33 pm
by Dade
mib2berlin wrote: Wed Apr 18, 2018 1:53 pm It seams it is only CPU installed, where I get GPU driver?
Ok, this make sense, I think BlendLuxCore shows only GPUs device (because they are now the only type of useful devices thanks to hybrid rendering) while LuxMark show every type of device.

I'm not sure but some time ago, Intel OpenCL for HD4000 was available only under Windows :?:

Re: LuxCore didt see OpenCL devices on Linux

Posted: Wed Apr 18, 2018 2:42 pm
by mib2berlin
IIRC the test I made was on WIndows, haha.
It is not important to me, thank you for the help.
May in the future they support iGPU too.

Cheers, mib

Re: LuxCore didt see OpenCL devices on Linux

Posted: Wed Apr 18, 2018 2:55 pm
by B.Y.O.B.
Yes, CPU devices are not shown in the addon.
https://github.com/LuxCoreRender/BlendL ... ig.py#L178

Re: LuxCore didt see OpenCL devices on Linux

Posted: Sun Apr 07, 2019 7:38 pm
by Floke
Guys I finally found solution for fedora systems and Nvidia cards! For OpenCL luxcore just needed to remove some files from "etc/OpenCL/vendors" directory. Only nvidia.icd must stay here and luxcore OpenCl start working!
Удачи всем!

Re: LuxCore didt see OpenCL devices on Linux

Posted: Sun Apr 07, 2019 8:29 pm
by B.Y.O.B.
Great to hear that, thanks for posting the solution :)

Re: LuxCore didt see OpenCL devices on Linux

Posted: Sun Apr 07, 2019 8:34 pm
by Floke
Thanks for awesome render engine! =)