(UVD RS780 first impression)

Stefan Lange lange_stefan at gmx.net
Tue Aug 26 07:14:36 PDT 2014


Hi,

first of all: Thanks a lot for putting effort into this sort of ancient 
hardware, I'm really surprised in a very positive way to see open source 
UVD support happen on old R600 GPUs. I gave the recently posted patches 
a shot an here is my first impression:

Kernel from uvd-r600-release branch compiles and boots fine
(I also included the 3.16.1 and Con Kolivas' ck/BFS patch as well, I 
hope that was OK; I could give it a try without modifications as well, 
if that would help.)

Mesa with the posted patch applied also compiled fine

First tests with mplayer were not so successful, unfortunately:
I tried "big buck bunny" with both software and hardwarde decoding.
Software looks OK (as expected). Hardware decoding seems to work, 
mplayer doesn't complain and CPU usage also goes down significantly, the 
resulting image is distorted, however.
I tried to get a screen shots to illustrate the issue, see attachment. 
Looks like part of the top is found at the bottom, and look sort of like 
an interlaced image.


This test was done on an RS780 / HD3200 desktop chipset.

Maybe this helps you?

Best regards,
Stefan

P.S.:
some more info:

dmesg shows that the UVD block is initialized as expected (after one 
error message before, however, don't know if that's expected or not):

[    4.275315] [drm:uvd_v1_0_start] *ERROR* UVD not responding, trying 
to reset the VCPU!!!

[    4.295533] [drm] UVD initialized successfully.

vdpauinfo output also looks good to me:

display: :0   screen: 0
API version: 1
Information string: G3DVL VDPAU Driver Shared Library version 1.0

Video surface:

name   width height types
-------------------------------------------
420     8192  8192  NV12 YV12
422     8192  8192  UYVY YUYV
444     8192  8192  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

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8          8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R8G8B8A8          8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R10G10B10A2       8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
B10G10R10A2       8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8

Bitmap surface:

name              width height
------------------------------
B8G8R8A8          8192  8192
R8G8B8A8          8192  8192
R10G10B10A2       8192  8192
B10G10R10A2       8192  8192
A8                8192  8192

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             y
DEINTERLACE_TEMPORAL_SPATIAL     -
INVERSE_TELECINE                 -
NOISE_REDUCTION                  y
SHARPNESS                        y
LUMA_KEY                         -
HIGH QUALITY SCALING - L1        -
HIGH QUALITY SCALING - L2        -
HIGH QUALITY SCALING - L3        -
HIGH QUALITY SCALING - L4        -
HIGH QUALITY SCALING - L5        -
HIGH QUALITY SCALING - L6        -
HIGH QUALITY SCALING - L7        -
HIGH QUALITY SCALING - L8        -
HIGH QUALITY SCALING - L9        -

parameter name                  sup      min      max
-----------------------------------------------------
VIDEO_SURFACE_WIDTH              y        48     2048
VIDEO_SURFACE_HEIGHT             y        48     1152
CHROMA_TYPE                      y
LAYERS                           y         0        4

attribute name                  sup      min      max
-----------------------------------------------------
BACKGROUND_COLOR                 y
CSC_MATRIX                       y
NOISE_REDUCTION_LEVEL            y      0.00     1.00
SHARPNESS_LEVEL                  y     -1.00     1.00
LUMA_KEY_MIN_LUMA                y
LUMA_KEY_MAX_LUMA                y

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bbb_hardware.jpg
Type: image/jpeg
Size: 1015092 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20140826/5d8706f6/attachment-0001.jpg>


More information about the dri-devel mailing list