Description of problem: Updating mesa from 12.0.3 to 12.0.4 breaks OpenCL on AMD GPU. Version-Release number of selected component (if applicable): 12.0.4 How reproducible: Always Steps to Reproduce: 1. fresh F25 install 2. sudo dnf update mesa-* 3. run clpeak Actual results: clpeak when mesa 12.0.4 is installed: Platform: Clover Device: AMD OLAND (DRM 2.46.0 / 4.8.11-300.fc25.x86_64, LLVM 3.8.0) Driver version : 12.0.4 (Linux x64) Compute units : 5 Clock frequency : 680 MHz Global memory bandwidth (GBPS) float : radeon: The kernel rejected CS, see dmesg for more information. radeon: The kernel rejected CS, see dmesg for more information. radeon: The kernel rejected CS, see dmesg for more information. radeon: The kernel rejected CS, see dmesg for more information. (messages repeated) dmesg has garbage like this: [ 1444.937817] [drm:si_vm_reg_valid.part.24 [radeon]] *ERROR* Invalid register 0x950c in CS [ 1444.937818] 0xc0012800 [ 1444.937819] 0x80000000 [ 1444.937819] 0x80000000 [ 1444.937819] 0xc0026900 ... Expected results: clpeak after downgrading to mesa 12.0.3: Platform: Clover Device: AMD OLAND (DRM 2.46.0 / 4.8.11-300.fc25.x86_64, LLVM 3.8.0) Driver version : 12.0.3 (Linux x64) Compute units : 5 Clock frequency : 680 MHz Global memory bandwidth (GBPS) float : 23.72 float2 : 24.14 ... Additional info: All other packages have been updated as of 7-Dec-2016.
Can you try 13.0.2 from updates-testing?
extract from lspci: 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics Controller (rev 06) 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Oland GL [FirePro W2100] The machine is using the Intel integrated graphics for video output. The AMD card has no monitors attached to it. It's only used for GPGPU computing via OpenCL.
(In reply to Igor Gnatenko from comment #1) > Can you try 13.0.2 from updates-testing? Yep. OpenCL seems to work after updating to mesa 13.0.2. Output from clpeak: Platform: Clover Device: AMD OLAND (DRM 2.46.0 / 4.8.11-300.fc25.x86_64, LLVM 3.8.0) Driver version : 13.0.2 (Linux x64) Compute units : 5 Clock frequency : 680 MHz Global memory bandwidth (GBPS) float : 24.27 float2 : 25.18 ...
so, I will close this bug because 13.0.2 is already on its way. But I submitted bug to upstream: https://bugs.freedesktop.org/show_bug.cgi?id=99014