Crash when enabling eevee viewport shading #72231
Labels
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
4 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#72231
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Windows-10-10.0.18362 64 Bits
Graphics card: GeForce GTX 660/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 441.41
Blender Version
Broken: version: 2.81 (sub 16), branch: master, commit date: 2019-12-04 11:32, hash:
f1aa4d18d4
Short description of error
When I click on viewport shading in my .blend file, while using the eevee render engine, blender crashes every time.
Exact steps for others to reproduce the error
Open the attached .blend file and click on viewport shading.
eevee_crash.blend
Added subscriber: @UsernamGeri
Added subscriber: @rjg
On a test system with an older GPU I'm getting an allocation error (not enough memory) in
DRW_texture_create_2d_array
when trying to create a texture with the following arguments:The crash is caused by
tex
being freed in that situation and the code tries to dereference a NULL pointer. If you're experiencing the same problem, there should be an error message printed to the console.Please open Blender's directory and double click on the
blender_debug_log.cmd
file. This will open up Blender in debug mode and create logs file. Proceed by loading the project file and switch to rendered mode in order to make Blender crash. Once Blender is closed the Windows Explorer will open and show you two files. Upload them here by using the upload button.Stacktrace:
blender_system_info.txt
blender_debug_output.txt
Can you please run
blender_debug_gpu.cmd
as well and repeat the steps of loading the project file and switching to rendered mode? Thank you!Sure! Here:
blender_debug_output.txt
blender_system_info.txt
It seems that my first comment was incorrect regarding the possible cause, the log files don't match that case. I can't reproduce your crash with 2.81 or 2.81a on Windows 10 with more powerful hardware.
In order to narrow down the possible cause, we'd like you to try the following steps:
I checked out all of these and here's what I found:
With the latest version it still crashes, however scaling down the entire scene considerably and reducing clipping values did help. I also narrowed down what eevee setting could cause crashing and I think it's the shadow cube size. Setting it to the highest value of 4096px causes crashing.
Did the scaling and reduced clipping already avoid the crash or was that only accomplished by lowering the shadow cube size?
Scaling the scene way down and reducing clipping did in itself help preventing the crash, even with 4096px shadow cube size.
Thank you for helping investigate this! In general large ranges of clipping values should be avoided since this causes floating point precision problems.
I've informed other developers about this issue and they will have another look.
Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Added subscriber: @FORTNITE_BLENDER
What is the solution of the error