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

Upgrading The Linux Kernel, Mesa/X.Org Packages On Ubuntu 14.04

Ubuntu

Published on 05 April 2014 12:00 AM EDT
Written by Michael Larabel in Ubuntu
14 Comments

Upgrading the Linux kernel and Mesa/X.Org graphics driver components past what Canonical shipped in Ubuntu 14.04 LTS and other recent releases of Ubuntu Linux isn't actually that hard... Here's the Phoronix-recommended approach for Linux enthusiasts wishing to upgrade their key software components for yielding better open-source graphics driver performance and features.

Rather than building everything from source and run the risk of various breaks, running into a challenging dependency situation, or experiencing other hard aches, there's pre-compiled packages targeting Ubuntu that can be used for major kernel/Mesa upgrades outside of Canonical's small stable release updates. With pushing out new Ubuntu Linux releases every six months, Ubuntu doesn't issue major package updates after the release's debut, which is easier for stability and support, but not as nice when open-source graphics driver improvements are quick to materialize upstream and still working to compete with the binary GPU drivers and Windows graphics drivers.

First of all, I do not recommending using the 01.org Intel Linux Graphics Driver Installer releases or some of the other common approaches out there... The steps I am about to recommend I have found to be better for either being maintained longer on Ubuntu Linux releases, more quick to push down updates, or other benefits.

Upgrading the Ubuntu Linux kernel isn't as hard as it sounds, as long as you aren't relying on any binary drivers, don't need to use some out-of-tree kernel driver, or need any other special kernel configuration for your system. The easiest approach to upgrading your Ubuntu kernel is by using the Ubuntu Mainline Kernel PPA. From there you can fetch all of the latest upstream/vanilla Linux kernel releases... Including the very latest "daily" development snapshots of the Linux kernel. I commonly use this repository myself when wanting to grab the latest upstream Linux kernel and don't want/need to bother with a custom kernel configuration or any yet-to-be-merged patches.

With this mainline kernel archive, simply navigate to the relevant version/directory, and then download the relevant linux-image-* file for your 32-bit Intel or 64-bit Intel architecture. You only need the linux-headers support if you'll be compiling any kernel modules against that particular kernel, where you'd need the amd64/i386 headers to match your architecture along with the all version.

Recently the mainline archive began pushing out a lowlatency version of the kernel but most users will be fine with fetching the generic image. If I wanted to get the Linux 3.14 kernel right now for some Ubuntu Linux testing on 14.04 or any other recent Ubuntu release, I would go to v3.14-trusty/linux-image-3.14.0-031400-generic_3.14.0-031400.201403310035_amd64.deb. When that file is downloaded you can either double click on it to install it or use dpkg -i ~/Downloads/or/path/to/it/linux-image-3.14.0-031400-generic_3.14.0-031400.201403310035_amd64.deb. It should be that easy and when installing the kernel it will automatically update your GRUB boot-loader configuration.

Meanwhile, for the user-space graphics driver components, my recommended approach is to use either the Oibaf PPA or the Xorg-edgers personal package archive. Both of these repositories package the latest Mesa, libdrm, and X.Org graphics driver components for recent Ubuntu Linux releases. Upgrading these user-space driver components is as easy as running either sudo apt-add-repository ppa:xorg-edgers/ppa or sudo apt-add-repository ppa:oibaf/graphics-drivers for linking your system to either archive. That's then followed by running sudo apt-get update to update the package meta-data and lastly sudo apt-get dist-upgrade for upgrading all of your operating system's packages. After that, reboot, and if all goes well you'll be running the very latest Linux graphics drivers.

These steps are recommended for Linux enthusiasts and are fairly easy to carry out. I rarely run into issues running the latest Linux graphics drivers on Linux, but your mileage may vary based upon the hardware and experience. If you run into any problems or have questions, stop by the Phoronix Forums. Hopefully these steps were useful for those curious about upgrading the kernel or Mesa/X.Org on Ubuntu.

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. Intel Launches The Core i7 5960X, Mighty Powerful Haswell-E CPUs
  2. AMD Radeon R9 290: Gallium3D vs. Catalyst Drivers
  3. AMD Radeon R9 290 Open-Source Driver Works, But Has A Ways To Go
  4. Trying The Configurable 45 Watt TDP With AMD's A10-7800 / A6-7400K
Latest Linux Articles
  1. The Fastest NVIDIA GPUs For Open-Source Nouveau With Steam Linux Gaming
  2. Testing For The Latest Linux Kernel Power Regression
  3. The Most Energy Efficient Radeon GPU For AMD Linux Gaming
  4. 20-Way Radeon Comparison With Open-Source Graphics For Steam On Linux Gaming
Latest Linux News
  1. A New AMD Catalyst Linux Driver Unofficially Surfaces
  2. LibreOffice Ported To 64-bit ARM (AArch64)
  3. Enlightenment E19 RC3 Shows Off The New Wayland Compositor
  4. Metro Redux Is Going To Require OpenGL 4.x On Linux
  5. Jailhouse v0.1 Released As A Basic Hypervisor For Linux
  6. Google's Chromebook "Samus" Now Supported By Coreboot
  7. Chrome 38 Now In Beta With Exciting Advancements
  8. Ubuntu's Utopic Unicorn 14.10 Beta 1 Released
  9. Genode OS 14.08 Has New GUI Architecture, Pluggable VFS
  10. Another Intel Linux Power Regression Is Being Investigated
Latest Forum Discussions
  1. Btrfs Gets Talked Up, Googler Encourages You To Try Btrfs
  2. Catalyst 14.201.1008
  3. Users defect to Linux as OpenBSD removes Lynx from base system
  4. Updated and Optimized Ubuntu Free Graphics Drivers
  5. Canonical Joined The Khronos Group To Help Mir/Wayland Drivers
  6. Radeon HD5670 and Ubuntu 14.04
  7. AMD Releases UVD Video Decode Support For R600 GPUs
  8. Best Radeon for a Power Mac G5?