Crash when enabling Material Preview viewport shading for model with many materials and PNG textures #109243

Closed
opened 2023-06-22 15:42:10 +02:00 by TheStHFan · 18 comments

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-06
Worked: 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:

  1. Open model with many materials and 100k+ tris.
  2. Enable Material preview.
    Crash log:
    Sadly, I can't provide .blend file.
**System Information** Operating system: Microsoft Windows 11 Home Graphics card: AMD Radeon Vega 3 Graphics **Blender Version** Broken: 3.4.0, a95bf1ac01be, blender-v3.4-release, 2022-12-06 Worked: 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: 1. Open model with many materials and 100k+ tris. 2. Enable Material preview. Crash log: Sadly, I can't provide .blend file.
TheStHFan added the
Status
Needs Triage
Type
Report
Priority
Normal
labels 2023-06-22 15:42:10 +02:00

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?

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?
Jesse Yurkovich added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-06-22 21:03:47 +02:00

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.

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.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-06-22 21:04:57 +02:00

Oops, didn't meant to close.

Oops, didn't meant to close.
Blender Bot added
Status
Needs Triage
and removed
Status
Archived
labels 2023-06-22 21:05:10 +02:00
Richard Antalik added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-06-22 21:05:30 +02:00
Author

I've already tested with 3.5 and it is the same. I'm gonna test now on 3.6 RC.

I've already tested with 3.5 and it is the same. I'm gonna test now on 3.6 RC.
Author

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.

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

I tried installing newest AMD drivers, but it gave me an error because I have not enough space on SSD.

I tried installing newest AMD drivers, but it gave me an error because I have not enough space on SSD.
Author

I always have same issue with drivers - when I install newest ones, the video driver won't work anymore.

I always have same issue with drivers - when I install newest ones, the video driver won't work anymore.
Author

In short, it is more of PNG textures and material amount issue, than tris amount.

In short, it is more of PNG textures and material amount issue, than tris amount.
TheStHFan changed title from Crash when enabling Material Preview viewport shading for model with 100k+ tris to Crash when enabling Material Preview viewport shading for model with many materials and PNG textures 2023-06-24 02:46:04 +02:00

I always have same issue with drivers - when I install newest ones, the video driver won't work anymore.

That 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

> I always have same issue with drivers - when I install newest ones, the video driver won't work anymore. That 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.

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

The textures and system info.

The textures and system info.
Author

Seems like it's not just one model but two already, Ataman A092H6 - same result.

Seems like it's not just one model but two already, Ataman A092H6 - same result.
Author
No description provided.

According to system info, your GPU driver is at least 2 years old. You can definitely get newer one.

According to system info, your GPU driver is at least 2 years old. You can definitely get newer one.
Author

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.

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.

In such case I would reinstall OS.

I tried installing newest AMD drivers, but it gave me an error because I have not enough space on SSD.

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.

> I tried installing newest AMD drivers, but it gave me an error because I have not enough space on SSD. 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.
Member

your GPU driver is at least 2 years old. You can definitely get newer one.

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-legacy

I'm trying to install new driver, it says "Unable to install video driver" and then my GPU refuses work at all.

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

> your GPU driver is at least 2 years old. You can definitely get newer one. 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-legacy > I'm trying to install new driver, it says "Unable to install video driver" and then my GPU refuses work at all. Not 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.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-09-01 09:18:34 +02:00
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
5 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#109243
No description provided.