Error when trying to render image with Cycles using GPU. #43126

Closed
opened 2015-01-04 20:34:36 +01:00 by Dylan · 17 comments

System Information
Operating system and graphics card
Windows 8.1.
ASUS - NVIDIA Geforce GTX 970. Driver Version: 347.09.

Blender Version
Broken: 2.73RC
I have not tried any other versions of Blender.

Short description of error
When I render my scene using the GPU I get the following message:
CUDA error: Launch exceeded timeout in cuMemcpyDtoH((uchar*)mem.data_pointer + offset, (CUdeviceptr)(mem.device_pointer + offset), size).

Exact steps for others to reproduce the error
Error occurs when I try to render my scene using the GPU.

The attached file is setup to be rendered.

This has error has occurred in several of my projects including basic scenes that feature 1 character with no other objects present outside of lights and a ground plane.
I have used smaller tile sizes however this does not correct the issue. Blender_GPU_Error.zip

**System Information** Operating system and graphics card Windows 8.1. ASUS - NVIDIA Geforce GTX 970. Driver Version: 347.09. **Blender Version** Broken: 2.73RC I have not tried any other versions of Blender. **Short description of error** When I render my scene using the GPU I get the following message: CUDA error: Launch exceeded timeout in cuMemcpyDtoH((uchar*)mem.data_pointer + offset, (CUdeviceptr)(mem.device_pointer + offset), size). **Exact steps for others to reproduce the error** Error occurs when I try to render my scene using the GPU. The attached file is setup to be rendered. This has error has occurred in several of my projects including basic scenes that feature 1 character with no other objects present outside of lights and a ground plane. I have used smaller tile sizes however this does not correct the issue. [Blender_GPU_Error.zip](https://archive.blender.org/developer/F135142/Blender_GPU_Error.zip)
Author

Changed status to: 'Open'

Changed status to: 'Open'
Author

Added subscriber: @Dylan12-3

Added subscriber: @Dylan12-3

Added subscriber: @Sergey

Added subscriber: @Sergey

I can not see the crash with the file you've provided. Presumably because it doesn't have any textures. Make sure they're all packed and provide updated file.

Also, there're some really similar reports (i.e. #43118) so instead of reporting same issue several times worth redirecting all the feedback in a single report.

I can not see the crash with the file you've provided. Presumably because it doesn't have any textures. Make sure they're all packed and provide updated file. Also, there're some really similar reports (i.e. #43118) so instead of reporting same issue several times worth redirecting all the feedback in a single report.
Author

Hi Sergey,

Thanks for your assistance.

If other users are having similar issues then there's no point in continuing with this thread.
Based on the other posts the issue seems to be driver related. Is there a recommended solution to this problem?

If this is a driver issue, are there any plans to update Blender to accommodate the driver (for instance in the next update of the software)?

Hi Sergey, Thanks for your assistance. If other users are having similar issues then there's no point in continuing with this thread. Based on the other posts the issue seems to be driver related. Is there a recommended solution to this problem? If this is a driver issue, are there any plans to update Blender to accommodate the driver (for instance in the next update of the software)?

That totally depends on what limitations the scene is running into. it's usually just impossible to avoid limitations set by the drivers.

I'm not sure what exactly the issue in your case without having a look into file which gives issues for you.

Also, did you try installing previous version of driver and see if it works?

That totally depends on what limitations the scene is running into. it's usually just impossible to avoid limitations set by the drivers. I'm not sure what exactly the issue in your case without having a look into file which gives issues for you. Also, did you try installing previous version of driver and see if it works?
Author

I tried one of the previous drivers however it didn't fix the issue.

I'll upload the file with the textures again in the morning.

Thanks.

I tried one of the previous drivers however it didn't fix the issue. I'll upload the file with the textures again in the morning. Thanks.
Author

I had some difficulties with uploading the file so I've uploaded a different file that has a similar issue.
http://www.pasteall.org/blend/33705

Assuming that I did everything correctly it should have all of the textures saved.

Please let me know if you need anything else.

I had some difficulties with uploading the file so I've uploaded a different file that has a similar issue. http://www.pasteall.org/blend/33705 Assuming that I did everything correctly it should have all of the textures saved. Please let me know if you need anything else.
Author

Hi Sergey,

Could you look at the file that I uploaded to try to identify what the problem is?

I really appreciate the assistance.

Thanks.

Hi Sergey, Could you look at the file that I uploaded to try to identify what the problem is? I really appreciate the assistance. Thanks.
Member

Added subscriber: @JulianEisel

Added subscriber: @JulianEisel
Member

Not able to reproduce this here on Windows 7 using a GTX570

Not able to reproduce this here on Windows 7 using a GTX570
Author

Is it possible that this could be related to the graphics card that I'm using? Other people have reported similar issues using that specific card as well as Windows 8.1.

I also should note that the error doesn't happen until it hits the 7th rendering tile.

Were you able to render the entire character?

Is it possible that this could be related to the graphics card that I'm using? Other people have reported similar issues using that specific card as well as Windows 8.1. I also should note that the error doesn't happen until it hits the 7th rendering tile. Were you able to render the entire character?

Changed status from 'Open' to: 'Archived'

Changed status from 'Open' to: 'Archived'
Sergey Sharybin self-assigned this 2015-01-13 09:01:48 +01:00

Now i can reproduce the issue now and it is caused by limitation of GPU which is both used for display and compute. Basically video driver sets a time limit for kernel execution on GPU which are used for display. This means if tile computation is complex enough you'll run out of time rather quick.

Workaround could be to try making tile size smaller, but it'll have speed regression and will run out of tim eventually as scene becomes more complex. The only real solution is to use dedicated card for compute and less beafier one or display.

This time limit is dictated by the driver and blender can not do anything about this. SO thanks for the report, it's just how inperfect GPU compute world is..

Now i can reproduce the issue now and it is caused by limitation of GPU which is both used for display and compute. Basically video driver sets a time limit for kernel execution on GPU which are used for display. This means if tile computation is complex enough you'll run out of time rather quick. Workaround could be to try making tile size smaller, but it'll have speed regression and will run out of tim eventually as scene becomes more complex. The only real solution is to use dedicated card for compute and less beafier one or display. This time limit is dictated by the driver and blender can not do anything about this. SO thanks for the report, it's just how inperfect GPU compute world is..
Author

Thanks Sergey.

My only question then is what would the difference be between Julian's GTX570 and my 970?

As far as I know the GTX970 should be able to handle the same workload as the GTX570.

Thanks Sergey. My only question then is what would the difference be between Julian's GTX570 and my 970? As far as I know the GTX970 should be able to handle the same workload as the GTX570.
Member

I didn't even try to render till the 7th tile, as I assumed the crash would happen as soon as you start rendering. I can do that tomorrow if I don't forget to do so.

I didn't even try to render till the 7th tile, as I assumed the crash would happen as soon as you start rendering. I can do that tomorrow if I don't forget to do so.

@Dylan12-3, it's not only about card, it's also about driver and operation system. Plus some difference in hardware clocks might have affect in here.

@Dylan12-3, it's not only about card, it's also about driver and operation system. Plus some difference in hardware clocks might have affect in here.
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#43126
No description provided.