1. Computers
  2. Display Drivers
  3. Graphics Cards
  4. Memory
  5. Motherboards
  6. Processors
  7. Software
  8. Storage
  9. Operating Systems


Facebook RSS Twitter Twitter Google Plus


Phoronix Test Suite

OpenBenchmarking.org

Digging Deeper Into AMD's UVD Code Drop

AMD

Published on 03 April 2013 12:37 PM EDT
Written by Michael Larabel in AMD
122 Comments

Yesterday it was exclusively announced on Phoronix that AMD was releasing open-source UVD code so that their open-source Linux graphics driver can finally benefit from GPU hardware-accelerated video playback. Here's some more details.

Now with the Linux kernel and Mesa/Gallium3D code having been published and having time to go through this code myself, after Fatima's article earlier, here's some more details. Of course, if you didn't already, first read AMD Releases Open-Source UVD Video Support for the overview.

- Aside from needing new Radeon DRM (to be found in the Linux 3.10 kernel) and updates to Gallium3D (to be found in the next Mesa release late in 2013), there's also new microcode required.

- From Alex Deucher's Radeon microcode repository, there's new _uvd microcode files as well as updated _rlc microcode files. These UVD microcode binary files are significantly larger in file-size than the other microcode files for the same GPU family. AMD is likely concealing a bunch within these microcode blobs, but NVIDIA is reportedly doing this through a similar method. Other open-source Linux drivers like WiFi adapters also commonly ship microcode/firmware blobs for key functionality, but at least it will continue to work with new kernels...

- "RUVD" is the Gallium3D "driver" that is common code to R600g and RadeonSI but not some entirely new GPU hardware driver. The Mesa changes to support UVD on the HD 4000 through HD 7000 series GPUs amount to around two thousand lines of new code in user-space.

- The kernel-side bring-up of AMD's Unified Video Decoder is also over a thousand lines of code to the Radeon DRM.

- Something from Bridgman: "We actually expected the next round of power management IP to get approved for release before UVD, but it didn't work out that way."

- Some integrated Radeon graphics parts with UVD aren't working on the open-source driver at the moment.

- Based upon copyrights on new files, it looks like AMD has been working on this open-source UVD support since at least 2011.

- The UVD support largely seems to be the work of Christian K├Ânig, one of AMD's hires for their open-source team two summers ago.

Tests of this open-source AMD UVD support exposed over VDPAU is forthcoming on Phoronix.

Latest Linux Hardware Reviews
  1. 13-Way Low-End GPU Comparison With AMD's AM1 Athlon
  2. ASUS AM1I-A: A Mini-ITX Board For Socketed Kabini APUs
  3. Mini-Box M350: A Simple, Affordable Mini-ITX Case
  4. Overclocking The AMD AM1 Athlon & Sempron APUs
Latest Linux Articles
  1. Ubuntu 12.04.4 vs. 13.10 vs. 14.04 LTS Desktop Benchmarks
  2. AMD OpenCL Performance With AM1 Kabini APUs
  3. A Quick Look At GCC 4.9 vs. LLVM Clang 3.5
  4. Are AMD Athlon/Sempron APUs Fast Enough For Steam On Linux?
Latest Linux News
  1. Git 2.0 Test Releases Begin With Many Changes
  2. Wine 1.7.17 Works On Its Task Scheduler, C Run-Time
  3. The Improv ARM Board Still Isn't Shipping; Riding A Dead Horse?
  4. Debian To Maintain 6.0 Squeeze As An LTS Release
  5. Wasteland 2 Is Finally Released For Linux Gamers
  6. FreeBSD Advances For ARM, Bhyve, Clang
  7. Ubuntu 14.04 LTS "Trusty Tahr" Officially Released
  8. Ubuntu 12.04 LTS vs. 14.04 LTS Server Benchmarks
  9. QEMU 2.0 Released With ARM, x86 Enhancements
  10. Running The Unity 8 Preview Session On Ubuntu 14.04 LTS
  11. R600 Gallium3D Disables LLVM Back-End By Default
  12. Fedora 21 Gets GNOME 3.12, PHP 5.6, Mono 3.4
Latest Forum Discussions
  1. Suggestions about how to make a Radeon HD 7790 work decently?
  2. The GNOME Foundation Is Running Short On Money
  3. Updated and Optimized Ubuntu Free Graphics Drivers
  4. Radeon 8000M problematic on Linux?
  5. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  6. After Jack Keane, RuseSoft will briing Ankh 3 to Linux through Desura
  7. Suspected PHP Proxy Issue
  8. Change installation destination from home directory