Skip to contentSkip to conversation

New: 48 fps and 50 fps video decoding is stutter on UVD

Bug 68805 [email protected] 1 participant 6 messages Sep 1, 2013 – Apr 10, 2014

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 68805
Assignee: [email protected]
Summary: 48 fps and 50 fps video decoding is stutter on UVD
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

Created attachment 84985
--> https://bugs.freedesktop.org/attachment.cgi?id=84985&action=edit
dmesg

48 fps and 50 fps video decoding is stutter on UVD, even 720p. UVD on Radeon 6310 with fglrx driver as able to decode up to 1080p 50 fps video with zero dropper frames so hardware is capable of decoding such framerate. There is 48 fps sample
http://dl.dropbox.com/u/11564551/Inception_trailer_48fps.mkv but I want to notice - many camcorders record 1080p50 or even 1080p60 video this days, so this issue not just about trailers that upscaled from 24 to 48 fps.

Radeon HD 6310
Linux 3.11 with drm-next from this folder:
http://kernel.ubuntu.com/~kernel-ppa/mainline/drm-next/current/ (build 3.11.0-996.201308300442). radeon.dpm is enabled.
libdrm 2.4.46+git1308291007.f17d41 xserver-xorg-video-radeon 7.2.0+git1308270847.8927d3
Mesa 9.3~git1308301002.74be77
libvdpau1 0.7-1
mplayer2 2.0-554-gf63dbad
Ubuntu 13.04 x86_64

Driver, Mesa and firmwares installed from this PPA:
https://launchpad.net/~oibaf/+archive/graphics-drivers

dmesg output attached.
vdpauinfo output attached.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 68805] 48 fps and 50 fps video decoding is stutter on UVD

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

--- Comment #1 from [email protected] ---
Created attachment 84989
--> https://bugs.freedesktop.org/attachment.cgi?id=84989&action=edit
vdpauinfo

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 68805] 48 fps and 50 fps video decoding is stutter on UVD

In reply to [email protected]

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

--- Comment #2 from [email protected] ---
I have very similar config to your (3.11 + DPM + oibaf PPA) except HD 6670 instead 6310 - but vdpainfo output looks exactly the same. However, I cannot confirm your issue. I am curious what is your /sys/kernel/debug/dri/0/radeon_pm_info?

Mine:
sudo cat /sys/kernel/debug/dri/0/radeon_pm_info
uvd vclk: 70000 dclk: 56000
power level 0 sclk: 80000 mclk: 100000 vddc: 1100 vddci: 0

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 68805] 48 fps and 50 fps video decoding is stutter on UVD

In reply to [email protected]

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

--- Comment #3 from [email protected] ---
While playback this sample video:
uvd vclk: 53334 dclk: 40000
power level 0 sclk: 49231 vddc: 975

Quote from dmesg:

[147358.038752] switching from power state:
[147358.038772]         ui class: performance
[147358.038778]         internal class: none
[147358.038782]         caps: 
[147358.038787]         uvd    vclk: 0 dclk: 0
[147358.038793]                 power level 0    sclk: 27827 vddc: 900
[147358.038796]                 power level 1    sclk: 49231 vddc: 975
[147358.038799]         status: c 
[147358.038803] switching to power state:
[147358.038805]         ui class: none
[147358.038807]         internal class: uvd 
[147358.038811]         caps: 
[147358.038814]         uvd    vclk: 53334 dclk: 40000
[147358.038817]                 power level 0    sclk: 49231 vddc: 975
[147358.038819]         status: r
Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 68805] 48 fps and 50 fps video decoding is stutter on UVD

In reply to [email protected]

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

--- Comment #4 from Grigori Goronzy <[email protected]> ---
There are some known performance problems with UVD. I don't believe we know why it is slower than fglrx yet. Maybe something subtle related to UVD setup.

Tiling is also disabled for UVD surfaces at the moment. This slightly reduces throughput, especially on GPUs with little memory bandwidth (such as APUs).

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 68805] 48 fps and 50 fps video decoding is stutter on UVD

In reply to [email protected]

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

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from [email protected] ---
Certainly fixed now.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel