DUAL GPU render with cycles during 3D view port rendering leads CUDA error. #73353

Closed
opened 2020-01-24 04:47:49 +01:00 by NXSK · 18 comments

System Information
Operating system: windows 10 1903
Graphics card: 2 * GEFORCE GTX 1080ti NVIDIA 441.87

Blender Version
Broken: 2.81a and same with 2.82 daily build ( Jan 22th 2020)

Short description of error
I'm using AMD 3950x and 2 GTX 1080tis.

The render engine is cycles. When 3D view is processing rendering, simply press F12 to render.
After the render finished, The 3D view port shows canceled on the top left side, the view port render failed.
And if you press F12 to render again. the blender render view shows CUDA error at cuCtxCreate : render failed.
In the render properties panel, in this case, sometimes the rendering device GPU is greyed out, can not be choosen.
I can only choose CPU as render device, and CPU workes fine.
Reboot blender the problem will be solved, but if I try F12 rendering while 3D view port is rendering, the issue comes again.

I tested this process with my intel i7 6800K and single GTX 1080 machine. It works totally fine.
But with 2 1080tis, it happens at nearly 100% chance no matter I choose CPU+GPU or single GPU. Sometimes blender crashes instantly.

canceled.jpg

cuda error.jpg

3dview.jpg

I asked my friend who is using AMD 3700x and Nvidia 2070 to follow my step to test. He don't have the same issue. 3700x and 2070 works fine.

So I tested to render with one GPU and then another. The result is the first slot GPU works fine, but the second slot GPU has this issue. When rendering with the second slot GPU, the render cannot finish and blender not responding.

Exact steps for others to reproduce the error
First It happens only on 1 GPU. Another works fine.
Start blender, switch render to cycles and device to GPU compute.
Switch 3D view port to rendered. Before path tracing finishes, press F12 to render.
CUDAerror.blend

