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. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  2. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
  3. AMD Radeon R9 285 Tonga Performance On Linux
  4. Apotop Wi-Copy
Latest Linux Articles
  1. AMD Moves Forward With Unified Linux Driver Strategy, New Kernel Driver
  2. MSI: Update Your BIOS From The Linux Desktop
  3. NVIDIA vs. AMD 2D Linux Drivers: Catalyst Is Getting Quite Good At 2D
  4. 15-Way GPU Comparison With Mesa 10.3 + Linux 3.17
Latest Linux News
  1. Phoronix Test Suite 5.4 M3 Is Another Hearty Update
  2. GParted 0.20 Improves Btrfs Support
  3. EXT4 In Linux 3.18 Has Clean-ups, Bug Fixes
  4. Emacs 24.4 Has Built-In Web Browser, Improved Multi-Monitor Support
  5. NVIDIA's NVPTX Support For GCC Is Close To Being Merged
  6. KDE's KWin On Wayland Begins Using Libinput
  7. Khronos Releases OpenVX 1.0 Specification
  8. Linux Kernel Working Towards GNU11/C11 Compatibility
  9. Ubuntu 15.04 Is Codenamed After A Monkey: Vivid Vervet
  10. Following GCC, Clang Looks To Default To C11
Latest Forum Discussions
  1. Updated and Optimized Ubuntu Free Graphics Drivers
  2. Users/Developers Threatening Fork Of Debian GNU/Linux
  3. HOPE: The Ease Of Python With The Speed Of C++
  4. Bye bye BSD, Hello Linux: A Sys Admin's Story
  5. NVIDIA Presents Its Driver Plans To Support Mir/Wayland & KMS On Linux
  6. AMD Is Restructuring Again, Losing 7% Of Employees
  7. Open-Source AMD Fusion E-350 Support Takes A Dive
  8. Upgrade to Kaveri, very slow VDPAU performance