Page 1 of 3 123 LastLast
Results 1 to 10 of 25

Thread: What Radeon card for HW video acceleration ?

  1. #1

    Question What Radeon card for HW video acceleration ?

    Hi guys and gals.

    I have a 785Gmh motherboard with radeon HD4200 graphics.
    I bought this mobo a long time ago since it was cheap and it had HW video acceleration.
    But this was/is true only for Windows.

    In whatever Linux version/flavor since like 6 years ago, including the currently installed leap 42.2, there is no HW video acceleration for this board.
    And i have a lot of AVCHD files from a Panasonic camera that are nausea inducing in Linux.
    Main but not sole culprit is deinterlace.
    Only app i can use to watch them is mpv with deinterlace turned on and everything is pretty smooth.
    Without deinterlace or if using any other peace of software with all options enabled, i get sick with nausea from watching.
    Problem is, CPU (phenom x3 2.5GHz) usage is above 60% at all time.
    If using win7 (just for comparison) and the proprietary driver, i get very smooth playback and excellent image quality for 10-20% cpu usage.

    I know the Mesa radeon driver can't do any hw video decode on this hw generation.

    I am willing to buy a dedicated card, still AMD for the free drivers, if it's not too expensive.
    But here i come into troubles.
    I've studied all internet resources i could find but did not get a definite answer.

    So, what is the "weakest" card starting from which, if going upwards, hw video decode is supported in linux with free drivers ?

  2. #2

    Default Re: What Radeon card for HW video acceleration ?

    Well, I am not an expert on this, but according to https://www.x.org/wiki/RadeonFeature/#index1h2 the free drivers should support hw video acceleration (i.e. decoding) for your card.

    Please check that you have libvdpau_r600 installed, and try to remove libvdpau_va_gl1 if it is installed (which will redirect VDPAU to use VAAPI instead, possibly falling back to software decoding if not supported). OTOH, you may also try to install the latter if it's not installed yet, maybe VAAPI works better on your card (and most players that support VDPAU will prefer it over VAAPI I think).

    OTOH, hardware decoding/acceleration may be disabled in the other player's settings, though it should normally be enabled/used by default I suppose.

  3. #3

    Default Re: What Radeon card for HW video acceleration ?

    Thanks.

    I have libvdpau_r600 installed and it does not seem to matter.
    I have istalled all vdpau / vaapi libs, one at a time, just to check if something happens.
    Nothing did.
    VLC uses very little cpu (~10%) but playback is horrible (nausea).
    Totem plays 1 in 5-10 frames.
    Mplayer is similar to VLC.
    Mpv is somewhat better, cpu usage about 20%.
    If pressing d (deinterlace), my video plays smooth (not as great as in windows but pretty close) but cpu usage goes to above 60%.

    I have checked all possible HW knobs, cmdline arguments for these players and nothing works.

    It seems hw acceleration is not complete in the free drivers.
    Or maybe it's just the deinterlace stuff missing.
    In the page you linked (and that i studied in the past) there is no mpg support for older gpus (including mine).
    Maybe my AVCHD files include profiles (deinterlace) specific to mpg but not supported.

    But it can't be unsupported in hw because it works in win.

    So, my question is, considering current radeon driver situation, starting from which gpu can i expect smooth video hw acceleration ?
    I have found a reasonably priced hd6450 which, according to the radeon feature page says is serviced by r600g driver.
    I know this driver sees almost no work nowadays and have no idea how complete is for the hd6450 card regarding video accel.
    I would prefer a card supported by radeonsi as this driver sees all development now but these cards tend to at least double my budget requirements ... which i can't fulfill.
    And i find it weird i have to buy some powerful 3D card just for some basic abilities, or to use windows.

  4. #4

    Default Re: What Radeon card for HW video acceleration ?

    Given I have both a 4200 and 6450 (i.e. thee very same adapters mentioned in this thread) in my desktop/workstation, I can confidently say:

    Quote Originally Posted by Ionel View Post
    I have a 785Gmh motherboard with radeon HD4200 graphics.
    I bought this mobo a long time ago since it was cheap and it had HW video acceleration.
    But this was/is true only for Windows.

    In whatever Linux version/flavor since like 6 years ago, including the currently installed leap 42.2, there is no HW video acceleration for this board.
    False. The 4200 has had vdpau support for several years (the 6450 had support even earlier, as the 4200 uses an older UVD engine, which took the AMD developers longer to get support for (various reasons))

    And i have a lot of AVCHD files from a Panasonic camera that are nausea inducing in Linux.
    Main but not sole culprit is deinterlace.
    Only app i can use to watch them is mpv with deinterlace turned on and everything is pretty smooth.
    Without deinterlace or if using any other peace of software with all options enabled, i get sick with nausea from watching.
    Problem is, CPU (phenom x3 2.5GHz) usage is above 60% at all time.
    If using win7 (just for comparison) and the proprietary driver, i get very smooth playback and excellent image quality for 10-20% cpu usage.
    Sounds like you have a playback issue, or the codec level/profile stuff used by your camera are not supported ... I'm doubtful of the latter. Why don't you have a look at what the utilitiy mediainfo says about the underlining encoding.

    I know the Mesa radeon driver can't do any hw video decode on this hw generation.
    Again, false ... but it does have limitations (see vdpauinfo)

    Quote Originally Posted by Ionel View Post
    I have libvdpau_r600 installed and it does not seem to matter.
    I have istalled all vdpau / vaapi libs, one at a time, just to check if something happens.
    Nothing did.
    VLC uses very little cpu (~10%) but playback is horrible (nausea).
    Totem plays 1 in 5-10 frames.
    Mplayer is similar to VLC.
    Mpv is somewhat better, cpu usage about 20%.
    If pressing d (deinterlace), my video plays smooth (not as great as in windows but pretty close) but cpu usage goes to above 60%.
    Again, sounds like a playback issue.

    I experience a bug with my 4200 that affects its PM (it drops back to using the older profiles based pm, as opposed to dpm ... and that will possibly affect uvd clocks ... Though I normally use the 6450 as an engine, I did a quick check on a couple of media files and the 4200's vdpau decode support was functioning)

    I have checked all possible HW knobs, cmdline arguments for these players and nothing works.
    Given the misinfomation you've conveyed, I'm rather inclined to doubt this statement. You have to show us what you've tried, and what the cmdline output during playback is.

    It seems hw acceleration is not complete in the free drivers.
    It works quite well for the features the hardware support
    Or maybe it's just the deinterlace stuff missing.
    Possibly.

    In the page you linked (and that i studied in the past) there is no mpg support for older gpus (including mine).
    Nonesense. Look at vdpau info ... what you're likely confusing is that the old prop. fglrx XvBA support didn't have mpeg2 support. But that has nothing to do with the oss stack.
    Maybe my AVCHD files include profiles (deinterlace) specific to mpg but not supported.
    Now you're starting to make sense ... though, I'm not quite sure what AVC would be doing in an mpg container

    But it can't be unsupported in hw because it works in win.
    Linux is not Windows. maybe support for a particular feature is not available in linux (though I doubt it).

    So, my question is, considering current radeon driver situation, starting from which gpu can i expect smooth video hw acceleration ?
    I have found a reasonably priced hd6450 which, according to the radeon feature page says is serviced by r600g driver.
    I know this driver sees almost no work nowadays and have no idea how complete is for the hd6450 card regarding video accel.
    I would prefer a card supported by radeonsi as this driver sees all development now but these cards tend to at least double my budget requirements ... which i can't fulfill.
    And i find it weird i have to buy some powerful 3D card just for some basic abilities, or to use windows.
    The 6450 definitely has better abilities then the 4200, but its not huge by any means either.

  5. #5

    Default Re: What Radeon card for HW video acceleration ?

    Thanks Tyler.

    What looks like misinformation to you might not actually be so.
    I have installed Opensuse for about 6 years now as my sole home OS.
    Prior to that i've had win7 which had excellent video hw acceleration but at some point just lost sound and that was it.
    So, i've used Opensuse starting from then and, honestly, i've seen no major difference in behavior, regarding playback, since then.
    With this i mean no major improvement.

    I've followed news and mailing lists, saw amd giving it's firmware for video decode and helping with driver stuff and vdpau support.
    But that just did not translate into any visible improvement for me.
    It seems it works for you which is great.

    I keep mentioning windows as a comparison to show that hw is capable of doing it's thing.
    It's just that, at least in my case, things don't seem to add up to any benefit from the sw side of things.

    Ok, so let's get to the gritty details.

    The output from vdpauinfo:
    vdpauinfo
    display: :0 screen: 0
    libva info: VA-API version 0.39.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
    libva info: Found init function __vaDriverInit_0_39
    libva info: va_openDriver() returns 0
    API version: 1
    Information string: OpenGL/VAAPI backend for VDPAU

    Video surface:

    name width height types
    -------------------------------------------
    420 4096 4096 NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
    422 4096 4096 NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8
    444 4096 4096 NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8

    Decoder capabilities:

    name level macbs width height
    ----------------------------------------------------
    MPEG1 --- not supported ---
    MPEG2_SIMPLE --- not supported ---
    MPEG2_MAIN --- not supported ---
    H264_BASELINE 51 16384 2048 2048
    H264_MAIN 51 16384 2048 2048
    H264_HIGH 51 16384 2048 2048
    VC1_SIMPLE --- not supported ---
    VC1_MAIN --- not supported ---
    VC1_ADVANCED --- not supported ---
    MPEG4_PART2_SP --- not supported ---
    MPEG4_PART2_ASP --- not supported ---
    DIVX4_QMOBILE --- not supported ---
    DIVX4_MOBILE --- not supported ---
    DIVX4_HOME_THEATER --- not supported ---
    DIVX4_HD_1080P --- not supported ---
    DIVX5_QMOBILE --- not supported ---
    DIVX5_MOBILE --- not supported ---
    DIVX5_HOME_THEATER --- not supported ---
    DIVX5_HD_1080P --- not supported ---
    H264_CONSTRAINED_BASELINE 51 16384 2048 2048
    H264_EXTENDED --- not supported ---
    H264_PROGRESSIVE_HIGH --- not supported ---
    H264_CONSTRAINED_HIGH --- not supported ---
    H264_HIGH_444_PREDICTIVE --- not supported ---
    HEVC_MAIN --- not supported ---
    HEVC_MAIN_10 --- not supported ---
    HEVC_MAIN_STILL --- not supported ---
    HEVC_MAIN_12 --- not supported ---
    HEVC_MAIN_444 --- not supported ---

    Output surface:

    name width height nat types
    ----------------------------------------------------
    B8G8R8A8 8192 8192 y
    R8G8B8A8 8192 8192 y
    R10G10B10A2 8192 8192 y
    B10G10R10A2 8192 8192 y
    A8 8192 8192 y

    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 -
    DEINTERLACE_TEMPORAL_SPATIAL -
    INVERSE_TELECINE -
    NOISE_REDUCTION -
    SHARPNESS -
    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 -
    VIDEO_SURFACE_HEIGHT -
    CHROMA_TYPE -
    LAYERS -

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

  6. #6

    Default Re: What Radeon card for HW video acceleration ?

    Without libvdpau_va_gl1 i get:
    mpv --hwdec=vdpau --vo=vdpau 00021.MTS
    Playing: 00021.MTS
    (+) Video --vid=1 (h264)
    (+) Audio --aid=1 (ac3)
    Subs --sid=1 (hdmv_pgs_subtitle)
    Failed to open VDPAU backend libvdpau_va_gl.so: cannot open shared object file: No such file or directory
    [vo/vdpau] Error when calling vdp_device_create_x11: 1
    Error opening/initializing the selected video_out (-vo) device.
    Video: no video
    Exiting... (Errors when loading file)

    After installing above lib:
    mpv --hwdec=vdpau --vo=vdpau 00021.MTS
    Playing: 00021.MTS
    (+) Video --vid=1 (h264)
    (+) Audio --aid=1 (ac3)
    Subs --sid=1 (hdmv_pgs_subtitle)
    libva info: VA-API version 0.39.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
    libva info: Found init function __vaDriverInit_0_39
    libva info: va_openDriver() returns 0
    [vo/vdpau] VDPAU is most likely emulated via VA-API.
    [vo/vdpau] This is inefficient. Use --vo=opengl instead.
    AO: [pulse] 48000Hz stereo 2ch float
    Using hardware decoding (vdpau).
    VO: [vdpau] 1920x1080 vdpau
    [vo/vdpau] Compositing window manager detected. Assuming timing info is inaccurate.
    AV: 00:00:00 / 00:01:21 (1%) A-V: 0.471

    Audio/Video desynchronisation detected! Possible reasons include too slow
    hardware, temporary CPU spikes, broken drivers, and broken files. Audio
    position will not match to the video (see A-V status field).

    AV: 00:00:01 / 00:01:21 (2%) A-V: 0.635
    Opening video filter: [vdpaupp deint=yes]
    AV: 00:00:01 / 00:01:21 (2%) A-V: 0.693
    VO: [vdpau] 1920x1080 vdpau
    [vo/vdpau] Compositing window manager detected. Assuming timing info is inaccurate.
    AV: 00:00:03 / 00:01:21 (7%) A-V: 2.104

    Exiting... (Quit)

    From vdpauinfo and the above, it seems that VAAPI is used.

    If using opengl output:
    mpv --hwdec=vdpau --vo=opengl 00021.MTS
    Playing: 00021.MTS
    (+) Video --vid=1 (h264)
    (+) Audio --aid=1 (ac3)
    Subs --sid=1 (hdmv_pgs_subtitle)
    VO does not support requested hardware decoder, or loading it failed.
    AO: [pulse] 48000Hz stereo 2ch float
    Using software decoding.
    VO: [opengl] 1920x1080 yuv420p
    AV: 00:00:02 / 00:01:21 (3%) A-V: 0.000
    Opening video filter: [yadif]
    AV: 00:00:09 / 00:01:21 (12%) A-V: 0.000

    Exiting... (Quit)

    When requesting vaapi:
    mpv --hwdec=vaapi --vo=opengl 00021.MTS
    Playing: 00021.MTS
    (+) Video --vid=1 (h264)
    (+) Audio --aid=1 (ac3)
    Subs --sid=1 (hdmv_pgs_subtitle)
    libva info: VA-API version 0.39.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
    libva info: Found init function __vaDriverInit_0_39
    libva info: va_openDriver() returns 0
    AO: [pulse] 48000Hz stereo 2ch float
    Using hardware decoding (vaapi).
    VO: [opengl] 1920x1080 vaapi
    AV: 00:00:02 / 00:01:21 (3%) A-V: 0.000 Dropped: 1
    Opening video filter: [vavpp]
    AV: 00:00:06 / 00:01:21 (8%) A-V: 0.000 Dropped: 84

    Exiting... (Quit)



    mpv --hwdec=vaapi 00021.MTS
    Playing: 00021.MTS
    (+) Video --vid=1 (h264)
    (+) Audio --aid=1 (ac3)
    Subs --sid=1 (hdmv_pgs_subtitle)
    libva info: VA-API version 0.39.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
    libva info: Found init function __vaDriverInit_0_39
    libva info: va_openDriver() returns 0
    AO: [pulse] 48000Hz stereo 2ch float
    Using hardware decoding (vaapi).
    VO: [opengl] 1920x1080 vaapi
    AV: 00:00:03 / 00:01:21 (5%) A-V: 0.000 Dropped: 1
    Opening video filter: [vavpp]
    AV: 00:00:06 / 00:01:21 (8%) A-V: 0.000 Dropped: 44

    Exiting... (Quit)

  7. #7

    Default Re: What Radeon card for HW video acceleration ?

    Using mpv without any arguments:
    mpv 00021.MTS
    Playing: 00021.MTS
    (+) Video --vid=1 (h264)
    (+) Audio --aid=1 (ac3)
    Subs --sid=1 (hdmv_pgs_subtitle)
    AO: [pulse] 48000Hz stereo 2ch float
    VO: [opengl] 1920x1080 yuv420p
    AV: 00:00:02 / 00:01:21 (3%) A-V: 0.000
    Opening video filter: [yadif]
    AV: 00:00:11 / 00:01:21 (14%) A-V: 0.000


    Exiting... (Quit)

    Using it with Yadif:
    mpv --vf=yadif 00021.MTS
    Playing: 00021.MTS
    (+) Video --vid=1 (h264)
    (+) Audio --aid=1 (ac3)
    Subs --sid=1 (hdmv_pgs_subtitle)
    Opening video filter: [yadif]
    AO: [pulse] 48000Hz stereo 2ch float
    VO: [opengl] 1920x1080 yuv420p
    AV: 00:00:12 / 00:01:21 (16%) A-V: 0.000 Dropped: 3

    Exiting... (Quit)

    I will say that only with using yadif i get smooth (deinterlaced) playback at about 75% cpu load on all cores.
    Smooth playback at above 60% cpu load is obtained with using mpv no cmdline arguments or using vo % hwdec = vdpau and forcing deinterlace by pressing the d key.
    All other options produced unsmooth, motion sickness playback.

    Here is the output from mediainfo for the same file, 171Mb in size:
    mediainfo ./00021.MTS
    General
    ID : 1 (0x1)
    Complete name : ./00021.MTS
    CompleteName_Last : ./00051.MTS
    Format : BDAV
    Format/Info : Blu-ray Video
    File size : 12.3 GiB
    Duration : 22 s 32 ms
    Overall bit rate mode : Variable
    Overall bit rate : 4 788 Mb/s
    Maximum Overall bit rate : 18.0 Mb/s

    Video
    ID : 4113 (0x1011)
    Menu ID : 1 (0x1)
    Format : AVC
    Format/Info : Advanced Video Codec
    Format profile : High@L4
    Format settings, CABAC : Yes
    Format settings, ReFrames : 4 frames
    Format settings, GOP : M=3, N=12
    Codec ID : 27
    Duration : 22 s 1 ms
    Bit rate mode : Variable
    Bit rate : 4 598 Mb/s
    Maximum bit rate : 16.8 Mb/s
    Width : 1 920 pixels
    Height : 1 080 pixels
    Display aspect ratio : 16:9
    Frame rate : 25.000 FPS
    Color space : YUV
    Chroma subsampling : 4:2:0
    Bit depth : 8 bits
    Scan type : Interlaced
    Scan type, store method : Separated fields
    Scan order : Top Field First
    Bits/(Pixel*Frame) : 88.705
    Stream size : 11.8 GiB (96%)

    Audio
    ID : 4352 (0x1100)
    Menu ID : 1 (0x1)
    Format : AC-3
    Format/Info : Audio Coding 3
    Mode extension : CM (complete main)
    Format settings, Endianness : Big
    Codec ID : 129
    Duration : 22 s 113 ms
    Bit rate mode : Constant
    Bit rate : 256 kb/s
    Channel(s) : 2 channels
    Channel positions : Front: L R
    Sampling rate : 48.0 kHz
    Frame rate : 31.250 FPS (1536 spf)
    Compression mode : Lossy
    Delay relative to video : -80 ms
    Stream size : 691 KiB (0%)

    Text
    ID : 4608 (0x1200)
    Menu ID : 1 (0x1)
    Format : PGS
    Codec ID : 144
    Duration : 21 s 537 ms
    Delay relative to video : -80 ms

  8. #8

    Default Re: What Radeon card for HW video acceleration ?

    Quote Originally Posted by Ionel View Post
    Ok, so let's get to the gritty details.

    The output from vdpauinfo:
    vdpauinfo
    display: :0 screen: 0
    libva info: VA-API version 0.39.0
    libva info: va_getDriverName() returns 0
    libva info: Trying to open /usr/lib64/dri/r600_drv_video.so
    libva info: Found init function __vaDriverInit_0_39
    libva info: va_openDriver() returns 0
    API version: 1
    Information string: OpenGL/VAAPI backend for VDPAU
    This is a playback issue. You've got va-api shoehorned into the pathway. Remove that.

    Here's the output for my 4200:
    Code:
    DRI_PRIME=1 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     8192  8192  NV12 YV12 
    422     8192  8192  UYVY YUYV 
    444     8192  8192  Y8U8V8A8 V8U8Y8A8 
    
    Decoder capabilities:
    
    name                        level macbs width height
    ----------------------------------------------------
    MPEG1                          --- not supported ---
    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_SIMPLE                      1  9216  2048  1152
    VC1_MAIN                        2  9216  2048  1152
    VC1_ADVANCED                    4  9216  2048  1152
    MPEG4_PART2_SP                 --- not supported ---
    MPEG4_PART2_ASP                --- not supported ---
    DIVX4_QMOBILE                  --- not supported ---
    DIVX4_MOBILE                   --- not supported ---
    DIVX4_HOME_THEATER             --- not supported ---
    DIVX4_HD_1080P                 --- not supported ---
    DIVX5_QMOBILE                  --- not supported ---
    DIVX5_MOBILE                   --- not supported ---
    DIVX5_HOME_THEATER             --- not supported ---
    DIVX5_HD_1080P                 --- not supported ---
    H264_CONSTRAINED_BASELINE      --- not supported ---
    H264_EXTENDED                  --- not supported ---
    H264_PROGRESSIVE_HIGH          --- not supported ---
    H264_CONSTRAINED_HIGH          --- not supported ---
    H264_HIGH_444_PREDICTIVE       --- not supported ---
    HEVC_MAIN                      --- not supported ---
    HEVC_MAIN_10                   --- not supported ---
    HEVC_MAIN_STILL                --- not supported ---
    HEVC_MAIN_12                   --- not supported ---
    HEVC_MAIN_444                  --- not supported ---
    
    Output surface:
    
    name              width height nat types
    ----------------------------------------------------
    B8G8R8A8          8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
    R8G8B8A8          8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
    R10G10B10A2       8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
    B10G10R10A2       8192  8192    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
    
    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                         y
    HIGH QUALITY SCALING - L1        y
    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

    For comparison, here's the output for my 6450:
    Code:
    DRI_PRIME=0 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                          --- not supported ---
    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_SIMPLE                      1  9216  2048  1152
    VC1_MAIN                        2  9216  2048  1152
    VC1_ADVANCED                    4  9216  2048  1152
    MPEG4_PART2_SP                  3  9216  2048  1152
    MPEG4_PART2_ASP                 5  9216  2048  1152
    DIVX4_QMOBILE                  --- not supported ---
    DIVX4_MOBILE                   --- not supported ---
    DIVX4_HOME_THEATER             --- not supported ---
    DIVX4_HD_1080P                 --- not supported ---
    DIVX5_QMOBILE                  --- not supported ---
    DIVX5_MOBILE                   --- not supported ---
    DIVX5_HOME_THEATER             --- not supported ---
    DIVX5_HD_1080P                 --- not supported ---
    H264_CONSTRAINED_BASELINE      --- not supported ---
    H264_EXTENDED                  --- not supported ---
    H264_PROGRESSIVE_HIGH          --- not supported ---
    H264_CONSTRAINED_HIGH          --- not supported ---
    H264_HIGH_444_PREDICTIVE       --- not supported ---
    HEVC_MAIN                      --- not supported ---
    HEVC_MAIN_10                   --- not supported ---
    HEVC_MAIN_STILL                --- not supported ---
    HEVC_MAIN_12                   --- not supported ---
    HEVC_MAIN_444                  --- not supported ---
    
    Output surface:
    
    name              width height nat types
    ----------------------------------------------------
    B8G8R8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
    R8G8B8A8         16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
    R10G10B10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
    B10G10R10A2      16384 16384    y  NV12 YV12 UYVY YUYV Y8U8V8A8 V8U8Y8A8 A4I4 I4A4 A8I8 I8A8 
    
    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                         y
    HIGH QUALITY SCALING - L1        y
    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

  9. #9

    Default Re: What Radeon card for HW video acceleration ?

    Quote Originally Posted by Tyler_K View Post
    This is a playback issue. You've got va-api shoehorned into the pathway. Remove that.
    Mighty interesting. I just did a default install so who shoehorned that thing in there ?
    By removing you mean uninstalling everything with vaapi in it's name ?

    Comparing 4200 to6450 from what you showed i see there's not much of a difference, is it ?

  10. #10

    Default Re: What Radeon card for HW video acceleration ?

    Quote Originally Posted by Ionel View Post
    Mighty interesting. I just did a default install so who shoehorned that thing in there ?
    Well, my guess/bet would still be on you ... when you installed, did you retain your old /home ? As I'd be willing to bet that long ago (when you were testing this or that for HW acceleration) you placed an LIBVA environmental variable somewhere in your /home and it persists (and continues to muck things up) to this day

    By removing you mean uninstalling everything with vaapi in it's name ?
    Its really not needed -- just use vdpau directly. Most (if not all) media playback software should support direct use of vdpau.

    You can leave va-api installed if you'd like, BUT just make sure it isn't being invoked during playback.

    Crude analogy: Instead of unlocking and opening the driver side door to get into and seated behind the steering wheel of your [Manufacturer Model] car, you're entering by climbing through the back passenger side window and then climbing over the centre console, stick shift and front seats .... and then state that "its obvious that [Manufacturer Model] cars don't support driver side entry of the vehicle".

    Comparing 4200 to6450 from what you showed i see there's not much of a difference, is it ?
    Just the Mpeg4 ASP stuff (effectively Xvid, Divx, 3ivx).

    But bear in mind that the 6450 is a discrete adapter (with all the perks of that: higher clock and mem speed, no shared mem etc), and that its UVD engine has a higher clock. I don't recall the difference between it and the 4200's UVD engine clocking, and am currently unable to check what the 4200 runs at under max pressure (see note about my PM problem above)).

Page 1 of 3 123 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •