Blender crash on start-up, EXCEPTION_ACCESS_VIOLATION, OpenGL.3.3 or higher required #79229

Closed
opened 2020-07-24 13:07:13 +02:00 by Julia van Oudenaarde · 34 comments

System Information
Operating system: Windows 10
Intel Core i7-6700k CPU @ 4.00 GHz
Graphics card:

  • Intel(R) HD Graphics 530, driver ver. 27.20.100.8336
  • Nvidia Geforce GTX 1060 6GB, driver ver. 451.67

Blender Version
Broken: All, tested 2.78, 2.79, 2.8, 2.81, latest version on steam, which i assume is 2.83, and the 2.9 beta with the blender_debug_gpu.

Worked: N/A

Short description of error
Program shuts down immediatly after starting up. If starting though cmd i get the exception_access_violation error, if adding opengl32.dll to the directory the error is instead that the graphics card needs to support 3.3 or higher while the version on the pc is 4.6. All drivers are up-to-date. PC has been fully reset in hopes to solve the issue to no avail.

Exact steps for others to reproduce the error

  • Opening blender.exe, program closes as soon as the cmd appears.
  • Opening cmd, drag Blender.exe in cmd, run though cmd, exception_access_violation
  • Drag opengl32.dll into Blender installation directory, open Blender though cmd, "A graphics card and driver with support for OpenGL 3.3 or higher is required. Installing the latest driver for your pgrahics card may resolve this issue. The program will now close."

Images of cmd: https:*imgur.com/akjPlBh / https:*imgur.com/PS6oKF0

blender_debug_output.txt Blender_debug_output
blender_debug_output (added opengl32.dll).txt Blender_debug_output (added opengl32.dll)
blender.crash.txt Blender.crash.txt

