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


Will NVIDIA Optimus Inevitably Come To Linux?


Published on 25 April 2011 08:05 AM EDT
Written by Michael Larabel in NVIDIA

Aside from political issues surrounding open vs. closed-source (graphics) drivers on Linux, the proprietary NVIDIA Linux driver is widely liked. The proprietary NVIDIA Linux driver is relatively bug/trouble-free, has a performance parity to the Windows driver, supports new hardware right away, and has a near feature parity to the Windows driver. There's not much more you could ask for from a closed-source driver, aside from a few missing features. One of the missing features that's been widely talked about as of late has been Optimus.

NVIDIA's Optimus Technology is currently a notebook technology designed to extend the battery life of the device while still delivering an optimal graphics experience. Optimus works by automatic switching of notebook GPUs: between a low-end low-power IGP and a high-performance GPU. This is dependent upon the needed graphics resources and power source. Switching is done seamlessly and transparently.

While NVIDIA Optimus sounds like something neat and useful for mobile users, it's not supported under Linux. The technology is relatively new, but NVIDIA last year said they had no plans at that time to support it under Linux.

Why don't they bring Optimus to Linux? Well, they haven't given a public explanation, but this is technology is currently only found on a small number of notebooks right now, none of which have SKUs with Linux as a default OS option. As long as it stays a mobile technology, it will be up to one of NVIDIA's customers (as in the IHV) to request/demand the support. It's high-hanging fruit.

Supporting Optimus under Linux wouldn't also be a straight and easy port of their Windows driver code, but to provide the same experience as achieved under Windows, would require extensive changes to the X.Org Server. The old X Server code doesn't handle dynamic GPU changes too well, etc, and is a current sore spot for all drivers. Someone could step up and make the necessary improvements -- even NVIDIA themselves, as they do commit server changes upstream when necessary -- or wait a few years for the Wayland Display Server. Wayland should play better in these areas with the needs of today rather than decades ago.

They could also get by without any X.Org Server changes if they made their implementation work like that of vga_switcheroo or AMD PowerXpress whereby the X.Org Server is restarted when switching to/from the IGP and discrete GPU.

Those in the open-source world could also attempt to support Optimus under Linux via reverse-engineering and the Nouveau driver. However, so far those efforts haven't panned out. There's the vga_switcheroo support in the mainline code that supports some open-source drivers on some hardware with GPU/IGP switching, but that's not for Optimus. Currently supported by the switcheroo are those using a hardware switch and not NVIDIA's Optimus implementation. Right now there is no support for Optimus under Linux with either the open or closed-source drivers.

Related to this though, last year Red Hat's David Airlie created the open-source PRIME proof-of-concept that allowed a secondary GPU to render 3D applications onto the screen of the first GPU that was connected to a display.

This work though has yet to be merged mainline as much more work still would require beforehand, since the work is invasive and touches not only the X Server but also the DRI2 protocol, the drivers, and the Graphics Execution Manager since memory objects are to be passed between drivers/GPUs.

Why talk about Optimus again under Linux today? Over the past few days we've heard a few references to Synergy, which is rumored to be NVIDIA's desktop equivalent of Optimus. NVIDIA's expected to launch this updated Optimus-based technology in just over a month at Computex Taipei. Synergy will allow the user to switch between the integrated graphics on their motherboard (and CPU in the case of Intel Sandy Bridge) and their discrete PCI-E NVIDIA graphics card.

There's no changing of the monitor cable to the other output or anything along those lines, but it's meant to be completely seamless just like its mobile version. While there is no battery life to worry about, the GPU switching will be handled based upon the running application(s) and their graphics requirements.

For supporting NVIDIA Synergy under Linux, it will still be difficult just like Optimus is now, especially if their goal is to have the switching be done seamlessly and in real-time. There's the X.Org Server changes needed and the NVIDIA blob would effectively need to handle and play with the Intel DRM driver and GEM (they'll also need to end up playing with this Linux kernel memory API in some form when they eventually support Wayland) for it to work in a manner like it does under Windows. This wouldn't be an easy feat.

However, if the Optimus-based technology continues to take off and Synergy even becomes somewhat common, NVIDIA will likely end up needing to support it under Linux in some manner. It will be interesting to see how NVIDIA handles the situation once it reaches the desktop.

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. A Walkthrough Of The New 32 System Open-Source Linux Benchmarking Test Farm
  2. Habey MITX-6771: Mini-ITX Board With Quad-Core J1900 Bay Trail
  3. OCZ Vector 150 SSD On Linux
  4. Noctua i4 CPU Cooler: Great For Cooling High-End LGA-2011v3 CPUs
Latest Linux Articles
  1. 17-Way Linux Graphics Card Comparison With Civilization Beyond Earth
  2. AMD Kaveri: Open-Source Radeon Gallium3D vs. Catalyst 14.12 Omega Driver
  3. 12-Way AMD Catalyst 14.12 vs. NVIDIA 346 Series Linux GPU Comparison
  4. AMD Catalyst 14.12 Omega Driver Brings Mixed Results For Linux Users
Latest Linux News
  1. Fedora Doesn't Yet Enable F2FS File-System Support
  2. XZ 5.2 Adds New Multi-Threaded Options
  3. Intel 2.99.917 X.Org Driver Released, 3.0 Release Finally Near
  4. Server-Side XCB Is Being Discussed For The X.Org Server
  5. Adreno A4xx Rendering With Freedreno Takes Shape
  6. Linux 3.19-rc1 Kernel Released Ahead Of Schedule
  7. X.Org Server 1.16.3 Released To Fix Security Issues
  8. Linux 3.19 Merge Window Closes Ahead Of Schedule
  9. MIPS R6 Architecture Now Supported By GCC
  10. LowRISC To Feature Tagged Memory & Minion Cores
Latest Forum Discussions
  1. FPS capped on Linux (AMD fglrx drivers)
  2. Maker3D - create your 3D RPG
  3. Need some hand holding with upgrading xserver
  4. Speeding up systemd networking service
  5. Major Performance Breakthrough Discovered For Intel's Mesa Driver
  6. Looking for an nVidia GPU, but not sure how well they are supported.
  7. Are there an app using HSA ?
  8. The New SuperTuxKart Looks Better, But Can Cause GPU/Driver Problems