LuxCore didt see OpenCL devices on Linux

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.
Floke
Posts: 34
Joined: Mon Apr 09, 2018 1:20 pm

LuxCore didt see OpenCL devices on Linux

Post by Floke »

Prompt in what there can be a problem, LuxCore with openCL does not see OpenCL devices. Installed the latest driver for NVidia Cuda and OpenCL installed with it.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: LuxCore didt see OpenCL devices on Linux

Post by Dade »

Floke wrote: Thu Apr 12, 2018 11:49 am Prompt in what there can be a problem, LuxCore with openCL does not see OpenCL devices. Installed the latest driver for NVidia Cuda and OpenCL installed with it.
Are you sure the installation is correct and works ? Try to run LuxMark and check if it sees the devices.
Support LuxCoreRender project with salts and bounties
Floke
Posts: 34
Joined: Mon Apr 09, 2018 1:20 pm

Re: LuxCore didt see OpenCL devices on Linux

Post by Floke »

can u say plz how to run it?
User avatar
Sharlybg
Donor
Donor
Posts: 3101
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: LuxCore didt see OpenCL devices on Linux

Post by Sharlybg »

Floke wrote: Fri Apr 13, 2018 9:39 am can u say plz how to run it?
Download here: http://wiki.luxcorerender.org/LuxMark#Binaries the lastest veersion and follow website instruction.
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA
Floke
Posts: 34
Joined: Mon Apr 09, 2018 1:20 pm

Re: LuxCore didt see OpenCL devices on Linux

Post by Floke »

Thanks! Here output when I try to run it
[floke@floke-PC luxmark-v3.1]$ ./luxmark --mode=BENCHMARK_OCL_GPU
X server found. dri2 connection failed!
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
terminate called after throwing an instance of 'cl::Error'
what(): clGetDeviceIDs
./luxmark: line 12: 14884 Aborted (core dumped) ./luxmark.bin "$@"
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: LuxCore didt see OpenCL devices on Linux

Post by Dade »

Floke wrote: Fri Apr 13, 2018 12:40 pm Thanks! Here output when I try to run it
[floke@floke-PC luxmark-v3.1]$ ./luxmark --mode=BENCHMARK_OCL_GPU
X server found. dri2 connection failed!
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [22]
param: 4, val: 0
terminate called after throwing an instance of 'cl::Error'
what(): clGetDeviceIDs
./luxmark: line 12: 14884 Aborted (core dumped) ./luxmark.bin "$@"
You don't have a working OpenCL installation. Something may have gone wrong when you installed your GPU driver or you may have some kind of conflict between different installed packages. You can try to look for some information about you vendor driver and your Linux distribution combo. GPU vendors usually support only a very small number of specific Linux distributions.
Linux is quite a mess under this point of view.
Support LuxCoreRender project with salts and bounties
zukazuka
Posts: 9
Joined: Sat Apr 14, 2018 2:46 pm

Re: LuxCore didt see OpenCL devices on Linux

Post by zukazuka »

It's working for me... Nvidia 1060 Linux Mint.
ajm
Posts: 9
Joined: Mon Mar 19, 2018 5:11 am

Re: LuxCore didt see OpenCL devices on Linux

Post by ajm »

I had a random issue like this recently where my OpenCL device couldn't be found by Blender/Cycles or LuxCore. Just randomly stopped, and the only way to fix it was to reboot. Everything shows that it is installed, and the appropriate stuff is blacklisted, so I don't know what happened, but did notice it was happening after a system suspend, however, it hasn't happened since. Maybe a recent update threw something off. I'm on Mint 18.3.
mib2berlin
Posts: 53
Joined: Fri Apr 06, 2018 6:29 pm

Re: LuxCore didt see OpenCL devices on Linux

Post by mib2berlin »

Hi, have the same problem with HD 4000 series on Kubuntu, GTX 760.
Luxmark 3.1 show both devices, LuxCore beta 3 does not.
HD 4400 is not bad, in earlier tests it was on par with GTX 750Ti in Luxmark

Cheers, mib.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: LuxCore didt see OpenCL devices on Linux

Post by Dade »

mib2berlin wrote: Wed Apr 18, 2018 9:21 am Hi, have the same problem with HD 4000 series on Kubuntu, GTX 760.
Luxmark 3.1 show both devices, LuxCore beta 3 does not.
HD 4400 is not bad, in earlier tests it was on par with GTX 750Ti in Luxmark
For the same problem, do you mean you don't see any device in LuxCore or are you missing only the HD4000 ?

You have installed both Intel GPU and NVIDIA OpenCL drivers and they both work with LuxMark ? It is not easy, I know because I have both AMD and NVIDIA OpenCL on my Linux and sometime one tries to delete the other :mrgreen:
Support LuxCoreRender project with salts and bounties
Post Reply