Page 2 of 3

Re: Luxcore is very slow and freezes

Posted: Thu Mar 26, 2020 3:28 pm
by B.Y.O.B.

Code: Select all

I've deleted the next lines to stay in the allowed character
Hm, this is where it gets interesting.
Can you make another post with that part of the log?

Re: Luxcore is very slow and freezes

Posted: Thu Mar 26, 2020 3:42 pm
by Dade

Code: Select all

[LuxCore][27.703] [PathOCLBaseRenderThread::0] Compiling kernels
[LuxCore][141.219] [PathOCLBaseRenderThread::0] Kernels not cached
It takes about 2 mins to compile the kernels at the very first run but it should happen only the first time :?:

Re: Luxcore is very slow and freezes

Posted: Thu Mar 26, 2020 3:47 pm
by pixel_peeper
B.Y.O.B. wrote: Thu Mar 26, 2020 3:28 pm

Code: Select all

I've deleted the next lines to stay in the allowed character
Hm, this is where it gets interesting.
Can you make another post with that part of the log?
it's basically a repetition of the last few lines, like this, many many times, until 10 seconds of preview are over:

Code: Select all

get_changes(): checking for config changes took 1.0 ms
get_changes(): checking for camera changes took 0.0 ms
view_draw(): checking for changes took 1.0 ms
view_draw(): session.WaitNewFrame() took 4.0 ms
view_draw(): session.UpdateStats() took 0.0 ms
view_draw(): framebuffer update took 20.0 ms
view_draw(): framebuffer drawing took 1.0 ms
view_draw(): showing stats in UI took 0.0 ms
view_draw() took 29.0 ms
sorry but it's too long also for this post:
Your message contains 122481 characters.
The maximum number of allowed characters is 60000.


I think that here is when everything stays freezed for a while:

Code: Select all

[LuxCore][141.219] [PathOCLBaseRenderThread::0] Kernels compilation time: 113515ms

Re: Luxcore is very slow and freezes

Posted: Thu Mar 26, 2020 3:49 pm
by pixel_peeper
I upload the file if you want, let me just remove all the logo and reference to the client brand...

Re: Luxcore is very slow and freezes

Posted: Thu Mar 26, 2020 3:51 pm
by B.Y.O.B.
pixel_peeper wrote: Thu Mar 26, 2020 3:47 pm view_draw() took 29.0 ms
Well, but this is an OK refresh rate (35 fps).
Doesn't look slow to me.
pixel_peeper wrote: Thu Mar 26, 2020 3:47 pm think that here is when everything stays freezed for a while:

Code: Select all

[LuxCore][141.219] [PathOCLBaseRenderThread::0] Kernels compilation time: 113515ms
This is the one-time kernel compilation. It happens only once for the viewport render (and once for the final render), then the kernels are cached and this step will take 0 time.

Re: Luxcore is very slow and freezes

Posted: Fri Mar 27, 2020 9:26 pm
by pixel_peeper
the kernel compilation happens every time I switch to rendered view? I don't know why but it's still laggy, the shading process is very difficult and sometimes it freezes. I can barely guess how hard can be develope a render engine, mine are not complainings but feedback to develpe a strong and powerful engine ready for professional work, thank you for this awesome tool ;)

Re: Luxcore is very slow and freezes

Posted: Fri Mar 27, 2020 10:26 pm
by B.Y.O.B.
The UI text "compiling kernels" is outdated, I have not yet removed it (it's a dev build after all).
You have to check the console log to see if it's actually compiling kernels (it should say "kernels cached" after the one-time compilation, which means it doesn't need a recompile anymore).

What hardware do you have?

Re: Luxcore is very slow and freezes

Posted: Sun Mar 29, 2020 7:39 pm
by pixel_peeper
I have a win PC with Intel i7 8700K slightly overclocked, 16 GB 3000 MHz RAM and a GTX 1070 Ti

Re: Luxcore is very slow and freezes

Posted: Mon Mar 30, 2020 4:44 am
by Odilkhan Yakubov
I've same problems. Is it possible don't compiling just once and not anymore? Like Cycles do this.

Re: Luxcore is very slow and freezes

Posted: Mon Mar 30, 2020 9:01 am
by Sharlybg
Odilkhan Yakubov wrote: Mon Mar 30, 2020 4:44 am I've same problems. Is it possible don't compiling just once and not anymore? Like Cycles do this.
Normally compil once for ever is for Luxcore 2.4 (just install a build)