[Bug 88658] Slow video playback on Kabini

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Wed Jan 21 02:10:20 PST 2015


https://bugs.freedesktop.org/show_bug.cgi?id=88658

            Bug ID: 88658
           Summary: Slow video playback on Kabini
           Product: Mesa
           Version: unspecified
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/radeonsi
          Assignee: dri-devel at lists.freedesktop.org
          Reporter: jtossenb at gmail.com
        QA Contact: dri-devel at lists.freedesktop.org

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 
https://dl-web.dropbox.com/get/hi10p_sample.mp4?w=AAC8qnXfS0xxWbd5Fc2bkvWxMxeqlUiSkL-Dxe5C5BDVyw&dl=1&_subject_uid=6760021
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 <michel.daenzer at amd.com>
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 <michel.daenzer at amd.com>
    Reviewed-by: Christian König <christian.koenig at amd.com>
    Signed-off-by: Alex Deucher <alexander.deucher at amd.com>

Then I applied the patch found in comment 30 of bug 84627 attachment 11024 (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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20150121/8e9bc941/attachment.html>


More information about the dri-devel mailing list