Crash when enabling Material Preview viewport shading for model with many materials and PNG textures #109243
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
5 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#109243
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: Microsoft Windows 11 Home
Graphics card: AMD Radeon Vega 3 Graphics
Blender Version
Broken: 3.4.0,
a95bf1ac01
, blender-v3.4-release, 2022-12-06Worked: Didn't test
When I enable Material Preview in Viewport Shading panel, blender freezes and crashes. It only happens with one model I was working on. It has 101,017k tris and many materials.
How to reproduce error:
Crash log:
Sadly, I can't provide .blend file.
The crash is happening inside your graphics driver. Please make sure the drivers are completely up to date by downloading directly from AMD's website if possible.
Does this reproduce if you use Blender 3.5 (https://www.blender.org/download/) or Blender 3.6 RC (https://builder.blender.org/download/daily/)?
Does this reproduce if you subdivide a simple cube until you have more than 100k vertices?
According to crash file, crash happened in GPU driver. Please update it if possible.
Also Upload .blend file, so we can reproduce, download alpha build from https://builder.blender.org/download/daily/, run file
blender_debug_log.cmd
and upload created files after crash.Oops, didn't meant to close.
I've already tested with 3.5 and it is the same. I'm gonna test now on 3.6 RC.
Seems like it's better on 3.6 RC - it loads some textures (which are in .tga format) but then it crashes (when trying to load .png textures)
Here's the .blend file.
I tried installing newest AMD drivers, but it gave me an error because I have not enough space on SSD.
I always have same issue with drivers - when I install newest ones, the video driver won't work anymore.
In short, it is more of PNG textures and material amount issue, than tris amount.
Crash when enabling Material Preview viewport shading for model with 100k+ tristo Crash when enabling Material Preview viewport shading for model with many materials and PNG texturesThat sounds like system issue. Without system info file I am not sure what driver version you are using - it can be very old, so issues would be expected. If driver is recent it could be bug in driver too, which we can not fix. But please provide system info file - click on Help > Save System Info
Also if crash is caused by textures, I can't test the provided file, since it has no textures packed in. If you can, please simplify the file as much as possible (for filesize) and upload with textures packed.
The textures and system info.
Seems like it's not just one model but two already, Ataman A092H6 - same result.
According to system info, your GPU driver is at least 2 years old. You can definitely get newer one.
Sorry, but when I'm trying to install new driver, it says "Unable to install video driver" and then my GPU refuses work at all.
In such case I would reinstall OS.
That could be the problem. If there isn't enough space in the SSD to install a driver, then, blender and your system may have other issues along with outdated drivers.
I would make space on the SSD by moving some files to an external usb/ssd/hdd, and/or decrease virtual memory pagefile size to create more space, or have the pagefile on another partition that has space for it.
Yes,
AMD Radeon(TM) 530
can use recent legacy drivers: https://www.amd.com/en/support/kb/release-notes/rn-rad-win-22-6-1-legacyNot much we can do in such case. Maybe you can reach out to AMD forum for help.
I suspect your system/laptop will also have an integrated graphics. Launch blender with iGPU, see if it still triggers the crash.
Closing the report for now.
Feel free to reopen the report if crash persists with newer drivers and iGPU.