AMD's UVD2-based XvBA Finally Does Something On Linux

Published on November 03, 2009
Written by Michael Larabel
Page 1 of 1
Discuss This Article

For a year now we have been talking about XvBA, which stands for X-Video Bitstream Acceleration and is designed to implement AMD's Unified Video Decoder 2 (UVD2) engine on Linux systems for improving the video decoding and playback process on desktop systems. AMD has been shipping an XvBA library with their ATI Catalyst Linux driver since last year, but they have yet to release any documentation on the XvBA API or any patches to implement the support within any Linux media players. Heck, AMD has not even officially confirmed XvBA with Phoronix being the lone source of information for the past year. Today though, XvBA has finally become useful under Linux. But it is not what you may be thinking...

Finally, ATI Radeon customers under Linux can use XvBA, but it is not through using XvBA directly. AMD and Splitted Desktop Systems have been collaborating to develop xvba-video, which is an XvBA back-end for VA-API. Splitted Desktop Systems is the company that brought H.264 VA-API GPU video acceleration for Gnash, VA-API support in MPlayer and FFmpeg, and a NVIDIA VDPAU back-end for VA-API. This xvba-video library is like their NVIDIA VDPAU back-end, but it is for X-Video Bitstream Acceleration instead. Effectively this makes it possible for ATI customers to use VA-API, which in turn uses XvBA atop hardware with UVD2 support. This current implementation can accelerate only MPEG-4 AVC (H.264) and WMV9 (VC-1) formats at this time, which is more limited than NVIDIA's VDPAU implementation in their proprietary driver.

While the XvBA library has been with the driver for over twelve releases now, to use xvba-video it needs the Catalyst 9.10 driver (fglrx 8.66 or newer). Radeon HD 4000 series hardware (R700) as well as the newer Radeon HD 5000 series (R800 series; Evergreen) is recommended for XvBA usage. Though be forewarned before upgrading to Catalyst 9.11 later this month as the support may be broken in that release. Software supporting VA-API currently included MPlayer, FFmpeg, and the Helix media player. Of course, there are Splitted Desktop Systems' Gnash patches too, but they have not been submitted for mainline inclusion. The adoption of VA-API currently is not nearly as great as that of VDPAU, which can be found in MPlayer and FFmpeg along with Xine, MythTV, VLC Media Player, XBMC, and many others.

At the end of the day it's nice that UVD2 is finally usable on Linux (assuming no driver bugs), considering that the original ATI Unified Video Decoder was never supported, but it's still not as nice of an implementation as NVIDIA's VDPAU that is well supported and can handle a variety of different formats and can be used in a variety of different multimedia programs. With xvba-video though, it is just leaving developers to target VA-API for video acceleration, and it reduces AMD's need to provide any public documentation concerning the XvBA interface. At least though XvBA is now usable to assist in the HD video decoding process for Linux desktop users. The xvba-video package was just unlocked this morning in this SDS web directory, while neither AMD or Splitted Desktop Systems have yet to make an official announcement.

Discuss this article in our forums, IRC channel, or email the author. You can also follow our content via RSS and on social networks like Facebook, Identi.ca, and Twitter (@Phoronix and @MichaelLarabel). Subscribe to Phoronix Premium to view our content without advertisements, view entire articles on a single page, and experience other benefits.

Latest Hardware Reviews
  1. Sumo Lounge Emperor
  2. Gallium3D Continues Improving OpenGL For Older Radeon GPUs
  3. 15-Way Open vs. Closed Source NVIDIA/AMD Linux GPU Comparison
  4. Nouveau vs. NVIDIA Linux Comparison Shows Shortcomings
Latest Software Articles
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. The Cost Of Ubuntu Disk Encryption
  3. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
  4. AMD Radeon R600 GPU LLVM 3.3 Back-End Testing
Latest Linux News
  1. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  2. New NVIDIA Linux Driver Supports The GeForce GTX 780
  3. Chrome 28 To Offer More Speed Improvements
  4. Digia Announces "Boot To Qt" Project
  5. X.Org Libraries Hit By Round Of Security Issues
  6. Wayland's Weston Gets Output Scaling Support
  7. Raspberry Pi Gets New Wayland Weston Renderer
  8. Debian GNU/Hurd 2013 Release Brings New Packages
  9. Intel Ultrabook Performance Is Faster With Mesa 9.2
  10. Hot Relocation HDD To SSD Support For Btrfs
  11. Phoronix Test Suite 4.6.0 "Utsira" Released
Latest Forum Talk
  1. Raspberry Pi Gets New Wayland Weston Renderer
  2. X.Org Libraries Hit By Round Of Security Issues
  3. Chrome 27 Loads Web Pages Faster
  4. Radeon 7770 Can't reclock crash kernel
  5. Digia Announces "Boot To Qt" Project
  6. Xserver 1.14 support will arrive with Catalyst...
  1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Motherboards
  5. Peripherals
  6. Processors
  7. Software
  8. Operating Systems
  9. All Articles
  1. Linux Benchmarking
  2. OpenBenchmarking.org
  3. Phoronix Test Suite