Blender 3.2.0 Beta crashes on startup #98194

Closed
opened 2022-05-17 13:58:15 +02:00 by Amy Moo · 21 comments

Blender 3.2.0 Beta (Blender 3.2.0, Commit date: 2022-05-16 16:16, Hash a2dacefb46) for Windows crashes on startup with the following errors at the console:

blender_debug_output.txt
blender.crash.txt
blender_system_info.txt

ERROR (gpu.shader): overlay_background VertShader:
      |
  168 |   SHOW_AXIS_X = (1 << 0),
      |
      | overlay_shader_shared.h:28:0: Error: C7011: implicit cast from "int" to "uint"
      |
  169 |   SHOW_AXIS_Y = (1 << 1),
      |
      | overlay_shader_shared.h:29:0: Error: C7011: implicit cast from "int" to "uint"
      |
  170 |   SHOW_AXIS_Z = (1 << 2),
      |
      | overlay_shader_shared.h:30:0: Error: C7011: implicit cast from "int" to "uint"
      |
  171 |   SHOW_GRID = (1 << 3),
      |
      | overlay_shader_shared.h:31:0: Error: C7011: implicit cast from "int" to "uint"
      |
  172 |   PLANE_XY = (1 << 4),
      |
      | overlay_shader_shared.h:32:0: Error: C7011: implicit cast from "int" to "uint"
      |
  173 |   PLANE_XZ = (1 << 5),
      |
      | overlay_shader_shared.h:33:0: Error: C7011: implicit cast from "int" to "uint"
      |
  174 |   PLANE_YZ = (1 << 6),
      |
      | overlay_shader_shared.h:34:0: Error: C7011: implicit cast from "int" to "uint"
      |
  175 |   CLIP_ZPOS = (1 << 7),
      |
      | overlay_shader_shared.h:35:0: Error: C7011: implicit cast from "int" to "uint"
      |
  176 |   CLIP_ZNEG = (1 << 8),
      |
      | overlay_shader_shared.h:36:0: Error: C7011: implicit cast from "int" to "uint"
      |
  177 |   GRID_BACK = (1 << 9),
      |
      | overlay_shader_shared.h:37:0: Error: C7011: implicit cast from "int" to "uint"
      |
  178 |   GRID_CAMERA = (1 << 10),
      |
      | overlay_shader_shared.h:38:0: Error: C7011: implicit cast from "int" to "uint"
      |
  179 |   PLANE_IMAGE = (1 << 11),
      |
      | overlay_shader_shared.h:39:0: Error: C7011: implicit cast from "int" to "uint"
      |
  180 |   CUSTOM_GRID = (1 << 12);
      |
      | overlay_shader_shared.h:40:0: Error: C7011: implicit cast from "int" to "uint"

