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

HD Video Playback With A $20 CPU & $30 GPU On Linux

Michael Larabel

Published on 11 December 2008
Written by Michael Larabel
Page 2 of 9 - 34 Comments

Aside from the AMD Sempron and NVIDIA 8400GS, the rest of our system consisted of an ECS A780GM-A motherboard, 2GB of DDR2-800MHz memory, and a 250GB Seagate Barracuda ST3250310AS SATA HDD. The NVIDIA graphics card was driving a Samsung SyncMaster 305T 30" LCD and the resolution we selected was 1920 x 1080. The Linux distribution running on this system was Ubuntu 8.10 with the Linux 2.6.27 kernel, X Server 1.5.2, and GCC 4.3.2. We were using the latest driver at the time of testing, which is NVIDIA 180.11 and it was released just about a week ago. We had used the MPlayer SVN code from December 9, 2008 and the MPlayer VDPAU patches we used were version 3139462 and dated November 26, 2008. Over NVIDIA's original patches, the 3139462 set has a few fixes when it comes to supplying only H.264 slice data and not any unused headers, increasing the H.264 MAX_SLICES, handle H.264 streams inside containers that strip the H.264 start codes such as MOV and MKV, and various code clean-ups based upon feedback from the MPlayer and FFmpeg developers.

For the testing on this low-end hardware we had looked at the MPEG, H.264, and WMV3 formats. VDPAU does support accelerating VC-1, but this support can only be found on a few very select NVIDIA GPUs. With each test we had monitored the CPU usage during video playback without specifying any video output or video codec options and then again when using VDPAU for the codec and output module. The VDPAU codec for MPEG is ffmpeg12vdpau, H.264 is ffh264vdpau, and WMV3 is ffwmv3vdpau. To use VDPAU with a patched version of MPlayer can be done by running mplayer -vc <VDPAU-codec> -vo vdpau <video-file>. We had also used the -fs option to play all videos in full-screen mode. To monitor the CPU usage we had used the Phoronix Test Suite (the Tydal 1.6.0 Alpha 2 release) and executed MONITOR=all ./phoronix-test-suite benchmark idle to monitor the system sensors while the Phoronix Test Suite just idled for varying lengths of time.

After running all of these tests to see how well the video playback was offloaded to the GPU, we took the testing one-step further. Using the Phoronix Test Suite to benchmark the compile-time for the Linux kernel we had tried to play a high-resolution H.264 video file while the single-core processor was busy with compiling the kernel. We recorded a video of the process with and without NVIDIA's VDPAU.

Latest Linux Hardware Reviews
  1. Even With Re-Clocking, Nouveau Remains Behind NVIDIA's Proprietary Linux Driver
  2. The Power Consumption & Efficiency Of Open-Source GPU Drivers
  3. AMD R600g/RadeonSI Performance On Linux 3.16 With Mesa 10.3-devel
  4. Intel Pentium G3258 On Linux
Latest Linux Articles
  1. Updated Source Engine Benchmarks On The Latest AMD/NVIDIA Linux Drivers
  2. Nouveau vs. Radeon vs. Intel Tests On Linux 3.16, Mesa 10.3-devel
  3. KVM Benchmarks On Ubuntu 14.10
  4. X.Org Server 1.16 Officially Released With Terrific Features
Latest Linux News
  1. GNOME/GTK On Wayland Gains Focus At GUADEC
  2. GNOME Stakeholders Take Issue With Groupon Over their Gnome
  3. GStreamer VA-API Plug-In Update Adds New Features
  4. Qt 5.4 Going Into Feature Freeze Next Week With Exciting Changes
  5. OpenSUSE Factory Turns Into Rolling Release Distribution
  6. "The World's Most Highly-Assured OS" Kernel Open-Sourced
  7. NVIDIA Is Working Towards VDPAU H.265/HEVC Support
  8. Hawaii Bug-Fixes Start Hitting Mainline RadeonSI Gallium3D
  9. The FFmpeg vs. Libav War Continues In Debian Land
  10. Grand Theft Auto Running On Direct3D Natively On Linux Shows Gallium3D Potential
Latest Forum Discussions
  1. AMD Athlon 5350 APU On Linux
  2. Grand Theft Auto Running On Direct3D Natively On Linux Shows Gallium3D Potential
  3. Linus Torvalds On GCC 4.9: Pure & Utter Crap
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. Debian + radeonsi
  6. Open-source drivers on ATI R7 260X
  7. List of Linux friendly Kickstarter projects
  8. Porting Mesa to the Playstation 2