<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Slow video playback on Kabini"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=88658">88658</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Slow video playback on Kabini
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jtossenb@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>I am using a 64-bit Kabini based system (AMD Athlon 5350) with Kodi 14.0 on an
up-to-date Arch linux.
Kodi plays this 
<a href="https://dl-web.dropbox.com/get/hi10p_sample.mp4?w=AAC8qnXfS0xxWbd5Fc2bkvWxMxeqlUiSkL-Dxe5C5BDVyw&dl=1&_subject_uid=6760021">https://dl-web.dropbox.com/get/hi10p_sample.mp4?w=AAC8qnXfS0xxWbd5Fc2bkvWxMxeqlUiSkL-Dxe5C5BDVyw&dl=1&_subject_uid=6760021</a>
small sample file fine with kernel 3.16.x, but with kernel >= 3.17 the playback
is only 1 fps (like a slideshow). It is a hi10p video, so Kodi uses pure
software decoding.

I've done a git bisect between 3.16 and 3.17-rc1 and found that
02376d8282b88f07d0716da6155094c8760b1a13 is the first bad commit.

commit 02376d8282b88f07d0716da6155094c8760b1a13
Author: Michel Dänzer <<a href="mailto:michel.daenzer@amd.com">michel.daenzer@amd.com</a>>
Date:   Thu Jul 17 19:01:08 2014 +0900

    drm/radeon: Allow write-combined CPU mappings of BOs in GTT (v2)

    v2: fix rebase onto drm-fixes

    Signed-off-by: Michel Dänzer <<a href="mailto:michel.daenzer@amd.com">michel.daenzer@amd.com</a>>
    Reviewed-by: Christian König <<a href="mailto:christian.koenig@amd.com">christian.koenig@amd.com</a>>
    Signed-off-by: Alex Deucher <<a href="mailto:alexander.deucher@amd.com">alexander.deucher@amd.com</a>>

Then I applied the patch found in <a href="show_bug.cgi?id=88658#c30">comment 30</a> of <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - (bisected) 32bit corruption with PIPE_USAGE_STREAM reverted"
   href="show_bug.cgi?id=84627">bug 84627</a> <span class=""><a href="attachment.cgi?id=11024" name="attach_11024" title=".xsession-errors">attachment 11024</a> <a href="attachment.cgi?id=11024&action=edit" title=".xsession-errors">[details]</a></span> (as
I use 64-bit system).

This patch worked around the problem on 3.17 and on the latest 3.19-rc5 kernel
as well and now Kodi plays the above video 24 fps.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>