ERROR (gpu.shader): overlay_background FragShader:
      |
  168 |   SHOW_AXIS_X = (1 << 0),
      |
      | overlay_shader_shared.h:28:0: Error: C7011: implicit cast from "int" to "uint"
      |
  169 |   SHOW_AXIS_Y = (1 << 1),
      |
      | overlay_shader_shared.h:29:0: Error: C7011: implicit cast from "int" to "uint"
      |
  170 |   SHOW_AXIS_Z = (1 << 2),
      |
      | overlay_shader_shared.h:30:0: Error: C7011: implicit cast from "int" to "uint"
      |
  171 |   SHOW_GRID = (1 << 3),
      |
      | overlay_shader_shared.h:31:0: Error: C7011: implicit cast from "int" to "uint"
      |
  172 |   PLANE_XY = (1 << 4),
      |
      | overlay_shader_shared.h:32:0: Error: C7011: implicit cast from "int" to "uint"
      |
  173 |   PLANE_XZ = (1 << 5),
      |
      | overlay_shader_shared.h:33:0: Error: C7011: implicit cast from "int" to "uint"
      |
  174 |   PLANE_YZ = (1 << 6),
      |
      | overlay_shader_shared.h:34:0: Error: C7011: implicit cast from "int" to "uint"
      |
  175 |   CLIP_ZPOS = (1 << 7),
      |
      | overlay_shader_shared.h:35:0: Error: C7011: implicit cast from "int" to "uint"
      |
  176 |   CLIP_ZNEG = (1 << 8),
      |
      | overlay_shader_shared.h:36:0: Error: C7011: implicit cast from "int" to "uint"
      |
  177 |   GRID_BACK = (1 << 9),
      |
      | overlay_shader_shared.h:37:0: Error: C7011: implicit cast from "int" to "uint"
      |
  178 |   GRID_CAMERA = (1 << 10),
      |
      | overlay_shader_shared.h:38:0: Error: C7011: implicit cast from "int" to "uint"
      |
  179 |   PLANE_IMAGE = (1 << 11),
      |
      | overlay_shader_shared.h:39:0: Error: C7011: implicit cast from "int" to "uint"
      |
  180 |   CUSTOM_GRID = (1 << 12);
      |
      | overlay_shader_shared.h:40:0: Error: C7011: implicit cast from "int" to "uint"
