## LuxCore: issues, problems, regressions

Discussion related to the implementation of new features & algorithms to the Core Engine.

Moderators: Dade, jromang, tomb, zcott, coordinators

### Re: LuxCore: issues, problems, regressions

Another bug I found, sorry if it has been reported before. There seems to be some sort of "noise" in the mix material:

Luxrender output

LuxCore OCL output

LuxCore CPU output

It appears no matter what sampler or integrator I use (in LuxCore). It appears slightly different with OCL GPU vs CPU.

T
Attachments
checkers.blend

tomb

Posts: 2677
Joined: Thu Oct 11, 2007 4:23 pm
Location: Oslo, Norway

### Re: LuxCore: issues, problems, regressions

Maybe it's a bug in the checker texture?

I found a bug in realtime preview while testing the scene, it crashes when I try to move/modify the ground plane. Will have to look what causes this...

B.Y.O.B.

Posts: 5177
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

### Re: LuxCore: issues, problems, regressions

B.Y.O.B. wrote:Maybe it's a bug in the checker texture?

I found a bug in realtime preview while testing the scene, it crashes when I try to move/modify the ground plane. Will have to look what causes this...

Not sure. Jens says this way of doing a checkers background in Lux is quite esoteric, so that may be the issue (i.e. using a mix material and not a mix texture).

tomb

Posts: 2677
Joined: Thu Oct 11, 2007 4:23 pm
Location: Oslo, Norway

### Re: LuxCore: issues, problems, regressions

tomb wrote:
B.Y.O.B. wrote:Maybe it's a bug in the checker texture?

I found a bug in realtime preview while testing the scene, it crashes when I try to move/modify the ground plane. Will have to look what causes this...

Not sure. Jens says this way of doing a checkers background in Lux is quite esoteric, so that may be the issue (i.e. using a mix material and not a mix texture).

FWIW, changing from 3d+global coordinates to 2D uv works and resolves the "noise". Perhaps there is some numerical issue in the 3D mapper.

tomb

Posts: 2677
Joined: Thu Oct 11, 2007 4:23 pm
Location: Oslo, Norway

### Re: LuxCore: issues, problems, regressions

I'm trying to set up Blender/Luxrender on my notebook (I'm on vacation at my family's home right now).
I'm using Ubuntu and have no OpenCL drivers installed.
When I try to render with API 2.x, this error occurs:
Code: Select all
[Lux 2014-Dec-22 17:33:55] Rendering aborted: clGetPlatformIDsTraceback (most recent call last):  File "/home/simon/.config/blender/2.72/scripts/addons/luxrender/core/__init__.py", line 1161, in luxcore_render    lcSession = pyluxcore.RenderSession(lcConfig)RuntimeError: clGetPlatformIDs

Even when not using a OpenCL rendermode like bidir.
LuxRender build is RC2 without OpenCL for Linux 64bit.

API 1.x works fine, however even there when I use a LuxCore mode Blender crashes with this error:
Code: Select all
terminate called after throwing an instance of 'std::runtime_error'  what():  Unterminated quote in property: opencl.gpu.use

Any ideas what's going wrong? Is the problem in LuxCore or LuxBlend?

B.Y.O.B.

Posts: 5177
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

### Re: LuxCore: issues, problems, regressions

My guess is the we need a check for general opencl presence.
At least 1 device == opencl cpu is expected.
On OSX this does not matter due opencl is always present, but i think
on linux and windows this situation would need an non-ocl build else.

Jens

jensverwiebe

Posts: 3429
Joined: Wed Apr 02, 2008 4:34 pm

### Re: LuxCore: issues, problems, regressions

jensverwiebe wrote:on linux and windows this situation would need an non-ocl build else.

But I'm already using a non-opencl build
And I'm not even trying to use a opencl render mode.

B.Y.O.B.

Posts: 5177
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

### Re: LuxCore: issues, problems, regressions

B.Y.O.B. wrote:
jensverwiebe wrote:on linux and windows this situation would need an non-ocl build else.

But I'm already using a non-opencl build
And I'm not even trying to use a opencl render mode.

Yes, but LuxBlend is probably still trying to call LuxRays to obtain the list of OpenCL devices

Posts: 8404
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

### Re: LuxCore: issues, problems, regressions

Hm, i can't confirm the issue on an OpenCL-less Linux machine (no libOpenCL in the system). Even when using e.g. Path OpenCL, it still works fine by falling back to native rendering mode.

P.S. LuxBlend is RC3 tag from the repo, however i didn't had any such issues with RC2 as well if my memory doesn't fails me.
Linux builds packager

SATtva

Posts: 7164
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

### Re: LuxCore: issues, problems, regressions

SATtva wrote:i can't confirm the issue on an OpenCL-less Linux machine (no libOpenCL in the system)

I have libopencl installed (apparently wine depends on it), I'll try to uninstall it.

edit: that did the trick, now it works.

B.Y.O.B.

Posts: 5177
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

PreviousNext