Daz stopped using GPU mid-render
Hi everyone,
I encountered an interesting (and infuriating) problem tonight. When I started a render everything looked normal, both my CPU and GPU being used by Daz. However, some time early in the rendering (30-is minutes in and around 100 iterations), I noticed my GPU staying on 0-5% usage, while rendering was still going.
Daz log shows this (first several lines are from the time it was working fine, later half is the moment it stops)
2024-07-11 22:59:56.393 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Received update to 00106 iterations after 1553.158 s.
2024-07-11 23:01:03.311 Iray [INFO] - IRAY:RENDER :: 1.5 IRAY rend progr: CUDA device 0 (NVIDIA GeForce RTX 4080): guidance merge/update for: #caches = 44331
2024-07-11 23:01:03.516 Iray [INFO] - IRAY:RENDER :: 1.0 IRAY rend info : Received update to 00116 iterations after 1620.280 s.
2024-07-11 23:02:54.442 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER :: 1.25 IRAY rend error: CUDA device 0 (NVIDIA GeForce RTX 4080): Kernel [15] (LensTraceSr ) failed after 2.300s
2024-07-11 23:02:54.443 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER :: 1.25 IRAY rend error: CUDA device 0 (NVIDIA GeForce RTX 4080): an illegal memory access was encountered (while launching CUDA renderer in <internal>:908)
2024-07-11 23:02:54.443 [WARNING] :: \src\pluginsource\DzIrayRender\dzneuraymgr.cpp(376): Iray [ERROR] - IRAY:RENDER :: 1.25 IRAY rend error: CUDA device 0 (NVIDIA GeForce RTX 4080): Failed to launch renderer
I am running latest studio drivers, Windows 11 and Daz 4.22.
My GPU is not overclocked.
My CPU (AMD 5800X3D) doesn't have integrated video, so it's not that it's trying to run render on integrated gpu.
According to task manager, a good amount of my VRAM (12 ot of 16GB) is still being used, but GPU utilization is 0-5%.
I have 32GB RAM.
Pausing the render and resuming it didn't help.
It's a pretty heavy scene that I am rendering, if that matters. Here is the temp render file I grabbed when I tried if cancel/continue will fix it. https://www.deviantart.com/stash/0s1qev5x84t
Has this happened to anyone else, and is there a known solution for it?
Thanks!
Comments
1st, it's not a good practice to render with both CPU and GPU, uncheck CPU in Render Settings. Just render the scene with your 4080.
2nd, it's not easy to tell what caused the errors of kernel failure and illegal memory access... but you may try:
1) uninstall your Nvidia driver as well as residuals with DDU first - https://www.wagnardsoft.com/display-driver-uninstaller-DDU-
2) reinstall the latest studio driver
Then go for renderering your scene, see if it'll work well or not.
Thanks, will try that tonight.
Meanwhile, yesterday I restarted my PC and started the render again before I went to sleep. When I woke up, I saw it using only the CPU again, this time however it started a bit later (after iteration 222), while earlier was 116.