Studio not using RTX 3080 for Renders?

Howdy Folks,

I am running the latest "Game Ready" Drivers which is version 461.40 on my month old RTX 3080 based system on the most recent build of Studio 4.15.0.2.  It uses the GPU for DForce, but it drops to CPU for rendering a scene.  The reported memory load for my scene is 4.5 GBs, and the RTX 3080 has 10 GBs, so it shouldn't be a VRAM issue?  I tried to force it by deselecting the CPU as a render target, and disablign CPU fallback, but then it just fails and doesn't render.  Is there some trick to using a GPU for rendering?  Thanks!

Rich S.

Comments

  • PerttiAPerttiA Posts: 10,014

    Help->Troubleshooting->View Log File

    What does the logfile say?

  • rrwardrrward Posts: 556

    I've found the Studio drivers better for DAZ than the game ready drivers. But I also don't game on my render box.

  • LinkRSLinkRS Posts: 168

    Howdy PerttiA,

    Thanks for pointing that out, I was unaware of how to see the DAZ log.  There are TONS of errors releated to meta data, particualry when loading scenes. But I found the following section based on the last time I tried a render (this past Sunda):

    2021-02-14 21:51:50.932 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Rendering with 1 device(s):

    2021-02-14 21:51:50.933 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : CUDA device 0 (GeForce RTX 3080)

    2021-02-14 21:51:50.933 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Rendering...

    2021-02-14 21:51:50.936 Iray [INFO] - IRAY:RENDER ::   1.13  IRAY   rend progr: CUDA device 0 (GeForce RTX 3080): Processing scene...

    2021-02-14 21:51:52.149 Iray [VERBOSE] - IRAY:RENDER ::   1.16  IRAY   rend stat : Geometry memory consumption: 4.525 GiB (device 0), 0.000 B (host)

    2021-02-14 21:51:52.156 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.16  IRAY   rend error: Unable to allocate 4.487 GiB from 3.940 GiB of available device memory

    2021-02-14 21:51:52.159 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.13  IRAY   rend error: CUDA device 0 (GeForce RTX 3080): Scene setup failed

    2021-02-14 21:51:52.165 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.13  IRAY   rend error: CUDA device 0 (GeForce RTX 3080): Device failed while rendering

    2021-02-14 21:51:52.167 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER ::   1.13  IRAY   rend warn : CUDA device 0 (GeForce RTX 3080) ran out of memory and is temporarily unavailable for rendering.

    2021-02-14 21:51:52.168 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER ::   1.13  IRAY   rend warn : All available GPUs failed.

    2021-02-14 21:51:52.172 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.13  IRAY   rend error: Fallback to CPU not allowed.

    2021-02-14 21:51:52.172 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.13  IRAY   rend error: All workers failed: aborting render

    2021-02-14 21:51:52.173 Iray Render error: Internal rendering error.

    2021-02-14 21:51:52.295 Saved image: C:\Users\linkr\AppData\Roaming\DAZ 3D\Studio4\temp\render\r.png

    2021-02-14 21:51:52.322 Finished Rendering

    2021-02-14 21:51:52.539 Total Rendering Time: 1 minutes 58.32 seconds

    It says that my GPU only hasd 3.9 GBs of VRAM?  Something is weird.  When DAZ Studio loads, here is what it reports:

    2021-02-14 20:21:15.294 NVIDIA Iray GPUs:

    2021-02-14 20:21:15.294 GPU: 1 - GeForce RTX 3080

    2021-02-14 20:21:15.294 Memory Size: 9.9 GB

    2021-02-14 20:21:15.294 Clock Rate: 1710000 kHz

    2021-02-14 20:21:15.294 Multi Processor Count: 68

    2021-02-14 20:21:15.294 CUDA Device ID: 0

    2021-02-14 20:21:15.294 CUDA Compute Capability: 8.6

    2021-02-14 20:21:15.294 PCI Bus ID: 1

    2021-02-14 20:21:15.294 PCI Device ID: 0

    2021-02-14 20:21:15.294 TCC Mode: disabled

    2021-02-14 20:21:15.294 Display: attached

    2021-02-14 20:21:15.294 NVIDIA Iray Scheduling Configuration:

    2021-02-14 20:21:15.297 CPU Load Limit: 16

    2021-02-14 20:21:15.297 CPU Thread Affinity: disabled

    2021-02-14 20:21:15.297 GPU Load Limit: 1

     

    Seems something is eating GPU memory?  You would thnk the history in the render windows would tell you when it falls back to CPU rendering.  I am going to try again today, and see what happens.  I'll post back with a fresh log.  Thanks!

    Rich S.

  • LinkRSLinkRS Posts: 168
    edited February 2021

    Just after a fresh attemp.   I aborted before it even hit 1% as it was using CPU only:

    2021-02-19 19:20:03.660 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Rendering with 2 device(s):

    2021-02-19 19:20:03.660 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : CUDA device 0 (GeForce RTX 3080)

    2021-02-19 19:20:03.664 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : CPU

    2021-02-19 19:20:03.664 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Rendering...

    2021-02-19 19:20:03.667 Iray [INFO] - IRAY:RENDER ::   1.3   IRAY   rend progr: CUDA device 0 (GeForce RTX 3080): Processing scene...

    2021-02-19 19:20:03.669 Iray [INFO] - IRAY:RENDER ::   1.16  IRAY   rend progr: CPU: Processing scene...

    2021-02-19 19:20:03.670 Iray [INFO] - IRAY:RENDER ::   1.17  IRAY   rend info : Using Embree 3.10.0

    2021-02-19 19:20:03.674 Iray [INFO] - IRAY:RENDER ::   1.17  IRAY   rend info : Initializing Embree

    2021-02-19 19:20:07.083 Iray [VERBOSE] - IRAY:RENDER ::   1.9   IRAY   rend stat : Geometry memory consumption: 4.525 GiB (device 0), 0.000 B (host)

    2021-02-19 19:20:07.090 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.9   IRAY   rend error: Unable to allocate 4.487 GiB from 4.149 GiB of available device memory

    2021-02-19 19:20:07.093 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.3   IRAY   rend error: CUDA device 0 (GeForce RTX 3080): Scene setup failed

    2021-02-19 19:20:07.102 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.3   IRAY   rend error: CUDA device 0 (GeForce RTX 3080): Device failed while rendering

    2021-02-19 19:20:07.102 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER ::   1.3   IRAY   rend warn : CUDA device 0 (GeForce RTX 3080) ran out of memory and is temporarily unavailable for rendering.

    2021-02-19 19:20:23.545 Iray [INFO] - IRAY:RENDER ::   1.17  IRAY   rend info : Importing lights for motion time 0

    2021-02-19 19:20:23.579 Iray [INFO] - IRAY:RENDER ::   1.17  IRAY   rend info : Initializing light hierarchy.

    2021-02-19 19:20:23.747 Iray [INFO] - IRAY:RENDER ::   1.17  IRAY   rend info : Light hierarchy initialization took 0.167s

    2021-02-19 19:20:23.970 Iray [VERBOSE] - IRAY:RENDER ::   1.17  IRAY   rend stat : Native CPU code generated in 0.211s

    2021-02-19 19:20:24.108 Iray [INFO] - IRAY:RENDER ::   1.16  IRAY   rend info : CPU: Scene processed in 20.439s

    2021-02-19 19:20:24.114 Iray [INFO] - IRAY:RENDER ::   1.16  IRAY   rend info : CPU: Allocated 37.500 MiB for frame buffer

    2021-02-19 19:20:26.650 Iray [INFO] - IRAY:RENDER ::   1.16  IRAY   rend info : Allocating 1-layer frame buffer

    2021-02-19 19:20:26.739 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00001 iterations after 23.074s.

    2021-02-19 19:20:29.175 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00002 iterations after 25.510s.

    2021-02-19 19:20:31.670 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00003 iterations after 28.005s.

    2021-02-19 19:20:34.208 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00004 iterations after 30.543s.

    2021-02-19 19:20:36.678 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00005 iterations after 33.013s.

    2021-02-19 19:20:39.186 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00006 iterations after 35.521s.

    2021-02-19 19:20:41.729 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00007 iterations after 38.064s.

    2021-02-19 19:20:44.178 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00008 iterations after 40.514s.

    2021-02-19 19:20:46.750 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00009 iterations after 43.085s.

    2021-02-19 19:20:49.336 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00010 iterations after 45.671s.

    2021-02-19 19:20:51.893 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00011 iterations after 48.227s.

    2021-02-19 19:20:54.499 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00012 iterations after 50.835s.

    2021-02-19 19:20:57.021 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00013 iterations after 53.356s.

    2021-02-19 19:20:59.606 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00014 iterations after 55.942s.

    2021-02-19 19:21:02.130 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00015 iterations after 58.465s.

    2021-02-19 19:21:04.688 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00016 iterations after 61.023s.

    2021-02-19 19:21:07.457 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00017 iterations after 63.793s.

    2021-02-19 19:21:10.322 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00018 iterations after 66.656s.

    2021-02-19 19:21:13.102 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00019 iterations after 69.437s.

    2021-02-19 19:21:16.044 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00020 iterations after 72.379s.

    2021-02-19 19:21:18.805 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00021 iterations after 75.140s.

    2021-02-19 19:21:21.568 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00022 iterations after 77.903s.

    2021-02-19 19:21:24.240 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00023 iterations after 80.574s.

    2021-02-19 19:21:26.964 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00024 iterations after 83.300s.

    2021-02-19 19:21:29.661 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00025 iterations after 85.996s.

    2021-02-19 19:21:32.433 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00026 iterations after 88.768s.

    2021-02-19 19:21:35.131 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00027 iterations after 91.466s.

    2021-02-19 19:21:37.915 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00028 iterations after 94.247s.

    2021-02-19 19:21:40.570 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00029 iterations after 96.905s.

    2021-02-19 19:21:43.353 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00030 iterations after 99.689s.

    2021-02-19 19:21:45.951 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00031 iterations after 102.285s.

    2021-02-19 19:21:48.692 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00032 iterations after 105.028s.

    2021-02-19 19:21:51.392 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00033 iterations after 107.728s.

    2021-02-19 19:21:54.103 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00034 iterations after 110.438s.

    2021-02-19 19:21:56.876 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00035 iterations after 113.211s.

    2021-02-19 19:21:59.856 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00036 iterations after 116.191s.

    2021-02-19 19:22:02.684 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00037 iterations after 119.019s.

    2021-02-19 19:22:05.580 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00038 iterations after 121.915s.

    2021-02-19 19:22:08.337 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00039 iterations after 124.671s.

    2021-02-19 19:22:11.187 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00040 iterations after 127.522s.

    2021-02-19 19:22:13.889 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00041 iterations after 130.224s.

    2021-02-19 19:22:16.697 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00042 iterations after 133.032s.

    2021-02-19 19:22:19.429 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00043 iterations after 135.764s.

    2021-02-19 19:22:22.221 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00044 iterations after 138.556s.

    2021-02-19 19:22:24.914 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00045 iterations after 141.249s.

    2021-02-19 19:22:27.724 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00046 iterations after 144.059s.

    2021-02-19 19:22:30.513 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00047 iterations after 146.849s.

    2021-02-19 19:22:33.394 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00048 iterations after 149.729s.

    2021-02-19 19:22:36.099 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00049 iterations after 152.434s.

    2021-02-19 19:22:38.875 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00050 iterations after 155.210s.

    2021-02-19 19:22:41.602 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00051 iterations after 157.937s.

    2021-02-19 19:22:44.391 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend progr: Received update to 00052 iterations after 160.726s.

    2021-02-19 19:22:47.142 Saved image: C:\Users\linkr\AppData\Roaming\DAZ 3D\Studio4\temp\render\r.png

    2021-02-19 19:22:47.155 Finished Rendering

    2021-02-19 19:22:47.445 Total Rendering Time: 4 minutes 45.13 seconds

     

    Not sure what is using up over half of my VRAM befopre Iray starts?  I am open to suggestions,  thanks!

    Rich S.

     

    UPDATE:  Mayber I am reading the log wrong?  Is it saying that 4.25 GBs of VRAM are in use by geometry (yikes!), and then trying to allocate another 4.487 GBs for the render?   That would explain it.  Need to get the geometry load down.  I assume my scene is too large.

    Thanks!

    Post edited by LinkRS on
  • PerttiAPerttiA Posts: 10,014
    edited February 2021

    The amount your scene is using for geometry, indicates that you are using high SubD's or you have a 'ton' of high vertice hairs loaded on the scene.

    Download GPU-Z and you can have a better look at how much of you RAM and VRAM are used before you start rendering and how much is used while rendering.
    https://www.techpowerup.com/gpuz/

    Post edited by PerttiA on
Sign In or Register to comment.