Announcement

Collapse
No announcement yet.

AMD Releases UVD Video Decode Support For R600 GPUs

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • phoronix
    started a topic AMD Releases UVD Video Decode Support For R600 GPUs

    AMD Releases UVD Video Decode Support For R600 GPUs

    Phoronix: AMD Releases UVD Video Decode Support For R600 GPUs

    AMD has finally managed to publish open-source Unified Video Decoder (UVD) support for the original R600 graphics processors...

    http://www.phoronix.com/vr.php?view=MTc3MTc

  • Nille
    replied
    No, because its not implemented. This issue is knows since the beginning but no one can or want to write the code.

    Leave a comment:


  • gthreepwood
    replied

    Hello, did anyone get hardware deinterlacing working with this hardware and driver? I've tried with VLC, mpv but no success. For example with latest mpv
    Code:
    mpv -vo=vdpau -hwdec=vdpau -vf=vdpaupp:deint=yes:deint-mode=temporal
    outputs
    Code:
    Opening video filter: [vdpaupp deint=yes deint-mode=temporal]
    Using hardware decoding.
    ...
    but no actual deinterlacing.
    mesa 9.4.7
    kernel 3.19.5

    lspci:
    Code:
    01:05.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] RS880 [Radeon HD 4250]
    vdpauinfo:
    Code:
    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_SIMPLE                     --- not supported ---
    VC1_MAIN                       --- not supported ---
    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 ---                                                                          
    
    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                         -
    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

    Leave a comment:


  • Kano
    replied
    In short tests vdpau with amd/xbmc works fine. you can test it with Kanotix spitfire special even live (you can test vaapi on newer cards as well via fglrx/gfxdetect).

    http://nightly.kanotix.acritox.com/

    special has binary active if you use gfxdetect or mesa if not. xbmc preinstalled, check vdpauinfo (or vainfo for fglrx). Btw. in case of ION or older nv cards you can get vdpau working with extracted firmware (tested up to GK - kepler):

    http://nouveau.freedesktop.org/wiki/...tion/#firmware

    but thats a test for hd installs... Btw. special does not support gtx 960/970/980 yet because driver 340 is used by default until nvidia adds support for maxwell 2 (GM2..) or debian has 343+ with a new packaging (right now it has the same name).
    Last edited by Kano; 02-02-2015, 06:54 AM.

    Leave a comment:


  • SystemCrasher
    replied
    Originally posted by Zapitron View Post
    You're welcome, AMD users.
    Oh lol, I guess AMD users story should sound like that: I had ancient crap PC with GF MX440, this nvidia card sucked hard with nouvaeu and I was not able to get proprietary driver working on that crap at all. Now I probably should go buy recent PC with AMD graphics and start counter-bitching on how it beats ancient (and virtually unsupported) nvidia card, even with opensource drivers .

    Leave a comment:


  • Zapitron
    replied
    good news

    I have an old ION HTPC that I need to replace and I had a spare 785G board with on board rs780 that I thought might do the job. It's close. It mostly works with VDPAU. Mostly. But my old lady and I need something _reliable_ so after a couple weeks of hassles I finally just gave up and ordered a GTX960 card (overkill, I know) so I could use those (historically at least) reliable prop VDPAU drivers.

    That means the day after the package arrives, there will be an update making the free AMD drivers _perfect_. You're welcome, AMD users.

    Leave a comment:


  • CGarces
    replied
    Originally posted by OneTimeShot View Post
    Fair enough - I haven't used firmware with AMD chips.

    In terms of "how to check that the firmware is loading", if you move/delete the firmware files and you think are loading elsewhere, the dmesg file should definitely not show the firmware has loaded successfully message...
    Well, I have removed the firmware from /lib/firmware/[KERNEL]/radeon, and I receive an error, so now I'm sure about the right path.
    During the boot process RS780_pfp and RS780_me are loaded, but not RS780_uvd.

    My distribution (Antix, based on Debian), use dracut so I have try do do this...

    dracut --install /lib/firmware/[KERNEL]/radeon/RS780_uvd.bin --force

    But also not works.

    I need to recompile the liquorix kernel to load de firmware?

    Leave a comment:


  • duby229
    replied
    Originally posted by OneTimeShot View Post
    Fair enough - I haven't used firmware with AMD chips.

    In terms of "how to check that the firmware is loading", if you move/delete the firmware files and you think are loading elsewhere, the dmesg file should definitely not show the firmware has loaded successfully message...
    It doesn't have to be in the initrd, but some distro's like gentoo have the option to build firmware\microcode into the intrd. genkernel specifically gives a flag to do just that. Not only that but you also have the option to build them straight into the kernel image. make menuconfig inside /usr/src/linux and you'll find the option in there.

    Leave a comment:


  • OneTimeShot
    replied
    Originally posted by dungeon View Post
    It does not need to be in initrd...
    Fair enough - I haven't used firmware with AMD chips.

    In terms of "how to check that the firmware is loading", if you move/delete the firmware files and you think are loading elsewhere, the dmesg file should definitely not show the firmware has loaded successfully message...

    Leave a comment:


  • dungeon
    replied
    Originally posted by OneTimeShot View Post
    That is probably the wrong location. If I understand correctly, it should be in initrd. Isn't UVD officially packaged for Debian?
    It does not need to be in initrd... firmwares are packaged, but Debian is in freeze and set of packaged firmwares are only for default 3.16 kernel usage currently... so you have to add it manually if you use newer kernel, proper location for non default (or non debian) kernels should be /lib/firmware/KERNEL_VERSION/radeon/
    Last edited by dungeon; 01-25-2015, 05:39 PM.

    Leave a comment:

Working...
X