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. 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. Hot Relocation HDD To SSD Support For Btrfs
  2. Phoronix Test Suite 4.6.0 "Utsira" Released
  3. New Intel X.Org Driver Supports All Of Haswell
  4. SQLite Now Faster With Memory Mapped I/O
  5. Microsoft Releases Skype For Linux 4.2, Has Bug-Fixes
  6. Qt For Tizen Launches, Based On Qt 5.1
  7. KTAP Released For Linux Kernel Dynamic Tracing
  8. Linux 3.10-rc2 Kernel Takes In A Few Extra Pulls
  9. QEMU 1.5 Supports VGA Passthrough, Better USB 3.0
  10. Handbrake 0.9.9 Supports OpenCL Offloading
  11. Freedreno Gallium3D Now Banging The Adreno A3XX
Latest Forum Talk
  1. Intel Linux OpenGL Driver Leading Over Apple OS X
  2. Jolla Announces Their First Phone
  3. DragonFly 3.4 vs FreeBSD 9.1 on phoronix test...
  4. The Cost Of Ubuntu Disk Encryption
  5. Kubuntu, KDE Has Little Hope For Ubuntu's Mir
  6. Will Unreal Engine 4 Games Come To Linux?
  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