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. The MSI X99S SLI PLUS Is Working & Running Well On Linux
  2. NVIDIA GeForce GTX 980: The Best GPU For Linux Gamers
  3. ROCCAT LUA: A Linux-Friendly Gaming Mouse
  4. Cheetah Mounts: The Affordable Way To Put Your TV On The Wall
Latest Linux Articles
  1. Preview: Radeon Gallium3D Performance For CS:GO On Linux
  2. XWayland Linux Gaming Performance With GNOME Wayland On Fedora 21
  3. EXT4/Btrfs/XFS/F2FS Benchmarks On Linux 3.17
  4. Fedora 21 Alpha First Impressions: It's Great
Latest Linux News
  1. Dash As The Default Shell For Fedora?
  2. CUPS Turn 15 Years Old, CUPS 2.0 Released
  3. VA-API Gallium3D State Tracker Added Back To Mesa
  4. Radeon DRM Gets New Information Ioctl Queries
  5. Mir 0.8 Works On Less ABI Breakage, Touchspots, Responsiveness
  6. CS:GO For Linux Gains Better Stability, Community Server Support
  7. NVIDIA Issues Updated 340.46 Long-Lived Driver Release
  8. KDE Plasma 5.1 Now In Beta
  9. Systemd & Debian Were Most Popular In September
  10. Microsoft Announces... Windows 10 With A Start Menu
Latest Forum Discussions
  1. Microsoft Announces... Windows 10 With A Start Menu
  2. Take the Steam Survey results with a grain of salt. It is flawed.
  3. X.Org Is Looking For Some Female Help
  4. Hacking Express gate (Asus Splashtop)
  5. NVIDIA Alerts Nouveau: They're Starting To Sign/Validate GPU Firmware Images
  6. Updated and Optimized Ubuntu Free Graphics Drivers
  7. Nero CD/DVD Burning Software On Linux Is Dead
  8. New Group Calls For Boycotting Systemd