Please create an account to participate in the Slashdot moderation system


Forgot your password?
AMD Graphics Open Source

AMD Releases UVD Engine Source Code 79

An anonymous reader writes "Years of desire by AMD Linux users to have open source video playback support by their graphics driver is now over. AMD has released open-source UVD support for their Linux driver so users can have hardware-accelerated video playback of H.264, VC-1, and MPEG video formats. UVD support on years old graphics cards was delayed because AMD feared open-source support could kill their Digital Rights Management abilities for other platforms."
This discussion has been archived. No new comments can be posted.

AMD Releases UVD Engine Source Code

Comments Filter:
  • Re:Yay? (Score:4, Informative)

    by MatthewNewberg ( 519685 ) on Tuesday April 02, 2013 @11:40PM (#43344693) Homepage
    Helps with battery life, and can allow you to run other things while playing video without a large performance hit.
  • Re:Yay? (Score:2, Informative)

    by Anonymous Coward on Tuesday April 02, 2013 @11:43PM (#43344711)

    Well, this is huge for laptop platforms, as the power efficiency of UVD vs. processor decoding is much much better. Regardless, while a modern cpu can decode 1080p fine in general, it will be more power effecient, reduce the load on your system, and generally smoother playback to use UVD.

  • by buchner.johannes ( 1139593 ) on Tuesday April 02, 2013 @11:49PM (#43344749) Homepage Journal

    So the article links "The code just arrived" to a folder with .bin firmware files and this license:

    REDISTRIBUTION: Permission is hereby granted, free of any license fees,
    to any person obtaining a copy of this microcode (the "Software"), to
    install, reproduce, copy and distribute copies, in binary form only, of
    the Software and to permit persons to whom the Software is provided to
    do the same, provided that the following conditions are met:

    No reverse engineering, decompilation, or disassembly of this Software
    is permitted.

    Redistributions must reproduce the above copyright notice, this
    permission notice, and the following disclaimers and notices in the
    Software documentation and/or other materials provided with the

    Did AMD actually release any source as the title suggests? Where is it? Or did they just make using/redistributing their firmware legal?

  • by girlinatrainingbra ( 2738457 ) on Wednesday April 03, 2013 @12:35AM (#43344927)
    Nope, no source code. Just binary blobbage.
    linky [] leads to
    linky []
    which is a directory full of .bin files of Radeon microcode patches. Does not appear to be source at all, even though the article at Phoronix [] claims that there is a release of "open source driver code":
    Within the next few hours AMD will be publishing open-source driver code that exposes their Unified Video Decoder (UVD) engine on modern Radeon HD graphics cards. This will finally allow open-source graphics drivers to take advantage of hardware-accelerated video decoding

    A comment on their discussion page is more insightful and likely to be right:

    This should read "AMD Releases UVD Support For (Partially) Open Source Driver" instead, since likely 90% (the exciting part; if it's anything like on NV) of the UVD code is pre-compiled in the blob firmware ... (the percentage may be open for debate)

    So it looks like that comment is right: everything's hidden in a binary blob and there is no source code released at all at this time.

  • by Kjella ( 173770 ) on Wednesday April 03, 2013 @12:48AM (#43344983) Homepage

    Did AMD actually release any source as the title suggests? Where is it? Or did they just make using/redistributing their firmware legal?

    There's three parts:
    1. Microcode update (not open source, never was)
    2. Kernel patches (open source)
    3. Mesa patches (open source)

    The first post leads to an email, but if you go to thread mode you'll see 10 kernel patches following it and the mesa patches are in the other link in the Phoronix article. This is a real open source driver, as open source as the rest of their driver. I must honestly say I'd given up hope that this would ever get released, but fantastic that it has. This has literally been years in the works, but now that the hurdles have been crossed hopefully this support is here to stay for future generations of cards as well.

  • by tlhIngan ( 30335 ) <> on Wednesday April 03, 2013 @01:01AM (#43345055)

    The question is - the driver (the part that Linux runs) is open sourced. It just interfaces with parts that aren't (the firmware).

    A modern graphics card is programmable - they run various programs (and you know them for doing stuff like GPGPU and CUDA, and even LLVM). So the firmware files are there to load the hardware decoder blocks onto the GPU.

    For AMD cards, the card does the whole video decode chain - you feed it in h.264 or VC-1, and it parses the stream, decodes it and renders it all on the chip. nVidia cards require CPU assistance - they do the IDCTs and YUV transforms and other acceleration, but not the entire stream on card.

    So they open-sourced the part your CPU runs, while the GPU part is still a binary blob that the driver loads onto the GPU so it can start feeding it the encoded stream and have the GPU decode and display it.

    There's not much else to it - they could open source the firmware, but that's often highly proprietary and may contain licensed code from elsewhere. Plus, there may be a bunch of other technologies involved (i.e. the compiler) that they can't open-source. And most people won't have use for that code anyhow - it's firmware. It's just like the firmware that runs your WiFi card, your NIC, etc. - they often make the interface public and leave the rest of it proprietary.

  • by Anonymous Coward on Wednesday April 03, 2013 @02:39AM (#43345393)

    Nope, no source code. Just binary blobbage.

    Then what the hell is all this:

  • Re:Yay? (Score:5, Informative)

    by TheRaven64 ( 641858 ) on Wednesday April 03, 2013 @04:55AM (#43345829) Journal
    The AMD Fusion boards come with 1.6GHz (Atom-equivalent) processors and integrated Radeons. They can't handle 1080p on the CPU, but can on the GPU. They're low power, so are good choices for home cinema boxes.
  • Re:Silly AMD (Score:2, Informative)

    by Anonymous Coward on Wednesday April 03, 2013 @05:19AM (#43345895)

    Uh, no. For example, AMD's compiler is open source (a fork of GCC, actually). Intel's is proprietary, and also used to screw over all non-Intel CPUs by deliberately using inefficient codepaths.

    Now, Intel is hardly as bad as Nvidia with regards to open source, but they're still jerks.

The moon is a planet just like the Earth, only it is even deader.