**System Information** Operating system: windows 10 1903 Graphics card: 2 * GEFORCE GTX 1080ti NVIDIA 441.87 **Blender Version** Broken: 2.81a and same with 2.82 daily build ( Jan 22th 2020) **Short description of error** I'm using AMD 3950x and 2 GTX 1080tis. The render engine is cycles. When 3D view is processing rendering, simply press F12 to render. After the render finished, The 3D view port shows canceled on the top left side, the view port render failed. And if you press F12 to render again. the blender render view shows CUDA error at cuCtxCreate : render failed. In the render properties panel, in this case, sometimes the rendering device GPU is greyed out, can not be choosen. I can only choose CPU as render device, and CPU workes fine. Reboot blender the problem will be solved, but if I try F12 rendering while 3D view port is rendering, the issue comes again. I tested this process with my intel i7 6800K and single GTX 1080 machine. It works totally fine. But with 2 1080tis, it happens at nearly 100% chance no matter I choose CPU+GPU or single GPU. Sometimes blender crashes instantly. ![canceled.jpg](https://archive.blender.org/developer/F8298547/canceled.jpg) ![cuda error.jpg](https://archive.blender.org/developer/F8298549/cuda_error.jpg) ![3dview.jpg](https://archive.blender.org/developer/F8298551/3dview.jpg) I asked my friend who is using AMD 3700x and Nvidia 2070 to follow my step to test. He don't have the same issue. 3700x and 2070 works fine. So I tested to render with one GPU and then another. The result is the first slot GPU works fine, but the second slot GPU has this issue. When rendering with the second slot GPU, the render cannot finish and blender not responding. **Exact steps for others to reproduce the error** First It happens only on 1 GPU. Another works fine. Start blender, switch render to cycles and device to GPU compute. Switch 3D view port to rendered. Before path tracing finishes, press F12 to render. [CUDAerror.blend](https://archive.blender.org/developer/F8298556/CUDAerror.blend)
Author

Added subscriber: @NXSK

Added subscriber: @NXSK
Author

Changed status from 'Needs Triage' to: 'Confirmed'

Changed status from 'Needs Triage' to: 'Confirmed'
NXSK changed title from AMD CPU machine render with cycles during 3D view port rendering leads CUDA error. to AMD 3950x machine render with cycles during 3D view port rendering leads CUDA error. 2020-01-25 04:10:10 +01:00
NXSK changed title from AMD 3950x machine render with cycles during 3D view port rendering leads CUDA error. to DUAL GPU render with cycles during 3D view port rendering leads CUDA error. 2020-01-26 17:00:14 +01:00

Added subscriber: @kosblend

Added subscriber: @kosblend

Getting the same issue on latest 2.83 2020-01-29 with my gpus 980 and 970.
Only if i disable the 2nd card on the 2nd slot will this work ok.

Getting the same issue on latest 2.83 2020-01-29 with my gpus 980 and 970. Only if i disable the 2nd card on the 2nd slot will this work ok.
Member

Added subscriber: @Blendify

Added subscriber: @Blendify
Member

Can you test with rendering blender from the command line. I could not reproduce with a 1050ti and a 2070.

https://docs.blender.org/manual/en/latest/advanced/command_line/render.html

Can you test with rendering blender from the command line. I could not reproduce with a 1050ti and a 2070. https://docs.blender.org/manual/en/latest/advanced/command_line/render.html
Member

Changed status from 'Confirmed' to: 'Needs User Info'

Changed status from 'Confirmed' to: 'Needs User Info'
Author

In #73353#879773, @Blendify wrote:
Can you test with rendering blender from the command line. I could not reproduce with a 1050ti and a 2070.

https://docs.blender.org/manual/en/latest/advanced/command_line/render.html

CUDAerror.jpg

Thank you. I tried start blender with windows command line, keeped it open, and use blender GUI to load the scene and reproduce the steps.

Now I'm using blender 2.82 stable release.

As a result you can see from the screenshot I uploaded. Does it help to analysis what happened?

And thank you again for helping.

> In #73353#879773, @Blendify wrote: > Can you test with rendering blender from the command line. I could not reproduce with a 1050ti and a 2070. > > https://docs.blender.org/manual/en/latest/advanced/command_line/render.html ![CUDAerror.jpg](https://archive.blender.org/developer/F8381622/CUDAerror.jpg) Thank you. I tried start blender with windows command line, keeped it open, and use blender GUI to load the scene and reproduce the steps. Now I'm using blender 2.82 stable release. As a result you can see from the screenshot I uploaded. Does it help to analysis what happened? And thank you again for helping.

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Added subscriber: @ZedDB

Added subscriber: @ZedDB

Changed status from 'Needs Developer To Reproduce' to: 'Needs User Info'

Changed status from 'Needs Developer To Reproduce' to: 'Needs User Info'

Is this still an issue with the latest Blender version and the latest Nvidia drivers?

Is this still an issue with the latest Blender version and the latest Nvidia drivers?

Added subscriber: @isaaccslam

Added subscriber: @isaaccslam

In #73353#989641, @ZedDB wrote:
Is this still an issue with the latest Blender version and the latest Nvidia drivers?

The issue is still not fixed.
I am using dual 1080ti and the latest Nvidia studio driver 452.06, and Win10 2004.
I have tried 2.80.5 and 2.9.
I can only render with a single GPU.
If I select using both GPU to render, blender will crash or could not render successfully.

> In #73353#989641, @ZedDB wrote: > Is this still an issue with the latest Blender version and the latest Nvidia drivers? The issue is still not fixed. I am using dual 1080ti and the latest Nvidia studio driver 452.06, and Win10 2004. I have tried 2.80.5 and 2.9. I can only render with a single GPU. If I select using both GPU to render, blender will crash or could not render successfully.

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Changed status from 'Needs User Info' to: 'Needs Developer To Reproduce'

Added subscriber: @ThomasDinges

Added subscriber: @ThomasDinges

Changed status from 'Needs Developer To Reproduce' to: 'Archived'

Changed status from 'Needs Developer To Reproduce' to: 'Archived'

Cycles received significant updates to GPU rendering with Blender 3.0. If the issue persists for you in a new build, please create a new report.

Cycles received significant updates to GPU rendering with Blender 3.0. If the issue persists for you in a new build, please create a new report.
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
8 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#73353
No description provided.