Announcement

Collapse
No announcement yet.

Hybrid rendering command line not using CPU

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Hybrid rendering command line not using CPU

    I am trying to do a render using command line for Maya. I have set my render settings to Cuda and selected the devices CPU and GPU.
    When rendering it does not use the CPU.

    My log says the following:
    [2020/Jun/5|16:01:43] V-Ray: Using all available CUDA GPU devices. Not using "C++/CPU on AMD Ryzen Threadripper 2990WX 32-Core Processor", it should be selected explicitly!

    How can i use the CPU in command line render?
    Tnx.

  • #2
    Hey Ivo,

    Can you let me know if you've selected the devices from the "GPU Device Selection" panel?

    Also can you provide us with the command you are executing?

    The correct option should be -rtEngine=1 , however you can also add this as a variable(depending on the OS you are using).

    For Windows it's:

    set VRAY_OPENCL_PLATFORMS_x64=c++/cpu;nvidia

    More info on the topic can be found at:

    https://docs.chaosgroup.com/display/...+GPU+Rendering

    Comment


    • #3
      Thank you for your reply.

      I have selected the devices inside maya in the render settings. I also executed " select devices for Vray GPU". Both GPU and CPU were allready selected here.

      Can i use the -rtEngine in the maya command line?

      This is my command:
      [MUSTER]-r vray -threads 0 -proj "path_to_project" -s 1.000 -e 1.000 -b 1.000 -x 1280 -y 720 "path_to_file.mb"

      Comment


      • #4
        In this case I would advise you to select the devices from the GPU Device Selection app. ( as shown here: https://docs.chaosgroup.com/display/...seforRendering )

        Or add the environment variable(from my previous post) in your operating system directly.

        Comment


        • #5
          Thank you.
          Setting the environment variable did the trick.

          Comment

          Working...
          X