Cuda since 2.72 huge vram memory usage on ubuntu. #44139

Closed
opened 2015-03-26 08:45:43 +01:00 by Mateusz Mielnicki · 15 comments

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.

**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.

Changed status to: 'Open'

Changed status to: 'Open'

Added subscriber: @MateuszMielnicki

Added subscriber: @MateuszMielnicki

see printscreen gtx580-prof.png

see printscreen ![gtx580-prof.png](https://archive.blender.org/developer/F155213/gtx580-prof.png)

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

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

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.

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.
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

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

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)

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)

Added subscriber: @SenHaerens

Added subscriber: @SenHaerens

@ThomasDinges: 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?

@ThomasDinges: 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?

Added subscriber: @mont29

Added subscriber: @mont29

Added subscriber: @DenisBelov

Added subscriber: @DenisBelov

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)

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)

Closed as duplicate of #43310

Closed as duplicate of #43310
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#44139
No description provided.