Linux Mint/Blender: Unable to activate addon [Solved]

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
Daf57
Posts: 2
Joined: Sat Apr 18, 2020 1:02 pm

Linux Mint/Blender: Unable to activate addon [Solved]

Post by Daf57 »

Hello,
Downloaded current BlendLuxCore v2.3 - installed into Blender 2.82 but when I try to activate the addon I get the error below. Somewhat new to Linux so not sure how to proceed - would appreciate some help getting it going, please. System info below error message.
Thanks
Daf

Code: Select all

Traceback (most recent call last):
  File "/opt/blender-2.82a-linux64/2.82/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/daf/.config/blender/2.82/scripts/addons/BlendLuxCore/__init__.py", line 23, in <module>
    raise Exception(msg + "\n\nImportError: %s" % error) from None
Exception: 

Could not import pyluxcore.

ImportError: libOpenCL.so.1: cannot open shared object file: No such file or directory
========================

Code: Select all

System:
  Host: Fancy-Mint Kernel: 5.3.0-46-generic x86_64 bits: 64 compiler: gcc 
  v: 7.5.0 Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia 
  base: Ubuntu 18.04 bionic 
Machine:
  Type: Desktop System: MSI product: MS-7850 v: 1.0 serial: <filter> 
  Mobo: MSI model: Z97 PC Mate(MS-7850) v: 1.0 serial: <filter> 
  UEFI [Legacy]: American Megatrends v: 4.10 date: 08/11/2015 
Battery:
  Device-1: hidpp_battery_0 model: Logitech Wireless Keyboard K360 
  charge: 55% status: Discharging 
  Device-2: hidpp_battery_1 model: Logitech M570 charge: 35% 
  status: Discharging 
CPU:
  Topology: Quad Core model: Intel Core i7-4790K bits: 64 type: MT MCP 
  arch: Haswell rev: 3 L2 cache: 8192 KiB 
  flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 64001 
  Speed: 1000 MHz min/max: 800/4400 MHz Core speeds (MHz): 1: 948 2: 906 
  3: 902 4: 969 5: 900 6: 901 7: 904 8: 959 
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1080] driver: nvidia v: 435.21 
  bus ID: 01:00.0 
  Display: x11 server: X.Org 1.20.5 driver: nvidia 
  unloaded: fbdev,modesetting,nouveau,vesa 
  resolution: 1920x1080~60Hz, 1920x1080~60Hz 
  OpenGL: renderer: GeForce GTX 1080/PCIe/SSE2 v: 4.6.0 NVIDIA 435.21 
  direct render: Yes 
Audio:
  Device-1: Intel 9 Series Family HD Audio vendor: Micro-Star MSI 
  driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
  Device-2: NVIDIA GP104 High Definition Audio driver: snd_hda_intel 
  v: kernel bus ID: 01:00.1 
  Device-3: Focusrite-Novation type: USB driver: snd-usb-audio 
  bus ID: 3-2:10 
  Sound Server: ALSA v: k5.3.0-46-generic 
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet 
  vendor: Micro-Star MSI driver: r8169 v: kernel port: d000 bus ID: 03:00.0 
  IF: enp3s0 state: down mac: <filter> 
  Device-2: Ralink RT5572 Wireless Adapter type: USB driver: rt2800usb 
  bus ID: 3-6:6 
  IF: wlx9cefd5fb336f state: up mac: <filter> 
Drives:
  Local Storage: total: 9.10 TiB used: 2.60 TiB (28.6%) 
  ID-1: /dev/sda vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB 
  ID-2: /dev/sdb vendor: Samsung model: SSD 860 EVO 1TB size: 931.51 GiB 
  ID-3: /dev/sdc type: USB vendor: Seagate model: Expansion Desk 
  size: 3.64 TiB 
  ID-4: /dev/sdd type: USB vendor: Western Digital model: WD My Book 25EE 
  size: 3.64 TiB 
Partition:
  ID-1: / size: 915.89 GiB used: 110.49 GiB (12.1%) fs: ext4 dev: /dev/sdb1 
Sensors:
  System Temperatures: cpu: 32.0 C mobo: N/A gpu: nvidia temp: 33 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 27% 
Info:
  Processes: 244 Uptime: 1d 7h 06m Memory: 31.31 GiB used: 3.85 GiB (12.3%) 
  Init: systemd runlevel: 5 Compilers: gcc: 7.5.0 Shell: bash v: 4.4.20 
  inxi: 3.0.32 
Last edited by Daf57 on Sat Apr 18, 2020 1:43 pm, edited 1 time in total.
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Linux Mint/Blender: Unable to activate addon

Post by B.Y.O.B. »

The problem is your OpenCL driver installation, it might be missing or broken.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Linux Mint/Blender: Unable to activate addon

Post by Dade »

B.Y.O.B. wrote: Sat Apr 18, 2020 1:31 pm The problem is your OpenCL driver installation, it might be missing or broken.
This and/or you may miss OpenCL ICD.
Support LuxCoreRender project with salts and bounties
Daf57
Posts: 2
Joined: Sat Apr 18, 2020 1:02 pm

Re: Linux Mint/Blender: Unable to activate addon

Post by Daf57 »

Hey thanks! So I did a little research on Open CL and found this:
https://askubuntu.com/questions/850281/ ... cpu/850594
I ran sudo apt install ocl-icd-libopencl1 and that did the trick. The LuxCore addon was activated and shows up as an available renderer. :D

Thanks again!
Post Reply