All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stefan Lange <lange_stefan@gmx.net>
To: dri-devel@lists.freedesktop.org
Subject: Re: (UVD RS780 first impression)
Date: Tue, 26 Aug 2014 16:14:36 +0200	[thread overview]
Message-ID: <53FC964C.6000108@gmx.net> (raw)
In-Reply-To: <53FAFD93.1040102@vodafone.de>

[-- Attachment #1: Type: text/plain, Size: 4081 bytes --]

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


[-- Attachment #2: bbb_hardware.jpg --]
[-- Type: image/jpeg, Size: 1015092 bytes --]

[-- Attachment #3: Type: text/plain, Size: 159 bytes --]

_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/dri-devel

  reply	other threads:[~2014-08-26 14:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <UVD support for older ASICs>
2014-08-24 13:14 ` (unknown), Christian König
2014-08-24 13:14   ` [PATCH 1/6] drm/radeon: force UVD buffers into VRAM on RS[78]80 v2 Christian König
2014-08-25 17:14     ` Alex Deucher
2014-08-24 13:14   ` [PATCH 2/6] drm/radeon: properly init UVD MC bits on R600 Christian König
2014-08-24 13:14   ` [PATCH 3/6] drm/radeon: add set_uvd_clocks callback for r6xx v4 Christian König
2014-08-24 13:14   ` [PATCH 4/6] drm/radeon: add UVD support for older asics v4 Christian König
2014-08-24 13:14   ` [PATCH 5/6] drm/radeon: implement UVD hw workarounds for R6xx v3 Christian König
2014-08-24 13:14   ` [PATCH 6/6] drm/radeon: add UVD fw names for older asic Christian König
2014-08-24 13:34   ` Mike Lothian
2014-08-25  9:10     ` Re: Christian König
2014-08-26 14:14       ` Stefan Lange [this message]
2014-08-27  3:40         ` (UVD RS780 first impression) Michel Dänzer
2014-08-27  7:00           ` Christian König
2014-08-28 19:25             ` Stefan Lange
2014-08-30 15:58             ` Stefan Lange
2014-09-07 13:24       ` Markus Trippelsdorf
2014-09-08  3:47         ` Re: Alex Deucher
2014-09-08  7:13           ` Re: Markus Trippelsdorf

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=53FC964C.6000108@gmx.net \
    --to=lange_stefan@gmx.net \
    --cc=dri-devel@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.