Page MenuHome

Cycles: Adjust split kernel tile updating logic
Needs ReviewPublic

Authored by Mai Lavelle (maiself) on Jun 8 2017, 10:25 AM.

Details

Summary

This makes tiles update less frequently and causes there to be more samples in each batch making rendering faster. This helps a bit with the slowdown seen from D2703.

I don't really like tiles not updating as much, it feels much less responsive, maybe theres another way to go about it?

Timings by @Hristo Gueorguiev (nirved): https://hastebin.com/ifanihewum.css

Diff Detail

Event Timeline

How exactly less frequent updates are happening?

intern/cycles/device/device_split_kernel.cpp
198

If it's time between updates, the n`time_multiplier` is a bad name here.

intern/cycles/render/session.h
164

If we are introducing this, we should get rid of BlenderSession::headless.

How exactly less frequent updates are happening?

Previously for each tile updates would happen at 1 sec, then 2 sec, 4 sec, 8 sec, 10 sec, 10 sec, etc.

With this they happen at ~1 sec, ~10 sec, ~10 sec etc