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

xf86-video-v4l Driver Ported To V4L2

X.Org

Published on 08 February 2011 08:59 AM EST
Written by Michael Larabel in X.Org
16 Comments

One of the seldom mentioned X.Org DDX drivers is xf86-video-v4l. This driver is not for some obscure or vintage hardware like many other drivers in the X.Org tree (e.g. -savage, -s3virge, -tseng, -trident) but it targets no specific graphics card and instead provides an X-Video extension port for video overlay. Just load the module and it works with any hardware supported by a Video 4 Linux (V4L) driver. While this driver isn't often worked on (the most recent commits in Git are from July), it's in the process of being revised.

Red Hat's Mauro Carvalho Chehab has provided a large patch to the X.Org mailing list that migrate the xf86-video-v4l driver from using the V4L1 API to using V4L2. With the forthcoming Linux 2.6.38 kernel, the V4L1 API is removed entirely, which with the latest X.Org V4L DDX means it's broken. To fix this, Mauro has ported the driver to using the V4L2 API.

Video 4 Linux 1 had been around for quite a while (Linux 2.1 development, Linux 2.2) and Video 4 Linux 2 was then officially introduced with the Linux 2.6 kernel while bearing a compatibility mode for older Video 4 Linux 1 software. As Video 4 Linux 2 has been around long enough now, V4L1 support is now being ripped out of the kernel.

Besides just bringing this driver over to the V4L2, Red Hat's work also brings some other improvements to this driver as a result. It's considered a "Major rewrite, as driver got ported to V4L2 API." Looking at the size of the patch, this is indeed a major rewrite.

The patch can be found here.

This isn't all of the Video 4 Linux driver work that Mauro has been up to, but according to this message, there's still more. The xf86-video-v4l driver still uses some deprecated overlays in the X-Video extension and so Mauro is looking at porting the driver now to support Textured Video. This clean-up would result in xf86-video-v4l working with more drivers.

About The Author
Michael Larabel is the principal author of Phoronix.com and founded the web-site in 2004 with a focus on enriching the Linux hardware experience and being the largest web-site devoted to Linux hardware reviews, particularly for products relevant to Linux gamers and enthusiasts but also commonly reviewing servers/workstations and embedded Linux devices. Michael has written more than 10,000 articles covering the state of Linux hardware support, Linux performance, graphics hardware drivers, and other topics. Michael is also the lead developer of the Phoronix Test Suite, Phoromatic, and OpenBenchmarking.org automated testing software. He can be followed via and or contacted via .
Latest Linux Hardware Reviews
  1. A Walkthrough Of The New 32 System Open-Source Linux Benchmarking Test Farm
  2. Habey MITX-6771: Mini-ITX Board With Quad-Core J1900 Bay Trail
  3. OCZ Vector 150 SSD On Linux
  4. Noctua i4 CPU Cooler: Great For Cooling High-End LGA-2011v3 CPUs
Latest Linux Articles
  1. AMD Kaveri: Open-Source Radeon Gallium3D vs. Catalyst 14.12 Omega Driver
  2. 12-Way AMD Catalyst 14.12 vs. NVIDIA 346 Series Linux GPU Comparison
  3. AMD Catalyst 14.12 Omega Driver Brings Mixed Results For Linux Users
  4. 6-Way Winter 2014 Linux Distribution Comparison
Latest Linux News
  1. FSF's High Priority Project List Now Has A Committee
  2. Details On Using OpenACC & GPUs With GCC
  3. Ubuntu 15.04 Alpha 1 For Its Various Flavors
  4. Git 2.2.1 Released To Fix Critical Security Issue
  5. WTFTW: A Tiling Window Manager Written In Rust
  6. Jolla's Sailfish OS Update 10 Is Now Available
  7. HP To Launch Linux++ Operating System Next Year
  8. Civilization: Beyond Earth Launches For Linux
  9. NIR Has Been Revised As A New IR For Mesa
  10. New 64-bit Linux Kernel Vulnerabilities Disclosed This Week
Latest Forum Discussions
  1. XLennart: A Game For Systemd Haters With Nothing Better To Do
  2. Debian init discussion in Phoenix Wright format
  3. Bench specific mount point
  4. Tool for measuring FPS in games
  5. Need some hand holding with upgrading xserver
  6. Ubuntu Developers Still Thinking What To Do About Adobe Flash Support
  7. Microsoft buying Mojang
  8. Updated and Optimized Ubuntu Free Graphics Drivers