Consistent crashing while rendering with RTX Titan #74754

Closed
opened 3 years ago by AndrewPrice · 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.
Poster

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
Poster

@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/)
iss commented 3 years ago
Collaborator

Added subscriber: @iss

Added subscriber: @iss
iss commented 3 years ago
Collaborator

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

Changed status from 'Needs Triage' to: 'Needs User Info'
iss commented 3 years ago
Collaborator

@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/
EAW commented 3 years ago

Added subscribers: @CharlieJolly, @EAW

Added subscribers: @CharlieJolly, @EAW
EAW commented 3 years ago

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.
ankitm commented 3 years ago
Collaborator

Added subscriber: @ankitm

Added subscriber: @ankitm
ankitm commented 3 years ago
Collaborator

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.
Collaborator

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
zaster commented 3 years ago

Added subscriber: @zaster

Added subscriber: @zaster
zaster commented 3 years ago

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...
Poster

@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.
Poster

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!

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

Changed status from 'Needs User Info' to: 'Archived'
EitanSomething closed this issue 3 years ago
EitanSomething self-assigned this 3 years ago

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/Collada
Interest/Compositing
Interest/Core
Interest/Cycles
Interest/Dependency Graph
Interest/Development Management
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/Modeling
Interest/Modifiers
Interest/Motion Tracking
Interest/Nodes & Physics
Interest/Overrides
Interest/Performance
Interest/Performance
Interest/Physics
Interest/Pipeline, Assets & I/O
Interest/Platforms, Builds, Tests & Devices
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
legacy module/Animation & Rigging
legacy module/Core
legacy module/Development Management
legacy module/Eevee & Viewport
legacy module/Grease Pencil
legacy module/Modeling
legacy module/Nodes & Physics
legacy module/Pipeline, Assets & IO
legacy module/Platforms, Builds, Tests & Devices
legacy module/Python API
legacy module/Rendering & Cycles
legacy module/Sculpt, Paint & Texture
legacy module/Triaging
legacy module/User Interface
legacy module/VFX & Video
legacy project/1.0.0-beta.2
legacy project/Asset Browser (Archived)
legacy project/BF Blender: 2.8
legacy project/BF Blender: After Release
legacy project/BF Blender: Next
legacy project/BF Blender: Regressions
legacy project/BF Blender: Unconfirmed
legacy project/Blender 2.70
legacy project/Code Quest
legacy project/Datablocks and Libraries
legacy project/Eevee
legacy project/Game Animation
legacy project/Game Audio
legacy project/Game Data Conversion
legacy project/Game Engine
legacy project/Game Logic
legacy project/Game Physics
legacy project/Game Python
legacy project/Game Rendering
legacy project/Game UI
legacy project/GPU / Viewport
legacy project/GSoC
legacy project/Infrastructure: Websites
legacy project/LibOverrides - Usability and UX
legacy project/Milestone 1: Basic, Local Asset Browser
legacy project/Nodes
legacy project/OpenGL Error
legacy project/Papercut
legacy project/Pose Library Basics
legacy project/Retrospective
legacy project/Tracker Curfew
legacy project/Wintab High Frequency
Meta/Good First Issue
Meta/Papercut
migration/requires-manual-verification
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 & Devices
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 Information 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

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#74754
Loading…
There is no content yet.