Multimedia Support in the Linux Kernel

Significant Non-Kernel Factors

When considering your hardware, you should exercise wisdom. Bigger and faster are the watchwords for a powerful multimedia system, but some caveats remain. Video is an especially tricky factor. If, like myself, you need to use nVidia's closed source drivers, you must resign yourself to the possibility of inexplicable problems when running a real-time kernel. Because of its closed source nature, you can't know how the video driver interacts with the kernel at levels that affect latency and real-time response. To nVidia's credit, they do try to keep up with Linux kernel development, but the real-time patches are not official patches, and until nVidia opens their source code, kernel developers are unable to help users who experience performance problems on real-time and low-latency systems.

Also, you should keep your X windowing system current. X works closely with the kernel video drivers, so to ensure maximum performance, make sure that X is up to date.


This topic goes much deeper than I've been able to discuss here, but the web is rich in relevant resources. For example, you should have no trouble finding out more about kernel configuration [6], low latency [7], and real-time optimizations [8], and I hope that some of you will take the next steps toward compiling your own kernel. Rolling your own is a time-honored Linux tradition, and you don't need an engineering degree to do it. Just be sure to keep your old kernel around for booting into in case things go wrong, breathe slowly and deeply, be patient and brave, ask questions, and, above all, have fun.

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Zack's Kernel News

    Chronicler Zack Brown reports on the latest news, views, dilemmas, and developments within the Linux kernel community.

  • Realtime

    Linux provides tools and patches for speeding up the priority of multimedia applications. So if you're not getting the performance you expect, try shifting into overdrive.

  • Linus Torvalds Announces Linux Kernel 3.10

    Fewer ticks and bigger ARM support highlight the latest kernel.

  • Working with the Kernel

    If you work with third-party hardware drivers, or even if you just need to fix a broken system, someday you might need to upgrade the Linux kernel.

  • PowerTOP

    Intel’s PowerTOP analysis tool helps optimize power usage and shows you the power guzzlers hiding out on your operating system.

comments powered by Disqus

Direct Download

Read full article as PDF:

038-041_realtime.pdf  (511.20 kB)