luxcorerender-v2.1alpha4-mac64-opencl

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
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

luxcorerender-v2.1alpha4-mac64-opencl

Post by epilectrolytics »

Hi peeps, Newbie here.

Thanks everyone for making LuxCoreRender available, and now for MacOS too!
There is no MacOS version directly on the download page, but on Github LuxCore/releases the standalone version is now available
(no BlendLuxCore yet).

I'm boldly assuming it is okay to provide feedback here.
Sadly I'm no coder and not familiar with Unix, Linux, Github and all that stuff :(

When I extract the folder and open the luxcoreui file in Terminal, an empty render window appears.
There I can click on "Rendering" > "Load" and the standard MacOS file opener appears.
Then I can browse through the example scenes downloaded earlier and open a .cfg file.

To my disappointment then there is always an error message in the terminal instead of the render starting.
Same on HighSierra or with the no-openCL release.
I'm providing a screenshot with my system specs included and some text from terminal.

I understand these are the very early stages and am very hopeful this will be working soon, thanks again!
Screen Shot 2018-10-04 at 15.21.55.png

Code: Select all

Last login: Thu Oct  4 15:14:45 on console
Falks-MBPro:~ me$ /Applications/luxcorerender-v2.1alpha4-mac64-opencl/luxcoreui ; exit;
LuxCoreUI v2.1alpha4 (LuxCore demo: http://www.luxcorerender.org)
[LuxCore][372.594] Configuration: 
[LuxCore][372.594]   film.width = "512"
[LuxCore][372.594]   film.height = "512"
[LuxCore][372.594]   scene.file = "scenes/cornell/cornell.scn"
[LuxCore][372.594]   film.imagepipelines.0.0.type = "GAMMA_CORRECTION"
[LuxCore][372.594]   film.imagepipelines.0.0.value = "2.2"
[LuxCore][372.594]   film.outputs.2.type = "MATERIAL_ID_COLOR"
[LuxCore][372.594]   film.outputs.2.filename = "cornell_MATERIAL_ID_COLOR.png"
[SDL][372.594] Reading scene: scenes/cornell/cornell.scn
RenderConfig loading error: 
Unable to open properties file: scenes/cornell/cornell.scn
[LuxCore][405.985] Configuration: 
[LuxCore][405.985]   renderengine.type = "PATHOCL"
[LuxCore][405.985]   opencl.platform.index = "-1"
[LuxCore][405.985]   opencl.cpu.use = "0"
[LuxCore][405.985]   opencl.gpu.use = "1"
[LuxCore][405.985]   opencl.gpu.workgroup.size = "64"
[LuxCore][405.985]   scene.epsilon.min = "9.99999971718068536574719e-10"
[LuxCore][405.985]   scene.epsilon.max = "0.100000001490116119384766"
[LuxCore][405.985]   accelerator.instances.enable = "0"
[LuxCore][405.985]   path.maxdepth = "12"
[LuxCore][405.985]   film.width = "800"
[LuxCore][405.985]   film.height = "800"
[LuxCore][405.985]   sampler.type = "SOBOL"
[LuxCore][405.985]   film.filter.type = "GAUSSIAN"
[LuxCore][405.985]   film.filter.xwidth = "1"
[LuxCore][405.985]   film.filter.ywidth = "1"
[LuxCore][405.985]   scene.file = "scene.scn"
[LuxCore][405.985]   film.imagepipeline.0.type = "TONEMAP_LINEAR"
[LuxCore][405.985]   film.imagepipeline.1.type = "GAMMA_CORRECTION"
[LuxCore][405.985]   film.imagepipeline.1.value = "2.2"
[LuxCore][405.985]   periodicsave.film.outputs.period = "600"
[SDL][405.985] Reading scene: scene.scn
[SDL][405.987] Texture definition: texture-0x7f4e0b479080
[SDL][405.989] Reading texture map: imagemap-00001.exr
RenderConfig loading error: 
Error opening image file : imagemap-00001.exr (error = "imagemap-00001.exr" is not an OpenEXR file)
[LuxCore][451.298] Configuration: 
[LuxCore][451.298]   sampler.type = "METROPOLIS"
[LuxCore][451.298]   renderengine.type = "BIDIRCPU"
[LuxCore][451.298]   light.maxdepth = "12"
[LuxCore][451.298]   film.width = "1920"
[LuxCore][451.298]   filesaver.renderengine.type = "BIDIRCPU"
[LuxCore][451.298]   film.height = "1080"
[LuxCore][451.298]   path.maxdepth = "12"
[LuxCore][451.298]   film.imagepipeline.0.type = "TONEMAP_AUTOLINEAR"
[LuxCore][451.298]   film.imagepipeline.1.type = "GAMMA_CORRECTION"
[LuxCore][451.298]   film.imagepipeline.1.value = "2.2"
[LuxCore][451.298]   film.outputs.1.filename = "image.png"
[LuxCore][451.298]   film.outputs.1.type = "RGB_IMAGEPIPELINE"
[LuxCore][451.298]   scene.file = "scene.scn"
[LuxCore][451.298]   periodicsave.film.outputs.period = "600"
[SDL][451.298] Reading scene: scene.scn
[SDL][451.300] Texture definition: Imagemap__001_sdklfjsdklf_tex
[SDL][451.300] Reading texture map: imagemap-00000.png
RenderConfig loading error: 
Error opening image file : imagemap-00000.png (error = File failed PNG signature check)

Last edited by epilectrolytics on Thu Oct 04, 2018 2:16 pm, edited 1 time in total.
User avatar
Dade
Developer
Developer
Posts: 5672
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: luxcorerender-v2.1alpha4-mac64-opencl

Post by Dade »

You can find an explanation of the problem (and the discussion about robbrown's effort for building a MacOS version) here: viewtopic.php?f=5&t=58&start=100#p6396

It is only a simple file path problem related to the fact that (I assumed) LuxCoreUI was lunched from command line with "./luxcoreui scenes/cornell/cornell.cfg" instead that being loaded from menu.

Any MacOS related feedback is very welcome because it is a very new and untested version.
Support LuxCoreRender project with salts and bounties
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Re: luxcorerender-v2.1alpha4-mac64-opencl

Post by epilectrolytics »

Wow thanks for quick reply!

I found that in the readme:
### LuxCoreUI

This is the most complete example of LuxCore API usage and it is available in
the samples/luxcoreui directory.

To check how it works, just run luxcoreui from the root directory:

`./bin/luxcoreui scenes/cornell/cornell.cfg`
But whatever I type into the Terminal, nothing happens, even not an error message (maybe Rob can point me to the error later, I'm really not familiar with root commands and paths unfortunately).

Code: Select all

Last login: Thu Oct  4 16:32:57 on ttys000
XXX-MBPro:~ me$ /Applications/luxcorerender-v2.1alpha4-mac64-opencl/luxcoreui ; exit;
LuxCoreUI v2.1alpha4 (LuxCore demo: http://www.luxcorerender.org)
./bin/luxcoreui scenes/cornell/cornell.cfg
./luxcoreui scenes/cornell/cornell.cfg                        
./scenes/cornell/cornell.cfg
User avatar
B.Y.O.B.
Developer
Developer
Posts: 4146
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: luxcorerender-v2.1alpha4-mac64-opencl

Post by B.Y.O.B. »

BlendLuxCore is now available on Mac, too: https://github.com/LuxCoreRender/BlendLuxCore/releases

About example scenes, try the one listed on the download page: https://luxcorerender.org/download/#ExampleScenes
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Re: luxcorerender-v2.1alpha4-mac64-opencl

Post by epilectrolytics »

Thanks B.Y.O.B. for hinting at the new Mac BlendLuxCore release!

The benchmark file doesn't work, like the others.
epilectrolytics
Donor
Donor
Posts: 790
Joined: Thu Oct 04, 2018 6:06 am

Re: luxcorerender-v2.1alpha4-mac64-opencl

Post by epilectrolytics »

I got luxcorerender-v2.1alpha4-mac64 working on an iMac (late 2009) MacOS 10.12.6:
(The openCL version crashes presumably because the graphics does openCL 1.0 only)
Screen Shot 2018-10-12 at 14.10.58.jpg
Post Reply