Bug 1402259 - regression after Mesa 12.0.4 update
Summary: regression after Mesa 12.0.4 update
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: mesa
Version: 25
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Adam Jackson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-07 06:59 UTC by mvetter
Modified: 2016-12-07 07:17 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-12-07 07:17:59 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
FreeDesktop.org 99014 0 None None None 2016-12-07 07:09:51 UTC

Description mvetter 2016-12-07 06:59:31 UTC
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.

Comment 1 Igor Gnatenko 2016-12-07 07:05:50 UTC
Can you try 13.0.2 from updates-testing?

Comment 2 mvetter 2016-12-07 07:06:14 UTC
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.

Comment 3 mvetter 2016-12-07 07:11:51 UTC
(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
      ...

Comment 4 Igor Gnatenko 2016-12-07 07:17:59 UTC
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


Note You need to log in before you can comment on or make changes to this bug.