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. NVIDIA GeForce GTX 970 Offers Great Linux Performance
  2. CompuLab Intense-PC2: An Excellent, Fanless, Mini PC Powered By Intel's i7 Haswell
  3. From The Atom 330 To Haswell ULT: Intel Linux Performance Benchmarks
  4. AMD Radeon R9 285 Tonga Performance On Linux
Latest Linux Articles
  1. 6-Way Ubuntu 14.10 Linux Desktop Benchmarks
  2. Ubuntu 14.10 XMir System Compositor Benchmarks
  3. Btrfs RAID HDD Testing On Ubuntu Linux 14.10
  4. Ubuntu 14.10 Linux 32-bit vs. 64-bit Performance
Latest Linux News
  1. Intel GVT-g GPU Virtualization Moves Closer
  2. GTK+ 3.16 To Bring Several New Features
  3. Debian 8.0 Jessie Has Many Multimedia Improvements
  4. What Linux Benchmarks Would You Like To See Next?
  5. Open-Source, Linux Support For Corsair Link Devices Slowly Materializing
  6. Cairo-Dock 3.4 Shows A Lot Of Progress, Works Toward EGL/Wayland Support
  7. Mesa 10.4 Tentatively Planned For Early December
  8. SteamOS Update 145 Brings Compositor, Update Fixes
  9. GStreamer 2014 Conference Videos Posted: Wayland, HTML5, 3D
  10. Nouveau Now Supports DRI3 Without GLAMOR
Latest Forum Discussions
  1. HOPE: The Ease Of Python With The Speed Of C++
  2. Updated and Optimized Ubuntu Free Graphics Drivers
  3. Linux hacker compares Solaris kernel code:
  4. Users/Developers Threatening Fork Of Debian GNU/Linux
  5. Ubuntu 16.04 Might Be The Distribution's Last 32-Bit Release
  6. AMD Releases UVD Video Decode Support For R600 GPUs
  7. Proof that strlcpy is un-needed
  8. xbox one tv tuner