Using GPU with 0.8dev versions

Weekly builds for testing and use between releases.

Moderator: coordinators

Forum rules
Please read the information / sticky post for some basic information regarding these builds/support.

Using GPU with 0.8dev versions

Postby Lord Crc » Tue Dec 07, 2010 7:48 am

In order to use the GPU accelerated mode in the new 0.8 development versions you need the following:

OpenCL enabled GPU and drivers
You will need a relatively new graphics card for this, and up to date drivers. In Windows you can use GPU-Z to verify that you're OpenCL-enabled ("OpenCL" checkbox is checked).

Enabled hybrid renderer
The GPU acceleration requires that you use the "hybrid" renderer.

Blender 2.49:
Under Renderer -> Engine, set to "hybrid". Currently only "path" integrator is supported, and you'll need to enable the "advanced" mode to switch "strategy" to "one". Otherwise you'll get errors.

Blender 2.5x:
In the Render tab, LuxRender Engine Configuration panel, set the Renderer dropdown to "Hybrid". Currently only "Path" integrator is supported, set it in the "Surface Integrator" panel.
Please note you'll need pylux installed and working for the new 0.8 options to be exposed. See here for more details.

Manually (lxs):
Insert the following line before "WorldBegin" in the lxs file:
Code: Select all
Renderer "hybrid"

Currently only "path" integrator is supported, and the "lightstrategy" has to be "one". Thus ensure that your Integrator statement looks like this (excluding the other path parameters such as "maxdepth"):
Code: Select all
SurfaceIntegrator "path"
   "string lightstrategy" ["one"]

Hybrid supports the "random" and "metropolis" samplers.

Verify that it's working
Unfortunately the only way to verify that it's working is either:
- Observe a different speed compared to using the "classic" (or "Sampler" in 2.5x) renderer.
- Use a tool (like GPU-Z) to monitor GPU activity.
- Launch LuxRender with --verbose command line option.

Limitations
- Currently one cannot configure the hybrid renderer, and as such it will only use the first GPU it finds.
- Speed may not be faster, depends on hardware.
- Currently no support for instances.
- This is still under heavy development, don't expect miracles :)
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 4455
Joined: Sat Nov 17, 2007 2:10 pm

Re: Using GPU with 0.8dev versions

Postby newsarm2 » Tue Dec 07, 2010 7:55 am

Thanks
newsarm2
 
Posts: 65
Joined: Thu Apr 16, 2009 3:46 am

Re: Using GPU with 0.8dev versions

Postby vimax » Tue Dec 07, 2010 8:45 am

Please add in limitation list: no instances in hybrid mode, because for most that's a biggie.
User avatar
vimax
 
Posts: 192
Joined: Wed Jul 02, 2008 9:39 pm

Re: Using GPU with 0.8dev versions

Postby pixie » Tue Dec 07, 2010 11:40 am

Where can I get this 2.5 with hybrid option?
pixie
 
Posts: 156
Joined: Sun Nov 11, 2007 10:30 am
Location: Neverland

Re: Using GPU with 0.8dev versions

Postby jeanphi » Tue Dec 07, 2010 11:45 am

Hi,

Grab the latest LuxBlend25 from our repositories, or grab an all in one Blender 2.5 build from graphicall.org (Blender+LuxBlend2.5+pylux).

Jeanphi
jeanphi
Developer
 
Posts: 6577
Joined: Mon Jan 14, 2008 7:21 am

Re: Using GPU with 0.8dev versions

Postby Lord Crc » Tue Dec 07, 2010 11:52 am

pixie wrote:Where can I get this 2.5 with hybrid option?


Also you'll need pylux (I just added a note about it above).
May contain traces of nuts.
User avatar
Lord Crc
Developer
 
Posts: 4455
Joined: Sat Nov 17, 2007 2:10 pm

Re: Using GPU with 0.8dev versions

Postby pixie » Tue Dec 07, 2010 12:10 pm

jeanphi wrote:Hi,

Grab the latest LuxBlend25 from our repositories, or grab an all in one Blender 2.5 build from graphicall.org (Blender+LuxBlend2.5+pylux).

Jeanphi

danke chun :D

Updated: It runs all nice now! :)
pixie
 
Posts: 156
Joined: Sun Nov 11, 2007 10:30 am
Location: Neverland

Re: Using GPU with 0.8dev versions

Postby maksat_m » Tue Dec 07, 2010 1:03 pm

My Nvidia 8800 GTS 320 MB run at about 66.00 kC/s in hybrid mode
If run only in CPU mode it will be about 220.00 kC/s (quad core 2.83 GHz)
I need change my video card :(
maksat_m
 
Posts: 10
Joined: Wed Mar 17, 2010 12:30 am

Re: Using GPU with 0.8dev versions

Postby syndaryl » Tue Dec 07, 2010 3:51 pm

Not enough video ram for your scene, perhaps? Or it's the GTS instead of a straight GT.

I have an 8800 GT 1 GB and I get about 10x as many samples/second as I do in non-Hybrid path renders.

Well, that and I have a 1.5-ish Ghz dual core to go with it :P

21 samples/second on my test scene with just path, 12 s/s for bidir. 220ish for hybrid path.
Roter Sand und weisse Tauben \ Laben sich an meinem Blut
Am Ende gibt es doch ein Ende \ Bin ich doch zu etwas gut
User avatar
syndaryl
 
Posts: 154
Joined: Sun Sep 05, 2010 11:28 pm

Re: Using GPU with 0.8dev versions

Postby DoctorJellybean » Wed Dec 08, 2010 11:04 am

I don't use Blender, but the Reality plugin for DAZ Studio. From what I understand, one has to edit the .lxs file to enable hybrid mode. I'd appreciate it if someone could tell me exactly what I need to insert/change. My current GPU is an nVidia 8800GT with 512MB, on a quad core system.

I'm seriously considering changing it to an nVidia 460GTX though :roll:
DoctorJellybean
 
Posts: 111
Joined: Wed Nov 03, 2010 5:29 pm

Next

Return to Weekly Testing Builds

Who is online

Users browsing this forum: No registered users and 1 guest