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. ASRock X99 Extreme3 Is An Affordable Choice For Linux Users
  2. A Walkthrough Of The New 32 System Open-Source Linux Benchmarking Test Farm
  3. Habey MITX-6771: Mini-ITX Board With Quad-Core J1900 Bay Trail
  4. OCZ Vector 150 SSD On Linux
Latest Linux Articles
  1. 2014 Catalyst Linux Graphics Benchmarks Year-In-Review
  2. 17-Way Linux Graphics Card Comparison With Civilization Beyond Earth
  3. AMD Kaveri: Open-Source Radeon Gallium3D vs. Catalyst 14.12 Omega Driver
  4. 12-Way AMD Catalyst 14.12 vs. NVIDIA 346 Series Linux GPU Comparison
Latest Linux News
  1. PlaneShift 0.6.3 Open-Sourece MMORPG Released
  2. Xonotic 0.8 Is Slowly Creeping Closer To Being Released
  3. NVIDIA Sends Out 11 Nouveau Patches For Christmas
  4. Kodi 14.0 Released For The Holidays - Formerly Known As XBMC
  5. Devuan Is Still Moving Along As A Debian Fork Without Systemd
  6. UEFI Secure Boot Tools Updated For v2.4
  7. Phoronix Test Suite 5.4.1 Released
  8. Mageia 5 Has Been Delayed
  9. GPU-Based Acceleration For PostgreSQL
  10. F2FS Might Get Enabled In Fedora
Latest Forum Discussions
  1. Why is it that Radeon cannot run good old (ancient) Doom 3 engine games?
  2. Debian init discussion in Phoenix Wright format
  3. FPS capped on Linux (AMD fglrx drivers)
  4. Speeding up systemd networking service
  5. Storm Engine 2 (Doom 3 BFG GPL fork) got entry on IndieDb
  6. Need some hand holding with upgrading xserver
  7. New build, first Linux PC, what could go wrong? ;)
  8. XLennart: A Game For Systemd Haters With Nothing Better To Do