You are not logged in.

#1 2013-09-03 22:49:47

needay
Member
Registered: 2013-09-03
Posts: 2

[Solved] Flash HW accelerate on 64 bit system by vdpau with AMD cards

I'm running a 64 bit system with AMD E-450. I think the new kernel and mesa package have vdpau support.  Mplayer can play files with HW acceleration. However, the video is still decoded by software in flash.

Is flash HW acceleration by vdpau with AMD cards supported? Or is there something I miss?

Here is some information.

$ cat /etc/adobe/mms.cfg 
#Hardware video decoding
EnableLinuxHWVideoDecode = 1
#OverrideGPUValidation = 1
-------------------------------------
local/flashplugin 11.2.202.297-1
    Adobe Flash Player
local/ati-dri 9.2.0-1
    Mesa drivers for AMD/ATI Radeon
local/glu 9.0.0-2
    Mesa OpenGL Utility library
local/libtxc_dxtn 1.0.1-5
    S3 Texture Compression (S3TC) library for Mesa
local/mesa 9.2.0-1
    an open-source implementation of the OpenGL specification
local/mesa-libgl 9.2.0-1
    Mesa 3-D graphics library

-------------------------------------
$ 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 
422    16384 16384  NV12 
444    16384 16384  NV12 

Decoder capabilities:

name               level macbs width height
-------------------------------------------
MPEG1                16  9216  2048  1152
MPEG2_SIMPLE         16  9216  2048  1152
MPEG2_MAIN           16  9216  2048  1152
H264_BASELINE        16  9216  2048  1152
H264_MAIN            16  9216  2048  1152
H264_HIGH            16  9216  2048  1152
VC1_SIMPLE           16  9216  2048  1152
VC1_MAIN             16  9216  2048  1152
VC1_ADVANCED         16  9216  2048  1152
MPEG4_PART2_SP       16  9216  2048  1152
MPEG4_PART2_ASP      16  9216  2048  1152

Output surface:

name              width height nat types
----------------------------------------------------
B8G8R8A8         16384 16384    y  NV12 
R8G8B8A8         16384 16384    y  NV12 
R10G10B10A2      16384 16384    y  NV12 
B10G10R10A2      16384 16384    y  NV12 

Bitmap surface:

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

Video mixer:

feature name                    sup
------------------------------------
DEINTERLACE_TEMPORAL             -
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  


Inconsistency detected by ld.so: dl-close.c: 771: _dl_close: Assertion `map->l_init_called' failed!

Last edited by needay (2013-09-09 09:00:56)

Offline

#2 2013-09-03 22:59:25

anish
Member
Registered: 2009-06-03
Posts: 32

Re: [Solved] Flash HW accelerate on 64 bit system by vdpau with AMD cards

Try changing
#OverrideGPUValidation = 1
to
OverrideGPUValidation = true

Offline

#3 2013-09-04 11:16:50

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,466

Re: [Solved] Flash HW accelerate on 64 bit system by vdpau with AMD cards

OverrideGPUValidation isn't working anymore


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#4 2013-09-05 09:11:33

Darksoul71
Member
Registered: 2010-04-12
Posts: 319

Re: [Solved] Flash HW accelerate on 64 bit system by vdpau with AMD cards

Running an AMD E350 here. HD acceleration with fglrx always was a PITA to me. SMPlayer worked in regard to acceleration of 1080p stuff but HD flash stuff (depending on Flash version) either was unstable or not working. I was fed up and switched to a GeForce 9500GT then sad

This partially solved the issue but even with my 9500GT HD flash video (example: Youtube) is often behaving strange (e.g. stuttering even when the video is buffered, fullscreen stutters which small video runs fine). I have moved away from viewing flash videos online. Either I grab them with youtube-dl or dwhelper / down them all for watching them afterwards with SMPlayer and VDPAU active.

Last edited by Darksoul71 (2013-09-05 09:50:05)


My archlinux x86_64 host:
AMD E350 (2x1.6GHz) / 8GB DDR3 RAM / GeForce 9500GT (passive) / Arch running from 16GB USB Stick

Offline

#5 2013-09-08 16:11:08

needay
Member
Registered: 2013-09-03
Posts: 2

Re: [Solved] Flash HW accelerate on 64 bit system by vdpau with AMD cards

I'm using chromium and set the 'Override software rendering list' flag seems to solve the problem.

Offline

Board footer

Powered by FluxBB