Page MenuHome

Cuda since 2.72 huge vram memory usage on ubuntu.
Closed, DuplicatePublic

Description

System Information
AMD FX-9370 8 cores
ram 8gm ddr3 cl9
ubuntu 14.10 64bit
nvidia gt-630
nvidia gtx580- 3gb
nvidia 346,47
cuda toolkit 6.0

Blender Version
Broken: 2.72>2.74 daily and goosebery
Worked: (optional)
Bleder 2.63>2.71

Short description of error
Nvidia cards form x5 series have now huge memory usage in ubuntu. default cube scene 896mb with supported features and 1890mb with experimental features set.
Same problem is not present on same system with second card- gt630-which is newer.

Exact steps for others to reproduce the error
Just run blender on ubuntu with gtx 5xx card and check vram usage. Almost no space for anything there.

Details

Type
Bug

Event Timeline

Mateusz Mielnicki (mielnicki) raised the priority of this task from to Needs Triage by Developer.
Mateusz Mielnicki (mielnicki) updated the task description. (Show Details)

see printscreen

Thomas Dinges (dingto) lowered the priority of this task from Needs Triage by Developer to Needs Information from User.Mar 26 2015, 11:56 AM

Do you compile Blender yourself?
If yes, we recommend CUDA Toolkit 6.5, 6.0 is not supported anymore.

No i use official and daily build but not compileing myself.
tried upgrade to 6,5 same issue, without installed cuda toolkit blender do not see any cuda device even in official builds.
Running same time older and newer builds i can seee big difference in memory usage- about 2 times.

You mean you are running the test at the same time? If so this won't give any valuable results.

believe me, I tried it in all combinations, separately, together and with every available drivers for gtx580. One at the time, two at the time. Since 2.72 it is not working resonable. I'm looking for answer from quite time right now. Because now I have 3gb card and with experimental I have only 1gb of memory.... That is not much despite i need to render sss and hair with my character. For sure this is related to ubuntu + blender >2.72 ... It may be related to fact that since 2.72 blender also dont see my gpu for cuda until i install cuda toolkit- (official and daily builds)

@Thomas Dinges (dingto): I'm experiencing the same thing on Mac OS 10.8.5 using an Nvidia GTX 560 (1GB VRAM).

Last version I can render the BMW1M-MikePan scene on the GPU is 2.73a
I modified the following code snippet to display VRAM usage on OS X:
http://stackoverflow.com/questions/10110658/programmatically-get-gpu-percent-usage-in-os-x

When Blender is not started used VRAM is about 228,5 MB on my system.
When I launch & render the BMW scene in 2.73a used VRAM increases to 311,8 MB.
Blender 2.73a displays Mem: 141.10M Peak 141.10M

When I launch & render the BMW scene in 2.74 used VRAM increases to 528,1 MB.
Blender 2.74 displays Mem: 127.31M, Peak 128.78M
But rendering never starts: CUDA error: Out of memory in cuLaunchKernel(cuPathTrace, xblocks , yblocks, 1, xthreads, ythreads, 1, 0, 0, args, 0)

It appears to me I still have ±500MB VRAM left…
I downloaded the Blender binaries from the releases page, which have the CUDA kernel already precompiled.

Do you suggest replacing the GPU or is memory usage something which can be optimised for older (Fermi) GPU?

Bastien Montagne (mont29) raised the priority of this task from Needs Information from User to Normal.Apr 10 2015, 4:50 PM

I have similiar problem on win7 x64 with gtx580 1.5GB.
Tested on 2 identical computers. On scene that rendered fine on 2.71 blender, both have "CUDA error: Out of memory in cuLaunchKernel(cuPathTrace, xblocks , yblocks, 1, xthreads, ythreads, 1, 0, 0, args, 0)" on 2.72+ versions

Blender show memory peak:
2.71 - 1080 mb (ok)
2.72b - 1035 mb (crash)
2.74 - 695 mb (crash)