You are not logged in.
I'm trying to get it working with "xf86-video-ati" on Radeon HD 6xxx. It works with "catalyst" and "mplayer-vaapi". I need KMS.
xf86-video-ati 1:7.3.0-1
libva 1.3.1-2
lib32-libvdpau 0.7-2
libvdpau 0.7-1
mplayer 37224-1
ati-dri 10.2.2-1
lib32-ati-dri 10.2.2-1
lib32-mesa 10.2.2-1
lib32-mesa-libgl 10.2.2-1
mesa 10.2.2-1
mesa-libgl 10.2.2-1
CPU load is several times higher than with "catalyst" and video playback is slow, slower than audio playback.
MPlayer says this:
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12 [fs]
MPlayer configuration:
$ cat /etc/mplayer/mplayer.conf
cache=4096
cache-min=40
subcp=utf-8
subwidth=80
subfont-blur=8
ffactor=10
subfont-text-scale=2.4
"vdpauinfo" output:
display: :0.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
Output surface:
name width height nat types
----------------------------------------------------
B8G8R8A8 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R8G8B8A8 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
R10G10B10A2 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
B10G10R10A2 16384 16384 y NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
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 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 Video parameters:
Video
ID : 1
Format : VC-1
Format profile : Advanced@L3
Codec ID : V_MS/VFW/FOURCC / WVC1
Codec ID/Hint : Microsoft
Duration : 2h 9mn
Width : 1 920 pixels
Height : 1 080 pixels
Display aspect ratio : 16:9
Frame rate mode : Constant
Frame rate : 23.976 fps
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Compression mode : Lossy
Language : English
Default : Yes
Forced : NoLast edited by beroal (2014-06-27 09:03:51)
we are not condemned to write ugly code
Offline
I don't think there is an implementation for ATI with mplayer. Intel and Nvidia, yes, but ATI/AMD no. Not that I know of.
I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.
Offline
The open source radeon implementation of vdpau works pretty well for VC-1, MPEG1,2 and h264 with my HD5470 (r600 driver). My WMV3 testfile crashes, and my testvideo for VC-1 is too short to detect synchonization issues with the sound.
Edit: ftp://download.nvidia.com/XFree86/vdpau … README.txt
Last edited by progandy (2014-06-27 04:11:17)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline
The open source radeon implementation of vdpau works pretty well for VC-1, MPEG1,2 and h264
Now that you've mentioned codecs, I gave MPlayer an option with a codec "-vc ffvc1vdpau", then video acceleration is on, CPU load is even less than with "catalyst"! And this is how MPlayer output should look:
VO: [vdpau] 1920x1080 => 1920x1080 VC1 VDPAU acceleration [fs]
Selected video codec: [ffvc1vdpau] vfm: ffmpeg (FFmpeg WVC1 (VDPAU))
not this:
Selected video codec: [ffvc1] vfm: ffmpeg (FFmpeg WVC1)
VO: [vdpau] 1920x1080 => 1920x1080 Planar YV12 [fs]
It's bad that MPlayer does not select the best video codec automatically.
Last edited by beroal (2014-06-27 08:44:23)
we are not condemned to write ugly code
Offline
It's bad that MPlayer does not select the best video codec automatically.
I guess mplayer doesn't select it automatically in order to avoid potentially garbled playback. You'll have to enable vdpau in the configuration file, e.g.
# ~/.mplayer/config
# If the list has a trailing ',' MPlayer will fall back on drivers not contained in the list.
vo=vdpau,xv,
vc=ffh264vdpau,ffmpeg12vdpau,ffvc1vdpau, Last edited by progandy (2014-06-27 09:02:24)
| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |
Offline