100% CPU when using iRay in main Viewport with Titan X

This seems to be a recent thing. When I use iRay in the main viewport with NOTHING in it, it uses 15% CPU time. What is it doing? There are no items in the scene at all. I have an FX-8350 with 8 cores. If I load a small scene (G3F w/ MEC4D's dress and some shoes I'm creating), it will be somewhat fine at first (still 15-20% CPU) but will eventually climb to 100% CPU. At this point, no matter what I do, whenever I turn on iRay, it will go to 100% CPU. It will drop to 0 when I turn iRay off. It will go to 20% while uploading data and once it starts rendering will promptly go back to 100%. I don't know what causes this. But when it happens, I have to restart the app.

I've attached an image of the scene that goes to 100%, but other scenes will go to 100% as well. This scene is fairly simple and haven't done anything to it yet. The shoes are still props as I'm still working on them. Even at 20% CPU, I don't see why it would stay there. I don't remember it doing this before (especially not on an empty scene).

 

test100cpuscene.jpg
1920 x 1080 - 159K

Comments

  • prixatprixat Posts: 1,588
    edited July 2015

    Hi,

    With the viewport in Iray mode, thats pretty much what I would expect.smiley

    If you go to the Iray Render Settings, Advanced tab, you can specify which device does the preview, CPU, GPU or both etc. That may allow you to put the load on the Titan instead.

    Post edited by prixat on
  • MEC4DMEC4D Posts: 5,249
    edited July 2015

    DS is in stand by mode no matter Iray or not , once you open DS the cards and CPU get into stand by mode doing nothing thanks in the viewport , it does use a lot of energy so don't leave it open all day , no matter you selected CPU or Cards under rendering it is not Iray related issue that  I have with .. and nobody will help u :( it is what it is until the programmers add features to how much we want to use and when 

    Post edited by MEC4D on
  • AlienRendersAlienRenders Posts: 793

    @prixat: It is set to use the GPU only. And for clarification, the previous update did not do this. It worked fine. This last update introduced something weird where when you open DAZ studio and use iRay in the main viewport, CPU goes to 15% with nothing in the scene.

     

    @MEC4D: Before the last update, the render would eventually finish and zero CPU or GPU usage. The TitanX is very very quick at rendering most preview scenes that I'm interested in. Besides, the TitanX doesn't even have a monitor attached to it. It's purely for rendering. I spend more time modeling these days anyhow and just want to see what it looks like. But lately, iRay in the viewport is slow as mud. And yeah, looks like I may have to open a ticket since it's likely a bug in the software.

     

  • AlienRendersAlienRenders Posts: 793

    I've issued a ticket. In the log file, I noticed it's rendering the full 5000 frames on an empty scene. Still doesn't explain the CPU usage. But at least it indicates something is going on.

     

  • MEC4DMEC4D Posts: 5,249
    edited July 2015

    Of course it will render the empty scene once you change to Iray .. what I do is set the sample to 5-10 when not rendering . I use 2 x Titan X super clocked it still use 68% power even if not set to Iray or render, keeping the card GPU on stand by at max clock , DAZ said it does not load anything to the GPU but my issue was with the power usage what was  over 250W per hour doing nothing what is not acceptable , the problem is the View port OpenGL that is so drag with 2 x titan , GTX 760 or 2 x Titan X it really make not difference in the OpenGL View port and waste of energy . When I open DS I can forget to work with GPU and PS , I purchased 2 cards so I can do other stuff while render in DS but nope .. setting DS off under Nvidia panel don't affect anything 

    Your CPU usage have to do with DS again not Iray.

    With my cards I have no issue moving in my Iray viewport and faster than DS OpenGL for sure  , you may check the Iray viewport tab setting and delays under Draw Setting tab 

     

    check my test with Iray viewport :

    Post edited by MEC4D on
  • AlienRendersAlienRenders Posts: 793
    edited July 2015

    Thanks for the tip on the draw settings. I changed it to interactive and it's a lot more responsive than before. But it blinks to black and white and full colour back and forth like a bazillion times per second when I rotate the view. Very annoying. It's like a strobe light it's so annoying. No way I keep using it this way. The CPU and GPU usage bug still persists. BTW, my power usage for the video card goes back down to idle usage when it's done drawing. However, it will always draw the full number of samples you have set in the render properties. If it's set to the default 5000, then it'll draw 5000 iterations before the GPU power usage goes to idle. If you've set it higher, then it will take even longer.

    BTW, I can keep doing other things while it's rendering. When I do a proper render, there is almost zero CPU usage. It's only when I use iRay in the viewport. And I have another video card that DAZ can't use. So that one's always free. Heck, I play full 3D games while DAZ is rendering.

    edit: Found out it's the response threshold. It was too low at 100ms. If I bump it up, I can rotate and move the view no problem. GPU usage issue is still there.

     

     

    Post edited by AlienRenders on
  • MEC4DMEC4D Posts: 5,249

    My PS use GPU too , it make the work choppy when DS is open , I can do stuff when I am rendering but only programs that does not use GPU like Zbrush , I think DS recognize  it  just as one card as assigning only one card to use with DS not working under NVIDIA panel as both get in stand by mode and even if nothing is loaded the GPU need to be cooled , if I had super speed in the DS OpenGL viewport I would understand but nope and as I said before it is not Iray related issue but OpenGL and DS 

  • jakkujakku Posts: 91

    Thank you for posting those videos MEC4D :)

    I was really wondering what kind of Iray performance cards like that would give you, looks really great, I must say :)

     

  • AlienRendersAlienRenders Posts: 793

    @MEC4D: I'm just saying that I have a non nVidia card as well. DAZ3D won't use that card. So if I have something else that needs the GPU, I have a free video card. I don't understand why your OpenGL is slow though. Mine is blazing fast. It's instantaneous when I move or rotate the view. Then again, my OpenGL is on my ATI card, not the Titan X. Titan X only gets used for iRay. So I can render in one instance of DS and keep working on another scene in another instance of DS. For me, I have zero problems with OpenGL and it uses zero extra power. I only have an issue when using iRay in the main viewport. I agree it's a bug in DAZ studio. Perhaps they forgot to apply the convergence setting or checking if the scene is empty. Still doesn't explain the high CPU usage even if convergence was being checked. Anyways, DAZ replied to having received my ticket. Hopefully someone will look at it soon. I know with 100% certainty that it's rendering 5000 frames on an empty scene. At least that much should be fixed. And that part has nothing to do with OpenGL.

    BTW, loved your 80's stuff. Huge fan! :)

     

  • MEC4DMEC4D Posts: 5,249

    You welcome ! it is cool indeed compared to my older card  

    Jakku said:

    Thank you for posting those videos MEC4D :)

    I was really wondering what kind of Iray performance cards like that would give you, looks really great, I must say :)

     

  • MEC4DMEC4D Posts: 5,249

    That explain everything , I may purchase one more card soon but something chaper just for the monitor activity and DS open GL .. but not Nvidia so it get separate with rendering and DS don't get confused since I have open DS for hours sometimes working on setups in Open GL and blasting heat of 2 cards doing nothing but power costs is not really what I want 

    Regarding the empty scene, it should not render 5000 samples as most of my scenes used max 300 and are done , so empty scene would be rendering in second or 2 with maybe 2 samples , as you saw my car video it render in second and never 500 samples so something is on the hand here , anyway my empty scenes are set on 20 samples so just in case it decide to get higher  when not controled , and yes my Iray viewport move faster around with milions of poly than DS OpenGL what is quiet choppy after half milliin poly in the scene  .. it never was fast anyway and a lot of people mentioned it 

    @MEC4D: I'm just saying that I have a non nVidia card as well. DAZ3D won't use that card. So if I have something else that needs the GPU, I have a free video card. I don't understand why your OpenGL is slow though. Mine is blazing fast. It's instantaneous when I move or rotate the view. Then again, my OpenGL is on my ATI card, not the Titan X. Titan X only gets used for iRay. So I can render in one instance of DS and keep working on another scene in another instance of DS. For me, I have zero problems with OpenGL and it uses zero extra power. I only have an issue when using iRay in the main viewport. I agree it's a bug in DAZ studio. Perhaps they forgot to apply the convergence setting or checking if the scene is empty. Still doesn't explain the high CPU usage even if convergence was being checked. Anyways, DAZ replied to having received my ticket. Hopefully someone will look at it soon. I know with 100% certainty that it's rendering 5000 frames on an empty scene. At least that much should be fixed. And that part has nothing to do with OpenGL.

    BTW, loved your 80's stuff. Huge fan! :)

     

  • AlienRendersAlienRenders Posts: 793

    You're saying that if you use OpenGL with TitanX, you're still getting a lot of power consumption on both cards? That's crazy. And it's choppy to boot? I just tried a 1.4 million polygon scene and it's still instantaneous in OpenGL in DAZ3D. That's more than I can say for Lightwave where it is slow as mud with that scene in OpenGL. As for rendering 5000 samples, it will do that in iRay in the viewport if you don't move the view. If you let it sit there, it will draw however many samples you have set in your render properties which is 5000 by default. And when I say empty, I really mean empty. No figures, no props, no cameras, no lights, no nothing. Completely empty. It will sit there and draw 5000 samples of nothingness unless you change that setting.

    I don't get it. The large scene I just tried is faster in iRay than the scene I posted in my original comment. It works just like in your video. Super fast and fluid.

    BTW, what are your OpenGL settings in DAZ Studio? I'm sure you turned everything on and maxed them all out, but doesn't hurt to double check. Sometimes settings get reset.

     

  • MEC4DMEC4D Posts: 5,249

    I set everything to perfomance I always do as I work only with wire frame , yesterday my Iray viewport render over and over again a scene, I set to 20 samples and it restarted everytime it finished render over and over , today it stopped finally . And yes it use high power consumption on both card the moment I start DS 65% of 500W per hour it is GTX killer , check your Titan X cloock after you open DS and OpenGL I am sure it is in stand by mode too you just don't notice the fact that it don't load anything to the GPU don't mean it don't waste power 

  • barbultbarbult Posts: 24,245
    edited August 2015

    Has DAZ ever responded to this issue? I have a GTX 980Ti and it has this high power consumption problem as soon as I open DAZ Studio 4.8.0.59. It ramps my GPU temperature up to 64 degrees C and leaves it there as long as DAZ Studio is open.  It occurs even if I have a completely empty scene and even if the render engine selected is 3Delight. This seems to be the same problem that MEC4D identified a month ago.

    Post edited by barbult on
  • namffuaknamffuak Posts: 4,146
    edited August 2015

    From what little I've read on the gaming sites this is normal.

    If you look at GPU-Z monitoring your card before starting Studio you'll see that the the GPU clocks are at idle and power consumption is minimal, as shown by the first (no studio) image. Then you start Studio and part way into the startup it initializes the Iray module - whether you want to use it or not. As part of the initializaation process Iray checks for available GPUs and initializes them - which causes the GPU clocks to switch to run speed, increases the power consumption, raises the temperature, and increases the fan speed. See image 2, Studio-loaded (both from my gtx 980 ti).

    This all happens BEFORE Studio is up to the point of checking which cards will be used for rendering. I looked at some of the Iray examples over on the Nvidia site and I don't remember seeing a de-initialize/unload function for Iray.

    I'm seriously considering a custom fan profile to kick the fan up a bit sooner - but IIRC, these cards are designed to run hot for performance reasons.

     

     

     

     

     

     

     

     

    studio-loaded.jpg
    392 x 524 - 61K
    no-studio.jpg
    392 x 524 - 60K
    Post edited by namffuak on
  • namffuaknamffuak Posts: 4,146

    And let me add that posting images is not much fun with this software!

  • MEC4DMEC4D Posts: 5,249
    edited August 2015

    It have nothing to do with Iray but the OpenGL , the same happen when open Photoshop, Adobe working on a additional setting to allow better control this issue .

    The GPU may not load anything but the clock is set in standby mode the moment you start Daz Studio what consume 26-29% of power as the fan inside the card need to cool it down too, no matter how many cards you have all will be in standby mode , if I render the power usage jump to 68% with higher spikes both cards use 500W total

    older cards use more power than the Titan-X so keep DS close when not use 

    My Titan-X use 6.2 % of power even if I watch video as long I don't use OpenGL

    once OpenGL is used (open DS ) it jump to 29% (no Iray) when Iray viewport is activated it run on 56-60 % power max 68%

    GPU temperatures :

    idle : 29-31 C depends of the ambient room tem. usually 70-71 F 2x GPU core clock per card 135 Mhz

    Open DS Open GL : 42 C 2 xGPU

    Iray Render : 52-60 C on full load  2 x GPU core clock per card 1290 Mhz 

    I use EVGA Precision X control fan software without it,  it will run 86C on full load using even more power also installed copper heat sink on the card memory, 120 mm additional side Master Fan and all together help to keep it steady at low temperature , how higher the temperatures of your GPU how slower it process the data .

    the set I made what cost me couple of dollar more ( bellow $20) is fantastic so no water cooling needed saving $200 

    Post edited by MEC4D on
  • namffuaknamffuak Posts: 4,146

    I can't say anything about Photoshop - I don't own it. But I just fired up the 32-bit version of Studio, without Iray - and both my cards GPU cloccks are still at idle. So for Studio, at least, it is not OpenGL, just Iray that initializes the cards. (I didn't post the GPU-Z on my second card - a GT 740 used only for monitors and not selected in Studio for Iray use - but when Studio initializes Iray it also brings the GPU clocks up to full speed from idle.)

  • MEC4DMEC4D Posts: 5,249
    edited August 2015

    Iray have nothing to do with it unless you switch to Iray viewport , Iray use GPU and not stand by mode as Open GL do total different process of data.

    If that was Iray doing it DS would crash the moment you start it if the CPU or GPU was not selected , beside the old 32-bit DS use multithreading what would explain why the GPU clock was at idle as the same happening in Zbrush ..that don't affect GPU clock. 

    well Photoshop don't have Iray , just OpenGL  that run on GPU and not CPU and unless I switch to CPU the GPU run in stand by mode and the same go for all programs that use GPU 

    I guess that the new OpenGL in DS is GPU based as that would explain the behavior ... 

    Post edited by MEC4D on
  • MEC4DMEC4D Posts: 5,249

    P.S I just checked the old documentation and the old DS version don't utilize the GPU for OpenGL exactly as I suspected , what is different story in the new version .

  • MEC4DMEC4D Posts: 5,249

    Btw I want to let you know that the last driver from Nvidia fixed the GPU clock issues so now it is idle when open DAZ Studio or Photoshop and not running on high voltage 

    but if you want better performance in DS using Iray you need to change the power setting under Nvidia Panel for your graphic card to Performance , it is Adaptive by default( what does not adjust automatic the power when rendering using GPU in DS)

    or you can add DS to the profile for automatic change of power usage to Performance

    I do it manually when I am ready for final render and the rendering time is 100% faster 

    for example 6 sec 1 x genesis on Adaptive  , 3 sec render time on Performance

    I guess on Adaptive setting it need more time to activate the full power of GPU what is 13 sec +/_ what is not much but when you want to play with iray viewport and real-time rendering it matters a lot

  • jag11jag11 Posts: 885

    Which Windows? 7/8.X/10

  • MEC4DMEC4D Posts: 5,249

    windows 8.1 here but the same go to any version as the last driver support win7-8-10 with the same settings under Nvidia Control Panel

  • jag11jag11 Posts: 885

    thx, I'll use this tip later when I get home.

  • Hey, I hope it's not too late to reply but I used to have the same problem. From time to time the CPU usage went to 100% even though only the GPU (GTX 780) was checked. Considering my PC is fairly new (i7 6700K) it just didn't make any sense... after quite some testing I came up with an easy solution that works perfectly:

    Before rendering, make sure you hide all your Viewport. To do that in 4.8:
    - click on the "Aux Viewport" pane, which'll hide it
    - for the mid "Viewport", simply switch to "Render Settings" (so that the "Viewport" window is hidden as well)
    - make extra sure no Viewport is displayed
    - Render!

    This did the trick for me, hopefully it can help you too if you haven't figured out a solution yourself by now. ;)

    Greetings,
    Dave

  • MEC4DMEC4D Posts: 5,249

    The last NVIDIA driver updates screwed again something, and both GPU was in stand by mode again, I had to go back to only one driver  from the past to fix it and it was only 

    Version 355.98 of NVIDIA driver

    that does not affect the GPU while not used and less power consumption for cooling the clock 

    the GPU going back into idle mode the moment the render is done

    view ports does not affect the cards not when open DS or PS

    also if you want to render faster change the power usage under the NVIDIA Control Panel /Manage 3D settings / Power management mode

    be default it is set to [Adaptive ] changing to [Prefer Maximum performance ] will increase rendering speed in Iray 

    example you render normally your image for 110 min , the speed will be 70 min = 40 min less

     

    Also with the last bad driver updates DS does not always run the graphic cards and switch random to CPU when open DS , but that was the bad driver not DS doing it.

    After I rolled back to 355.98 everything working smooth as it should

    make sure you perform clean installation of the driver and not express 

     

     

  • fastbike1fastbike1 Posts: 4,078

    I have version 358.5 loaded and am not seeing that behavior. My OS is Win 7. My GPU is GTX780 and stays active in DS 4.8. The GPU goes back to idle as soon as the render is complete/stopped. The CPU does not go to 100% but stays at about 25% for the length of the render. CPU is off in DS.

Sign In or Register to comment.