Holy Crap! You Can Use XvMC With ATI Gallium3D!

Posted by Michael Larabel on October 25, 2010

It was just over the weekend that we reported XvMC and VDPAU may come to the ATI R600 Gallium3D driver that would allow those with Radeon HD 2000/3000/4000/5000 series graphics cards (what's supported by R600g) to enjoy accelerated video playback using GPU shaders beyond just the limited X-Video extension. This work was being done by Christian König and today he has one hell of a surprise: it's to the point that today you can try out the code and it should work for XvMC! Yes, that's the case, I just read the email twice and am now scurrying to test out the appropriate ATI DDX and Gallium3D driver.

This support hasn't yet perfected, but the first few frames of the video playback may be buggy and on some tries the initialization will fail, but based upon the speed König is going, this is amazing progress. To try out this XvMC on ATI R600 hardware support, you need to currently build branched versions of the xf86-video-ati DDX and Christian's xvmc-r600 branch of Mesa. This XvMC support comes when building this branch with the Xorg and XvMC state trackers for Gallium3D, which should result in a libXvMCg3dvl.so.1.0 library that MPlayer should have no issues handling.

Right now only the motion compensation process with XvMC is being handled in the shaders, but there is already someone else working on doing iDCT (inverse discrete cosine transform) in shaders for Gallium3D.

Let's hope this XvMC Gallium3D state tracker support gets merged in time for Mesa 7.10 and that the R600g support also gets ironed out. Let's also hope that VA-API / VDPAU support isn't too far out. There's already five pages of comments from this weekend's news posting about the support being worked on, so there is clearly interest in accelerated video playback, which further reinforces this year's Linux graphics survey results.

To try out this newfound XvMC R600g support, read wanna try XvMC on R600 hardware?

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. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Intel Linux OpenGL Driver Leading Over Apple OS X
  3. The Cost Of Ubuntu Disk Encryption
  4. Btrfs vs. EXT4 vs. XFS vs. F2FS On Linux 3.10
Latest Linux News
  1. A New X.Org-Free Wayland LiveCD Released
  2. Unity 8, Mir Made Progress This Week On Features
  3. LLVM Clang 3.3 RC2 Is Ready For Testing
  4. AMD RadeonSI Gallium3D Begins Simple CL Demos
  5. Intel Shows Off GNOME3-Based Tizen Shell
  6. Linux Desktop Security Could Be A Whole Lot Better
  7. KDE 4.11 Will Be The Last Major KDE4 Workspaces Feature Release
  8. New NVIDIA Linux Driver Supports The GeForce GTX 780
  9. Chrome 28 To Offer More Speed Improvements
  10. Digia Announces "Boot To Qt" Project
  11. X.Org Libraries Hit By Round Of Security Issues
Latest Forum Talk
  1. GCC 4.8.0 vs. LLVM Clang 3.3 Compiler Performance
  2. Linux's "Ondemand" Governor Is No...
  3. Linux Desktop Security Could Be A Whole Lot Better
  4. A New X.Org-Free Wayland LiveCD Released
  5. Microsoft Releases Skype For Linux 4.2, Has...
  6. Unity 8, Mir Made Progress This Week On Features
  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