Official built of Blender crashes with opencl-intel package installed - not if I compile Blender myself or using fedora package #73024
Labels
No Label
Interest
Animation & Rigging
Interest
Blender Cloud
Interest
Collada
Interest
Core
Interest
Documentation
Interest
Eevee & Viewport
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
Import and Export
Interest
Modeling
Interest
Modifiers
Interest
Nodes & Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds, Tests & Devices
Interest
Python API
Interest
Rendering & Cycles
Interest
Sculpt, Paint & Texture
Interest
Translations
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Meta
Good First Issue
Meta
Papercut
Module
Add-ons (BF-Blender)
Module
Add-ons (Community)
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender-addons#73024
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
System Information
Operating system: Fedora 31
Graphics card: Intel Corporation UHD Graphics 620 (Whiskey Lake)
Blender Version
Broken: (example: 2.81a
Short description of error
Exact steps for others to reproduce the error
I tried with 2 versions:
I only:
open Blender
press F12 to render the default cube
Official built: crash
Fedora built: rendering OK
Both can list my OpenCL device in GPU list in LuxCoreRender tab.
The "problem" is that Fedora Package doesn't have ffmpeg options and so on.., and is often not quickly updated. I'd rather use the official build.
Yes, I know :) , Blender only officially supports NVidia CUDA/OpenCL and Radeon for Cycles, but here I'm using LuxCoreRender that is able to use any OpenCL device.
Here some informations:
The "official" built of Blender gives that crash log:
Note: Cycles doesn't see my OpenCL device while LuxCoreRender is able to use it, that's a pitty.
Added subscriber: @Metal3d
I confirm that compiling myself with fedora openimage opencolor oidn and so on... is OK. The interface doesn't freeze when I go to settings, and LuxCoreRender works.
BTW: my GPU is still not seen in OpenCL tab, while LuxCoreRender see it and can use it. Any way to understand why Blender cannot see my OpenCL device ? (I will open a new issue for that)
Added subscriber: @mano-wii
Changed status from 'Needs Triage' to: 'Archived'
Thanks for the report.
Have you tried to report this issue to the Lux Core bug tracker?
https://github.com/LuxCoreRender/BlendLuxCore/issues
Cycles does not support all versions of OpenCL, nor all GPUs. There is a reason for that.
backtrace shows that the crash occurs in the blender module. But you can't tell from it if it's a bug or a misuse of the API.
BlendLuxCore is not an addon officially maintained by blender, so unless we can reproduce the problem without that addon, there's not much we can do.
Hi,
What I'm reporting is that "your" built is not compatible with LuxCore addon with Intel, while the one I compiled myself on Fedora or the RPM from repository is OK. Actually there is another problem:
I tried to compile with your built dependencies and Blender Crashes:
One more time, if I compile with distribution packages (OpenImage, OIDN, ...) there is no problem (excepting Cycles ignoring my card, but yes I know that you do not support it for now)
What I'm pointing is that the official build from blender.org crashes with opencl-intel package. If I remove the driver, your build of Blender works as excpected. So, no, LuxCoreAddon is not the problem :)
Official built of Blender crashes at render with LuxCoreRender (not with RPM version)to Official built of Blender crashes with opencl-intel package intalled - not if I compile Blender myself or using fedora packageOfficial built of Blender crashes with opencl-intel package intalled - not if I compile Blender myself or using fedora packageto Official built of Blender crashes with opencl-intel package installed - not if I compile Blender myself or using fedora packageChanged status from 'Archived' to: 'Needs Triage'
You can see that comment: https://github.com/intel/compute-runtime/issues/194#issuecomment-517619116 it seems that the official build uses static LLVM
This comment also seems to resolve the "hang" that I have as well: https://github.com/intel/compute-runtime/issues/194#issuecomment-518299895
Just one more message to be sure that:
I just realized that the problem is not Lux but the intel-opencl package that breaks the official build while compiling myself and/or using Fedora build is OK. I'm sure that the problem comes from linked libraries or something like that.
Here is my CMakeCache file that I use with Blender 2.82 branch if it can help
Regards,
CMakeCache.txt
Note that the problem is very similar with issue blender/blender#68052 - I needed to remove Clover too.
Hello,
The problem remains with 2.82 beta, downloaded from blender.org. Blender freezes at start time, no way to exit. IfI build my own, no problem.
I give an strace output as attachment. blender-2.82-freeze
Regards
Added subscriber: @Jeroen-Bakker
Changed status from 'Needs Triage' to: 'Needs Developer To Reproduce'
@Metal3d could it be that you don't compile with LLVM and that works as there are no conflicts during symbol loading of common shared objects? see https://developer.blender.org/T68052
Added subscriber: @jdanecki
mmmhh... AFAIK I activated LLVM build.
Added subscriber: @ThomasDinges
Changed status from 'Needs Developer To Reproduce' to: 'Archived'
OpenCL rendering support was removed in Blender 3.0.
The combination of the limited Cycles kernel implementation, driver bugs, and stalled OpenCL standard
has made maintenance too difficult. Thanks for your report, but it's unlikely that there will be further fixes for OpenCL.
For AMD GPUs, there is a new backend based on the HIP platform.
In Blender 3.0, this is supported on Windows with RDNA and RDNA2 generation discrete graphics cards.
It includes Radeon RX 5000 and RX 6000 series GPUs. Driver version Radeon Pro 21.Q4 or newer is required.
https://wiki.blender.org/wiki/Reference/Release_Notes/3.0/Cycles
https://code.blender.org/2021/11/next-level-support-for-amd-gpus/
This comment was removed by @Metal3d