Search found 136 matches

by jensverwiebe
Sat Feb 10, 2018 5:21 pm
Forum: Development
Topic: Optimizing NVidia kernel compile ( linux + macOS builds in testing )
Replies: 21
Views: 15893

Re: Optimizing NVidia kernel compile

I talked about bumpmaps ! Procedural as colormaps is not thus bad ( although could be much better too ) Your testcase was simple procs on colorinput. ( also 43 seconds here, aka not covered case in my patch ) I nowhere said cycles example is about about compiletimes, its about inlining attributtes u...
by jensverwiebe
Sat Feb 10, 2018 1:20 pm
Forum: Development
Topic: Optimizing NVidia kernel compile ( linux + macOS builds in testing )
Replies: 21
Views: 15893

Re: Optimizing NVidia kernel compile

Just again deleted .Nv/ComputeCache and .config/luxcore cache and got all kernels for my GTX 980ti + 2 * GTX 1080 in 30 seconds, where it was 9 minutes before. Cylces also handles inlinings, why should it when they would be meaningless ? With changing inlining, we overcame performance problems in cy...
by jensverwiebe
Fri Feb 09, 2018 10:07 pm
Forum: Development
Topic: Optimizing NVidia kernel compile ( linux + macOS builds in testing )
Replies: 21
Views: 15893

Re: Optimizing NVidia kernel compile

Down to 8 seconds :shock: .... inlined also texture_bump_funcs.cl Although with all procedurals, its a bit mixed, mostly i start < 1 minute where it was 9 min before. Seems also NV caches something extra in userhome/.nv/ComputeCache, so that makes testing a bit odd sometimes. @Dade, i propose you ch...
by jensverwiebe
Fri Feb 09, 2018 9:30 pm
Forum: Development
Topic: Optimizing NVidia kernel compile ( linux + macOS builds in testing )
Replies: 21
Views: 15893

Re: Optimizing NVidia kernel compile

I think i got it: i mark all functions in texture_blender_noisefunctions2.cl as __attribute__((always_inline)) and am down to 16 seconds per gpu. Compare: before: > 3 minutes per gpu, now 16 sec per gpu, for the record: with disabled opts its 3 seconds per gpu. More testing .... Edit works across al...
by jensverwiebe
Fri Feb 09, 2018 8:14 pm
Forum: Development
Topic: Optimizing NVidia kernel compile ( linux + macOS builds in testing )
Replies: 21
Views: 15893

Optimizing NVidia kernel compile ( linux + macOS builds in testing )

Hi I profiled the ptxas of nv kernels and handoptimized kernel compile now. Linux testbuild with last state optimizations: Basically the kernel compile speedup is around factor 100 to 300 now. There might be a minimal tradein in renderspeed for older gpu series, found nothing significant in my setup...
by jensverwiebe
Thu Feb 08, 2018 8:56 pm
Forum: User Support
Topic: Compiling rules: when should it happen?
Replies: 31
Views: 22165

Re: Compiling rules: when should it happen?

Jep, but a fallback for unsupported imageformats is always welcome. We cannot await from users to remember which formats can be read or writtten or neither one :mrgreen: In Blender its more obvious cause unsupported formats are not even listed in the dropdown ;) Btw: i darkly remember you can use a ...
by jensverwiebe
Thu Feb 08, 2018 7:34 pm
Forum: User Support
Topic: Compiling rules: when should it happen?
Replies: 31
Views: 22165

Re: Compiling rules: when should it happen?

How is the tempfile written btw: oiio specs say .dds can only be read. You can see that in the file I linked earlier in the thread: https://github.com/LuxCoreRender/BlendLuxCore/blob/master/export/image.py We use Blender's save() method of the Image class: https://github.com/LuxCoreRender/BlendLuxC...
by jensverwiebe
Thu Feb 08, 2018 7:06 pm
Forum: User Support
Topic: Compiling rules: when should it happen?
Replies: 31
Views: 22165

Re: Compiling rules: when should it happen?

Possible win specific issue ? Path slash/backslash thingie ?
How is the tempfile written btw: oiio specs say .dds can only be read.
This should be examined by a windows dev.

Jens
by jensverwiebe
Thu Feb 08, 2018 1:30 pm
Forum: User Support
Topic: Crash with small spread angles
Replies: 23
Views: 15994

Re: Crash with small spread angles

Found reason for my crasher: viewtopic.php?f=4&t=92&p=1466&sid=d18d2 ... 7bbb#p1466

The narrow <= 20 angle problem persists. I happens on bidir only.

Edit: ups wrong url first

Jens
by jensverwiebe
Thu Feb 08, 2018 1:23 pm
Forum: User Support
Topic: Compiling rules: when should it happen?
Replies: 31
Views: 22165

Re: Compiling rules: when should it happen?

I found the reason for the crasher in final native render: I have typical disabled my intel opencl.icd, reenabling made the crash gone. So this crash should also occure for ppl which not even have installed intel ocl but using an cl enabled luxcore2 ! If there should be a fallback to native film com...