BlendLuxCore Alpha5 Bugs

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
kintuX
Posts: 810
Joined: Wed Jan 10, 2018 2:37 am

BlendLuxCore Alpha5 Bugs

Post by kintuX »

BlendLuxCore alpha 5 & Blender 2.79a RC
Windows 7 SP1 x64


1. I have a conflict with one of the "addons_contrib" (or? i don't know which - am looking for suspects), preventing registration of LuxCore. LuxCore Engine is not available. Removed them all (only base addons used) LuxCore is found and can be activated. :)

- also note
console writes: "pyluxcore version: 2.0alpha4"
pyluxcoreV.jpg
pyluxcoreV.jpg (4.43 KiB) Viewed 5559 times

2. Fresh & Clean Installation
On one occasion with 'atollo238_bug.blend' scene, since it was still crashing i then used "Only write LuxCore scene: Binary", i got couple of errors:
- twice

Code: Select all

Undefined property in Properties::Get(): renderengine.type
& then (3rd)

Code: Select all

Traceback (most recent call last):
  File "C:\programi\b279aRC\2.79\scripts\addons\BlendLuxCore\engine\__init__.py", line 54, in render
    raise self.error
  File "C:\programi\b279aRC\2.79\scripts\addons\BlendLuxCore\engine\__init__.py", line 43, in update
LuxCoreRenderEngine del
Exception ignored in: <bound method LuxCoreRenderEngine.__del__ of <bpy_struct, LuxCoreRenderEngine invalid>>
Traceback (most recent call last):
  File "C:\programi\b279aRC\2.79\scripts\addons\BlendLuxCore\engine\__init__.py", line 26, in __del__
    self._session = self._exporter.create_session(scene, engine=self)
  File "C:\programi\b279aRC\2.79\scripts\addons\BlendLuxCore\export\__init__.py", line 134, in create_session
    if hasattr(self, "_session") and self._session:
ReferenceError: StructRNA of type LuxCoreRenderEngine has been removed
    if config_props.Get("renderengine.type").GetString().endswith("OCL"):
RuntimeError: Undefined property in Properties::Get(): renderengine.type

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\programi\b279aRC\2.79\scripts\addons\BlendLuxCore\engine\__init__.py", line 163, in render
    scene.luxcore.errorlog.add_error(error)
  File "C:\programi\b279aRC\2.79\scripts\addons\BlendLuxCore\properties\errorlog.py", line 27, in add_error
    self._add("ERROR:", self.errors, message)
  File "C:\programi\b279aRC\2.79\scripts\addons\BlendLuxCore\properties\errorlog.py", line 44, in _add
    collection.add()
AttributeError: Writing to ID classes in this context is not allowed: Scene, Scene datablock, error setting LuxCoreErrorLog.<UNKNOWN>

location: <unknown location>:-1

3. Cleaned it all again, started fresh Blender version and this time "Only writing files" succeeded (both: CPU & OCL).
Rendering with luxcorerender-v2.0alpha5-win64-opencl:

I. OCL version: started fine but then it crashed...
luxCrash.jpg

II. CPU version: Rendering went fine (left it up to 4k passes), CPU/RAM performance was stable (no strange jumping or peaks/valleys) & the system was still well responsive through the process

III. OCL version again & this time it went fine (left up to 5K passes) stable, without any hiccups.


PS
Still using older drivers. Will update now & report back.
Also, will try to find the addon which is causing a conflict (blocking LuxCore).
:|
kintuX
Posts: 810
Joined: Wed Jan 10, 2018 2:37 am

Re: BlendLuxCore Alpha5 Bugs

Post by kintuX »

Drivers updated to latest. Windows updated. Using clean Blender 2.79aRC installation.
Still getting regular crashes with OCL & now also occasional CPU crashes... :(


& About the installation with LuXBlend not being registered
Error from console at start:

Code: Select all

AttributeError: module 'BlendLuxCore' has no attribute '__file__'

Made me check & i soon realized that 'BlendLuxCore' (addon folder) inside another 'BlendLuxCore' (folder) is the cause. My mistake. :oops:
another day, another lesson learned :D
kintuX
Posts: 810
Joined: Wed Jan 10, 2018 2:37 am

Re: BlendLuxCore Alpha5 Bugs

Post by kintuX »

Newest (latest) alpha5
Still... Always crashing with OCL (fresh scene, old scene, used to be working scene... even only with cube, plane, sun & HDRI)
as already mentioned, had crashes with every version (made available) after the alpha4 'pyluxcore.pyd' was changed :?
hardcrash1.jpg
hardcrash2.jpg
hardcrash3.jpg
& still learning ... ;)

thanks for it all & bye-bye
Last edited by kintuX on Fri Feb 16, 2018 11:20 pm, edited 3 times in total.
jensverwiebe
Supporting Users
Posts: 141
Joined: Tue Jan 09, 2018 6:48 pm

Re: BlendLuxCore Alpha5 Bugs

Post by jensverwiebe »

Disable the visibility map for now, crashes for me too always on luxcoreui, any build
Oddly pyluxcore works.

Jens
kintuX
Posts: 810
Joined: Wed Jan 10, 2018 2:37 am

Re: BlendLuxCore Alpha5 Bugs

Post by kintuX »

jensverwiebe wrote: Fri Feb 16, 2018 11:16 pm Disable the visibility map for now, crashes for me too always on luxcoreui, any build
Oddly pyluxcore works.

Jens
Which Visibility Map? :oops:
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: BlendLuxCore Alpha5 Bugs

Post by B.Y.O.B. »

In the world and/or hemi light settings, open the "performance" panel.
There's a checkbox named "Build Visibility Map".
jensverwiebe
Supporting Users
Posts: 141
Joined: Tue Jan 09, 2018 6:48 pm

Re: BlendLuxCore Alpha5 Bugs

Post by jensverwiebe »

kintuX wrote: Fri Feb 16, 2018 11:23 pm
jensverwiebe wrote: Fri Feb 16, 2018 11:16 pm Disable the visibility map for now, crashes for me too always on luxcoreui, any build
Oddly pyluxcore works.

Jens
Which Visibility Map? :oops:
Or if you have an exported .cfg already, find and change:

Code: Select all

scene.lights.__WORLD_BACKGROUND_LIGHT__.visibilitymap.enable = 1
scene.lights.__WORLD_BACKGROUND_LIGHT__.visibilitymap.enable = 0
kintuX
Posts: 810
Joined: Wed Jan 10, 2018 2:37 am

Re: BlendLuxCore Alpha5 Bugs

Post by kintuX »

B.Y.O.B. wrote: Fri Feb 16, 2018 11:30 pm In the world and/or hemi light settings, open the "performance" panel.
There's a checkbox named "Build Visibility Map".
Grrrreat!!! :D :mrgreen: am gonna sleep really smart tonight
thank you all
Post Reply