Bug 70146

Summary: UVD performance regression on linux-3.12-rc
Product: DRI Reporter: Johannes Hirte <johannes.hirte>
Component: DRM/RadeonAssignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: DRI git   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Johannes Hirte 2013-10-04 17:07:37 UTC
When playing h.264 videos with UVD support, the video is sluggish and mplayer shows the "Your system is too SLOW to play this!" message after a few seconds.

git bisect points me to:

ce3537d57196dfc7094755532e1ffc1af133ca5f is the first bad commit
commit ce3537d57196dfc7094755532e1ffc1af133ca5f
Author: Alex Deucher <alexander.deucher@amd.com>
Date:   Wed Jul 24 12:12:49 2013 -0400

    drm/radeon/dpm: use multiple UVD power states (v3)
    
    Use the UVD handle information to determine which
    which power states to select when using UVD.  For
    example, decoding a single SD stream requires much
    lower clocks than multiple HD streams.
    
    v2: switch to a cleaner dpm/uvd interface
    v3: change the uvd power state while streams
    are active if need be
    
    Signed-off-by: Alex Deucher <alexander.deucher@amd.com>

:040000 040000 d8c5afc839fccfe228d8880817bee5b2a35d0578 af38b8261405bd4212f856499520a50476b50b43 M      drivers

GPU is a Mobility Radeon HD5470
Comment 1 Rafał Miłecki 2013-10-04 18:15:56 UTC
Fix (well, workaround) was already posted:
http://www.spinics.net/lists/dri-devel/msg46099.html
[PATCH] drm/radeon/dpm: disable multiple UVD states
Comment 2 Johannes Hirte 2013-10-04 19:24:16 UTC
(In reply to comment #1)
> Fix (well, workaround) was already posted:
> http://www.spinics.net/lists/dri-devel/msg46099.html
> [PATCH] drm/radeon/dpm: disable multiple UVD states

Thanks for info. So this should be closed as fixed (for now).

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.