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 Benchmarking Platform
Phoromatic Test Orchestration

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 Articles & Reviews
  1. GLAMOR + RadeonSI 2D Acceleration Is Quite Good For Open-Source AMD 2D Performance
  2. AMD Radeon R9 290 OpenGL On Ubuntu 15.04: Catalyst vs. RadeonSI Gallium3D
  3. Ubuntu 15.04 Offers Faster OpenGL For AMD Radeon GPUs On Open-Source
  4. Ubuntu 15.04 Brings Some Graphics Performance Improvements For Intel Haswell
  5. Sub-$20 802.11n USB WiFi Adapter That's Linux Friendly
  6. The Lenovo T450s Is Working Beautifully With Linux
Latest Linux News
  1. GNOME 3.17.1 Released
  2. A Lot Of Improvements Are Coming For Mir 0.13, Including Work Towards Libinput
  3. Mobile Optimizations Coming For Phoronix
  4. Wayland 1.8 Alpha Release Delayed
  5. Godot Game Engine 1.1 Up To RC State
  6. ATI Rage128 Driver Now Has RandR Support
  7. Microsoft's Visual C++ Team Is Improving Clang For Windows
  8. Kodi 15.0 Beta 1 Released
  9. Lucid Sleep Support Is Being Worked On For The Upstream Linux Kernel
  10. Improvements On The Way For GNOME's Nautilus File Manager
Most Viewed News This Week
  1. It Doesn't Look Like KDBUS Will Make It For Linux 4.1
  2. Trying Out Microsoft Visual Studio Code On Linux
  3. The Many Features Of The Linux 4.1 Kernel
  4. Microsoft Releases New Code IDE For Linux!
  5. Linux 4.1-rc1 Kernel Released, Packs In Several New Features
  6. GCC 4.9.2 vs. GCC 5 Benchmarks On An Intel Xeon Haswell
  7. QEMU 2.3 Officially Released
  8. Improvements On The Way For GNOME's Nautilus File Manager