BlendLuxCore icon indicating copy to clipboard operation
BlendLuxCore copied to clipboard

2.9a1post14 does not render after installation

Open FarbigeWelt opened this issue 8 months ago • 3 comments

.blend file: default cube

Steps to reproduce: install LuxCore version: 2.9a1post14 start viewport render

Screenshots or rendered images:

Error message from Blender console: michael@MacBook-Air-von-Michael MacOS % ./Blender cmolcore imported v1.14.5 2025-03-19 15:37:45.781 Blender[38117:15955770] +[IMKClient subclass]: chose IMKClient_Modern 2025-03-19 15:37:45.781 Blender[38117:15955770] +[IMKInputSession subclass]: chose IMKInputSession_Modern PyPi Information result: pyluxcore-2.9a1.post14-cp311-cp311-macosx_11_0_arm64.whl Downloading pyluxcore Output: Collecting pyluxcore Using cached pyluxcore-2.9a1.post14-cp311-cp311-macosx_11_0_arm64.whl.metadata (1.8 kB) Collecting numpy>=2 (from pyluxcore) Using cached numpy-2.2.4-cp311-cp311-macosx_14_0_arm64.whl.metadata (62 kB) Using cached pyluxcore-2.9a1.post14-cp311-cp311-macosx_11_0_arm64.whl (82.6 MB) Using cached numpy-2.2.4-cp311-cp311-macosx_14_0_arm64.whl (5.4 MB) Saved /Users/michael/Library/Application Support/Blender/4.4/extensions/user_default/BlendLuxCore/wheels/pyluxcore-2.9a1.post14-cp311-cp311-macosx_11_0_arm64.whl Saved /Users/michael/Library/Application Support/Blender/4.4/extensions/user_default/BlendLuxCore/wheels/numpy-2.2.4-cp311-cp311-macosx_14_0_arm64.whl Successfully downloaded pyluxcore numpy

WARN (bgl): source/blender/python/generic/bgl.cc:2665 BPyInit_bgl: 'bgl' imported without an OpenGL backend. Please update your add-ons to use the 'gpu' module. BlendLuxCore (wheels) 2.9alpha4 registered (with pyluxcore 2.9) [Engine] del: RenderEngine struct was already deleted RuntimeError: could not create instance of LUXCORE to call callback function 'view_update' [Engine] del: RenderEngine struct was already deleted RuntimeError: could not create instance of LUXCORE to call callback function 'view_draw'

OS: 15.3.1 (24D70) Blender version: 4.4 LuxCore version: 2.9a1post14

FarbigeWelt avatar Mar 19 '25 14:03 FarbigeWelt

Hi,

I already had this report on Discord this morning. Blender 4.4 had new API changes that are not yet accounted for.

At the moment, our work to re-publish (Blend)LuxCore focuses on 4.2 as the current LTS version. 4.3 seems to work fine as far as I can observe. 4.4 was not tested at all until today.

For testing, I created a hotfix this morning if you want to try it out on 4.4 and give additional feedback: https://github.com/CodeFHD/BlendLuxCore/releases/tag/latest

Just a heads up, there are further errors regarding the UI like

if tool_settings.snap_node_element != 'GRID': ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AttributeError: 'ToolSettings' object has no attribute 'snap_node_element'. Did you mean: 'snap_anim_element'?

or when closing Blender. But at least on Windows and Linux this fix allows to start rendering.

The warning about bgl I generally know, though not seen it lately, might be Mac-specific. Would be helpful to know if you experience further issues with the version I linked above.

Some additional info for further reports: The version "2.9a1post14" is the version of the LuxCore binary. If all goes to plan, it will be closely tied to the version of BlendLuxCore, but always best to give information which release of BlendLuxCore you installed (in this case: "2.9a4" or "Latest"). I might update the Bug report issue template to reflect this.

CodeFHD avatar Mar 19 '25 15:03 CodeFHD

Still doesn't render..

michael@MacBook-Air-von-Michael MacOS % ./Blender cmolcore imported v1.14.5 [BLC] skipping pyluxcore installation. Specified version already installed. WARN (bgl): source/blender/python/generic/bgl.cc:2665 BPyInit_bgl: 'bgl' imported without an OpenGL backend. Please update your add-ons to use the 'gpu' module. BlendLuxCore (wheels) 2.9alpha4 registered (with pyluxcore 2.9) Updating device list 2025-03-20 15:36:23.722 Blender[61921:17198270] +[IMKClient subclass]: chose IMKClient_Modern 2025-03-20 15:36:23.722 Blender[61921:17198270] +[IMKInputSession subclass]: chose IMKInputSession_Modern [Engine] del: RenderEngine struct was already deleted RuntimeError: could not create instance of LUXCORE to call callback function 'view_update' [Engine] del: RenderEngine struct was already deleted RuntimeError: could not create instance of LUXCORE to call callback function 'view_draw'

FarbigeWelt avatar Mar 20 '25 14:03 FarbigeWelt

The two issues mentioned before have since been included and are available in the rlease 2.10.0-rc.1

We still don't officially target Blender 4.4 with this version, however, primary goal was Blender 4.2 as it is an LTS version, so residual issues may exist. Likewise, testing on Mac, as you already know.

I'll leave this open until the final release of BlendLuxCore v2.10.0 for additional feedback - if you personally want to test with 4.4 again.

CodeFHD avatar May 01 '25 08:05 CodeFHD

Closing as per my last comment, v2.10.0 has been released.

There are other open Issues tracking the continuing problem of crashes on the macOS platform.

CodeFHD avatar Jul 02 '25 15:07 CodeFHD