Iray Statistics / Iray memory use when rendering.

HI

What I'm trying to figure out is how to see the memory used when rendering.  When I watch tutorials on various things, their render window always shows how much memory various things are using.  Mine does not.

From a video before it starts with the iteration count:

 

Mine goes straigh into iterations:

 

 

Is it a setting or something I have to enable?  Please can someone tell me how to get that more detailed info so I have some clue how close I'm to my gpu memory limit to see if a scene is posible or not even worth attempting.

Even my log file doesn't show that much info as the window above:

 Rendering...
rend progr: CUDA device 0 (NVIDIA GeForce GTX 1660 SUPER): Processing scene...
rend info : Importing lights for motion time 0
rend info : Initializing light hierarchy.
rend info : Light hierarchy initialization took 0.085 s
rend info : CUDA device 0 (NVIDIA GeForce GTX 1660 SUPER): Scene processed in 6.622s
rend info : CUDA device 0 (NVIDIA GeForce GTX 1660 SUPER): Allocated 51.499 MiB for frame buffer
rend info : CUDA device 0 (NVIDIA GeForce GTX 1660 SUPER): Allocated 514.330 MiB of work space (539k active samples in 0.002s)
rend info : CUDA device 0 (NVIDIA GeForce GTX 1660 SUPER): Optimizing for cooperative usage (performance could be sacrificed)
rend info : Allocating 1-layer frame buffer

Comments

  • Richard HaseltineRichard Haseltine Posts: 100,833

    This was a change made by nVidia, Iray no longer reports the data and so DS can't pass it through the progress window and log.

  • PadonePadone Posts: 3,688

    It never worked fine anyway was only a rough approximation. You better rely on the windows task manager or gpu-z to monitor the gpu activity.

  • PerttiAPerttiA Posts: 10,024

    Padone said:

    It never worked fine anyway was only a rough approximation. You better rely on the windows task manager or gpu-z to monitor the gpu activity.

    It did work and does work on older versions, one just has to understand that all of the VRAM on the GPU is not available for Iray rendering

  • Richard Haseltine said:

    This was a change made by nVidia, Iray no longer reports the data and so DS can't pass it through the progress window and log.

     

    Well that is dissapointing but at least now I know I wasn't doing something wrong.   Thanks for the fast replies everyone.

  • stefan.humsstefan.hums Posts: 132

    PerttiA said:

    Padone said:

    It never worked fine anyway was only a rough approximation. You better rely on the windows task manager or gpu-z to monitor the gpu activity.

    It did work and does work on older versions, one just has to understand that all of the VRAM on the GPU is not available for Iray rendering

    Maybe it worked for Texture memory consumption. But it never worked for Geometry memory consumption, especially not with higher SubD levels or Displacement used - what was reported there was pure guesswork, and that's a fact.

    Some time ago I did a test with Esra 8.1 and various SubD levels.

    At SubD 5, Esra could be rendered on a RTX 2060 Super (8 GB VRAM). The render stats:

    rend progr: CUDA device 0 (NVIDIA GeForce RTX 2060 SUPER): Processing scene...
    rend stat : Geometry memory consumption: 894.761 MiB (device 0), 0.000 B (host)
    rend stat : Texture memory consumption: 945.000 MiB for 44 bitmaps (device 0)
    rend info : Importing lights for motion time 0
    rend info : Initializing light hierarchy.
    rend info : Light hierarchy initialization took 0.002s
    rend stat : Lights memory consumption: 196.000 B (device 0)
    rend stat : Material measurement memory consumption: 0.000 B (GPU)
    rend stat : Materials memory consumption: 89.145 KiB (GPU)
    rend info : CUDA device 0 (NVIDIA GeForce RTX 2060 SUPER): Scene processed in 3.589s
    rend info : CUDA device 0 (NVIDIA GeForce RTX 2060 SUPER): Allocated 16.480 MiB for frame buffer
    rend info : CUDA device 0 (NVIDIA GeForce RTX 2060 SUPER): Allocated 1.750 GiB of work space (2048k active samples in 0.005s)

    At SubD 6 (I know this is pretty idiotic but I wanted to know what happens):

    rend progr: CUDA device 0 (NVIDIA GeForce RTX 2060 SUPER): Processing scene...
    rend stat : Geometry memory consumption: 3.471 GiB (device 0), 0.000 B (host)
    rend error: Unable to allocate 6.981 GiB from 3.135 GiB of available device memory
    rend error: CUDA device 0 (NVIDIA GeForce RTX 2060 SUPER): Scene setup failed 

    Game over, there was not even a texture loaded. Geometry memory consumption was reported with nearly 3.5 GB - and then Iray required additionally 7 GB? Why was this reported only if the device rans out of VRAM? For me those "statistics" were always useless because they were simply wrong.

Sign In or Register to comment.