Consistent crashing while rendering with RTX Titan #74754

Closed
opened 2020-03-14 10:51:02 +01:00 by Andrew Price · 19 comments

System Information
Operating system: Win 10 64 bit
Graphics card: Dual Titan RTXs, rendering with CUDA

Blender Version
Broken: 2.82a

Short description of error
Crashes after rendering attached scene after 20-40 frames.

Exact steps for others to reproduce the error
Open this blend and render animation: https://www.dropbox.com/s/9j6np0qs1066hxd/texturing%20tiling%20tutorial_packed.blend?dl=0 (434mb, sorry it's big)

With my dual RTX Titans it constantly crashes after 20-40 frames and gives this as the reason:
//Error : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF6A2E4D132//
Updated to latest graphics driver but makes no difference.

However it renders fine on a spare laptop, which makes me think it's a problem with the RTX.

**System Information** Operating system: Win 10 64 bit Graphics card: Dual Titan RTXs, rendering with CUDA **Blender Version** Broken: 2.82a **Short description of error** Crashes after rendering attached scene after 20-40 frames. **Exact steps for others to reproduce the error** Open this blend and render animation: https://www.dropbox.com/s/9j6np0qs1066hxd/texturing%20tiling%20tutorial_packed.blend?dl=0 (434mb, sorry it's big) With my dual RTX Titans it constantly crashes after 20-40 frames and gives this as the reason: //Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF6A2E4D132// Updated to latest graphics driver but makes no difference. However it renders fine on a spare laptop, which makes me think it's a problem with the RTX.
Author

Added subscriber: @AndrewPrice

Added subscriber: @AndrewPrice

Added subscriber: @tmoneygames

Added subscriber: @tmoneygames

If it's not compiled with cuda 10 support then it won't work with RTX cards. You can compile your own version in visual studio, I think, and set it to support cuda 10. I posted a link on your twitter message as well as here. https://blender.stackexchange.com/questions/119837/how-can-one-do-rendering-with-cycles-using-an-nvidia-rtx-gpu

If it's not compiled with cuda 10 support then it won't work with RTX cards. You can compile your own version in visual studio, I think, and set it to support cuda 10. I posted a link on your twitter message as well as here. https://blender.stackexchange.com/questions/119837/how-can-one-do-rendering-with-cycles-using-an-nvidia-rtx-gpu
Author

@tmoneygames
Unless I'm mistaken, that is no longer true. In the link you posted the top voted answer is:

Update as of July 29th 2019: NVIDIA RTX GPUs are now officially supported and can be used to accelerate renderings in Cycles using the raytracing cores of RTX cards.

Developer blog post about it

@tmoneygames Unless I'm mistaken, that is no longer true. In the link you posted the top voted answer is: *Update as of July 29th 2019: NVIDIA RTX GPUs are now officially supported and can be used to accelerate renderings in Cycles using the raytracing cores of RTX cards.* [Developer blog post about it ](https://code.blender.org/2019/07/accelerating-cycles-using-nvidia-rtx/)

Added subscriber: @iss

Added subscriber: @iss

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

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

@AndrewPrice does this happen if you click on File > Defaults > Load Factory Settings?
Can you check if this happens with version 2.83? https://builder.blender.org/download/

@AndrewPrice does this happen if you click on File > Defaults > Load Factory Settings? Can you check if this happens with version 2.83? https://builder.blender.org/download/
Member

Added subscribers: @CharlieJolly, @EAW

Added subscribers: @CharlieJolly, @EAW
Member

I tried rendering the file in an MSVC debug mode build.

Run-Time Check Failure #3 - The variable 'c' is being used without being initialized. occurred

blender.exe!ccl::svm_node_vector_math(ccl::KernelGlobals * kg, ccl::ShaderData * sd, float * stack, unsigned int type, unsigned int inputs_stack_offsets, unsigned int outputs_stack_offsets, int * offset) Line 66
	at C:\blender-git\blender\intern\cycles\kernel\svm\svm_math.h(66)
blender.exe!ccl::svm_eval_nodes(ccl::KernelGlobals * kg, ccl::ShaderData * sd, ccl::PathState * state, float * buffer, ccl::ShaderType type, int path_flag) Line 389
	at C:\blender-git\blender\intern\cycles\kernel\svm\svm.h(389)
blender.exe!ccl::shader_eval_surface(ccl::KernelGlobals * kg, ccl::ShaderData * sd, ccl::PathState * state, float * buffer, int path_flag) Line 1117
	at C:\blender-git\blender\intern\cycles\kernel\kernel_shader.h(1117)
blender.exe!ccl::kernel_background_evaluate(ccl::KernelGlobals * kg, ccl::uint4 * input, ccl::float4 * output, int i) Line 512
	at C:\blender-git\blender\intern\cycles\kernel\kernel_bake.h(512)
blender.exe!ccl::kernel_cpu_sse41_shader(ccl::KernelGlobals * kg, ccl::uint4 * input, ccl::float4 * output, int type, int filter, int i, int offset, int sample) Line 161
	at C:\blender-git\blender\intern\cycles\kernel\kernels\cpu\kernel_cpu_impl.h(161)
blender.exe!ccl::CPUDevice::thread_shader(ccl::DeviceTask & task) Line 1096
	at C:\blender-git\blender\intern\cycles\device\device_cpu.cpp(1096)
blender.exe!ccl::CPUDevice::thread_run(ccl::DeviceTask * task) Line 533
	at C:\blender-git\blender\intern\cycles\device\device_cpu.cpp(533)
[External Code]
blender.exe!ccl::TaskScheduler::thread_run(int thread_id) Line 399
	at C:\blender-git\blender\intern\cycles\util\util_task.cpp(399)
