Blender crashes on startup #57956

Closed
opened 2018-11-20 11:11:06 +01:00 by Dimitar P. · 14 comments

For the last couple of 2.8 versions, I have been unable to start Blender 2.8

win10x64
amd radeon pro wx7100 latest drivers
running today's version: 9a1796797e and with all erased settings in the appdata/remote/blender foundation/blender/ folder. I get the following information when running blender from cmd

GPUShader: linking error:
Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
unexpected error.
fragment link error: INVALID_OPERATION.
unexpected error.

GPUShader: linking error:
Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
unexpected error.
fragment link error: INVALID_OPERATION.
unexpected error.

GPUShader: linking error:
Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
unexpected error.
fragment link error: INVALID_OPERATION.
unexpected error.

GPUShader: linking error:
Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
unexpected error.
fragment link error: INVALID_OPERATION.
unexpected error.

GPUShader: linking error:
Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
unexpected error.
fragment link error: INVALID_OPERATION.
unexpected error.

GPUShader: linking error:
Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
unexpected error.
fragment link error: INVALID_OPERATION.
unexpected error.

Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF6341B2024
Module  : C:\Users\Dimitar\Downloads\blender-2.80.0-git.9a1796797e8-windows64\blender.exe

For the last couple of 2.8 versions, I have been unable to start Blender 2.8 win10x64 amd radeon pro wx7100 latest drivers running today's version: 9a1796797e8 and with all erased settings in the `appdata/remote/blender foundation/blender/` folder. I get the following information when running blender from `cmd` ``` GPUShader: linking error: Vertex shader(s) failed to link, fragment shader(s) failed to link. Vertex link error: INVALID_OPERATION. unexpected error. fragment link error: INVALID_OPERATION. unexpected error. GPUShader: linking error: Vertex shader(s) failed to link, fragment shader(s) failed to link. Vertex link error: INVALID_OPERATION. unexpected error. fragment link error: INVALID_OPERATION. unexpected error. GPUShader: linking error: Vertex shader(s) failed to link, fragment shader(s) failed to link. Vertex link error: INVALID_OPERATION. unexpected error. fragment link error: INVALID_OPERATION. unexpected error. GPUShader: linking error: Vertex shader(s) failed to link, fragment shader(s) failed to link. Vertex link error: INVALID_OPERATION. unexpected error. fragment link error: INVALID_OPERATION. unexpected error. GPUShader: linking error: Vertex shader(s) failed to link, fragment shader(s) failed to link. Vertex link error: INVALID_OPERATION. unexpected error. fragment link error: INVALID_OPERATION. unexpected error. GPUShader: linking error: Vertex shader(s) failed to link, fragment shader(s) failed to link. Vertex link error: INVALID_OPERATION. unexpected error. fragment link error: INVALID_OPERATION. unexpected error. Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF6341B2024 Module : C:\Users\Dimitar\Downloads\blender-2.80.0-git.9a1796797e8-windows64\blender.exe ```
Author

Added subscriber: @Dimitar

Added subscriber: @Dimitar
Member

Added subscribers: @fclem, @lichtwerk

Added subscribers: @fclem, @lichtwerk
Clément Foucault was assigned by Philipp Oeser 2018-11-21 09:25:46 +01:00
Member

@fclem: does that ring a bell?

@fclem: does that ring a bell?
Author

Just to report that same issue occurs with today's version.

Just to report that same issue occurs with today's version.
Author

Hi, I am getting the same error with version 1844ccd521 downloaded from today

Hi, I am getting the same error with version 1844ccd5210 downloaded from today

can you run using the --debug-gpu option?

can you run using the --debug-gpu option?
Author

sure, this is what i get:

C:\Users\Dimitar\Downloads\blender-2.80.0-git.1844ccd5210-windows64>blender.exe --debug-gpu
Using OpenGL 4.3 debug facilities
GL application marker: Successfully hooked OpenGL debug callback.
found bundled python: C:\Users\Dimitar\Downloads\blender-2.80.0-git.1844ccd5210-windows64\2.80\python
GL API deprecated behavior: glLineWidth uses wide lines (parameter <width> with value '0x0') which are deprecated and do not work outside of the compatibility context
GPUShader: linking error:
Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
unexpected error.
fragment link error: INVALID_OPERATION.
unexpected error.

GPUShader: linking error:
Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
unexpected error.
fragment link error: INVALID_OPERATION.
unexpected error.

