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

Testing Out ATI Kernel Mode-Setting On Ubuntu

Michael Larabel

Published on 8 June 2009
Written by Michael Larabel
Page 1 of 1 - 17 Comments

Kernel mode-setting for Intel graphics hardware can already be found in the mainline Linux kernel and will be included by default in the release of Ubuntu 9.10 later this year. While Intel's kernel mode-setting support has been maturing in a steadfast manner, this support has not been moving along quite as fast for ATI and NVIDIA hardware. It is possible we will see ATI/AMD kernel mode-setting along with the necessary memory management support enter the Linux 2.6.31 kernel and potentially see this feature appear in Ubuntu 9.10 as an end-user option, but currently this support is still deemed under development. For those with ATI Radeon hardware looking to test out kernel mode-setting, there is now a Launchpad PPA and a LiveCD available for testing out these mode-setting capabilities atop Ubuntu.

The Radeon KMS PPA can be found and discussed here. Enabling kernel mode-setting for ATI hardware on Ubuntu currently requires specialized snapshots of the kernel DRM, a Linux 2.6.30 kernel that is built with the memory management and KMS support, a snapshot of Mesa 7.6, and a version of the xf86-video-ati DDX driver that is derived from a v12.2.99 Git snapshot. The Ubuntu xorg-edgers project has also pushed out an Ubuntu LiveCD spin that comes with these packages installed by default to assist in the testing process.

We tested out this xorg-edgers LiveCD with the ATI kernel mode-setting packages on a Lenovo ThinkPad T60 notebook that was using an ATI Mobility Radeon X1400 graphics processor. The kernel mode-setting had worked without issues. The LiveCD was installed to a Corsair Flash Survivor GT USB drive. However, as can be seen from our video above, the boot experience is not exactly pleasant with kernel mode-setting in general nor is it very fast. Canonical was planning to adopt Red Hat's Plymouth to provide a pleasant, flicker-free boot experience in Ubuntu but that decision was recently retracted. Canonical instead will continuing to be use USplash, which does not directly take advantage of kernel mode-setting, and instead will be investing their resources in improving the overall startup time. They hope to reach a ten second boot time by Ubuntu 10.04 LTS, but at this time that is still a far reach.

While the boot experience is not as fashionable as Fedora with Plymouth on KMS and its fancy plug-ins, VT switching is, of course, very clean and prompt when using the kernel mode-setting driver. The virtual terminal also remains at the panel's native resolution and is much faster. Other general benefits of kernel mode-setting include the ability to run the X Server without root privileges (read: better security) and the ability to display graphical panic messages if something goes awry. There are also projects like Wayland that further leverage kernel mode-setting and newer technologies within the X.Org stack.

It is not clear yet whether we will see kernel mode-setting for any ATI Radeon hardware within Ubuntu 9.10 (or whether it will enter the Linux 2.6.31 kernel), but we are certainly hopeful and look forward to more distributions adopting kernel mode-setting. Kernel mode-setting for NVIDIA hardware via the Nouveau project is likely out of the question until at least Ubuntu 10.04 LTS with the Linux 2.6.32/2.6.33 kernels. There is also no kernel mode-setting at this time for the ATI Radeon R600/700 (HD 2000 series and later) hardware.

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. Rosewill RS-MI-01: An Ultra Low-Cost Mini-ITX Chassis
  2. D-Link DCS-2330L HD Wireless Network Camera
  3. Gigabyte AM1M-S2H
  4. AMD's New Athlon/Semprons Give Old Phenom CPUs A Big Run For The Money
Latest Linux Articles
  1. AMD Catalyst 14.4 Brings Few Linux Performance Improvements
  2. The Performance Of Fedora 20 Updated
  3. Clang Fights GCC On AMD's Athlon AM1 APU With Jaguar Cores
  4. Ubuntu 14.04 LTS vs. Oracle Linux vs. CentOS vs. openSUSE
Latest Linux News
  1. PC-BSD Is Developing Its Own Desktop Environment
  2. Valve Is Bringing VOGL To Windows & Working On Regression Tests
  3. Canonical Is Taking Over Linux 3.13 Kernel Maintenance
  4. Google Web Designer Is Now Natively Available On Linux
  5. Ubuntu 14.10 Is Codenamed The Utopic Unicorn
  6. Audacious 3.5 Lightweight Audio Player Released
  7. Steam Updated For Ubuntu 14.04 LTS, SteamOS
  8. DNF 0.5 Yum Replacement Now Supports Groups
  9. Red Hat Enterprise Linux 7.0 Is Looking Fantastic
  10. Intel Is Launching An Interesting Bay Trail NUC Next Week
  11. Another X.Org EVoC Proposed For OpenGL 4+ Tests
  12. The Best Features Coming With Qt 5.3
Latest Forum Discussions
  1. Linux Kernel Developers Fed Up With Ridiculous Bugs In Systemd
  2. The Most Amazing OpenGL Tech Demo In 64kb
  3. Announcing radeontop, a tool for viewing the GPU usage
  4. HTPC-upgrade advice: AMD Richland A8-7600 or Kaveri A10-6700T ???
  5. New card. Open source drivers only.
  6. The GNOME Foundation Is Running Short On Money
  7. Script for Fan Speed Control
  8. Torvalds Is Unconvinced By LTO'ing A Linux Kernel