OpenCL has stopped working #56791
Labels
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
No due date set.
Dependencies
No dependencies set.
Reference: blender/blender#56791
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
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
ARCH AMD Radeon Pro WX-5100
Blender Version
Blender 2.79 (sub 6)
Short description of error
I have started to get the following error as soon as I use anything linked to OpenCL for instance going to the system tab in user preferences produces the following error and blender crashes.
amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-9)
backtrace
I've tried downgrading the opencl-amd package (an Arch package that grabs the OpenCL libraries out of AMD's proprietary driver and installs them as a separate package). Tested different versions of blender (including 2.8) and I get the same problem.
Please help, I'm stuck with this one.
Added subscriber: @yachtsoma
Added subscribers: @brecht, @mont29
Not sure we can do much here, that looks like yet another driver bug… @brecht?
Please try:
clinfo
from the command line and seeing if it works.This may well be a bug in the driver, so I suggest reporting this to AMD as well. It looks like an issue deep in the AMD driver when we have barely done anything yet on the Blender side.
Also seems downgrading both libdrm and openc-amd works for some people :
https://blender.stackexchange.com/questions/118007/how-do-i-get-blender-working-with-amd-opencl-on-linux
https://aur.archlinux.org/packages/opencl-amd/
Maybe Arch Linux happens to be shipping some package versions that are not compatible with each other, or a newer driver than other distributions that has some bug. Either way it seems somewhat unlikely there's anything we can do to fix it in Blender.
This is the thing, clinfo and all other tools I've tried report that the opencl instalation is good. Does anyone know of any documentation for the amdgpu_query_info function/source code?
yes downgrading libdrm in combination with opencl-amd fixed my issue too. I'd like to get more involved with debugging issues with blender btw.
Subsequently I have pinned the issue down to libdrm specifically and flagged the issue upstream. temporary workaround is to downgrade to libdrm 2.4.93-1.
Thank you all for your help. I'm back to rendering on my GPU and blender is now functioning as it should. :)
Changed status from 'Open' to: 'Resolved'
Ok, thanks for testing, I don't think there is anything we can do here on the Blender side.
Changed status from 'Resolved' to: 'Archived'