Big HDRIs and GPU limits

So this quite simple outdoor scene (3 characters) kept falling back to CPU rendering. I was a bit surprised because I have a decent card (MSI 2080). I removed as much geometry as I could but it still didn't help.

Then for reasons I won't go into, I had to change the HDRI I was using, and bingo the scene fits to GPU and renders in about 20 minutes.

The HDRI I was using was one of the excellent Cake & Bob ones, but appeently in this instance was too big for my 8GB GPU.

I supppose a HDRI is of corse treated as a texture that has to fit within GPU limits just like any other texture. Live and learn.

 

Comments

  • Serene NightSerene Night Posts: 17,704

    Hdris seem to tax daz studio resources for some reason. I love using them and the results I get, but they are frequently seem to cause Studio to crash.

    I find sometimes, if I restart the computer, and do an HDRI the first thing after reboot, I get enough memory to run a big one through. 

  • fred9803fred9803 Posts: 1,565

    Thanks SN. I did and always restart before a render but it didn't help in this instance.

    I don't blame the HDRI. I must have already been on the cusp of maxing out GPU memory and the HDRI just pushed me over it. The HDRI was only 370MB but apparently it was enough to tip me over the limit.

  • nicsttnicstt Posts: 11,715

    If you have a high res and low res version and background off/draw dome (or whatever its called); render with low res, then render without some figures with high res and composite them.

  • ProtozoonProtozoon Posts: 554

    I once loaded a hdri that dumped the scene to cpu to photoshop and reduced its size by half. I had dof so any details wasn’t seen, just the awesome lighting.

  • xyer0xyer0 Posts: 6,335
    Protozoon said:

    I once loaded a hdri that dumped the scene to cpu to photoshop and reduced its size by half. I had dof so any details wasn’t seen, just the awesome lighting.

    @Protozoon I don't understand. Can you restate that so I might get a clue to what you mean? (Thanks for the Trombone, Recital Hall, and other superlative instruments!)

  • ProtozoonProtozoon Posts: 554
    edited January 2019

    Hdris are .hdr or .ext or image files something like that up to 10000x5000 pixels or so. I loaded it into Photoshop and resized it. The file is found in ”my daz 3d folder/runtime/textures/[vendor]/[product]” or similar, cannot check that atm.

    Post edited by Protozoon on
  • nicsttnicstt Posts: 11,715

    You can open up exr files in photoshop and resize; they are image files, with greater dynamic range, but still image files.

  • Oso3DOso3D Posts: 15,085

    The problem is that you have two opposed goals.

    First, you want a backdrop that has sufficient detail that when you look at some small part of it, it looks nicely detailed. That requires a very large image.
    Second, you want an image with enough dynamic range so that it provides good image based lighting.
    I wish Environment Backdrop was a spherical projection rather than a simple image. mmm

    Ideally you'd have, say, a 10000 x 5000 8 bit image that's a backdrop, and maybe a 2000x1000 32 bit HDR for lighting.

    I've been trying to think of how one would pull this off, and... not a clue.

     

  • IvyIvy Posts: 7,165
    edited January 2019

    yes 8k HDRi eat up alot of GPU  for sure . That is what I started using panes for background less resouce intensive . I just render the background I want to use or the part of the HDRi I want to use first and then place the rendered image into the pane and use it as my background  its saves a ton of gpu, and you can use custom  Iray or default iray settings in the render settings tab, which usually give much better results than HDRi's 90% of the time anyway for lighting & adjustments. and using panes allows me to add more characters and props as well

    if you want to try it ,you can get my Free panes for back ground here  Ivy's Magic Pane prop  https://www.daz3d.com/forums/discussion/299011/ivy-s-magic-pane-prop#latest

    Post edited by Ivy on
Sign In or Register to comment.