Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

UI Text Box
typeinfo

The License Agreement will always appear the first time you run Benchmark. Once you agree, it will not re-appear upon next launch.

If you want to automate your agreement using command line, use the following commands:

For Windows

Code Block
echo y | vray-benchmark-5.0001.0002-cli.exe -m vray

For Linux

Code Block
yes | ./vray-benchmark-5.0001.0002 -m vray
Section
Column
width15%

 

Column
width70%

 

Column
width15%

 

...

UI Text Box
typenote

Linux: Executing V-Ray Benchmark without a flag will force its GUI to appear. If you wish to run a benchmark without the GUI, you have to specify the rendering mode explicitly in your command-line tool.

 

The table below contains a list of all available options for using V-Ray Benchmark:

OptionOption aliasFunctionExamples
--dump-dLogs debug outputvray-benchmark-5.0001.0002-cli.exe --mode vray --dump
--list-devices-lLists the available devices for the picked modevray-benchmark-5.0001.0002-cli.exe --mode vray-gpu-cuda --list-devices
--with-devices DEVICES-w DEVICESPicks devices for rendering. DEVICES is a comma-separated list of device indicesvray-benchmark-5.0001.0002-cli.exe --mode vray-gpu-cuda --with-devices 0,1
--mode MODE
-m MODE
Picks a mode for rendering. MODE can be: vray, vray-gpu-cuda, vray-gpu-rtx.
vray-benchmark-5.0001.0002-cli.exe --mode vray-gpu-rtx
--output FILE-o FILE
Outputs the benchmark information to a .json file. FILE is an absolute path.
vray-benchmark-5.0001.0002-cli.exe --mode vray --output D:\CUDA_cards.json
--version-v
Provides information about the current version of V-Ray Benchmark.
vray-benchmark-5.0001.0002-cli.exe --version
--help-h
Displays a help message with the available command-line flags.
vray-benchmark-5.0001.0002-cli.exe --help
UI Text Box
typetip

The command flags in the Option alias column in the table are shortened aliases of the commands in the Option column. You can use either of the aliases. Mixed usage is also possible, for example: vraybench_5.0001.0002-cli.exe -l --mode vray

 

To run V-Ray Benchmark through the command-line interface, just pick a rendering mode or run the file (in which case the all mode will automatically be chosen).

...

Section
Column
width5%

 

Column
width50%
Code Block
languagec#
vray-benchmark-5.0001.0002-cli.exe --mode vray-gpu-cuda
Column
width45%

 

...

Section
Column
width5%

 

Column
width50%
Code Block
languagec#
$ ./vray-benchmark-5.0001.0002 --mode vray
Column
width45%

 

Notes

...

 

Fancy Bullets
typecircle
  • If you experience trouble launching V-Ray Benchmark under Windows (GUI or CLI), it might be due to invalid performance counters. They can be reloaded by running the cmd as administrator and executing the following commands:

    Code Block
    lodctr /r 
    %windir%\SysWOW64\lodctr /r