Cycles OpenCL fail to compile and caused BSOD using Intel Xe Graphics and Intel Xe MAX #107980

Closed
opened 2023-05-16 17:33:14 +02:00 by nathanaelm · 6 comments

System Information
Laptop: Acer Swift 3X
Operating system:Windows 10 64 bit (22H2)
Processor: Intel Core I5 1135G7
Graphics card: Intel Xe Graphic (80eu), Intel Xe MAX
Ram: 16GB LPDDR4X 4267mhz
SSD:512Gb M.2 NVME

Blender Version
Broken: 2.93.17 LTS ,2.90
Worked: None

Short description of error
this is my first time install blender, blender version 3.xx is not compatible with my gpu (openCL replaced by Oneapi, Oneapi still didn't support intel igpu or pre Intel ARC) so i choose blender 2.93 because Intel has demostrated using my gpus
// https://devmesh.intel.com/projects/blender-ray-tracing-with-intel-iris-xe-graphics#about-section //

because this first time, i didn'n have or load any .blend file, just default cube, i tried using OpenCL and select my gpus except cpu (i tried to enable 3 of them too and still didnt work), my system memory and cpu usage cranked high, minutes later got Bluescreen message it say VIDEO_TDR_FAILURE because igdkmdnd64.sys (driver issues? )

i tried using several version intel graphics driver and failed to:

  1. 31.0.101.4314
  2. 31.0.101.4032
  3. 31.0.101.3790
  4. 27.20.100.9466 (OEM)
  5. 27.20.100.9040 (OEM)
  6. 27.20.100.8439 (OEM)

i give you some logs before it got BSOD, maybe it helps
Exact steps for others to reproduce the error

  1. open blender.exe
  2. go to edit-preferences-system
  3. pick opencl
  4. enable gpus or with cpu
  5. go to render properties
  6. change render engine to cycles
  7. change device to gpu
  8. switch viewport shading to rendered

Note:
--It still work using cpu only on cycles
--eevee and workbench work well on cpu or gpu

**System Information** Laptop: Acer Swift 3X Operating system:Windows 10 64 bit (22H2) Processor: Intel Core I5 1135G7 Graphics card: Intel Xe Graphic (80eu), Intel Xe MAX Ram: 16GB LPDDR4X 4267mhz SSD:512Gb M.2 NVME **Blender Version** Broken: 2.93.17 LTS ,2.90 Worked: None **Short description of error** this is my first time install blender, blender version 3.xx is not compatible with my gpu (openCL replaced by Oneapi, Oneapi still didn't support intel igpu or pre Intel ARC) so i choose blender 2.93 because Intel has demostrated using my gpus // https://devmesh.intel.com/projects/blender-ray-tracing-with-intel-iris-xe-graphics#about-section // because this first time, i didn'n have or load any .blend file, just default cube, i tried using OpenCL and select my gpus except cpu (i tried to enable 3 of them too and still didnt work), my system memory and cpu usage cranked high, minutes later got Bluescreen message it say VIDEO_TDR_FAILURE because igdkmdnd64.sys (driver issues? ) i tried using several version intel graphics driver and failed to: 1. 31.0.101.4314 2. 31.0.101.4032 3. 31.0.101.3790 4. 27.20.100.9466 (OEM) 5. 27.20.100.9040 (OEM) 6. 27.20.100.8439 (OEM) i give you some logs before it got BSOD, maybe it helps **Exact steps for others to reproduce the error** 1. open blender.exe 2. go to edit-preferences-system 3. pick opencl 4. enable gpus or with cpu 5. go to render properties 6. change render engine to cycles 7. change device to gpu 8. switch viewport shading to rendered Note: --It still work using cpu only on cycles --eevee and workbench work well on cpu or gpu
nathanaelm added the
Priority
Normal
Status
Needs Triage
Type
Report
labels 2023-05-16 17:33:15 +02:00
Member

Hi @nathanaelm , this looks like a TDR time out and failed to recover. You could try setting TDR limit higher or disable the limit and try rendering again: https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0x116---video-tdr-failure

Hi @nathanaelm , this looks like a `TDR` time out and failed to recover. You could try setting TDR limit higher or disable the limit and try rendering again: https://learn.microsoft.com/en-us/windows-hardware/drivers/debugger/bug-check-0x116---video-tdr-failure
YimingWu added
Status
Needs Information from User
and removed
Status
Needs Triage
labels 2023-05-17 07:28:16 +02:00
Author

@ChengduLittleA i tried to disable TDR by modifying Tdrlevel to 0: https://learn.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys
stil got the same BSOD, as you can see on task manager, my cpu and ram at full load,before it got bsod

@ChengduLittleA i tried to disable TDR by modifying Tdrlevel to 0: https://learn.microsoft.com/en-us/windows-hardware/drivers/display/tdr-registry-keys stil got the same BSOD, as you can see on task manager, my cpu and ram at full load,before it got bsod
Member

Can you try your iGPU and Xe Max devices separately? It could be a Xe Max specific issue.
While oneAPI backend doesn't officially supports GPUs before Arc in Blender 3.x, you can still run it after setting CYCLES_ONEAPI_ALL_DEVICES=1 environment variable. You should expect a very long compile time for some GPUs during first use but then it's working correctly, at least on your iGPU - I haven't tested on Xe Max.

Can you try your iGPU and Xe Max devices separately? It could be a Xe Max specific issue. While oneAPI backend doesn't officially supports GPUs before Arc in Blender 3.x, you can still run it after setting `CYCLES_ONEAPI_ALL_DEVICES=1` environment variable. You should expect a very long compile time for some GPUs during first use but then it's working correctly, at least on your iGPU - I haven't tested on Xe Max.
Author

@xavierh i tried its separately on blender 3.5.1 and add CYCLES_ONEAPI_ALL_DEVICES=1 to environment variable, intel xe max didn't survive (BSOD) after 15 minutes, intel xe graphic crash but not cause BSOD

@xavierh i tried its separately on blender 3.5.1 and add `CYCLES_ONEAPI_ALL_DEVICES=1` to environment variable, intel xe max didn't survive (BSOD) after 15 minutes, intel xe graphic crash but not cause BSOD
nathanaelm changed title from OpenCL fail to compile and caused BSOD using Intel Xe Graphics and Intel Xe MAX to Cycles OpenCL fail to compile and caused BSOD using Intel Xe Graphics and Intel Xe MAX 2023-05-23 01:46:25 +02:00
Member

2.93 is EOL (last version that supports OpenCL) so closing this report: https://projects.blender.org/blender/blender/milestone/4

While it should not crash the OS, we can continue the discussion here or at other community websites: https://www.blender.org/community/


BTW, I'm observing multiple instance of Blender (consuming ~2/1GB of memory) in task manager: #107980 (comment)
Is this a default cube scene?

Windows minidump may give more information about the crash.

2.93 is EOL (last version that supports OpenCL) so closing this report: https://projects.blender.org/blender/blender/milestone/4 While it should not crash the OS, we can continue the discussion here or at other community websites: https://www.blender.org/community/ - - - BTW, I'm observing multiple instance of Blender (consuming ~2/1GB of memory) in task manager: https://projects.blender.org/blender/blender/issues/107980#issuecomment-941829 Is this a default cube scene? Windows minidump may give more information about the crash.
Blender Bot added
Status
Archived
and removed
Status
Needs Information from User
labels 2023-08-16 13:01:54 +02:00
Member

I've recently checked Blender 4.0 with CYCLES_ONEAPI_ALL_DEVICES=1 environment variable.
You need hours of patience to get the graphics binaries to be compiled but once done, I could render classroom fine on either Xe and Xe Max GPUs as well as both together, with driver 101.4953.
image

I've recently checked Blender 4.0 with CYCLES_ONEAPI_ALL_DEVICES=1 environment variable. You need hours of patience to get the graphics binaries to be compiled but once done, I could render classroom fine on either Xe and Xe Max GPUs as well as both together, with driver 101.4953. ![image](/attachments/d14e9680-4f0c-41ec-85ab-a460c445d4b7)
689 KiB
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
4 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#107980
No description provided.