New RTPATHOCL synchronization code

Discussion related to the LuxCore functionality, implementations and API.
User avatar
Dade
Developer
Posts: 4380
Joined: Mon Dec 04, 2017 8:36 pm
Location: Italy

New RTPATHOCL synchronization code

Post by Dade » Sun Jun 07, 2020 2:05 pm

I have reworked RTPATHOCL synchronization code with the objective to remove UI lag. This work is on "new_rtpathocl_sync" branch.

@B.Y.O.B.: the WaitNewFrame() now takes zero time to be execute (be careful to not eat CPU time with too many refresh now). This should solve the problem of Blender UI lagging when doing view port rendering a complex scenes. Can you try it ?
Support LuxCoreRender project with salts and bounties

User avatar
u3dreal
Developer
Posts: 408
Joined: Tue Dec 03, 2019 3:23 pm
Location: Ulm
Contact:

Re: New RTPATHOCL synchronization code

Post by u3dreal » Mon Jun 08, 2020 1:25 am

All works on OSX..
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/


MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - High Sierra
Xeon X5650@4Ghz, 2x GTX 770 Phantom - High Sierra, Windows 10, Ubuntu 18.04

User avatar
lacilaci
Donor
Posts: 1927
Joined: Fri May 04, 2018 5:16 am

Re: New RTPATHOCL synchronization code

Post by lacilaci » Mon Jun 08, 2020 5:02 am

Dade wrote:
Sun Jun 07, 2020 2:05 pm
This should solve the problem of Blender UI lagging when doing view port rendering a complex scenes
Wow, I hope this will help!

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

Re: New RTPATHOCL synchronization code

Post by B.Y.O.B. » Wed Jun 10, 2020 9:16 am

Sounds good, I'll test it when I'm back at my PC in about one week.

User avatar
TAO
Developer
Posts: 148
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: New RTPATHOCL synchronization code

Post by TAO » Wed Jun 10, 2020 3:22 pm

Sounds great.
Omid Ghotbi (TAO)
Download link to last MaxToLux build.👇👇
viewtopic.php?f=5&t=1010&start=160#p22925

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

Re: New RTPATHOCL synchronization code

Post by Dade » Thu Jun 11, 2020 10:40 am

I merged the branch with the master so it can now be tested by anyone with the next automatic build.
Support LuxCoreRender project with salts and bounties

juangea
Donor
Posts: 145
Joined: Thu Jan 02, 2020 6:23 pm

Re: New RTPATHOCL synchronization code

Post by juangea » Thu Jun 11, 2020 11:40 am

Does this require changes in the addon or will it work in the next build out of the box?

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

Re: New RTPATHOCL synchronization code

Post by Dade » Thu Jun 11, 2020 1:35 pm

juangea wrote:
Thu Jun 11, 2020 11:40 am
Does this require changes in the addon or will it work in the next build out of the box?
It should work out of the box, you may have somewhat the opposite problem: too many screen refreshes because they are not timed anymore.
Support LuxCoreRender project with salts and bounties

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

Re: New RTPATHOCL synchronization code

Post by Dade » Thu Jun 11, 2020 1:37 pm

BTW, is there any interest in adding CPU (i.e. hybrid => CPU+GPU) support for RTPATHOCL ? It may be helpful on high end CPUs where the CPU is about as fast as the GPU (i.e. RTPATHOCL is currently GPU-only rendering).
Support LuxCoreRender project with salts and bounties

User avatar
TAO
Developer
Posts: 148
Joined: Sun Mar 24, 2019 4:49 pm
Location: France
Contact:

Re: New RTPATHOCL synchronization code

Post by TAO » Thu Jun 11, 2020 5:26 pm

It could be a good thing, especially with new high core CPUs generation.
I like the idea.
Omid Ghotbi (TAO)
Download link to last MaxToLux build.👇👇
viewtopic.php?f=5&t=1010&start=160#p22925

Post Reply