GPU Acceleration docs

Discussion related to the development of project wide documentation and tutorials.
Coordinator: 'Abel'

Moderator: coordinators

GPU Acceleration docs

Postby J the Ninja » Mon Oct 10, 2011 3:47 pm

http://www.luxrender.net/wiki/GPU

^I made some, since it seems we didn't have one until now.
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2210
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: GPU Acceleration docs

Postby Abel » Mon Oct 10, 2011 4:26 pm

That's a nice and clear read, great! :)
User avatar
Abel
Developer
 
Posts: 1414
Joined: Sat Oct 20, 2007 8:13 am
Location: Helsinki, Finland

Re: GPU Acceleration docs

Postby paco » Mon Oct 10, 2011 4:47 pm

Great work J!
paco
Developer
 
Posts: 456
Joined: Sun Feb 07, 2010 1:37 am

Re: GPU Acceleration docs

Postby dougal2 » Tue Oct 11, 2011 9:01 am

I added a link to the GPU page on the website: http://www.luxrender.net/en_GB/gpu_support
User avatar
dougal2
Developer
 
Posts: 3074
Joined: Mon Jan 14, 2008 7:21 am

Re: GPU Acceleration docs

Postby B.Y.O.B. » Tue Oct 11, 2011 10:41 am

Very good, thanks!
User avatar
B.Y.O.B.
 
Posts: 1881
Joined: Wed Nov 10, 2010 4:10 pm
Location: Germany

Re: GPU Acceleration docs

Postby SATtva » Tue Oct 11, 2011 2:00 pm

The only thing it lacks is the description of various advanced parameters like workgroup size and so on.
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 5496
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Re: GPU Acceleration docs

Postby J the Ninja » Tue Oct 11, 2011 2:07 pm

SATtva wrote:The only thing it lacks is the description of various advanced parameters like workgroup size and so on.


That's because I don't understand them that well. :P :?
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2210
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: GPU Acceleration docs

Postby rovitotv » Wed Jan 11, 2012 12:09 am

This is an excellent start to the GPU acceleration docs.

What it be OK if I added a sub-section to the trouble shooting section on required changes to a lux scene file. It took me a little time of digging this morning to get the syntax just right and I think a simple example would be terrific. Thanks for the feedback. Here is the example I suggest:
Code: Select all
# Main Scene File from LuxTime http://www.luxrender.net/forum/download/file.php?id=13825

# Renderer "sampler"  # original for CPU
Renderer "hybrid"     # changed for GPU


Sampler "metropolis"
   "float largemutationprob" [0.400000005960464]
   "bool usevariance" ["false"]

Accelerator "qbvh"

#SurfaceIntegrator "bidirectional" # original for CPU
#   "integer eyedepth" [48]    # original for CPU
#   "integer lightdepth" [48]  # original for CPU
SurfaceIntegrator "path"               # changed for GPU
   "string lightstrategy" ["one"] # changed for GPU


rovitotv
 
Posts: 7
Joined: Sat Nov 27, 2010 2:07 am

Re: GPU Acceleration docs

Postby Abel » Wed Jan 18, 2012 6:03 pm

rovitotv wrote:What it be OK if I added a sub-section to the trouble shooting section on required changes to a lux scene file.

So far J the ninja hasn't voiced any opinions against it so I'd say go for it. :)

Instead of the trouble shooting section, I'd just add a new section to the Using GPU Rendering part - maybe something with a title like "modifying old scene files manually"?
User avatar
Abel
Developer
 
Posts: 1414
Joined: Sat Oct 20, 2007 8:13 am
Location: Helsinki, Finland

Re: GPU Acceleration docs

Postby MCMXC » Thu Jan 19, 2012 6:26 am

> "On a simple scene, or with a slow GPU, this overhead may be larger than the speedup from the GPU, resulting in a slower overal render speed."

I have a different configuration: a slow CPU (Intel Q9550) and a fast GPU (Radeon 6950 FLEX), but seems that it will results in a slow rendering too:(

I made some tests with the same picture in a HDRI light and different samplers: every test ran 2 hours. Here's the results...

Sampler Metropolis

GPU ON (143 s/p) http://img259.imageshack.us/img259/1181/metrocl143.jpg
GPU OFF (785 s/p) http://img401.imageshack.us/img401/5671/metro785.jpg

Sampler Lowdiscrepancy

GPU ON (557 s/p) http://img528.imageshack.us/img528/3034/lowcl557.jpg
GPU OFF (486 s/p) http://img857.imageshack.us/img857/8359/low486.jpg

Maybe later I'll try with just one Sun light to see if the results will differ...

One note: in the OpenCL pictures, the glass material is a little darker.
User avatar
MCMXC
 
Posts: 52
Joined: Fri Nov 04, 2011 12:32 pm
Location: Italy


Return to Documentation & Tutorials

Who is online

Users browsing this forum: No registered users and 0 guests