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

This Is What Started AMD's Open-Source Strategy

Michael Larabel

Published on 17 September 2011
Written by Michael Larabel
Page 4 of 6 - 57 Comments

  1. Video Support

The X Video Extension provides seamless video support for X. It supports playback of video streams from different sources: software provided video data as well as video data captured from hardware are supported.

Hardware decoding of compressed video is supported by the XvMC (Xvideo Motion Compensation) extension.

Video playback can easily be implemented using components of ATI AVIVO technology.

Xvideo (Xv)

Traditionally video playback from software content (XvPutImage) was implemented using a video overlay scaler as it provides the lowest overhead implementation possible for displaying Luminance/Chrominance based content. The R600 series chipsets seems to provide one video overlay scaler per display controller. Still this infrastructure would limit us to a single video stream per output, furthermore the converted content would not be compositable. Therefore we would instead opt for utilizing the 3D engine to composite the video content to the scan-out buffer.

The R600 chipset generation supports hardware color space conversion. If this engine is capable of converting most Y/V formats to (A)RGB at up to HDTV resolutions it may most likely provide a back end for a compositable, low overhead, Xv implementation. It could also serve as a starting point to implement non-RGB visuals for X.

It should be possible to involve the AVIVO's Advanced Video Processor with both of the above options, which could dramatically increase the quality of playback, even with lesser quality content.

Another option is to relegate color conversion to a shader. The shader language for this is readily available, so it would be easy to implement, once the necessary driver support for shaders is provided.

Also Glucose would provide another opportunity here: NOVELL has implemented fully compositable Xv support for Xgl. This could easily be added to Glucose.

A time estimate depends on the chosen path and its possible prerequisites as well as on more detailed hardware knowledge.

Accelerating Media Decoding

The XvMC extension, as it stands today, is capable of supporting hardware accelerated MPEG1 and 2 decompression. This provides support for motion compensation, iDCT and slice decoding (VLD). It has wide media player support and the existing acceleration could be readily implemented for R600.

To utilize more of the capabilities of the AVIVO's Universal Video Decoder, it would be possible to extend this support to other video codecs such as MPEG-4, DiVX, WMV9 and H264/AVC. Since this will require more than just adding additional driver side support it might provide a good opportunity to reevaluate the current XvMC specification.

Video Input

In the 'radeon' driver there exists support for the ATI Rage Theater 200 video decoder. This has been unmaintained since X.Org X11 R6.9. Furthermore it has neither been updated for AVIVO, nor a possibly revised capture engine, and may require significant work. Both direct XVideo and V4L (Video4Linux) support for video input can be provided.

Latest Linux Hardware Reviews
  1. Intel Xeon E5-1680 v3 & E5-2687W v3 Compared To The Core i7 5960X On Linux
  2. Intel 120GB 530 Series SSD Linux Performance
  3. Btrfs/EXT4/XFS/F2FS RAID 0/1/5/6/10 Linux Benchmarks On Four SSDs
  4. AMD's Windows Catalyst Driver Remains Largely Faster Than Linux Drivers
Latest Linux Articles
  1. NVIDIA vs. Nouveau Drivers With Linux 3.18 + Mesa 10.4-devel
  2. Is The Open-Source NVIDIA Driver Fast Enough For Steam On Linux Gaming?
  3. Linux 3.18 File-System Performance Minimally Changed But Possible Regressions
  4. AMD Radeon Gallium3D Is Catching Up & Sometimes Beating Catalyst On Linux
Latest Linux News
  1. GTK+ Inspector Gains More Features Ahead Of GNOME 3.16
  2. Clang 3.6 Will Hopefully Have OpenMP Support
  3. A Go Front-End Could Soon Be Landing In LLVM
  4. Linux 3.18-rc6 Released, A Worrisome Regression Remains
  5. HandBrake 0.10 Brings H.265 & VP8 Encoders
  6. Gngr: A New Web Browser Focused On Privacy
  7. Linux 3.18 Kernel: Not Much Change With Intel Haswell Performance
  8. More File-System Tests Of The Linux 3.18 Kernel
  9. Using NVIDIA's NVENC On Linux With FFmpeg
  10. There's Talk Again About An "Open To The Core" Ubuntu Laptop
Latest Forum Discussions
  1. PulseAudio 6.0 Is Coming & Other Linux Audio Plans For The Future
  2. Debian Developer Resigns From The Systemd Maintainership Team
  3. Roadmap to Catalyst 14.10 ?
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. Cant get working Kaveri APU - A10-7850k
  6. Script for Fan Speed Control
  7. Debian Init System Coupling Vote Results
  8. The Slides Announcing The New "AMDGPU" Kernel Driver