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. Acer B286HK: A 28-inch UHD LED 4K Monitor For As Low As $350
  2. Intel Xeon E5-1680 v3 & E5-2687W v3 Compared To The Core i7 5960X On Linux
  3. Intel 120GB 530 Series SSD Linux Performance
  4. Btrfs/EXT4/XFS/F2FS RAID 0/1/5/6/10 Linux Benchmarks On Four SSDs
Latest Linux Articles
  1. Mesa Git Yields Performance Improvements For Newer AMD GPUs
  2. Apple OS X 10.10 vs. Ubuntu 14.10 Performance
  3. Mesa 10.5-devel Brings Some Intel Haswell HD Graphics Changes Over Mesa 10.3
  4. NVIDIA vs. Nouveau Drivers With Linux 3.18 + Mesa 10.4-devel
Latest Linux News
  1. NVIDIA Posts Tegra Gallium3D Patch For K1+ Support
  2. Ubuntu 14.10 MacBook Air Tests With Linux 3.18, Mesa 10.5
  3. AMD Richland APU Support Added To Coreboot
  4. 2014 Holiday Shopping Reminder, Happy Thanksgiving
  5. Python 3 Support Added To The GNOME Shell
  6. ReactOS Lands Its New Explorer Shell
  7. Weston's IVI Shell Sees New Version
  8. IMP Launches As Another Open-Source Computer Attempt
  9. Git 2.2.0 Released With 550+ Changes
  10. GNOME 3.15.2 Released
Latest Forum Discussions
  1. Updated and Optimized Ubuntu Free Graphics Drivers
  2. Hurrican SDL Port
  3. Roadmap to Catalyst 14.10 ?
  4. how to configure module phoromatic ?
  5. PulseAudio 6.0 Is Coming & Other Linux Audio Plans For The Future
  6. Debian Developer Resigns From The Systemd Maintainership Team
  7. Cant get working Kaveri APU - A10-7850k
  8. Script for Fan Speed Control