Iray GPU Render fails (even in very small memory scenes) - NVidia driver 418.81

Hello, I know there are several threads about Iray going to CPU rendering instead of GPU, but fact is that it's not about scene size of something like that..

I updated NVidia driver to the latest version (418.81) a few days ago, and redid now going through a clean install of the driver.

The scene is very small as you can see, so it's not a matter of memory, but Iray render throws an error on GPU and switches to CPU.

I wonder if it might be related to the driver (maybe others have the same problem with it?) or if it's something related to Daz..

Here is an extract from the log, it's on Daz 4.11 beta, but the same error is raised using the release build 4.10. I bolded the most useful infos (I guess)

 

2019-02-10 10:35:25.474 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Rendering with 1 device(s):
2019-02-10 10:35:25.474 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info :     CUDA device 0 (GeForce GTX 1080)
2019-02-10 10:35:25.474 Iray INFO - module:category(IRAY:RENDER):   1.0   IRAY   rend info : Rendering...
2019-02-10 10:35:25.475 Iray VERBOSE - module:category(IRAY:RENDER):   1.8   IRAY   rend progr: CUDA device 0 (GeForce GTX 1080): Processing scene...
2019-02-10 10:35:25.490 Iray VERBOSE - module:category(IRAY:RENDER):   1.4   IRAY   rend stat : Geometry memory consumption: 18.61 MiB (device 0), 0 B (host)
2019-02-10 10:35:26.219 Iray INFO - module:category(IRAY:RENDER):   1.4   IRAY   rend info : Importing lights for motion time 0
2019-02-10 10:35:26.219 Iray INFO - module:category(IRAY:RENDER):   1.4   IRAY   rend info : Initializing light hierarchy.
2019-02-10 10:35:26.219 Iray VERBOSE - module:category(IRAY:RENDER):   1.4   IRAY   rend stat : Texture memory consumption: 51.5905 MiB for 30 bitmaps (device 0)
2019-02-10 10:35:26.220 Iray INFO - module:category(IRAY:RENDER):   1.4   IRAY   rend info : Light hierarchy initialization took 0.00s
2019-02-10 10:35:26.221 Iray VERBOSE - module:category(IRAY:RENDER):   1.4   IRAY   rend stat : Lights memory consumption: 196 B (device 0)
2019-02-10 10:35:26.225 Iray VERBOSE - module:category(IRAY:RENDER):   1.4   IRAY   rend stat : Material measurement memory consumption: 0 B (GPU)
2019-02-10 10:35:26.264 Iray VERBOSE - module:category(IRAY:RENDER):   1.4   IRAY   rend stat : Materials memory consumption: 101.148 KiB (GPU)
2019-02-10 10:35:26.264 Iray VERBOSE - module:category(IRAY:RENDER):   1.4   IRAY   rend stat : PTX code (2.76 KiB) for sm61 generated in 0.0379s
2019-02-10 10:35:26.640 Iray INFO - module:category(IRAY:RENDER):   1.4   IRAY   rend info : JIT-linking wavefront kernel in 0.078s
2019-02-10 10:35:26.666 Iray INFO - module:category(IRAY:RENDER):   1.4   IRAY   rend info : JIT-linking mega kernel in 0.026s
2019-02-10 10:35:26.667 Iray INFO - module:category(IRAY:RENDER):   1.8   IRAY   rend info : CUDA device 0 (GeForce GTX 1080): Scene processed in 1.191s
2019-02-10 10:35:26.681 Iray INFO - module:category(IRAY:RENDER):   1.8   IRAY   rend info : CUDA device 0 (GeForce GTX 1080): Allocated 159.082 MiB for frame buffer
2019-02-10 10:35:26.737 Iray INFO - module:category(IRAY:RENDER):   1.8   IRAY   rend info : CUDA device 0 (GeForce GTX 1080): Allocated 1.6875 GiB of work space (2048k active samples in 0.055s)

