Bug 205051

Summary: (amdgpu) OpenCL regression on Linux 5.3 with RX580 Polaris card
Product: Drivers Reporter: Marco (marco.rodolfi)
Component: Video(Other)Assignee: drivers_video-other
Status: RESOLVED OBSOLETE    
Severity: normal CC: ville.aakko
Priority: P1    
Hardware: x86-64   
OS: Linux   
Kernel Version: 5.3 Subsystem:
Regression: Yes Bisected commit-id:
Attachments: OOPS kernel bug from querying OpenCL info on amdgpu

Description Marco 2019-09-30 13:50:09 UTC
Created attachment 285245 [details]
OOPS kernel bug from querying OpenCL info on amdgpu

Just discovered that if I try to query opencl info (tested with both Blender and clinfo from command line) the kernel throws an oops in dmesg and the calling process deadlock completely; the process will remain stuck until a hard reset.

I was using the proprietary OpenCL AMD stack for Blender, but after removing it, the system threw the same identical error using clinfo.

I just tried to downgrade to the latest 5.2.14 on my arch install, and everything started working again.

Attached to this post is the oops log from the kernel.
Comment 1 Marco 2019-10-09 19:11:31 UTC
Fixed in 5.3.5, now Blender runs correctly under OpenCL without segfaulting; clinfo is still crashing, but that's probably a program issue and not a OpenCL one now.