Blender 3.2.0 Beta (Blender 3.2.0, Commit date: 2022-05-16 16:16, Hash a2dacefb4636) for Windows crashes on startup with the following errors at the console: [blender_debug_output.txt](https://archive.blender.org/developer/F13087291/blender_debug_output.txt) [blender.crash.txt](https://archive.blender.org/developer/F13087292/blender.crash.txt) [blender_system_info.txt](https://archive.blender.org/developer/F13087293/blender_system_info.txt) ```lines=18 ERROR (gpu.shader): overlay_background VertShader: | 168 | SHOW_AXIS_X = (1 << 0), | | overlay_shader_shared.h:28:0: Error: C7011: implicit cast from "int" to "uint" | 169 | SHOW_AXIS_Y = (1 << 1), | | overlay_shader_shared.h:29:0: Error: C7011: implicit cast from "int" to "uint" | 170 | SHOW_AXIS_Z = (1 << 2), | | overlay_shader_shared.h:30:0: Error: C7011: implicit cast from "int" to "uint" | 171 | SHOW_GRID = (1 << 3), | | overlay_shader_shared.h:31:0: Error: C7011: implicit cast from "int" to "uint" | 172 | PLANE_XY = (1 << 4), | | overlay_shader_shared.h:32:0: Error: C7011: implicit cast from "int" to "uint" | 173 | PLANE_XZ = (1 << 5), | | overlay_shader_shared.h:33:0: Error: C7011: implicit cast from "int" to "uint" | 174 | PLANE_YZ = (1 << 6), | | overlay_shader_shared.h:34:0: Error: C7011: implicit cast from "int" to "uint" | 175 | CLIP_ZPOS = (1 << 7), | | overlay_shader_shared.h:35:0: Error: C7011: implicit cast from "int" to "uint" | 176 | CLIP_ZNEG = (1 << 8), | | overlay_shader_shared.h:36:0: Error: C7011: implicit cast from "int" to "uint" | 177 | GRID_BACK = (1 << 9), | | overlay_shader_shared.h:37:0: Error: C7011: implicit cast from "int" to "uint" | 178 | GRID_CAMERA = (1 << 10), | | overlay_shader_shared.h:38:0: Error: C7011: implicit cast from "int" to "uint" | 179 | PLANE_IMAGE = (1 << 11), | | overlay_shader_shared.h:39:0: Error: C7011: implicit cast from "int" to "uint" | 180 | CUSTOM_GRID = (1 << 12); | | overlay_shader_shared.h:40:0: Error: C7011: implicit cast from "int" to "uint" ERROR (gpu.shader): overlay_background FragShader: | 168 | SHOW_AXIS_X = (1 << 0), | | overlay_shader_shared.h:28:0: Error: C7011: implicit cast from "int" to "uint" | 169 | SHOW_AXIS_Y = (1 << 1), | | overlay_shader_shared.h:29:0: Error: C7011: implicit cast from "int" to "uint" | 170 | SHOW_AXIS_Z = (1 << 2), | | overlay_shader_shared.h:30:0: Error: C7011: implicit cast from "int" to "uint" | 171 | SHOW_GRID = (1 << 3), | | overlay_shader_shared.h:31:0: Error: C7011: implicit cast from "int" to "uint" | 172 | PLANE_XY = (1 << 4), | | overlay_shader_shared.h:32:0: Error: C7011: implicit cast from "int" to "uint" | 173 | PLANE_XZ = (1 << 5), | | overlay_shader_shared.h:33:0: Error: C7011: implicit cast from "int" to "uint" | 174 | PLANE_YZ = (1 << 6), | | overlay_shader_shared.h:34:0: Error: C7011: implicit cast from "int" to "uint" | 175 | CLIP_ZPOS = (1 << 7), | | overlay_shader_shared.h:35:0: Error: C7011: implicit cast from "int" to "uint" | 176 | CLIP_ZNEG = (1 << 8), | | overlay_shader_shared.h:36:0: Error: C7011: implicit cast from "int" to "uint" | 177 | GRID_BACK = (1 << 9), | | overlay_shader_shared.h:37:0: Error: C7011: implicit cast from "int" to "uint" | 178 | GRID_CAMERA = (1 << 10), | | overlay_shader_shared.h:38:0: Error: C7011: implicit cast from "int" to "uint" | 179 | PLANE_IMAGE = (1 << 11), | | overlay_shader_shared.h:39:0: Error: C7011: implicit cast from "int" to "uint" | 180 | CUSTOM_GRID = (1 << 12); | | overlay_shader_shared.h:40:0: Error: C7011: implicit cast from "int" to "uint" ```
Author

Added subscriber: @amy_aimei

Added subscriber: @amy_aimei
Member

Added subscriber: @lichtwerk

Added subscriber: @lichtwerk
Member

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

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

Can you share your Help > Save System Info?

Can you share your `Help` > `Save System Info`?
Author

I cannot even get that far to Help > Save System Info. The error is similar to the one reported in https://developer.blender.org/T97854, I guess it is because the GPU is not supported.

I cannot even get that far to Help > Save System Info. The error is similar to the one reported in https://developer.blender.org/T97854, I guess it is because the GPU is not supported.
Member

Added subscriber: @PratikPB2123

Added subscriber: @PratikPB2123
Member

yes, looks same as #97854.

I cannot even get that far to Help > Save System Info

run blender_debug_log.cmd and it will generate system info file after the crash.
In your previous reports, Quadro FX 880M was mentioned as your GPU. Is that correct?
If so, your GPU is still supported according to requirements list (Tesla and newer ).
But last driver update I'm seeing was in 2016: https://www.nvidia.com/Download/driverResults.aspx/110264/en-us

yes, looks same as #97854. > I cannot even get that far to Help > Save System Info run `blender_debug_log.cmd` and it will generate system info file after the crash. In your previous reports, [Quadro FX 880M ](https://developer.blender.org/T89455) was mentioned as your GPU. Is that correct? If so, your GPU is still supported according to requirements list ([Tesla and newer ](https://www.blender.org/download/requirements/)). But last driver update I'm seeing was in 2016: https://www.nvidia.com/Download/driverResults.aspx/110264/en-us
Author

Yes, the GPU is Quadro FX 880M. It is using the latest driver available.
The same occurs with Linux environment too. That one is using the nouveau driver.
blender_debug_output.txt

blender.crash.txt

blender_system_info.txt

Yes, the GPU is Quadro FX 880M. It is using the latest driver available. The same occurs with Linux environment too. That one is using the nouveau driver. [blender_debug_output.txt](https://archive.blender.org/developer/F13087291/blender_debug_output.txt) [blender.crash.txt](https://archive.blender.org/developer/F13087292/blender.crash.txt) [blender_system_info.txt](https://archive.blender.org/developer/F13087293/blender_system_info.txt)
Member

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

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

Thanks for the info. Recent changes in GPU module has probably caused this. I'm not sure
Maybe #eevee_viewport can help here

Thanks for the info. Recent changes in GPU module has probably caused this. I'm not sure Maybe #eevee_viewport can help here
Author

Thanks for the suggestion. I'm not using EEVEE that much.

Thanks for the suggestion. I'm not using EEVEE that much.
Contributor

Added subscriber: @johannesj

Added subscriber: @johannesj
Contributor

I am experiencing that issue as well, albeit with an officially unsupported graphics card (Sandy Bridge Intel integrated graphics, openSuse Tumbleweed). The error message is slightly different ("initializer of type int cannot be assigned to variable of type uint"), but that's probably due to the different operating system or driver.

I bisected it down to 308a12ac64.

This patch fixes the issue for me, and also some other signed/unsigned mismatches that prevent Blender from starting as well: enum-unsigned.patch:

I am experiencing that issue as well, albeit with an officially unsupported graphics card (Sandy Bridge Intel integrated graphics, openSuse Tumbleweed). The error message is slightly different ("initializer of type int cannot be assigned to variable of type uint"), but that's probably due to the different operating system or driver. I bisected it down to 308a12ac647d6f9b4ef2b6c403903e0aeb65a571. This patch fixes the issue for me, and also some other signed/unsigned mismatches that prevent Blender from starting as well: [enum-unsigned.patch](https://archive.blender.org/developer/F13097355/enum-unsigned.patch):
Member

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'

Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
Member

Added subscriber: @fclem

Added subscriber: @fclem
Member

@johannesj, thanks for looking into this.
I'm unsure if OpenGL warnings you are getting are similar as mentioned in this report.

I bisected it down to 308a12ac64.

cc @fclem.

@johannesj, thanks for looking into this. I'm unsure if OpenGL warnings you are getting are similar as mentioned in this report. > I bisected it down to 308a12ac647d6f9b4ef2b6c403903e0aeb65a571. cc @fclem.

This issue was referenced by f4d31fbf6c

This issue was referenced by f4d31fbf6ca52065c87a08ced8dd06a56612df4f

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'

Changed status from 'Needs Developer To Reproduce' to: 'Resolved'
Clément Foucault self-assigned this 2022-05-23 16:32:57 +02:00
Author

I tested it and found another crash:

ERROR (gpu.shader): overlay_outline_detect FragShader:
      |
  923 |   vec3 ofs = vec3(0.5, 0.5, -0.5) * drw_view.viewport_size_inversey;
      |
      | outline_detect_frag.glsl:39:0: Error: C1009: "viewport_size_inversey" is not member of struct "ViewInfos"

Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF6ADA56160
Module  : blender.exe
Thread  : 000011ec

blender.crash.txt

I tested it and found another crash: ``` ERROR (gpu.shader): overlay_outline_detect FragShader: | 923 | vec3 ofs = vec3(0.5, 0.5, -0.5) * drw_view.viewport_size_inversey; | | outline_detect_frag.glsl:39:0: Error: C1009: "viewport_size_inversey" is not member of struct "ViewInfos" Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF6ADA56160 Module : blender.exe Thread : 000011ec ``` [blender.crash.txt](https://archive.blender.org/developer/F13103750/blender.crash.txt)
Member

I tested it and found another crash:

@amy_aimei hi, is this also a startup crash? Can you open a separate report?

> I tested it and found another crash: @amy_aimei hi, is this also a startup crash? Can you open a separate report?
Author

I have opened another report #98365

I have opened another report #98365
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
6 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#98194
No description provided.