<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW --- - UVD / VDPAU not working on kaveri with VLC"
href="https://bugs.freedesktop.org/show_bug.cgi?id=84255">84255</a>
</td>
</tr>
<tr>
<th>Assignee</th>
<td>xorg-driver-ati@lists.x.org
</td>
</tr>
<tr>
<th>Summary</th>
<td>UVD / VDPAU not working on kaveri with VLC
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>xorg-team@lists.x.org
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Classification</th>
<td>Unclassified
</td>
</tr>
<tr>
<th>OS</th>
<td>Linux (All)
</td>
</tr>
<tr>
<th>Reporter</th>
<td>rvdb@cryptolab.net
</td>
</tr>
<tr>
<th>Hardware</th>
<td>x86-64 (AMD64)
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Version</th>
<td>git
</td>
</tr>
<tr>
<th>Component</th>
<td>Driver/Radeon
</td>
</tr>
<tr>
<th>Product</th>
<td>xorg
</td>
</tr></table>
<p>
<div>
<pre>I'm running several AMD-based systems, including two with Kabini E-350 chips
and one with a Kaveri A10-7700 one.
All runs a Slackware64 system, with custom built 3.16.3 kernel and libdrm,
glamor, mesa and xf86-video-ati built from git pulls, dated on the 20th of
september, with exact same options.
Libvdpau 0.8 is installed on all systems, compiled with the same options.
vdpauinfo 0.1 is also installed, as well as x264, ffmpeg and vlc, all compiled
from git pulls, dated from the same 20th of september, with the same options on
all platforms.
The only differing options during compiles is that I use "-march=bdver3
-mtune=bdver3" on Kaveri while I use "-march=btver1 -mtune=btver1" on Kabini.
On Kaveri, vdpauinfo shows the following (only the begining):
**********
bash-4.3$ vdpauinfo -h
display: :0 screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0
Video surface:
name width height types
-------------------------------------------
420 16384 16384 NV12 YV12
422 16384 16384 UYVY YUYV
444 16384 16384 Y8U8V8A8 V8U8Y8A8
Decoder capabilities:
name level macbs width height
-------------------------------------------
MPEG1 0 9216 2048 1152
MPEG2_SIMPLE 3 9216 2048 1152
MPEG2_MAIN 3 9216 2048 1152
H264_BASELINE 41 9216 2048 1152
H264_MAIN 41 9216 2048 1152
H264_HIGH 41 9216 2048 1152
VC1_ADVANCED 4 9216 2048 1152
MPEG4_PART2_SP 3 9216 2048 1152
MPEG4_PART2_ASP 5 9216 2048 1152
(snip)
******************
On Kabini, I have the following output :
******************
bash-4.3$ vdpauinfo
display: :0 screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0
Video surface:
name width height types
-------------------------------------------
420 16384 16384 NV12 YV12
422 16384 16384 UYVY YUYV
444 16384 16384 Y8U8V8A8 V8U8Y8A8
Decoder capabilities:
name level macbs width height
-------------------------------------------
MPEG1 0 9216 2048 1152
MPEG2_SIMPLE 3 9216 2048 1152
MPEG2_MAIN 3 9216 2048 1152
H264_BASELINE 41 9216 2048 1152
H264_MAIN 41 9216 2048 1152
H264_HIGH 41 9216 2048 1152
VC1_ADVANCED 4 9216 2048 1152
MPEG4_PART2_SP 3 9216 2048 1152
MPEG4_PART2_ASP 5 9216 2048 1152
*****************
So far so good, the capabilities of both systems seem to be identical.
I have several H264 HD1080p videos with High Main profiles, and 41 levels.
They properly play on Kabini using VLC with VDPAU. The CPU usage is low for a
HD file and I can see in the vlc logs the following output :
****************
[00007f5954044cd8] vdpau_avcodec generic debug: video surface limits:
16384x16384
[00007f5954044cd8] vdpau_avcodec generic debug: decoder profile limits: level
41 mb 9216 2048x1152
[00007f5954044cd8] core generic debug: using hw decoder module "vdpau_avcodec"
[00007f5970d42768] avcodec decoder: Using G3DVL VDPAU Driver Shared Library
version 1.0 for hardware decoding.
[00007f5970d42768] avcodec decoder debug: available hardware decoder output
format 109 (vdpau)
[00007f5970d42768] avcodec decoder debug: available software decoder output
format 0 (yuv420p)
[00007f5954044cd8] core generic debug: looking for hw decoder module matching
"any": 2 candidates
[00007f5954044cd8] vdpau_avcodec generic debug: video surface limits:
16384x16384
[00007f5954044cd8] vdpau_avcodec generic debug: decoder profile limits: level
41 mb 9216 2048x1152
[00007f5954044cd8] core generic debug: using hw decoder module "vdpau_avcodec"
[00007f5970d42768] avcodec decoder: Using G3DVL VDPAU Driver Shared Library
version 1.0 for hardware decoding.
****************
On Kaveri, this does not work. CPU usage is high and no hardware decoding seems
to be used.
How is possible to debug this issue?</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>