[External Code]
blender.exe!ccl::thread::run(void * arg) Line 53
	at C:\blender-git\blender\intern\cycles\util\util_thread.cpp(53)
[External Code]

@CharlieJolly it appears that when adding the vector math wrap function, the additional c wasn't initialized.

Not sure if this is what is causing the crash, as I was able to render a few frames in my daily build on my cpu.

I tried rendering the file in an MSVC debug mode build. ``` Run-Time Check Failure #3 - The variable 'c' is being used without being initialized. occurred``` ``` blender.exe!ccl::svm_node_vector_math(ccl::KernelGlobals * kg, ccl::ShaderData * sd, float * stack, unsigned int type, unsigned int inputs_stack_offsets, unsigned int outputs_stack_offsets, int * offset) Line 66 at C:\blender-git\blender\intern\cycles\kernel\svm\svm_math.h(66) blender.exe!ccl::svm_eval_nodes(ccl::KernelGlobals * kg, ccl::ShaderData * sd, ccl::PathState * state, float * buffer, ccl::ShaderType type, int path_flag) Line 389 at C:\blender-git\blender\intern\cycles\kernel\svm\svm.h(389) blender.exe!ccl::shader_eval_surface(ccl::KernelGlobals * kg, ccl::ShaderData * sd, ccl::PathState * state, float * buffer, int path_flag) Line 1117 at C:\blender-git\blender\intern\cycles\kernel\kernel_shader.h(1117) blender.exe!ccl::kernel_background_evaluate(ccl::KernelGlobals * kg, ccl::uint4 * input, ccl::float4 * output, int i) Line 512 at C:\blender-git\blender\intern\cycles\kernel\kernel_bake.h(512) blender.exe!ccl::kernel_cpu_sse41_shader(ccl::KernelGlobals * kg, ccl::uint4 * input, ccl::float4 * output, int type, int filter, int i, int offset, int sample) Line 161 at C:\blender-git\blender\intern\cycles\kernel\kernels\cpu\kernel_cpu_impl.h(161) blender.exe!ccl::CPUDevice::thread_shader(ccl::DeviceTask & task) Line 1096 at C:\blender-git\blender\intern\cycles\device\device_cpu.cpp(1096) blender.exe!ccl::CPUDevice::thread_run(ccl::DeviceTask * task) Line 533 at C:\blender-git\blender\intern\cycles\device\device_cpu.cpp(533) [External Code] blender.exe!ccl::TaskScheduler::thread_run(int thread_id) Line 399 at C:\blender-git\blender\intern\cycles\util\util_task.cpp(399) [External Code] blender.exe!ccl::thread::run(void * arg) Line 53 at C:\blender-git\blender\intern\cycles\util\util_thread.cpp(53) [External Code] ``` @CharlieJolly it appears that when adding the vector math wrap function, the additional `c` wasn't initialized. Not sure if this is what is causing the crash, as I was able to render a few frames in my daily build on my cpu.
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

434mb, sorry it's big

I don't have the bandwidth to download that file, nor a top notch machine to render lengthy animations.
Further, after not replying for 11 days, I'm tempted to close it.

> 434mb, sorry it's big I don't have the bandwidth to download that file, nor a top notch machine to render lengthy animations. Further, after not replying for 11 days, I'm tempted to close it.
Member

With all the covid stuff happening I've not spent much time on Blender. I don't have access to RTX but will see if I can quiet the warning.

Cleaned warning in: 1bb7d42cf6

With all the covid stuff happening I've not spent much time on Blender. I don't have access to RTX but will see if I can quiet the warning. Cleaned warning in: 1bb7d42cf66

Added subscriber: @zaster

Added subscriber: @zaster

Unfortunately I dont have a RTX card to help more.
When i had a dual GPU setup years ago it sometimes helped to render from command line.
This file also reminds me how brutally slow procedurals are in Cycles...

Unfortunately I dont have a RTX card to help more. When i had a dual GPU setup years ago it sometimes helped to render from command line. This file also reminds me how brutally slow procedurals are in Cycles...
Author

@ankitm
Sorry for the lack of replying. I didn't realize there was an action item for me.
I've just reformatted my machine. I'll try rendering on a clean version with factory settings of the latest build tonight. Will report back with an answer.

@CharlieJolly Not sure what cleaning or quieting a warning is, but thanks for chipping in! I'll try it tonight.

@ankitm Sorry for the lack of replying. I didn't realize there was an action item for me. I've just reformatted my machine. I'll try rendering on a clean version with factory settings of the latest build tonight. Will report back with an answer. @CharlieJolly Not sure what cleaning or quieting a warning is, but thanks for chipping in! I'll try it tonight.
Author

Just rendered the animation successfully without crashing. Not sure if it was factory settings, or the reformat that did it, but either way we can close this now. Thanks!

Just rendered the animation successfully without crashing. Not sure if it was factory settings, or the reformat that did it, but either way we can close this now. Thanks!
Member

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

Changed status from 'Needs User Info' to: 'Archived'
Eitan Traurig self-assigned this 2020-04-04 00:57:49 +02:00

Added subscriber: @smereces

Added subscriber: @smereces

I have a main workstation with the RTX 3090 and i can´t render a blender animation on it!!! because always crash after some frames rendered!! but the funny is my old workstation have 2 1080 gtx cards all working without crashing! why this is happens with the RTX cards?? :(

I have a main workstation with the RTX 3090 and i can´t render a blender animation on it!!! because always crash after some frames rendered!! but the funny is my old workstation have 2 1080 gtx cards all working without crashing! why this is happens with the RTX cards?? :(
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
9 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#74754
No description provided.