LuxMark v3.1: LuxRender propaganda with OpenCL

Discussions related to GPU Acceleration in LuxRender

Moderators: Dade, jromang, tomb, coordinators

LuxMark v3.1: LuxRender propaganda with OpenCL

Postby Dade » Tue Sep 01, 2015 8:35 am

Introduction

LuxMark is a OpenCL cross-platform benchmark tool and has become, over past years, one of the most used (if not the most used) OpenCL benchmark. It is intended as a promotional tool for LuxRender and it is now based on LuxCore, the LuxRender v2.x C++ or Python API available under Apache Licence 2.0 and freely usable in open source and commercial applications.

OpenCL render engine

A brand new micro-kernel based OpenCL path tracer is used as rendering mode for the benchmark.

C++ render engine

This release includes the come back of a benchmarking mode not requiring OpenCL (i.e. a render engine written only in C++ like in LuxMark v1.x). Ray intersection C++ code uses state-of-the-art Intel Embree.

Stress mode

Aside from benchmarking modes, it is also available a stress mode to check the reliability of the hardware under heavy load.

Benchmark Result Validation

LuxMark now includes a validation of the rendered image by using the same technology used for pdiff in order to check if the benchmarked result is valid or something has gone wrong. It has also a validation of the scene sources used (i.e. hash of scene files). While it will still possible to submit fake results to the LuxMark result database, it will make this task harder.

LuxVR

LuxVR is included as demo too and replaces the old "Interactive" LuxMark mode.

A brand new web site

There is now a brand new web site dedicated to LuxMark result: http://www.luxmark.info. It includes many new features compared the old results database.

Benchmark Scenes

3 brand new scenes are included. The simple benchmark is the usual "LuxBall HDR" (217K triangles):

Image

