Using only one GPU will render successfully, but multiple GPUs fails to render. #70341

Closed
opened 2019-09-29 04:14:02 +02:00 by Naoki Mochizuki · 3 comments

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce RTX 2070 and RTX 2080/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.30

Blender Version
Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: f6cb5f5449
Worked: (optional)

Short description of error
When I render attached .blend file by Cycles withone GPU (RTX 2070), then rendering will successfully done if the other GPU (RTX 2080) is removed from my motherboard.
If I render it by Cycles with multiple GPUs (Geforce RTX 2070 and 2080), the following error occurs and Blender fails to render.

CUDA error at cuCtxCreate: Out of memory

Refer to the Cycles GPU rendering documentation for possible solutions:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

CUDA error: Invalid value in cuCtxDestroy(cuContext), line 326
CUDA error: Out of memory in mem_alloc_result, line 861

Refer to the Cycles GPU rendering documentation for possible solutions:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

CUDA error: Out of memory in cuModuleGetGlobal(&cumem, &cubytes, cuModule, bind_name.c_str()), line 1068
CUDA error: Out of memory in cuMemcpyHtoD(cumem, (void *)&ptr, cubytes), line 1078
CUDA error: Out of memory in mem_alloc_result, line 861

Refer to the Cycles GPU rendering documentation for possible solutions:
https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

CUDA error: Out of memory in cuModuleGetGlobal(&cumem, &cubytes, cuModule, bind_name.c_str()), line 1068
CUDA error: Out of memory in cuMemcpyHtoD(cumem, (void *)&ptr, cubytes), line 1078
CUDA error: Out of memory in mem_alloc_result, line 861
CUDA error: Out of memory in cuModuleGetGlobal(&cumem, &cubytes, cuModule, bind_name.c_str()), line 1068
CUDA error: Out of memory in cuMemcpyHtoD(cumem, (void *)&ptr, cubytes), line 1078
CUDA error: Out of memory in mem_alloc_result, line 861
CUDA error: Out of memory in cuModuleGetGlobal(&cumem, &cubytes, cuModule, bind_name.c_str()), line 1068
CUDA error: Out of memory in cuMemcpyHtoD(cumem, (void *)&ptr, cubytes), line 1078
Error: CUDA error at cuCtxCreate: Out of memory

But why multiple GPUs (RTX 2070 and 2080) fails to render it, though using only one GPU (RTX 2070) will render it successfully ?
And half of GPUs memories were used in the rendering (this was confirmed by watching task managers), I think this error is due to using multiple GPUs.
error.png

Exact steps for others to reproduce the error
Render by Cycles attached .blend file with RTX 2070 only (RTX 2080 must be removed from your motherboard), which will be successfully done.
Connect RTX 2080 and render it by Cycles with multiple GPUs, which fails to render it.truncated_dodeca.blend

**System Information** Operating system: Windows-10-10.0.17763 64 Bits Graphics card: GeForce **RTX 2070 and RTX 2080**/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 436.30 **Blender Version** Broken: version: 2.80 (sub 75), branch: master, commit date: 2019-07-29 14:47, hash: `f6cb5f5449` Worked: (optional) **Short description of error** When I render attached .blend file by Cycles with**one GPU (RTX 2070)**, then rendering will successfully done **if the other GPU (RTX 2080) is removed from my motherboard**. If I render it by Cycles with **multiple GPUs (Geforce RTX 2070 and 2080)**, the following error occurs and Blender fails to render. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CUDA error at cuCtxCreate: Out of memory Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html CUDA error: Invalid value in cuCtxDestroy(cuContext), line 326 CUDA error: Out of memory in mem_alloc_result, line 861 Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html CUDA error: Out of memory in cuModuleGetGlobal(&cumem, &cubytes, cuModule, bind_name.c_str()), line 1068 CUDA error: Out of memory in cuMemcpyHtoD(cumem, (void *)&ptr, cubytes), line 1078 CUDA error: Out of memory in mem_alloc_result, line 861 Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html CUDA error: Out of memory in cuModuleGetGlobal(&cumem, &cubytes, cuModule, bind_name.c_str()), line 1068 CUDA error: Out of memory in cuMemcpyHtoD(cumem, (void *)&ptr, cubytes), line 1078 CUDA error: Out of memory in mem_alloc_result, line 861 CUDA error: Out of memory in cuModuleGetGlobal(&cumem, &cubytes, cuModule, bind_name.c_str()), line 1068 CUDA error: Out of memory in cuMemcpyHtoD(cumem, (void *)&ptr, cubytes), line 1078 CUDA error: Out of memory in mem_alloc_result, line 861 CUDA error: Out of memory in cuModuleGetGlobal(&cumem, &cubytes, cuModule, bind_name.c_str()), line 1068 CUDA error: Out of memory in cuMemcpyHtoD(cumem, (void *)&ptr, cubytes), line 1078 Error: CUDA error at cuCtxCreate: Out of memory ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ But **why multiple GPUs (RTX 2070 and 2080) fails to render it, though using only one GPU (RTX 2070) will render it successfully ?** And half of GPUs memories were used in the rendering (this was confirmed by watching task managers), I think this error is due to using multiple GPUs. ![error.png](https://archive.blender.org/developer/F7779365/error.png) **Exact steps for others to reproduce the error** Render by Cycles attached .blend file with RTX 2070 only (**RTX 2080 must be removed from your motherboard**), which will be successfully done. Connect RTX 2080 and render it by Cycles with multiple GPUs, which fails to render it.[truncated_dodeca.blend](https://archive.blender.org/developer/F7779148/truncated_dodeca.blend)

Added subscriber: @tamaki_py

Added subscriber: @tamaki_py

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Naoki Mochizuki self-assigned this 2019-09-29 10:11:29 +02:00

This was probably improved by installing a NDIVIA studio driver (not a game play driver).

This was probably improved by installing a NDIVIA studio driver (not a game play driver).
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
1 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#70341
No description provided.