Page 4 of 5

Re: Scene texture maps resize policy

Posted: Fri Jun 18, 2021 10:15 am
by Sharlybg
Dade wrote: Fri Jun 18, 2021 10:06 am
Sharlybg wrote: Thu Jun 17, 2021 6:09 pm Displacement crash it for sure here is the file. To be able to render just disconnect the displacement node from the material output.

Download file
https://drive.google.com/file/d/1xF6-Zv ... sp=sharing
I should have fixed this problem.
great will check that.

Re: Scene texture maps resize policy

Posted: Fri Jun 18, 2021 10:16 am
by Dade
Sharlybg wrote: Fri Jun 18, 2021 10:15 am great will check that.
Wait for the new build to be ready: https://dev.azure.com/LuxCoreRender/Lux ... der/_build

Re: Scene texture maps resize policy

Posted: Fri Jun 18, 2021 10:30 am
by juangea
Weird, yes, you are right, I don't have the message as sent in the PM's, I'll check it.

Mmm we have this experience in two different computers, we will fully uninstall LuxCore and reinstall it, is there something else we can delete, like some CUDA cache or something like that?

This happens in both GPU and CPU rendering mode, so I doubt is related to a driver problem.

Re: Scene texture maps resize policy

Posted: Fri Jun 18, 2021 10:53 am
by Dade
juangea wrote: Fri Jun 18, 2021 10:30 am Weird, yes, you are right, I don't have the message as sent in the PM's, I'll check it.

Mmm we have this experience in two different computers, we will fully uninstall LuxCore and reinstall it, is there something else we can delete, like some CUDA cache or something like that?

This happens in both GPU and CPU rendering mode, so I doubt is related to a driver problem.
Try to check if you really have the latest version by looking at the log. There should be new image map information like sizes (i.e. "[1024x1024]") , etc.

Re: Scene texture maps resize policy

Posted: Fri Jun 18, 2021 11:37 am
by juangea
Yes, I can see that information, the tx preparing process happens, and it does not crash if I don’t enable the resize policy option, but I’ll do a clean install and I’ll tell you the outcome.

Thanks!

Re: Scene texture maps resize policy

Posted: Fri Jun 18, 2021 12:16 pm
by Odilkhan Yakubov
Sharlybg wrote: Thu Jun 17, 2021 5:48 pm 380mb saved on the house schminke:

Hause SCH Mem.jpg

Had some crashes with the displacement textures on the ground but
It stop crashing when removed the displacement part of the material.
But with that your export and init times are increased by so far about 2.5x. Why?

Re: Scene texture maps resize policy

Posted: Fri Jun 18, 2021 12:57 pm
by juangea
The time increase should happen the first time, when all the .tx files are generated, after that the conversion should not happen again and I suspect the export time should go back to normal :)

Re: Scene texture maps resize policy

Posted: Fri Jun 18, 2021 5:12 pm
by juangea
I still get a crash, I reached to it when I enabled cache friendly sampling with PGI and Env caches, I sent you both a PM with the file to download it, it should crash as soon as you press render, remember to unpack the textures before, it seems to work fine with non-unpacked textures.

I performed a full clean install, uninstalling everything and reinstall the build from 7 hours ago.

Re: Scene texture maps resize policy

Posted: Sat Jun 19, 2021 9:08 am
by Dade
juangea wrote: Fri Jun 18, 2021 5:12 pm I still get a crash, I reached to it when I enabled cache friendly sampling with PGI and Env caches, I sent you both a PM with the file to download it, it should crash as soon as you press render, remember to unpack the textures before, it seems to work fine with non-unpacked textures.
The scene is working fine here. Before, you wrote cube+texture scene was crashing, it doesn't anymore ?

Does this new scene crash if and only if you enable cache friendly sampling ? Is it related to the new image resize policy ?

Re: Scene texture maps resize policy

Posted: Mon Jun 21, 2021 12:18 pm
by juangea
So i downloaded today's build.

The scene I sent you is working fine too on my end now, and the cube test is working fine too, however a production scene is not, I recorded a video showing all the process and the terminal with the output, and doing several tests, the one that crashes is the latest one, and it crashes when I enable PGI:

https://youtu.be/kVpcglBC3Tw

I hope this helps, tell me how to proceed to further help you out with this.

BTW: This is the crash.txt file for the crash you see in the video:

Code: Select all

# Blender 2.93.1, Commit date: 2021-06-03 11:24, Hash dddbec89f358
bpy.context.scene.exclude = False  # Property
bpy.context.scene.luxcore.config.photongi.enabled = False  # Property
bpy.context.scene.luxcore.config.envlight_cache.enabled = False  # Property
bpy.context.scene.luxcore.config.image_resize_policy.enabled = True  # Property
bpy.context.scene.luxcore.config.image_resize_policy.enabled = False  # Property
bpy.context.scene.luxcore.config.photongi.enabled = True  # Property
bpy.context.scene.luxcore.config.envlight_cache.enabled = True  # Property
bpy.context.scene.luxcore.config.envlight_cache.enabled = False  # Property
bpy.context.scene.luxcore.config.photongi.enabled = False  # Property
Saved "int_villa_dor_resize_test.blend"  # Info
bpy.context.scene.luxcore.config.image_resize_policy.enabled = True  # Property
bpy.context.scene.luxcore.config.image_resize_policy.type = 'MINMEM'  # Property
bpy.context.scene.luxcore.config.image_resize_policy.type = 'MIPMAPMEM'  # Property
bpy.context.scene.luxcore.config.image_resize_policy.type = 'MINMEM'  # Property
bpy.context.scene.luxcore.config.photongi.enabled = True  # Property

# backtrace
./bin/blender(BLI_system_backtrace+0x33) [0xa786aa3]
./bin/blender() [0xf6a059]
/lib/x86_64-linux-gnu/libc.so.6(+0x41950) [0x7f45cf870950]
/home/jgea/.config/blender/2.93/scripts/addons/BlendLuxCore/bin/pyluxcore.so(_ZN3slg8ImageMap19InstrumentationInfo14ThreadFinalizeEv+0x82) [0x7f45803a3d72]
/home/jgea/.config/blender/2.93/scripts/addons/BlendLuxCore/bin/pyluxcore.so(+0xbd420d) [0x7f458063e20d]
/home/jgea/.config/blender/2.93/scripts/addons/BlendLuxCore/bin/pyluxcore.so(+0xbd4510) [0x7f458063e510]
/home/jgea/.config/blender/2.93/scripts/addons/BlendLuxCore/bin/pyluxcore.so(+0x1f9e742) [0x7f4581a08742]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x9590) [0x7f45cffbf590]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x43) [0x7f45cf948223]

# Python backtrace