Page 1 of 1

Need help installing Kubuntu 20.04 64 bit, AMDGPU-PRO headless opencl legacy

Posted: Wed Jun 03, 2020 12:05 pm
by checoimg
I want to check out new version but plugin gives error on addon activation.

Right click image and open image in new tab to view
Image

Re: Need help installing Kubuntu 20.04 64 bit, AMDGPU-PRO headless opencl legacy

Posted: Wed Jun 03, 2020 12:14 pm
by Sharlybg
No clickable image in your post.

Re: Need help installing Kubuntu 20.04 64 bit, AMDGPU-PRO headless opencl legacy

Posted: Wed Jun 03, 2020 4:47 pm
by Martini
I'll transcribe it. The error is reported by Blender; it says:

Code: Select all

Traceback (most recent call last):
  File "/usr/share/blender/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/ccheco/.config/blender/2.82/scripts/addons/BlendLuxCore/__init__.py", line 13, in <module>
    from .bin import pyluxcore
SystemError: initialization of pyluxcore raised unreported exception
Basically, Python cannot import pyluxcore for some reason.

Re: Need help installing Kubuntu 20.04 64 bit, AMDGPU-PRO headless opencl legacy

Posted: Wed Jun 03, 2020 7:37 pm
by Dade
What LuxCoreRender version are you using ? Are you sure your OpenCL installation is working ? Try to run LuxMark first to check.

Re: Need help installing Kubuntu 20.04 64 bit, AMDGPU-PRO headless opencl legacy

Posted: Thu Jun 04, 2020 3:04 pm
by caretaker
Martini wrote: Wed Jun 03, 2020 4:47 pm I'll transcribe it. The error is reported by Blender; it says:

Code: Select all

Traceback (most recent call last):
  File "/usr/share/blender/scripts/modules/addon_utils.py", line 351, in enable
    mod = __import__(module_name)
  File "/home/ccheco/.config/blender/2.82/scripts/addons/BlendLuxCore/__init__.py", line 13, in <module>
    from .bin import pyluxcore
SystemError: initialization of pyluxcore raised unreported exception
Basically, Python cannot import pyluxcore for some reason.
As of now there is no amd-gpu-pro driver for almost anything except ubuntu 18.4.4 LTS, i am running the same linux distro and have an AMD gpu and i can confirm that installing openCL is a bit of a hassle, however every online help you search is using some sort of hack or workaround. Maybe you should start by sharing your clinfo result and provide info about how you installed the driver. Most likely you messed something up.
I am running Kubuntu 20.04 on a ryzen 1700 laptop and rx580 gpu, its never easy to install openCL on Linux for AMD, i`ve asked on discord the same question of witch you did not respond. I can share my experience for installing bouth 2.3 and 2.4 if you like

Re: Need help installing Kubuntu 20.04 64 bit, AMDGPU-PRO headless opencl legacy

Posted: Thu Jun 04, 2020 4:56 pm
by checoimg
Yes, I tricked the driver package by changing my os to 18.04 and installed that way. https://www.reddit.com/r/Kubuntu/commen ... n_2004_if/

Re: Need help installing Kubuntu 20.04 64 bit, AMDGPU-PRO headless opencl legacy

Posted: Thu Jun 04, 2020 5:03 pm
by checoimg
The standalone worked, launching luxcoreui and loading the sample scene