GPUShader: linking error:
Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
unexpected error.
fragment link error: INVALID_OPERATION.
unexpected error.

GPUShader: linking error:
Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
unexpected error.
fragment link error: INVALID_OPERATION.
unexpected error.

GPUShader: linking error:
Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
unexpected error.
fragment link error: INVALID_OPERATION.
unexpected error.

GPUShader: linking error:
Vertex shader(s) failed to link, fragment shader(s) failed to link.
Vertex link error: INVALID_OPERATION.
unexpected error.
fragment link error: INVALID_OPERATION.
unexpected error.

Error   : EXCEPTION_ACCESS_VIOLATION
Address : 0x00007FF7E9814024
Module  : C:\Users\Dimitar\Downloads\blender-2.80.0-git.1844ccd5210-windows64\blender.exe
sure, this is what i get: ``` C:\Users\Dimitar\Downloads\blender-2.80.0-git.1844ccd5210-windows64>blender.exe --debug-gpu Using OpenGL 4.3 debug facilities GL application marker: Successfully hooked OpenGL debug callback. found bundled python: C:\Users\Dimitar\Downloads\blender-2.80.0-git.1844ccd5210-windows64\2.80\python GL API deprecated behavior: glLineWidth uses wide lines (parameter <width> with value '0x0') which are deprecated and do not work outside of the compatibility context GPUShader: linking error: Vertex shader(s) failed to link, fragment shader(s) failed to link. Vertex link error: INVALID_OPERATION. unexpected error. fragment link error: INVALID_OPERATION. unexpected error. GPUShader: linking error: Vertex shader(s) failed to link, fragment shader(s) failed to link. Vertex link error: INVALID_OPERATION. unexpected error. fragment link error: INVALID_OPERATION. unexpected error. GPUShader: linking error: Vertex shader(s) failed to link, fragment shader(s) failed to link. Vertex link error: INVALID_OPERATION. unexpected error. fragment link error: INVALID_OPERATION. unexpected error. GPUShader: linking error: Vertex shader(s) failed to link, fragment shader(s) failed to link. Vertex link error: INVALID_OPERATION. unexpected error. fragment link error: INVALID_OPERATION. unexpected error. GPUShader: linking error: Vertex shader(s) failed to link, fragment shader(s) failed to link. Vertex link error: INVALID_OPERATION. unexpected error. fragment link error: INVALID_OPERATION. unexpected error. GPUShader: linking error: Vertex shader(s) failed to link, fragment shader(s) failed to link. Vertex link error: INVALID_OPERATION. unexpected error. fragment link error: INVALID_OPERATION. unexpected error. Error : EXCEPTION_ACCESS_VIOLATION Address : 0x00007FF7E9814024 Module : C:\Users\Dimitar\Downloads\blender-2.80.0-git.1844ccd5210-windows64\blender.exe ```

Thanks. Can you try with only --debug this time? you may paste the output as attachement instead of pasting a wall of text.

Thanks. Can you try with only --debug this time? you may paste the output as attachement instead of pasting a wall of text.
Author

Sorry about the wall of text, attached is the --debug output

blender 2.8 debug.txt

Sorry about the wall of text, attached is the --debug output [blender 2.8 debug.txt](https://archive.blender.org/developer/F5681292/blender_2.8_debug.txt)

When you say couple of version, do you have any idea what the last working build hash or download date was?

When you say couple of version, do you have any idea what the last working build hash or download date was?
Author

Unfortunately I don't. Is there a way to download old nightly builds?

Unfortunately I don't. Is there a way to download old nightly builds?

Is there a way to download old nightly builds?

No. The only way would be to compile yourself or ask someone to compile it for you.

It is really strange as it fails at linking basic shaders. I would suspect a driver bug but I cannot find it by just looking at the shader code. Maybe the pre-processor directives are ignored for linking.

> Is there a way to download old nightly builds? No. The only way would be to compile yourself or ask someone to compile it for you. It is really strange as it fails at linking basic shaders. I would suspect a driver bug but I cannot find it by just looking at the shader code. Maybe the pre-processor directives are ignored for linking.
Author

Thanks for your comments. I reinstalled the latest AMD GPU driver, and now Blender opens fine, so it must have indeed been a driver bug.

Thanks for your comments. I reinstalled the latest AMD GPU driver, and now Blender opens fine, so it must have indeed been a driver bug.
Author

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
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
3 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#57956
No description provided.