Bug 107940 - libdrm 2.4.94-1 causes blender to crash on opencl
Summary: libdrm 2.4.94-1 causes blender to crash on opencl
Status: RESOLVED MOVED
Alias: None
Product: DRI
Classification: Unclassified
Component: libdrm (show other bugs)
Version: XOrg git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-09-14 17:37 UTC by Mowley
Modified: 2019-09-24 17:09 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Mowley 2018-09-14 17:37:08 UTC
Running Arch Linux on AMD FX-8350 with Radeon Pro WX-5100 GPU

version 2.4.94-1 of libdrm caused blender to crash with the following error

amdgpu_device_initialize: amdgpu_query_info(ACCEL_WORKING) failed (-9)

downgraded to 2.4.93-1 as a temporary fix.
Comment 1 Mowley 2018-09-14 17:38:09 UTC
can provide more info if required but was unsure as to what specifically I should attach in order to help.
Comment 2 Michel Dänzer 2018-09-17 09:44:13 UTC
Can you bisect?
Comment 3 Michel Dänzer 2018-09-17 09:58:08 UTC
Please attach the Xorg log file and the output of dmesg and xrandr.
Comment 4 Augusto Fraga Giachero 2018-09-22 13:56:24 UTC
I've found the commit that introduces this bug: 7aa1a511336dd7cb26dafef81d76edd6978a6cdf
Comment 5 Mowley 2018-09-22 20:58:48 UTC
(In reply to Augusto Fraga Giachero from comment #4)
> I've found the commit that introduces this bug:
> 7aa1a511336dd7cb26dafef81d76edd6978a6cdf

I'm guessing that my XOrg log file would now be superfluous?
Comment 6 Michel Dänzer 2018-09-24 09:10:00 UTC
(In reply to Mowley from comment #5)
> I'm guessing that my XOrg log file would now be superfluous?

Yeah, actually comment 3 was intended for another bug report, sorry.


Christian, any idea how the commit below could cause this?

commit 7aa1a511336dd7cb26dafef81d76edd6978a6cdf
Author: Christian König <christian.koenig@amd.com>
Date:   Wed Aug 1 20:44:44 2018 +0200

    amdgpu: stop using the hash table for fd_tab
Comment 7 Christian König 2018-09-24 09:53:47 UTC
(In reply to Michel Dänzer from comment #6)
> Christian, any idea how the commit below could cause this?

-EBADF means the file descriptor number is already closed.

So maybe the application is trying to open/close the device multiple times and we have a bug in amdgpu_device_free_internal?

Christian.
Comment 8 GitLab Migration User 2019-09-24 17:09:25 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/drm/issues/22.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.