2019-02-10 10:35:26.770 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(304): Iray ERROR - module:category(IRAY:RENDER):   1.11  IRAY   rend error: CUDA device 0 (GeForce GTX 1080): Kernel [2] (LightSamplingFS   ) failed after 0.016s
2019-02-10 10:35:26.771 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(304): Iray ERROR - module:category(IRAY:RENDER):   1.11  IRAY   rend error: CUDA device 0 (GeForce GTX 1080): an illegal instruction was encountered (while launching CUDA renderer in core_renderer_wf.cpp:771)
2019-02-10 10:35:26.771 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(304): Iray ERROR - module:category(IRAY:RENDER):   1.11  IRAY   rend error: CUDA device 0 (GeForce GTX 1080): Failed to launch renderer
2019-02-10 10:35:26.772 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(304): Iray ERROR - module:category(IRAY:RENDER):   1.8   IRAY   rend error: CUDA device 0 (GeForce GTX 1080): Device failed while rendering
2019-02-10 10:35:26.772 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(304): Iray WARNING - module:category(IRAY:RENDER):   1.8   IRAY   rend warn : All available GPUs failed.
2019-02-10 10:35:26.772 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(304): Iray WARNING - module:category(IRAY:RENDER):   1.8   IRAY   rend warn : No devices activated. Enabling CPU fallback.
2019-02-10 10:35:26.773 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(304): Iray ERROR - module:category(IRAY:RENDER):   1.8   IRAY   rend error: CUDA device 0 (GeForce GTX 1080): an illegal instruction was encountered (while initializing memory buffer)
2019-02-10 10:35:26.773 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(304): Iray ERROR - module:category(IRAY:RENDER):   1.8   IRAY   rend error: All workers failed: aborting render

 

then it switches to CPU rendering.

Sorry I don't know how to insert the log into a frame or something :\

Thanks in advance to anyone who might help or give me hints

Comments

  • nicsttnicstt Posts: 11,715
    edited February 2019

    Revert to your previous driver; if it works then you know the issue is nvidia. This is not an unusual occurrance with drivers; they get released with new bugs in - fixes often appear in the form of a new driver release.

    ... Just in case, you could see if you get the same issue with Studio release and not beta.

    Post edited by nicstt on
  • that driver did that. roll back a version

  • youieyouie Posts: 2

    Thanks, reinstalled previous driver version and solved the problem

  • Kyan001Kyan001 Posts: 75

    It keeps on happening to me too, what driver version have you installed?

  • Keeps happening to me and I have tried numerous different drivers.  am tempted to try to go back to Studio 4.10

     

  • kenshaw011267kenshaw011267 Posts: 3,805

    You need to provide more info than that for anyone to help. 

    How does the render fail? how long does it take to crash? When you tried the different drivers did you use DDU to remove the previous one? Did you get the newest available driver from Nvidia's, and only Nvidia's, site? Have you checked both DS and the Nvidia control panel to make sure DS is setup and allowed to use the GPU for rendering?

  • SlipmeisterSlipmeister Posts: 21
    edited July 2019

    It appears to be a memory issue....some renders work fine with the GPU and others don't...just keeps saying 'Unable to allocate ** bytes from ** bytes of available device memory'. the figures always change.

    It appears they changed the specs for Iray and my GPU no longer meets the requirements.

    Post edited by Slipmeister on
  • Richard HaseltineRichard Haseltine Posts: 102,712

    If soem renders go to GPU OK then it isn't that it no longer works, but it may be that it is needing more memory. Do you have the denoiser enabled?

  • kenshaw011267kenshaw011267 Posts: 3,805

    It appears to be a memory issue....some renders work fine with the GPU and others don't...just keeps saying 'Unable to allocate ** bytes from ** bytes of available device memory'. the figures always change.

    It appears they changed the specs for Iray and my GPU no longer meets the requirements.

    Something appears to have changed with how much"overhead" the Iray engine needs on a card. Some scenes may not render on the card and some may fail intermittently. I've been having this issue since the public 4.11 release.

  • If soem renders go to GPU OK then it isn't that it no longer works, but it may be that it is needing more memory. Do you have the denoiser enabled?

    Denoiser? What does that do...it currently set to 'off'

  • It appears to be a memory issue....some renders work fine with the GPU and others don't...just keeps saying 'Unable to allocate ** bytes from ** bytes of available device memory'. the figures always change.

    It appears they changed the specs for Iray and my GPU no longer meets the requirements.

    Something appears to have changed with how much"overhead" the Iray engine needs on a card. Some scenes may not render on the card and some may fail intermittently. I've been having this issue since the public 4.11 release.

    This is where I figured out what was going wrong...will wait to see if they change anything again.

  • kenshaw011267kenshaw011267 Posts: 3,805

    If soem renders go to GPU OK then it isn't that it no longer works, but it may be that it is needing more memory. Do you have the denoiser enabled?

    Denoiser? What does that do...it currently set to 'off'

    It uses the existing resolved pixels to interpolate the not yet resolved ones. This can possibly result in a much faster render.

Sign In or Register to comment.