GPUs out of memory?

Hello,

I keep getting an out of memory error when I try to use the IPR preview using vray RT with my GPUs. I have 2x GTX 970s. I’ve tried using both of them, one of them and Hybrid with the CPU but the same thing. What I don’t understand is why it’s happening when I can use IPR with my CPU only no problems. The scene isn’t even big. It’s just a experimental scene with 2x hairs, a floor and some books…


What happens if you change the texture mode from “full size” to “resize textures” (the default 512 is a bit too low, you can try 1024 or a bit more for example)?
Also, keep in mind that the scene has to fit on both GPUs. If you use one of them for display, the viewport (or other apps) could have allocated some memory on it as well. Windows 10 had some version which could allocate up to 1GB of GPU memory by default. The GPUs that are used for monitor are marked with * in the V-Ray GPU device select list.

Best,
Blago.

Neither worked. I’ve got my spare GPU enabled and left the other for the viewport and tried what you suggested but neither worked.

Uh, sorry for that.
Is it possible for you to share the scene so we can check what is going on?

Best,
Blago.

Our QAs will inspect the scene and we will get back. Thanks!

Best,
Blago.

but thats how it would be in real life, no? unless you compress the shit out of it with a slog or vlog. In the end, if you would photograph it and edit the RAW file, you would bring down the highlights to get as much info out of the lamp as possible. But since you can export HDR images, you wont have any problem editing the blown out parts in post…

What is your V-Ray version? Can you update and try rendering the scene again?

This is really confusing. What should I be using for previewing and working in real-time? There’s 3x options in the target: active shade, production and iteractive. At the moment it’s in productive where I’ve left it from the beginning. I read the documentation but I couldnt understand the difference.

First you must choose what will be your Production (final) engine. For keeping things the same between the real-time work and final frames, the engine for both must be the same.

So if you want to use your GPUs (as you pointed out) it will be best if you update to the newest beta (Next 2), as it contains the best V-Ray GPU version released yet.

3.04 (I guess you mean 3.4) is pretty old and V-Ray GPU has evolved a lot since that.

Sorry I meant 3.60. I don’t know why i said 3.04. I don’t believe I have access to the Beta versions as I’m on a EDU licence?

@matanov any chance of getting a solution to this??

any chance of getting a solution to this??

You’ve sent only the scene file without the textures and it renders fine on my machine (3.60.04).

I’ve sent you screenshots of the error I’m getting and I’ve waited patiently (10 days now). So what exactly do you suggest I do considering I’m paying money for this and getting very little support?.
Please see attached.

https://drive.google.com/open?id=1x3iPD2jDJBCwF1jdo0SsBQnUia1U-Yyi

Try rendering with resized textures (the default mode is Full size).

This was already suggested in the 2nd comment by Blago…

Lower the resize value more OR use less textures OR buy a GPU with more then 4 GB OR use only the device that is not connected to the monitor (Windows and 3ds max use a lot of memory too).

1. Lowering the resize does nothing
2. Turning off textures all together and using just an override ‘grey’ vray material produced the same error, leading me to believe it’s not a materiel problem.
3. I have 2x 970s in SLI (8GB) ram, not 4gb
4. I’ve tried 1x GPU, 2x GPUs, and Hybrid - same error.

Did it render on your end after I re-sent you the scene with all the textures?

1. There should be a noticeable change in the memory consumption. I’m getting around 2.8 GB usage with Resize textures = 512
2. I get 2.2 GB usage with grey override on a card that is not connected to the monitor. Are you sure you are setting the override in the right place?
3. RAM does not stack that way, all resources must be loaded on every GPU, so you are limited by the card with the less memory (this rule does not apply on cards that support NVLINK)
4. The 1xGPU try - was it with the card that is not connect to the monitor? There is a little star in front of the connected GPU in the device selector

There are 3rd party softwares that can monitor your GPU usage, like MSI AfterBurner. Also you can check these pages -

Also try with removed SLI connection.