Luxcore is very slow and freezes

Use this forum for general user support and related questions.
User avatar
B.Y.O.B.
Developer
Posts: 3363
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Luxcore is very slow and freezes

Post by B.Y.O.B. » 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?

User avatar
Dade
Developer
Posts: 3928
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

Re: Luxcore is very slow and freezes

Post by Dade » Thu Mar 26, 2020 3:42 pm

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 :?:
Support LuxCoreRender project with salts and bounties

User avatar
pixel_peeper
Posts: 29
Joined: Mon Mar 04, 2019 7:45 pm

Re: Luxcore is very slow and freezes

Post by pixel_peeper » Thu Mar 26, 2020 3:47 pm

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

User avatar
pixel_peeper
Posts: 29
Joined: Mon Mar 04, 2019 7:45 pm

Re: Luxcore is very slow and freezes

Post by pixel_peeper » Thu Mar 26, 2020 3:49 pm

I upload the file if you want, let me just remove all the logo and reference to the client brand...

User avatar
B.Y.O.B.
Developer
Posts: 3363
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Luxcore is very slow and freezes

Post by B.Y.O.B. » Thu Mar 26, 2020 3:51 pm

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.

User avatar
pixel_peeper
Posts: 29
Joined: Mon Mar 04, 2019 7:45 pm

Re: Luxcore is very slow and freezes

Post by pixel_peeper » Fri Mar 27, 2020 9:26 pm

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 ;)

User avatar
B.Y.O.B.
Developer
Posts: 3363
Joined: Mon Dec 04, 2017 10:08 pm
Location: Germany
Contact:

Re: Luxcore is very slow and freezes

Post by B.Y.O.B. » Fri Mar 27, 2020 10:26 pm

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?

User avatar
pixel_peeper
Posts: 29
Joined: Mon Mar 04, 2019 7:45 pm

Re: Luxcore is very slow and freezes

Post by pixel_peeper » Sun Mar 29, 2020 7:39 pm

I have a win PC with Intel i7 8700K slightly overclocked, 16 GB 3000 MHz RAM and a GTX 1070 Ti

Odilkhan Yakubov
Posts: 63
Joined: Fri Jan 26, 2018 10:07 pm
Location: Tashkent, Uzbekistan

Re: Luxcore is very slow and freezes

Post by Odilkhan Yakubov » 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.
Allah bless us!

User avatar
Sharlybg
Donor
Posts: 1828
Joined: Mon Dec 04, 2017 10:11 pm
Location: Ivory Coast

Re: Luxcore is very slow and freezes

Post by Sharlybg » Mon Mar 30, 2020 9:01 am

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)
Support LuxCoreRender project with salts and bounties

Portfolio : https://www.behance.net/DRAVIA

Post Reply