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 NVIDIA Optimus / DRI PRIME On Ubuntu 14.04

Michael Larabel

Published on 28 April 2014
Written by Michael Larabel
Page 1 of 6 - 14 Comments

With Ubuntu 14.04 LTS there is improved support for multi-GPU laptops (commonly what's branded as NVIDIA Optimus configurations) where there is a discrete NVIDIA GPU used for high performance workloads to complement the low-power Intel integrated graphics. Ubuntu 14.04 LTS features better support for these Optimus / DRI PRIME configurations on both the open and closed-source graphics drivers. Here's the Ubuntu 14.04 multi-GPU experience along with some OpenGL benchmarks and power consumption numbers between the different configurations.

Now that Ubuntu 14.04 LTS is out the door, I tested it out on a ASUS Zenbook Prime ultrabook with an Ivy Bridge class Intel Core i7 3517U CPU that has HD Graphics 4000 plus a discrete NVIDIA GeForce GT 620M 1GB GPU.

When Ubuntu 14.04 LTS was installed, the GPU reported in use by default was the low-power Intel HD Graphics 4000, per glxinfo (for new Ubuntu Linux users, it's shipped via the mesa-utils package) for seeing the reported OpenGL renderer. Setting DRI_PRIME=1 on a clean install of Ubuntu 14.04 LTS will switch to using the discrete graphics processor in supported configurations. When an OpenGL context is initialized under the DRI_PRIME environment variable, the NVIDIA GPU was utilized in conjunction with the Nouveau Gallium3D driver.

Switching the DRI_PRIME environment variable is the main method of dealing with switching of the GPUs depending upon the workload, but isn't too user-friendly nor as nice as the GPU switching on Windows 8.

New to Ubuntu 14.04 LTS when installing the packaged NVIDIA drivers is a dependency on the nvidia-prime package. The nvidia-prime support in Ubuntu 14.04 will add a new page to the nvidia-settings GUI panel for switching between the graphics processors. This support is offered via the Bumblebee project.

The NVIDIA GPU is listed as the "performance mode" and the Intel graphics are the "power savings mode" via the PRIME profiles. When switching modes, the administrator password needs to be entered. Additionally, the session needs to be restarted to switch the GPUs. This isn't done in real-time, but is at least GUI driven for easy Linux operation by everyone.

When switching to the power-savings mode, the open-source Intel Linux graphics driver continued to play nicely with the NVIDIA binary driver installed, using the Ubuntu 14.04 supplied packages.

<< Previous Page
1
Latest Linux Hardware Reviews
  1. AMD Launches New FX CPUs, Cuts Prices On Existing Processors
  2. Preview: AMD's FX-9590 Eight-Core At Up To 5.0GHz On Linux
  3. Intel Launches The Core i7 5960X, Mighty Powerful Haswell-E CPUs
  4. AMD Radeon R9 290: Gallium3D vs. Catalyst Drivers
Latest Linux Articles
  1. Ondemand vs. Performance CPU Governing For AMD FX CPUs On Linux 3.17
  2. How Intel Graphics On Linux Compare To Open-Source AMD/NVIDIA Drivers
  3. The Fastest NVIDIA GPUs For Open-Source Nouveau With Steam Linux Gaming
  4. Testing For The Latest Linux Kernel Power Regression
Latest Linux News
  1. New Group Calls For Boycotting Systemd
  2. The Features To Find With The Imminent Release Of LLVM/Clang 3.5
  3. Borderlands 2 Is Coming To Linux
  4. The Witcher 2 Ups The Performance More & Works Around Catalyst Bug
  5. Running Gallium3D's LLVMpipe On The Eight-Core 5GHz CPU
  6. Trying Intel OpenCL On Linux For Video Encoding
  7. GSoC 2014 Yielded Some Improvements For Mesa/X.Org This Year
  8. webOS Lives On As LuneOS With New Release
  9. Marek Lands Radeon Gallium3D HyperZ Improvements
  10. Mozilla Firefox 32 Surfaces With HTML5, Developer Changes
Latest Forum Discussions
  1. Lennart Poettering Talks Up His New Linux Vision That Involves Btrfs
  2. nv and xorg.conf under Debian PPC
  3. AMD graphics doesn't work with AMD Catalyst drivers
  4. Best Radeon for a Power Mac G5?
  5. The dangers of Linux kernel development
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. AMD Releases UVD Video Decode Support For R600 GPUs
  8. SSD seems slow