IRAY rend error: CUDA device 0 (GeForce GTX 1050 Ti): Not enough memory for kernel launches (27.66

Hello to all Users,

since few days I running in the same situation while rendering or using Nvidia in viewport... starting rendering, but nothing happens and the process is interupted automatically... any idea why? Thanks.

I have geforce gtx 1050ti with 4gb of ram, 16gb ram windows 10 64-bit

The errorlog showing the following

2021-02-25 20:28:05.071 Iray [INFO] - IRAY:RENDER ::   1.3   IRAY   rend info : CUDA device 0 (GeForce GTX 1050 Ti): Scene processed in 24.532s
2021-02-25 20:28:05.077 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.3   IRAY   rend error: CUDA device 0 (GeForce GTX 1050 Ti): Not enough memory for kernel launches (27.661 MiB (114.286 MiB) required, 19.546 MiB available). Cannot allocate framebuffer.
2021-02-25 20:28:05.077 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.3   IRAY   rend error: CUDA device 0 (GeForce GTX 1050 Ti): Failed to setup device frame buffer
2021-02-25 20:28:05.081 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.3   IRAY   rend error: CUDA device 0 (GeForce GTX 1050 Ti): Device failed while rendering
2021-02-25 20:28:05.082 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER ::   1.3   IRAY   rend warn : CUDA device 0 (GeForce GTX 1050 Ti) ran out of memory and is temporarily unavailable for rendering.
2021-02-25 20:28:05.082 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER ::   1.3   IRAY   rend warn : All available GPUs failed.
2021-02-25 20:28:05.086 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.3   IRAY   rend error: Fallback to CPU not allowed.
2021-02-25 20:28:05.086 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.3   IRAY   rend error: All workers failed: aborting render
2021-02-25 20:28:05.086 Iray Render error: Internal rendering error.
2021-02-25 20:28:05.248 Saved image: C:\Users\user\AppData\Roaming\DAZ 3D\Studio4\temp\render\r.png
2021-02-25 20:28:05.256 Finished Rendering
2021-02-25 20:28:05.275 Total Rendering Time: 33.8 seconds
2021-02-25 20:28:16.830 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : Device statistics:
2021-02-25 20:28:16.830 Iray [INFO] - IRAY:RENDER ::   1.0   IRAY   rend info : CUDA device 0 (GeForce GTX 1050 Ti):      0 iterations, 24.548s init, 0.005s render

 

 

Comments

  • prixatprixat Posts: 1,590
    Have you got the latest nvidia driver?
  • ebergerlyebergerly Posts: 3,255

    Isn't that what happens when the scene requires more GPU VRAM than you have, and it runs out, and you de-selected the CPU so it can't participate either, so it just crashes? I would check my Task Manager where it shows GPU VRAM usage and see if it gets up near 4GB. 

  • takezo_3001takezo_3001 Posts: 1,997
    edited February 2021

    IRAY:RENDER ::   1.3   IRAY   rend warn : CUDA device 0 (GeForce GTX 1050 Ti) ran out of memory and is temporarily unavailable for rendering.
    2021-02-25 20:28:05.082 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER ::   1.3   IRAY   rend warn : All available GPUs failed.
    2021-02-25 20:28:05.086 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.3   IRAY   rend error: Fallback to CPU not allowed.
    2021-02-25 20:28:05.086 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.3   IRAY   rend error: All workers failed: aborting render

    There's your problem, the GTX 1050 only has 4Gb VRAM, not nearly enough for what you need, 8Gb is doable, 10Gb is attainable, but 24Gb is ideal! :) 

    Post edited by takezo_3001 on
  • takezo_3001 said:

    IRAY:RENDER ::   1.3   IRAY   rend warn : CUDA device 0 (GeForce GTX 1050 Ti) ran out of memory and is temporarily unavailable for rendering.
    2021-02-25 20:28:05.082 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER ::   1.3   IRAY   rend warn : All available GPUs failed.
    2021-02-25 20:28:05.086 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.3   IRAY   rend error: Fallback to CPU not allowed.
    2021-02-25 20:28:05.086 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.3   IRAY   rend error: All workers failed: aborting render

    There's your problem, the GTX 1050 only has 4Gb VRAM, not nearly enough for what you need, 8Gb is doable, 10Gb is attainable, but 24Gb is ideal! :) 

    it's an empty scene withouth background and one character... I did more complex scenes with this card without any issue.

  • prixat said:

    Have you got the latest nvidia driver?

    Yes, I am using studio driver... should I try the game driver version?

  • mattoceanmattocean Posts: 23
    edited February 2021

    ebergerly said:

    Isn't that what happens when the scene requires more GPU VRAM than you have, and it runs out, and you de-selected the CPU so it can't participate either, so it just crashes? I would check my Task Manager where it shows GPU VRAM usage and see if it gets up near 4GB. 

    sure not, it's so when I start Daz3d an load the scene, it starts rendering. When I interrupt the process and want to restart the render, I got the error message as posted above... the same happening, when I make a new scene and want to render.

    Post edited by mattocean on
  • prixatprixat Posts: 1,590

    Check the subdivision setting on that character.

    It also sounds like it's not releasing memory for a new scene, what is the actual driver version? (I'm using the 461.09 game driver on a 750ti without problems.)

  • ebergerlyebergerly Posts: 3,255

    mattocean said:

    ebergerly said:

    Isn't that what happens when the scene requires more GPU VRAM than you have, and it runs out, and you de-selected the CPU so it can't participate either, so it just crashes? I would check my Task Manager where it shows GPU VRAM usage and see if it gets up near 4GB. 

    sure not, it's so when I start Daz3d an load the scene, it starts rendering. When I interrupt the process and want to restart the render, I got the error message as posted above... the same happening, when I make a new scene and want to render.

    I don't understand. You're saying that when you start rendering, then hit Cancel in the Iray render preview window and then restart the render you get that message?

    Also, how long do you wait before you hit Cancel?   

  • takezo_3001takezo_3001 Posts: 1,997

    mattocean said:

    takezo_3001 said:

    IRAY:RENDER ::   1.3   IRAY   rend warn : CUDA device 0 (GeForce GTX 1050 Ti) ran out of memory and is temporarily unavailable for rendering.
    2021-02-25 20:28:05.082 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [WARNING] - IRAY:RENDER ::   1.3   IRAY   rend warn : All available GPUs failed.
    2021-02-25 20:28:05.086 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.3   IRAY   rend error: Fallback to CPU not allowed.
    2021-02-25 20:28:05.086 WARNING: ..\..\..\..\..\src\pluginsource\DzIrayRender\dzneuraymgr.cpp(359): Iray [ERROR] - IRAY:RENDER ::   1.3   IRAY   rend error: All workers failed: aborting render

    There's your problem, the GTX 1050 only has 4Gb VRAM, not nearly enough for what you need, 8Gb is doable, 10Gb is attainable, but 24Gb is ideal! :) 

    it's an empty scene withouth background and one character... I did more complex scenes with this card without any issue.

    That's what the error logs read, it's right there in the logs themselves, you ran out of VRAM and the rendering engine quit; also, it is most likely that you were using something on your PC that was also using VRAM and DS drained what was not being used...

  • prixat said:

    Check the subdivision setting on that character.

    It also sounds like it's not releasing memory for a new scene, what is the actual driver version? (I'm using the 461.09 game driver on a 750ti without problems.)

    Yeah, subdivision lvl was at its maximum (3 and 6). After switching it to standart (1 and 2) I've got my render speed back. Thank You, kind Sir!

  • chezhousechezhouse Posts: 4

    azgomsocohalatzgtf said:

    prixat said:

    Check the subdivision setting on that character.

    It also sounds like it's not releasing memory for a new scene, what is the actual driver version? (I'm using the 461.09 game driver on a 750ti without problems.)

    Yeah, subdivision lvl was at its maximum (3 and 6). After switching it to standart (1 and 2) I've got my render speed back. Thank You, kind Sir!

    Thanks much for the information about the subdivision level.  I was having a similar problem where my initial render would use the GPU (6Gb) but then would pop back to CPU rendering right after (much slower).   I checked the subdivision level on the character and it was set to 4, which was too high for my card.   After I dropped the subdivision down to 2, I had no problem keeping the rendering relatively fast - primarily on the GPU.

     

Sign In or Register to comment.