GeForce GTX 960 CUDA error: out of memory in cuArrayCreate(&handle,&desc) #47463

Closed
opened 2016-02-18 02:19:26 +01:00 by Joshua · 7 comments

System Information
NVIDIA System Information report created on: 02/17/2016 19:08:26
System name: DESKTOP-QCN781B

[Display]
Operating System: Windows 10 Home, 64-bit
DirectX version: 12.0
GPU processor: GeForce GTX 960
Driver version: 361.43
Direct3D API version: 12
Direct3D feature level: 12_1
CUDA Cores: 1024
Core clock: 1278 MHz
Memory data rate: 7010 MHz
Memory interface: 128-bit
Memory bandwidth: 112.16 GB/s
Total available graphics memory: 6115 MB
Dedicated video memory: 2048 MB GDDR5
System video memory: 0 MB
Shared system memory: 4067 MB
Video BIOS version: 84.06.14.00.62
IRQ: Not used
Bus: PCI Express x16 Gen3
Device Id: 10DE 1401 29663842
Part Number: G301 0000

[Components]

NvGFTrayPluginr.dll 2.9.1.22 NVIDIA GeForce Experience
NvGFTrayPlugin.dll 2.9.1.22 NVIDIA GeForce Experience
nvui.dll 8.17.13.6143 NVIDIA User Experience Driver Component
nvxdsync.exe 8.17.13.6143 NVIDIA User Experience Driver Component
nvxdplcy.dll 8.17.13.6143 NVIDIA User Experience Driver Component
nvxdbat.dll 8.17.13.6143 NVIDIA User Experience Driver Component
nvxdapix.dll 8.17.13.6143 NVIDIA User Experience Driver Component
NVCPL.DLL 8.17.13.6143 NVIDIA User Experience Driver Component
nvCplUIR.dll 8.1.800.0 NVIDIA Control Panel
nvCplUI.exe 8.1.800.0 NVIDIA Control Panel
nvWSSR.dll 6.14.13.6143 NVIDIA Workstation Server
nvWSS.dll 6.14.13.6143 NVIDIA Workstation Server
nvViTvSR.dll 6.14.13.6143 NVIDIA Video Server
nvViTvS.dll 6.14.13.6143 NVIDIA Video Server
nvLicensingS.dll 6.14.13.6143 NVIDIA Licensing Server
NVSTVIEW.EXE 7.17.13.6143 NVIDIA 3D Vision Photo Viewer
NVSTTEST.EXE 7.17.13.6143 NVIDIA 3D Vision Test Application
NVSTRES.DLL 7.17.13.6143 NVIDIA 3D Vision Module
nvDispSR.dll 6.14.13.6143 NVIDIA Display Server
NVMCTRAY.DLL 8.17.13.6143 NVIDIA Media Center Library
nvDispS.dll 6.14.13.6143 NVIDIA Display Server
PhysX 09.15.0428 NVIDIA PhysX
NVCUDA.DLL 6.14.13.6143 NVIDIA CUDA 8.0.5 driver
nvGameSR.dll 6.14.13.6143 NVIDIA 3D Settings Server
nvGameS.dll 6.14.13.6143 NVIDIA 3D Settings Server

Blender Version
Broken: 2.76b f337fea

Short description of error
Upon entering render mode or starting the final render, about 2 seconds in the GPU crashes with the following displayed:

CUDA error: out of memory in cuArrayCreate(&handle,&desc)

I know that my GPU should be able to handle this scene as it has 2000MB of video memory available at any time, but the error shows up only when Blender reachs 900MB. I have no other programs open, but the display is in fact using the GPU rather than CPU.

Exact steps for others to reproduce the error
I don't think it's possible to reproduce the error without the same exact graphics card and display drivers, but I have tried to render the scene in other versions of Blender, but to no avail. Here should be the project:

untitled.blend

untitled.blend1