The medium scene is the "Neumann TLM-102 Special Edition (with EA-4 shock mount)" (1769K traingles) designed by Vlad "SATtva" Miller (http://vladmiller.info/blog/index.php?comment=308):

Image

The complex scene is the "Hotel Lobby" (4973K) designed by Peter "Piita" Sandbacka:

Image

Command line options

Code: Select all
Usage: luxmark [options]
 --help (display this help and exit)
 --scene=LUXBALL_HDR|MICROPHONE|HOTEL (select the scene to use)
 --mode=BENCHMARK_OCL_GPU|BENCHMARK_OCL_CPUGPU|BENCHMARK_OCL_CPU|BENCHMARK_NATIVE|STRESSTEST_OCL_GPU|STRESSTEST_OCL_CPUGPU|STRESSTEST_OCL_CPU|DEMO_LUXVR|PAUSE (select the mode to use)
 --single-run (run the benchmark, print the result to the stdout and exit)
 --ext-info (print scene and image verification too with --single-run)


What is new in v3.1 ?

- The new LuxRender v1.5 render engine. Among other features, it includes some OpenCL optimization suggested by NVIDIA to LuxRender project. Because of the general score improvements in v3.1, it is not fair to compare LuxMark v3.0 results with LuxMark v3.1;
- OpenCL "overclocking" (OpenCL C compiler options: -cl-fast-relaxed-math -cl-mad-enable -cl-no-signed-zeros);
- a new "OpenCL Compiler Options" menu in order to allow the user to enable/disable single compiler options. By default, the following options are enabled: "-cl-fast-relaxed-math -cl-mad-enable -cl-no-signed-zeros".
"-cl-strict-aliasing" is not enabled by default because Intel compiler is broken and it doesn't support this standard option.
- a new command line --ext-info option (viewtopic.php?f=8&t=12278#p115645);
- a fix for OpenCL device with weird names (viewtopic.php?f=34&t=11585&start=50#p115646);

Binaries

Windows 64bit: http://www.luxrender.net/release/luxmar ... 4-v3.1.zip (note: you may have to install VisualStudio 2013 C++ runtime => https://www.microsoft.com/en-US/downloa ... x?id=40784)
MacOS 64bit: http://www.luxrender.net/release/luxmar ... 4-v3.1.zip
Linux 64bit: http://www.luxrender.net/release/luxmar ... .1.tar.bz2

Some note to compile LuxMark:

- the sources are available here: https://bitbucket.org/luxrender/luxmark (tag: luxmark_v3.1)

- LuxMark can be compiled exactly like LuxRender. It has exactly the same dependencies (i.e. LuxCore, LuxRays, etc.)

- it requires LuxRays be compiled (tag: luxmark_v3.1)

- the complete scenes directory is available here: https://bitbucket.org/luxrender/luxmark/downloads (scenes-v3.1beta3.zip file)
User avatar
Dade
Developer
 
Posts: 8311
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: LuxMark v3.1: LuxRender propaganda with OpenCL

Postby SATtva » Tue Sep 01, 2015 10:03 am

Linux build:

http://vladmiller.info/lux/luxmark-v3.1.tar.bz2

Code: Select all
3fecf6e376909d1755b923cdb3265b6823bf74cf  luxmark-v3.1.tar.bz2
Linux builds packager
聞くのは一時の恥、聞かぬのは一生の恥
User avatar
SATtva
Developer
 
Posts: 7162
Joined: Tue Apr 07, 2009 12:19 pm
Location: from Siberia with love

Re: LuxMark v3.1: LuxRender propaganda with OpenCL

Postby jensverwiebe » Tue Sep 01, 2015 11:29 am

OSX build: http://www.luxrender.net/release/luxmar ... x86_64.zip

LuxMark is not longer codesigned, i canceled my apple dev account acces. OSX users should know how to start it anyway ;)

Jens
User avatar
jensverwiebe
Developer
 
Posts: 3383
Joined: Wed Apr 02, 2008 4:34 pm

Re: LuxMark v3.1: LuxRender propaganda with OpenCL

Postby pciccone » Tue Sep 01, 2015 11:35 am

Thank you jens. I'll take over this once Reality 4.1 is done.

Cheers.
User avatar
pciccone
Developer
 
Posts: 1579
Joined: Wed Jan 13, 2010 11:02 am
Location: South Carolina

Re: LuxMark v3.1: LuxRender propaganda with OpenCL

Postby Aggressor » Fri Sep 04, 2015 4:58 am

Hey guys, I have 2 GPUs in my laptop, Intel HD graphics 4000 (integrated) and a normal one. Luxmark crashes before I can disable the integrated card - is there a way to start it without loading a scene so I can configure it properly?
User avatar
Aggressor
 
Posts: 35
Joined: Wed Jan 05, 2011 11:18 am
Location: Ukraine

Re: LuxMark v3.1: LuxRender propaganda with OpenCL

Postby Dade » Fri Sep 04, 2015 5:02 am

Aggressor wrote:Hey guys, I have 2 GPUs in my laptop, Intel HD graphics 4000 (integrated) and a normal one. Luxmark crashes before I can disable the integrated card - is there a way to start it without loading a scene so I can configure it properly?


Yes, try to start from command line and use the option for selecting C++ rendering mode. You can run LuxMark executable with "--help" to obtain the list of command line options.
User avatar
Dade
Developer
 
Posts: 8311
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: LuxMark v3.1: LuxRender propaganda with OpenCL

Postby Aggressor » Fri Sep 04, 2015 4:36 pm

For some reason it's not reacting to command line options:
Image
And starts then crashes if no options provided...
User avatar
Aggressor
 
Posts: 35
Joined: Wed Jan 05, 2011 11:18 am
Location: Ukraine

Re: LuxMark v3.1: LuxRender propaganda with OpenCL

Postby Dade » Sat Sep 05, 2015 5:34 am

Aggressor wrote:For some reason it's not reacting to command line options:
Image
And starts then crashes if no options provided...


Uh, I have no idea why but Windows doesn't apparently print the stderr out on CMD :shock: You have to use something like:

Code: Select all
luxmark --help 2> stderr.txt


than you can open stderr.txt file and read the output:

Code: Select all
Usage: luxmark [options]
 --help (display this help and exit)
 --scene=LUXBALL_HDR|MICROPHONE|HOTEL (select the scene to use)
 --mode=BENCHMARK_OCL_GPU|BENCHMARK_OCL_CPUGPU|BENCHMARK_OCL_CPU|BENCHMARK_NATIVE|STRESSTEST_OCL_GPU|STRESSTEST_OCL_CPUGPU|STRESSTEST_OCL_CPU|DEMO_LUXVR|PAUSE (select the mode to use)
 --single-run (run the benchmark, print the result to the stdout and exit)
 --ext-info (print scene and image verification too with --single-run)


To solve your original problem, you have to use:

Code: Select all
luxmark --mode=PAUSE
User avatar
Dade
Developer
 
Posts: 8311
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: LuxMark v3.1: LuxRender propaganda with OpenCL

Postby Aggressor » Sat Sep 05, 2015 10:37 am

Thank you Dade, it worked.
By the way maybe it'd be better for Pause mode to be the default one when you start LuxMark?
User avatar
Aggressor
 
Posts: 35
Joined: Wed Jan 05, 2011 11:18 am
Location: Ukraine

Re: LuxMark v3.1: LuxRender propaganda with OpenCL

Postby Dade » Sat Sep 05, 2015 10:45 am

Aggressor wrote:By the way maybe it'd be better for Pause mode to be the default one when you start LuxMark?


It isn't usually a problem in general.
User avatar
Dade
Developer
 
Posts: 8311
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Next

Return to GPU Acceleration

Who is online

Users browsing this forum: No registered users and 1 guest

cron