Random GPU progress pic thread

General questions about Indigo, the scene format, rendering etc...
User avatar
Zom-B
1st Place 100
Posts: 4697
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: Random GPU progress pic thread

Post by Zom-B » Thu Feb 04, 2016 1:58 am

OnoSendai wrote:Making sure instances work:
Seems they do work pretty fine ^^
polygonmanufaktur.de

User avatar
pixie
Indigo 100
Posts: 2259
Joined: Sat Dec 29, 2007 4:54 am
Location: Away from paradise
3D Software: Cinema 4D
Contact:

Re: Random GPU progress pic thread

Post by pixie » Thu Feb 04, 2016 6:37 am

OnoSendai wrote:Making sure instances work:
I think I spot one missing! :P

Stinkie
Indigo 100
Posts: 616
Joined: Sat Oct 27, 2007 9:22 pm

Re: Random GPU progress pic thread

Post by Stinkie » Thu Feb 04, 2016 7:07 am

Looks like it works. :) Cool stuff.

Will Indigo 4 have some sort of out of core magic to circumvent gpu ram limitations?

User avatar
lycium
Posts: 1209
Joined: Wed Sep 12, 2007 7:46 am
Location: Leipzig, Germany
Contact:

Re: Random GPU progress pic thread

Post by lycium » Thu Feb 04, 2016 1:01 pm

OpenCL 2.0 supports virtual memory, which would make CPU/GPU memory seamless and in theory support out of core rendering.

Of course, it's not quite that simple, because in a path tracer like Indigo rays can bounce all over the place and touch potentially the whole scene's memory, meaning very slow rendering if it's constantly shuttling data to the GPU from CPU memory (like when you play a 3D game with the texture res set too high). However, we have plans to handle these situations too in Indigo, stuff like texture mipmapping and so on that other film / production renderers use.

Stinkie
Indigo 100
Posts: 616
Joined: Sat Oct 27, 2007 9:22 pm

Re: Random GPU progress pic thread

Post by Stinkie » Thu Feb 04, 2016 6:43 pm

Cool. 8)

User avatar
vasco
Posts: 114
Joined: Wed Jan 26, 2011 6:45 am
Location: Germany

Re: Random GPU progress pic thread

Post by vasco » Sun Feb 07, 2016 11:03 pm

lycium wrote:OpenCL 2.0 supports virtual memory, which would make CPU/GPU memory seamless and in theory support out of core rendering.

Of course, it's not quite that simple, because in a path tracer like Indigo rays can bounce all over the place and touch potentially the whole scene's memory, meaning very slow rendering if it's constantly shuttling data to the GPU from CPU memory (like when you play a 3D game with the texture res set too high). However, we have plans to handle these situations too in Indigo, stuff like texture mipmapping and so on that other film / production renderers use.
I think this is quite important, especially for HDRI lighting, because the .exr files are eating a lot vram. Would be great when HDRIs could be stored in the CPU memory.
Intel Pentium 4, 512MB Ram, Nvidia Riva TNT2 Ultra

davide445
Posts: 137
Joined: Tue Oct 07, 2014 7:41 pm

Re: Random GPU progress pic thread

Post by davide445 » Sun Feb 07, 2016 11:38 pm

Apart bad drivers and need to split kernels, there are other reasons why OpenCL 1.2 it's so hard to develop on something big such as Indigo?
We can expect easier development cycles and maybe a further speedup under 2.0 or 2.1?

User avatar
lycium
Posts: 1209
Joined: Wed Sep 12, 2007 7:46 am
Location: Leipzig, Germany
Contact:

Re: Random GPU progress pic thread

Post by lycium » Mon Feb 08, 2016 6:24 am

Most of Indigo's GPU rendering code is now written using Winter (aka ISL), so actually a lot of this doesn't even affect us.

About storing HDRI in CPU memory, that simply won't be possible because the memory is used all the time, and crossing that bus between CPU and GPU is extremely, extremely slow: even a single access to local GPU can hide a ton of computation, and CPU memory is basically on the other side of the universe. We just have to focus on saving memory where possible on the GPU.

On the plus side, with HBM coming up it looks like 16-32GB on a GPU will become feasible, which should be enough to cache a huge amount of total scene data.

davide445
Posts: 137
Joined: Tue Oct 07, 2014 7:41 pm

Re: Random GPU progress pic thread

Post by davide445 » Mon Feb 08, 2016 6:34 am

Never heard of Winter, any link for explanation?

User avatar
Headroom
Indigo 100
Posts: 992
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA

Re: Random GPU progress pic thread

Post by Headroom » Mon Feb 08, 2016 6:53 am

At the very end of this blog entry from April 2015 there is a little reference to Winter in respect to ISL ( Indigo Shader Language).

However, you'd have to go to the last couple of slides in the linked PDF to find that in the hiding the Glare Team is working on a general purpose, possibly open source programing language that would utilize the GPU.

http://www.indigorenderer.com/node/1988

davide445
Posts: 137
Joined: Tue Oct 07, 2014 7:41 pm

Re: Random GPU progress pic thread

Post by davide445 » Mon Feb 08, 2016 7:12 am

So it's a Glare Tech proprietary high level language that can be compiled into OpenCL kernels, similar to Kronos SPIR-V?
Not a developer view, interested to understand future evolution.

User avatar
Headroom
Indigo 100
Posts: 992
Joined: Wed Aug 08, 2007 1:07 pm
Location: Spartanburg, SC, USA

Re: Random GPU progress pic thread

Post by Headroom » Mon Feb 08, 2016 7:18 am

1. Your guess is as good a mine ;-)
2. proprietary != open source.

davide445
Posts: 137
Joined: Tue Oct 07, 2014 7:41 pm

Re: Random GPU progress pic thread

Post by davide445 » Mon Feb 08, 2016 7:21 am

:) Interesting, even if I didn't understand how this can decouple from OpenCL intrinsic troubles, but will wait and see.

User avatar
lycium
Posts: 1209
Joined: Wed Sep 12, 2007 7:46 am
Location: Leipzig, Germany
Contact:

Re: Random GPU progress pic thread

Post by lycium » Mon Feb 08, 2016 7:25 am

Yep it's Nick's badass programming language :) He posts about it now and then on his blog: http://www.forwardscattering.org/

I'm not sure how Nick wants to make it available, but I'm sure he will say more when the time comes!

PS. It's also what's powering the GPU rendering in the forthcoming Chaotica 2 release ;)

davide445
Posts: 137
Joined: Tue Oct 07, 2014 7:41 pm

Re: Random GPU progress pic thread

Post by davide445 » Mon Feb 08, 2016 9:07 am

From the slides appear to be possible to generate from Winter not only OpenCL but also CUDA code, a good way to keep open both opportunities. But maybe I'm misunderstanding badly.

Post Reply
158 posts

Who is online

Users browsing this forum: No registered users and 3 guests