**System Information** NVIDIA System Information report created on: 02/17/2016 19:08:26 System name: DESKTOP-QCN781B [Display] Operating System: Windows 10 Home, 64-bit DirectX version: 12.0 GPU processor: GeForce GTX 960 Driver version: 361.43 Direct3D API version: 12 Direct3D feature level: 12_1 CUDA Cores: 1024 Core clock: 1278 MHz Memory data rate: 7010 MHz Memory interface: 128-bit Memory bandwidth: 112.16 GB/s Total available graphics memory: 6115 MB Dedicated video memory: 2048 MB GDDR5 System video memory: 0 MB Shared system memory: 4067 MB Video BIOS version: 84.06.14.00.62 IRQ: Not used Bus: PCI Express x16 Gen3 Device Id: 10DE 1401 29663842 Part Number: G301 0000 [Components] NvGFTrayPluginr.dll 2.9.1.22 NVIDIA GeForce Experience NvGFTrayPlugin.dll 2.9.1.22 NVIDIA GeForce Experience nvui.dll 8.17.13.6143 NVIDIA User Experience Driver Component nvxdsync.exe 8.17.13.6143 NVIDIA User Experience Driver Component nvxdplcy.dll 8.17.13.6143 NVIDIA User Experience Driver Component nvxdbat.dll 8.17.13.6143 NVIDIA User Experience Driver Component nvxdapix.dll 8.17.13.6143 NVIDIA User Experience Driver Component NVCPL.DLL 8.17.13.6143 NVIDIA User Experience Driver Component nvCplUIR.dll 8.1.800.0 NVIDIA Control Panel nvCplUI.exe 8.1.800.0 NVIDIA Control Panel nvWSSR.dll 6.14.13.6143 NVIDIA Workstation Server nvWSS.dll 6.14.13.6143 NVIDIA Workstation Server nvViTvSR.dll 6.14.13.6143 NVIDIA Video Server nvViTvS.dll 6.14.13.6143 NVIDIA Video Server nvLicensingS.dll 6.14.13.6143 NVIDIA Licensing Server NVSTVIEW.EXE 7.17.13.6143 NVIDIA 3D Vision Photo Viewer NVSTTEST.EXE 7.17.13.6143 NVIDIA 3D Vision Test Application NVSTRES.DLL 7.17.13.6143 NVIDIA 3D Vision Module nvDispSR.dll 6.14.13.6143 NVIDIA Display Server NVMCTRAY.DLL 8.17.13.6143 NVIDIA Media Center Library nvDispS.dll 6.14.13.6143 NVIDIA Display Server PhysX 09.15.0428 NVIDIA PhysX NVCUDA.DLL 6.14.13.6143 NVIDIA CUDA 8.0.5 driver nvGameSR.dll 6.14.13.6143 NVIDIA 3D Settings Server nvGameS.dll 6.14.13.6143 NVIDIA 3D Settings Server **Blender Version** Broken: 2.76b f337fea **Short description of error** Upon entering render mode or starting the final render, about 2 seconds in the GPU crashes with the following displayed: CUDA error: out of memory in cuArrayCreate(&handle,&desc) I know that my GPU should be able to handle this scene as it has 2000MB of video memory available at any time, but the error shows up only when Blender reachs 900MB. I have no other programs open, but the display is in fact using the GPU rather than CPU. **Exact steps for others to reproduce the error** I don't think it's possible to reproduce the error without the same exact graphics card and display drivers, but I have tried to render the scene in other versions of Blender, but to no avail. Here should be the project: [untitled.blend](https://archive.blender.org/developer/F283608/untitled.blend) [untitled.blend1](https://archive.blender.org/developer/F283609/untitled.blend1)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @MrSquer

Added subscriber: @MrSquer

Added subscriber: @brecht

Added subscriber: @brecht

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Brecht Van Lommel self-assigned this 2016-02-18 20:45:27 +01:00

This doesn't look like a bug unfortunately. Cycles requires a certain amount of working memory, which can be hundreds of megabytes, and the operating system will also use a significant amount of memory. This memory usage is not displayed in Blender, but can make it possible to run out of memory when rendering.

We're working on reducing the Cycles working memory, though even if we get that lower you still won't be able to use the full 2GB, for that you would need a separate GPU for rendering and for display.

More technical details in #46928 (GTX 970 memory issue), but basically this is not a bug but something that is something that we continuously try to optimize, like reducing render time, but will never get to zero.

This doesn't look like a bug unfortunately. Cycles requires a certain amount of working memory, which can be hundreds of megabytes, and the operating system will also use a significant amount of memory. This memory usage is not displayed in Blender, but can make it possible to run out of memory when rendering. We're working on reducing the Cycles working memory, though even if we get that lower you still won't be able to use the full 2GB, for that you would need a separate GPU for rendering and for display. More technical details in #46928 (GTX 970 memory issue), but basically this is not a bug but something that is something that we continuously try to optimize, like reducing render time, but will never get to zero.

Added subscriber: @mib2berlin

Added subscriber: @mib2berlin

Hi, can please upload a .blend with packed textures?
Without it only use 575 MB on my headless GTX 670 2 GB.
Do you have another card for display?
Windows use 3-400 MB alone.

CHeers, mib

Hi, can please upload a .blend with packed textures? Without it only use 575 MB on my headless GTX 670 2 GB. Do you have another card for display? Windows use 3-400 MB alone. CHeers, mib
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
3 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#47463
No description provided.