**System Information** Operating system: Windows 10 Intel Core i7-6700k CPU @ 4.00 GHz Graphics card: - Intel(R) HD Graphics 530, driver ver. 27.20.100.8336 - Nvidia Geforce GTX 1060 6GB, driver ver. 451.67 **Blender Version** Broken: All, tested 2.78, 2.79, 2.8, 2.81, latest version on steam, which i assume is 2.83, and the 2.9 beta with the blender_debug_gpu. Worked: N/A **Short description of error** Program shuts down immediatly after starting up. If starting though cmd i get the exception_access_violation error, if adding opengl32.dll to the directory the error is instead that the graphics card needs to support 3.3 or higher while the version on the pc is 4.6. All drivers are up-to-date. PC has been fully reset in hopes to solve the issue to no avail. **Exact steps for others to reproduce the error** - Opening blender.exe, program closes as soon as the cmd appears. - Opening cmd, drag Blender.exe in cmd, run though cmd, exception_access_violation - Drag opengl32.dll into Blender installation directory, open Blender though cmd, "A graphics card and driver with support for OpenGL 3.3 or higher is required. Installing the latest driver for your pgrahics card may resolve this issue. The program will now close." Images of cmd: https:*imgur.com/akjPlBh / https:*imgur.com/PS6oKF0 [blender_debug_output.txt](https://archive.blender.org/developer/F8717857/blender_debug_output.txt) Blender_debug_output [blender_debug_output (added opengl32.dll).txt](https://archive.blender.org/developer/F8717858/blender_debug_output__added_opengl32.dll_.txt) Blender_debug_output (added opengl32.dll) [blender.crash.txt](https://archive.blender.org/developer/F8717859/blender.crash.txt) Blender.crash.txt

Added subscriber: @Juliavo

Added subscriber: @Juliavo

Added subscriber: @rjg

Added subscriber: @rjg

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

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

The fact the crash occurs that early and affects even the old versions of Blender, is not a good sign. Have you been experiencing similar issues with other software?

The fact the crash occurs that early and affects even the old versions of Blender, is not a good sign. Have you been experiencing similar issues with other software?

I haven't had this issue with any other software really. This has only been happening with Blender, which is weird because it used to work just fine on the same computer before.

I haven't had this issue with any other software really. This has only been happening with Blender, which is weird because it used to work just fine on the same computer before.

In order to rule out an issue like #72098, please try the following:

  • Open the Windows settings
  • Go to System > Display, scroll down and click Graphics Settings
  • Select Classic App in the drop-down and search for the Blender executable.
  • Open the Options for the new entry that appeared.

Select the energy mode that uses the integrated Intel GPU and save.

If this doesn't change anything, select the Nvidia GPU instead and check if that makes any difference.

In order to rule out an issue like #72098, please try the following: - Open the Windows settings - Go to *System > Display*, scroll down and click *Graphics Settings* - Select *Classic App* in the drop-down and search for the Blender executable. - Open the Options for the new entry that appeared. # Select the energy mode that uses the integrated Intel GPU and save. If this doesn't change anything, select the Nvidia GPU instead and check if that makes any difference.

I cannot seem to find an option that only uses the Intel GPU. All three of the options show the same graphic cards for both power saving and high performance, i cannot click on them to change them either. I have tried starting the program with all three options but the problem sadly still remains.

Capture3.PNG

Capture2.PNG

Capture.PNG

I cannot seem to find an option that only uses the Intel GPU. All three of the options show the same graphic cards for both power saving and high performance, i cannot click on them to change them either. I have tried starting the program with all three options but the problem sadly still remains. ![Capture3.PNG](https://archive.blender.org/developer/F8718011/Capture3.PNG) ![Capture2.PNG](https://archive.blender.org/developer/F8718010/Capture2.PNG) ![Capture.PNG](https://archive.blender.org/developer/F8718009/Capture.PNG)

Are you able to start Blender in background mode with the factory default settings?

  • Open the Windows Explorer (Win + E) and navigate to Blender installation directory (the folder where the blender.exe is located).
  • Type "cmd" in the Windows Explorer's path field an press enter (this should open a command prompt).
  • Run blender.exe --factory-startup --background
  • Check for errors on the console.
Are you able to start Blender in background mode with the factory default settings? - Open the Windows Explorer (Win + E) and navigate to Blender installation directory (the folder where the `blender.exe` is located). - Type "cmd" in the Windows Explorer's path field an press enter (this should open a command prompt). - Run `blender.exe --factory-startup --background` - Check for errors on the console.

When starting Blender in background mode, the errors that appear on the cmd say it's not able to create directories for thumbnails. A screenshot of the console is added below.

image.png

When starting Blender in background mode, the errors that appear on the cmd say it's not able to create directories for thumbnails. A screenshot of the console is added below. ![image.png](https://archive.blender.org/developer/F8718170/image.png)

It does start Blender though. The creation of the directory may require elevated permissions. Have you tried starting it as administrator (this should only be done for testing purposes, in general it is not recommended)?

The big question is why OpenGL rendering doesn't work properly. Please run the following command in Blender's installation directory to create a system info file.

blender.exe --factory-startup --background --python-expr "import bpy; bpy.ops.wm.sysinfo(filepath=r'%temp%\blender\debug_logs\blender_system_info.txt')" > "%temp%\blender\debug_logs\blender_debug_output.txt" 2>&1

The files should then be located in C:\Users\julia\AppData\Local\Temp\blender\debug_logs

It does start Blender though. The creation of the directory may require elevated permissions. Have you tried starting it as administrator (this should only be done for testing purposes, in general it is not recommended)? The big question is why OpenGL rendering doesn't work properly. Please run the following command in Blender's installation directory to create a system info file. `blender.exe --factory-startup --background --python-expr "import bpy; bpy.ops.wm.sysinfo(filepath=r'%temp%\blender\debug_logs\blender_system_info.txt')" > "%temp%\blender\debug_logs\blender_debug_output.txt" 2>&1` The files should then be located in `C:\Users\julia\AppData\Local\Temp\blender\debug_logs`

Ran the command, added the console down below. Not sure if it has anything to do with it, but as soon as i ran the command i got a notification from windows defender asking to scan the file? Clicking on it brought me to a website from Microsoft about 'Blocking at first sight'. https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-antivirus/configure-block-at-first-sight-microsoft-defender-antivirus

Edit: Forgot to say but ran Blender as Administrator as well, but it didn't really change anything.

Capture4.PNG

blender_system_info.txt

blender_debug_output.txt

Ran the command, added the console down below. Not sure if it has anything to do with it, but as soon as i ran the command i got a notification from windows defender asking to scan the file? Clicking on it brought me to a website from Microsoft about 'Blocking at first sight'. https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-antivirus/configure-block-at-first-sight-microsoft-defender-antivirus Edit: Forgot to say but ran Blender as Administrator as well, but it didn't really change anything. ![Capture4.PNG](https://archive.blender.org/developer/F8718216/Capture4.PNG) [blender_system_info.txt](https://archive.blender.org/developer/F8718218/blender_system_info.txt) [blender_debug_output.txt](https://archive.blender.org/developer/F8718229/blender_debug_output.txt)

@Juliavo In this specific case it could be because you're using a development build of Blender, combined with the inline Python script that creates a file, which looks suspicious to Windows Defender. It would be interesting though if Windows Defender interferes with Blender on your system in general, because that can also result in a crash (e.g. quarantining files that Blender needs or stopping the process).

@Juliavo In this specific case it could be because you're using a development build of Blender, combined with the inline Python script that creates a file, which looks suspicious to Windows Defender. It would be interesting though if Windows Defender interferes with Blender on your system in general, because that can also result in a crash (e.g. quarantining files that Blender needs or stopping the process).

The system info file looks fine as far as I can tell, both GPUs get recognized by Blender. However, there are the following two error messages in the debug log:

OpenCL error: CL_INVALID_VALUE in __clewGetPlatformInfo(platform_id, 0x0904, sizeof(data), &data, NULL) (C:\b\buildbot-worker-windows\windows_290\blender.git\intern\cycles\device\device_opencl.cpp:190)
OpenCL error: CL_INVALID_VALUE in __clewGetDeviceInfo(device_id, 0x1030, sizeof(data), &data, NULL) (C:\b\buildbot-worker-windows\windows_290\blender.git\intern\cycles\device\device_opencl.cpp:211)
The system info file looks fine as far as I can tell, both GPUs get recognized by Blender. However, there are the following two error messages in the debug log: ``` OpenCL error: CL_INVALID_VALUE in __clewGetPlatformInfo(platform_id, 0x0904, sizeof(data), &data, NULL) (C:\b\buildbot-worker-windows\windows_290\blender.git\intern\cycles\device\device_opencl.cpp:190) OpenCL error: CL_INVALID_VALUE in __clewGetDeviceInfo(device_id, 0x1030, sizeof(data), &data, NULL) (C:\b\buildbot-worker-windows\windows_290\blender.git\intern\cycles\device\device_opencl.cpp:211) ```

@Juliavo Can you check if Defender has quarantined any of Blender's files (see "Restore quarantined files" )?

@Juliavo Can you check if Defender has quarantined any of Blender's files (see ["Restore quarantined files" ](https://docs.microsoft.com/en-us/windows/security/threat-protection/microsoft-defender-antivirus/restore-quarantined-files-microsoft-defender-antivirus))?

Just tried to start Blender with Windows Defender off, not much changed. It says it's an app that is allowed to go through the Firewall too, i'm not really sure if Defender and Firewall would be the cause of the problem. It probably was indeed just because it's a beta build like you mentioned earlier, figured it was worth a try just in case haha.

Just tried to start Blender with Windows Defender off, not much changed. It says it's an app that is allowed to go through the Firewall too, i'm not really sure if Defender and Firewall would be the cause of the problem. It probably was indeed just because it's a beta build like you mentioned earlier, figured it was worth a try just in case haha.

No files are shown in the protection history, so i suppose Defender didn't quarantine any of Blender's files.

No files are shown in the protection history, so i suppose Defender didn't quarantine any of Blender's files.

@Juliavo That rules out the Windows Defender as cause. The firewall wouldn't stop Blender from starting, since it doesn't require any internet connection.

Could you please check if enabling the compatibility mode allows Blender to start with a GUI:

  • Open Blender's directory
  • Right-click on the blender.exe and open the Properties
  • Switch to the Compatibility tab
  • Enable the Compatibility Mode
  • Try to start Blender
@Juliavo That rules out the Windows Defender as cause. The firewall wouldn't stop Blender from starting, since it doesn't require any internet connection. Could you please check if enabling the compatibility mode allows Blender to start with a GUI: - Open Blender's directory - Right-click on the `blender.exe` and open the *Properties* - Switch to the *Compatibility* tab - Enable the *Compatibility Mode* - Try to start Blender

This time instead of a quick flash it showed a fullscreen, white window opening that did close after again, but it did show more than it did before.

This time instead of a quick flash it showed a fullscreen, white window opening that did close after again, but it did show more than it did before.

Could you please run blender_debug_gpu.cmd for 2.90 again, with compatibility mode enabled and uploaded the created files, including the crash log in C:\Users\julia\AppData\Local\Temp.

Could you please run `blender_debug_gpu.cmd` for 2.90 again, with compatibility mode enabled and uploaded the created files, including the crash log in `C:\Users\julia\AppData\Local\Temp`.

Ran the command, these are the files that were created.

blender_debug_output.txt With OpenGL32.dll

blender_debug_output (without opengl32.dll).txt Without the .dll

blender.crash.txt Blender.crash.txt

Ran the command, these are the files that were created. [blender_debug_output.txt](https://archive.blender.org/developer/F8718517/blender_debug_output.txt) With OpenGL32.dll [blender_debug_output (without opengl32.dll).txt](https://archive.blender.org/developer/F8718520/blender_debug_output__without_opengl32.dll_.txt) Without the .dll [blender.crash.txt](https://archive.blender.org/developer/F8718522/blender.crash.txt) Blender.crash.txt

Compatibility mode doesn't seem to have any effect, you can deactivate it.

I would suggest that you install any pending Microsoft updates and then run DISM and SFC to detect and fix potentially broken system files as described in this guide by Microsoft .

Compatibility mode doesn't seem to have any effect, you can deactivate it. I would suggest that you install any pending Microsoft updates and then run DISM and SFC to detect and fix potentially broken system files as described in this [guide by Microsoft ](https://support.microsoft.com/en-us/help/929833/use-the-system-file-checker-tool-to-repair-missing-or-corrupted-system).

Just finished the DISM and SFC, it seems the scans could not find any missing or corrupted files.

image.png

I was sure i installed all updates, but suddenly it shows an update for Microsoft defender which quickly disappears after a few seconds as well, again saying i'm fully up-to-date. The update appears and disappears again when i check for updates again. Does that mean my updater is broken?
image.png

Just finished the DISM and SFC, it seems the scans could not find any missing or corrupted files. ![image.png](https://archive.blender.org/developer/F8718615/image.png) I was sure i installed all updates, but suddenly it shows an update for Microsoft defender which quickly disappears after a few seconds as well, again saying i'm fully up-to-date. The update appears and disappears again when i check for updates again. Does that mean my updater is broken? ![image.png](https://archive.blender.org/developer/F8718624/image.png)

@Juliavo Since DISM and SFC didn't find any issues, it's probably fine. You'd have to check the update history to see if/why a particular update failed. Since you've already tested with Microsoft Defender disabled, this is unlikely related to the Blender issue.

Unfortunately, I can't see a clear source of the problem with the currently available information. Perhaps somebody else has an idea what the issue might be.

@Juliavo Since DISM and SFC didn't find any issues, it's probably fine. You'd have to check the update history to see if/why a particular update failed. Since you've already tested with Microsoft Defender disabled, this is unlikely related to the Blender issue. Unfortunately, I can't see a clear source of the problem with the currently available information. Perhaps somebody else has an idea what the issue might be.

Ah alright. It's such a shame, i was hoping to keep learning and using this program for work. Thank you for taking the time to help me though!

Ah alright. It's such a shame, i was hoping to keep learning and using this program for work. Thank you for taking the time to help me though!

@Juliavo You're welcome.

My general impression, based on the current hardware you're using and the wide range of affected Blender versions, is that this is most likely caused by something on the side of the operating system or drivers.

@Juliavo You're welcome. My general impression, based on the current hardware you're using and the wide range of affected Blender versions, is that this is most likely caused by something on the side of the operating system or drivers.

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

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

I have tried running Ccleaner in the hopes that that maybe would get rid of files that could be interfering with Blender, but it doesn't really seem to have done much to help Blender run properly.

I have tried running Ccleaner in the hopes that that maybe would get rid of files that could be interfering with Blender, but it doesn't really seem to have done much to help Blender run properly.

@Juliavo I would generally advise against running clean-up / tune-up utilities of any sort. At best they don't break anything. CCleaner in particular has a bad track record.

@Juliavo I would generally advise against running clean-up / tune-up utilities of any sort. At best they don't break anything. CCleaner in particular has a bad track record.

Ah alright. I've uninstalled it immediatly.

Ah alright. I've uninstalled it immediatly.

Added subscriber: @iss

Added subscriber: @iss

Changed status from 'Needs Triage' to: 'Archived'

Changed status from 'Needs Triage' to: 'Archived'
Richard Antalik self-assigned this 2020-07-27 13:53:20 +02:00

If you are unable to run even Blender 2.79, and you say that you was able to run it in the past, it is very unlikely the issue is bug in Blender. My personal advice would be to reinstall OS, if that is possible. if that is not possibility, you can try asking for help on one of the community websites: https://www.blender.org/community/

This tracker is only for reporting reproducible problems, so I will close this report. If you find root of the problem, and you think it is bug in Blender, please open new report.

If you are unable to run even Blender 2.79, and you say that you was able to run it in the past, it is very unlikely the issue is bug in Blender. My personal advice would be to reinstall OS, if that is possible. if that is not possibility, you can try asking for help on one of the community websites: https://www.blender.org/community/ This tracker is only for reporting reproducible problems, so I will close this report. If you find root of the problem, and you think it is bug in Blender, please open new report.

I have fully deleted all partitions and reinstalled Windows again through a usb, which seemed to do the trick! I hope it stays this way haha. Thank you for the help!

I have fully deleted all partitions and reinstalled Windows again through a usb, which seemed to do the trick! I hope it stays this way haha. Thank you for the help!

Thanks for letting us know.

Thanks for letting us know.
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#79229
No description provided.