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. MSI X99S SLI PLUS On Linux
  2. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  3. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  4. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
Latest Linux Articles
  1. RunAbove: A POWER8 Compute Cloud With Offerings Up To 176 Threads
  2. 6-Way Ubuntu 14.10 Linux Desktop Benchmarks
  3. Ubuntu 14.10 XMir System Compositor Benchmarks
  4. Btrfs RAID HDD Testing On Ubuntu Linux 14.10
Latest Linux News
  1. Fedora 21 Beta & Final Release Slip Further
  2. Mesa 10.3.2 Has A Couple Bug-Fixes
  3. RadeonSI/R600g HyperZ Support Gets Turned Back On
  4. openSUSE Factory & Tumbleweed Are Merging
  5. More Fedora Delays: Fedora 21 Beta Slips
  6. Mono Brings C# To The Unreal Engine 4
  7. Coreboot Now Has Support For Intel Broadwell Hardware
  8. Enlightenment's EFL 1.12 Alpha Has Evas GL-DRM Engine, OpenGL ES 1.1 Support
  9. GTK+ Lands Experimental Backend For Mir Display Server
  10. Ubuntu 14.10 Officially Released
Latest Forum Discussions
  1. AMD Radeon VDPAU Video Performance With Gallium3D
  2. HOPE: The Ease Of Python With The Speed Of C++
  3. Updated and Optimized Ubuntu Free Graphics Drivers
  4. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  5. Linux hacker compares Solaris kernel code:
  6. Advertisements On Phoronix
  7. Users/Developers Threatening Fork Of Debian GNU/Linux
  8. AMD Releases UVD Video Decode Support For R600 GPUs