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

Thread: Current status of VDPAU on r600g?

  1. #1
    Join Date
    Oct 2010
    Posts
    257

    Lightbulb Current status of VDPAU on r600g?

    Greetings,

    After the news that AMD will stop supporting all DX10-generation cards (with Catalyst) on Windows/Linux, I'd like to give another try to the FOSS radeon drivers (even if the PM is not working very well) on my radeon HD4650 AGP, but before that, I'd like to ask a few qustions about VDPAU:

    1) How's the current status of VDPAU support with r600g? In radeon feature matrix, they say it's still a WIP, but... Can I use it with H.264 videos or it currently only works with MPEG-2 videos?

    2) If r600g VDPAU already works with H.264, how can I enable that support on mesa (mesa configure options)?

    3) Can I use mesa stable / master branch or do I need a special branch to use VDPAU? Do I need to create any kind of symlinking or can I expect it to work properly just installing mesa?

    I hope someone can help me with these steps.

    Cheers

    p.s.: Distro I'm using: ArchLinux i686

  2. #2
    Join Date
    Sep 2007
    Posts
    997

    Default

    I look at the feature matrix page anticipating a change or new feature finally implemented but there's never anything new.

    The hardware acceleration for cards that have no proprietary support is always non-existent and one can see that VDPAU/VA-API features remain as WIP forever all the way back to R300 cards.

    I guess this means AMD/ATI intend to never support them. Furthermore, there's no place to inquire about support since AMD doesn't have any place to ask questions. At least, Nvidia card owners have the nvnews website.

    There's some answers for FOSS drivers but nothing that confirms the inevitable - the fact, AMD/ATI won't support their video hardware in Linux. :-(

    I'd like to try an AMD video card in Linux but I would like hardware acceleration, too, and they don't support that or many other features in Linux and/or the quality of the driver is subpar.

  3. #3
    Join Date
    Aug 2007
    Posts
    6,607

    Default

    Yes, i know you buy an amd card for >1 year now

  4. #4
    Join Date
    Sep 2007
    Posts
    997

    Default

    Quote Originally Posted by Kano View Post
    Yes, i know you buy an amd card for >1 year now
    I don't like to waste money.

  5. #5
    Join Date
    Aug 2007
    Posts
    6,607

    Default

    Well you did not buy a nvidia card as well - maybe it is enough for you to dream about a new card

  6. #6
    Join Date
    Oct 2007
    Posts
    1,258

    Default

    Back to the OP's topic...

    No, VDPAU does not support h264 at the moment. I don't know about Arch, but I use Debian experimental mesa (8.0.x) and it's enabled by default. If building your own mesa, you can use --enable-gallium-g3dvl and --enable-vdpau. Obviously you need libvdpau headers/-dev package.

  7. #7
    Join Date
    Oct 2010
    Posts
    257

    Default

    Quote Originally Posted by Kano View Post
    Well you did not buy a nvidia card as well - maybe it is enough for you to dream about a new card
    Yes, I bought a laptop with a nVidia optimus card indeed, but in that case, as I'm using bumblebee I'm not sure if I can use vdpau in my vídeo apps (mplayer for instance). I'm using bumblebee only to accelerate my programs with CUDA. Btw, vaapi acceleration with Intel SB works pretty well

    This computer I'm mentioning is a 10y P4 desktop that I put a radeon HD4650 AGP 2y ago. It's an EOL computer I use only to watch videos / web browsing. Now that AMD won't support Catalyst in the near future, I'd like to know if I can already replace Catalyst+xvba with radeon+vdpau. If so, how can I do it? I'd be grateful.

    Cheers

  8. #8
    Join Date
    Sep 2007
    Posts
    997

    Default

    Quote Originally Posted by Kano View Post
    Well you did not buy a nvidia card as well - maybe it is enough for you to dream about a new card
    Well, I am talking to someone about buying a GTX 460 1gb card (used, of course) or buying a GT210 or GT540 so I'm just comparing cards right now and assessing finances.

    I read that's it's a PITA to try ATI cards with VDPAU.

  9. #9
    Join Date
    Oct 2010
    Posts
    257

    Default

    Quote Originally Posted by DanL View Post
    Back to the OP's topic...

    No, VDPAU does not support h264 at the moment. I don't know about Arch, but I use Debian experimental mesa (8.0.x) and it's enabled by default. If building your own mesa, you can use --enable-gallium-g3dvl and --enable-vdpau. Obviously you need libvdpau headers/-dev package.
    Thanks for the tips. I thought I read in Phoronix that vdpau + h.264 support would be available in next mesa release. So, I was thinking if current mesa master branch wouldn't already have h.264 vdpau support available...

    Cheers

  10. #10

    Default

    There is a package in AUR "mesa-r600g-git" with vdpau enabled.

    I have also installed:
    libvdpau
    vdpau-video
    lib32-libvdpau

    You will need to export:

    VDPAU_DRIVER=r600


    It's been working well for me for some months, but I don't watch a great deal of videos anyway.

    Code:
    $ 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  NV12 YV12 UYVY YUYV 
    444     8192  8192  NV12 YV12 Y8U8V8A8 V8U8Y8A8 
    
    Decoder capabilities:
    
    name               level macbs width height
    -------------------------------------------
    MPEG1                16 262144  8192  8192
    MPEG2_SIMPLE         16 262144  8192  8192
    MPEG2_MAIN           16 262144  8192  8192
    
    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             -
    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     8192
    VIDEO_SURFACE_HEIGHT             y        48     8192
    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
    Last edited by Execute_Method; 04-21-2012 at 01:44 PM.

Posting Permissions

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