Daz is still using the GPU when the render is stopped or not running.
zaselim_08eb9236
Posts: 64
Please delete this post, i posted the question in the proper section
Post edited by Richard Haseltine on
Comments
Hello everyone.
So i am having the problem since I updated to 4.16.03, i use iray (view port) to check the scene (for lighting and stuff) and sometimes I start render I notice somemistakes so i canel it.
In both cases since 4.16 when i cancelled the render or went back to texture view(from iray viewport) and then started the render again or switched to iray view(vewport) again the scene wouldn't render and showed everything in grey. So to fix it I had to restart the daz and when i load the scene daz takes around 45 minutes to an hour to load a scene (single character with a wall,gate and floor which is not very big by the way and even a single character (my own characters) only scene takes around 30 minutes or more to load (I assume its because of the huge morphs I have (in my m.2 SSD around/under 11Gb and another 2.76Gb in 2nd SSD), according to few threads I have read which need to be fixed by the way).
So today I was trying to check my scene in iray viewport and then i made few changes and went back to iray viewport again same thing happened (grey everything) and I went back to texture view and open task manager to kill the daz to load again to cost me another hour of load time I switched to performance tab and noticed the GPU is still in use(using all of the 8GB VRAM - GTX1070) like it is when in render which is why it wor't render again or render iray viewport because its still using the gpu and doesn't have anymore memory to render.
So how do i fix this issue and why daz devs are unable to fix the scene load time issue, i even have to wait half an hour or more when i apply my saved poses. I know a lot of installed things (morphs etc) if not all get attached to the character which i am not using (at 0 value) and because of that Daz has to load everything which is humangous for me (my Library) therefore it takes that much time. But right now my main problem is that the gpu is still in use when not in iray/rendering.
Aside from any morph collections, textures have become an issue for many in that some are way too large. Super large textures are wonderful for some scenarios but many of us can get by just fine with textures at 4096 or less. Also there's an issue atm apparently with .tif files, those need to be converted to .png.
One can manually check and fix any texture issues due to size using their image editors. There are also a couple of products in the store for optimizing scenes and/or figures.
This is one I recently purchased and it's wonderful, includes shaders too! https://www.daz3d.com/resource-saver-shaders-collection-for-iray
As to the render issue, yes several of us discovered the hard way that stopping a render can be not a good idea. One can use spot render to a new window to correct minor areas - merging the 2 renders in an image editor.
Now I did find a solution for my D/S to not freeze when cancelling a render so I will mention it. This is NOT advice for everybody to follow suit. For OTHER reasons, I had the OS on the laptop repaired/reinstalled via instructions from the Microsoft website.
With my layperson's understanding of matters, I think with all the driver changes some conflicts have been collecting and the reinstallation of the OS cleared those up.
Once iray runs out of memory it doesn't free it up until Daz Studio is closed. This is Iray behavious, controlled by nVidia, not soemthing daz can address. Unfortunately your card lacks the RTX features, so iray has to emulate them and that increases the memory used - as a rsult, scenes that were fine with an older version of Iray may now end up esceeding the available GPU memory.
Threads merged. If you wish to move a thread, edit the first post, don't double post. In any event, you were in the correct place initially.
But it sometimes happens on a light scenes as well like a single character and doesn't happen on heavy scenes with two characters. The reason i asked because it happens randomly regardless of the scene is heavy or light and sometimes only half of VRam being used and i get grey screen on the viewport and when rendering it falls back to CPU and if turned off the CPU fallback the render cancel out on its own(finshes with blank render).
I've never faced this issue on 4.15 or previous, i even rendered a scene with three characters multiple times.
Yeah i use 4k t or 2k textures and i use jpg or png files only not tiff or convert them to PNG/JPG.
I read in few posts that because of the morphs and poses the Daz loads every single one which is compatible for the character you are importing or loading and if you have alot of them like i have (more than 20000 including my custom ones) then it will take a lot of time. The only way is to remove them(the ones you don't use often) or move them to non listed location.
What does your log say?
Do not copy the text into the message area, but attach the file to your post.
Haven't checked it, I'll do that the next time it will happen.
Right now the render is running.
Ok, right now I was having the same issue. What I did was changed the photoreal to interactive and then select the iray in viewport and it started to render (GPU-CUDA started to take load in the process which it doesn't when the grey screen happens) then I change it back to texture view and hit the render button and it started to render as well at my desired resoultion (4k). Then I stopped the render and changed interactive (biased) back to Photoreal and hit the render button and the render started and now rendering and again GPU-CUDA is in use and VRAM at 6/8 Gb in use and I even turn on few more things which i was going to in the 2nd part of the render i thought might be heavy for it. But its rendering and at my expected speed.
From the Menu, Help->Troubleshooting->View Log File, save the file somewhere you can easily find and use the "Attach a file" above the "Post Comment" button to attach the file to your post.
Sorry i didn't see the first sentence before and only read post the file lol.
Yeah i didn't check the log file (I know where its location is) before but i'll do it next time it will happen.
The complexity of the materials will also have an impact, as will the size and number of the textures, and of coruse hair and clothes will also vary in their impact - it's quite possible for a single character to be more demanding than two.
Yes i know that which is why its confusing it happened to me on the same charatcer wearing same costume. The render woudn't start with one character and then it rendered with another with it. For example once the scene with my one character was not rendering with GPU and falling back on CPU even though the vram was free like it usually is before i began the render and then I restarted the Daz 2 or 3 times and then i was able to begin the render with GPU. And then on a separate day I had three characters including the same character wearing same everything and it rendered without giving me any delay or issues (on a same environment and at same resolution). I would post the render to show but can post it here because of its explicit nature.
Link removed
Above is the link of the render incase you wanna take a look at it. The girl in the front alone wasn't rendering and then i did like i mention above after 2 to 3 times of restart and then rendered the whole scene on a first try (because there was some issue with first one so i had to re-reneder the front girl again). The original render is in 4k and the above image is 1440p i posted on discord for less size.
I agree that the issue might be bcause of something related to the scene or the character but I believe it might as well be because of Daz itself being not optimized properly or bug free fully or some other issue not related to the scene or the character. It happened to me too many times to ignore the possiblity that fault may be with daz itself. I am trying to get my hands on rtx 3090 at retail price but so far I couldn't and I don't want to pay more than the retail price so lets see whats happens in this department.
I tried to work on blender few times but my daz characters don't import in blender and i tried the bridge and a couple of other methods but I failed to import my character/s everytime. I never render in daz if somehow i manage to import my character with all of its assets including the clothing in daz.