GPU + CPU crashing regularly #63672

Closed
opened 2019-04-17 03:17:41 +02:00 by Abdelrahman Amr · 9 comments

System Information
Operating system: Windows-10-10.0.17134 64 Bits
Graphics card: GeForce GTX 850M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.67

Blender Version
Broken: version: 2.80 (sub 54), branch: blender2.7, commit date: 2019-04-07 15:02, hash: 75f551faca
Worked: (optional)

Short description of error
I am using that new feature in blender that combines GPU and CPU rendering but it quite crashing after a period of time in big scenes that require quite a time to render them and it really frustrating me that it crashes after like 2 hours of rendering and not continue, on the other hand when I use GPU or CPU render as regularly it works fine but much bigger time to render.

Exact steps for others to reproduce the error
1- enable gpu and cpu rendering
2- click render on an intense scene
3- wait for it!!

ps4stick original.blend

**System Information** Operating system: Windows-10-10.0.17134 64 Bits Graphics card: GeForce GTX 850M/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 419.67 **Blender Version** Broken: version: 2.80 (sub 54), branch: blender2.7, commit date: 2019-04-07 15:02, hash: `75f551faca` Worked: (optional) **Short description of error** I am using that new feature in blender that combines GPU and CPU rendering but it quite crashing after a period of time in big scenes that require quite a time to render them and it really frustrating me that it crashes after like 2 hours of rendering and not continue, on the other hand when I use GPU or CPU render as regularly it works fine but much bigger time to render. **Exact steps for others to reproduce the error** 1- enable gpu and cpu rendering 2- click render on an intense scene 3- wait for it!! [ps4stick original.blend](https://archive.blender.org/developer/F6952625/ps4stick_original.blend)

Added subscriber: @abdelrahmanamr

Added subscriber: @abdelrahmanamr

Added subscriber: @GavinScott

Added subscriber: @GavinScott

I was able to reproduce the crash with this .blend file on a laptop with a GTX 860M which is almost the same as the submitter's machine, using yesterday's buildbot version of 2.80. Maybe it's just running out of memory on the GPU? Does your 850M have 2GB of memory, or 4GB? Mine is a 2GB 860M. Haven't tried on more modern hardware. I'll go see what the GTX 1060 thinks of it.

Crash output:

Read prefs: C:\Users\Gavin\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend
found bundled python: C:\Users\Gavin\Desktop\blender-2.80.0-git.db80d5c560f5-windows64\2.80\python
Read blend: C:\Users\Gavin\Desktop\Blender\ps4stick original.blend
CUDA error: Illegal address in cuCtxSynchronize(), line 1545

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

CUDA error: Illegal address in mem_alloc_result, line 850
CUDA error: Illegal address in cuMemsetD8(cuda_device_ptr(mem.device_pointer), 0, mem.memory_size()), line 986
CUDA error: Illegal address in cuMemsetD8(cuda_device_ptr(mem.device_pointer), 0, mem.memory_size()), line 986
CUDA error: Illegal address in cuModuleGetFunction(&cuFinalize, cuFilterModule, "kernel_cuda_filter_finalize"), line 1472
Error : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FFDCEB4BC4F
Module : C:\WINDOWS\SYSTEM32\nvcuda.dll

I was able to reproduce the crash with this .blend file on a laptop with a GTX 860M which is almost the same as the submitter's machine, using yesterday's buildbot version of 2.80. Maybe it's just running out of memory on the GPU? Does your 850M have 2GB of memory, or 4GB? Mine is a 2GB 860M. Haven't tried on more modern hardware. I'll go see what the GTX 1060 thinks of it. Crash output: Read prefs: C:\Users\Gavin\AppData\Roaming\Blender Foundation\Blender\2.80\config\userpref.blend found bundled python: C:\Users\Gavin\Desktop\blender-2.80.0-git.db80d5c560f5-windows64\2.80\python Read blend: C:\Users\Gavin\Desktop\Blender\ps4stick original.blend CUDA error: Illegal address in cuCtxSynchronize(), line 1545 Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/dev/render/cycles/gpu_rendering.html CUDA error: Illegal address in mem_alloc_result, line 850 CUDA error: Illegal address in cuMemsetD8(cuda_device_ptr(mem.device_pointer), 0, mem.memory_size()), line 986 CUDA error: Illegal address in cuMemsetD8(cuda_device_ptr(mem.device_pointer), 0, mem.memory_size()), line 986 CUDA error: Illegal address in cuModuleGetFunction(&cuFinalize, cuFilterModule, "kernel_cuda_filter_finalize"), line 1472 Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FFDCEB4BC4F Module : C:\WINDOWS\SYSTEM32\nvcuda.dll

The 1060 chewed through it in 9 minutes with no errors. I note that in GPU+CPU mode, Cycles is using substantially more GPU memory than in GPU only mode. My guess would be that this scene is simply exceeding the GPU resources available in the old GTX 850M (probably 2GB of dedicated GPU memory) when Cycles is in CPU+GPU mode.

The 1060 chewed through it in 9 minutes with no errors. I note that in GPU+CPU mode, Cycles is using substantially more GPU memory than in GPU only mode. My guess would be that this scene is simply exceeding the GPU resources available in the old GTX 850M (probably 2GB of dedicated GPU memory) when Cycles is in CPU+GPU mode.

I was able to get the render to complete successfully in 24 minutes on the 860M in GPU+CPU by changing the tile size from 256x256 to 16x16. Modern Cycles no longer requires large render tiles and small tiles are often faster even without using CPU+GPU (where they are much faster because the GPU will be able to do much more of the work at the end of the render rather than waiting for a lot of slow CPU tiles to complete).

I was able to get the render to complete successfully in 24 minutes on the 860M in GPU+CPU by changing the tile size from 256x256 to 16x16. Modern Cycles no longer requires large render tiles and small tiles are often faster even without using CPU+GPU (where they are much faster because the GPU will be able to do much more of the work at the end of the render rather than waiting for a lot of slow CPU tiles to complete).

Ok thanks a lot for all your hard work I'll try that out... and yeah mine is 2GB also..thanks again

Ok thanks a lot for all your hard work I'll try that out... and yeah mine is 2GB also..thanks again

Added subscriber: @AdamPreisler

Added subscriber: @AdamPreisler

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Adam Preisler self-assigned this 2019-05-01 14:49:52 +02:00

Closing this as invalid because it related to hardware limitations and render settings issue.

@abdelrahmanamr if you have any news, feel free to reopen

Closing this as invalid because it related to hardware limitations and render settings issue. @abdelrahmanamr if you have any news, feel free to reopen
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#63672
No description provided.