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 Benchmarking Platform
Phoromatic Test Orchestration

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 News
  1. HiSense Chromebook Benchmarks When Running Ubuntu Linux
  2. Mandriva Linux Was Allegedly Brought Down By Employee Lawsuits
  3. GNOME 3.17.2 Is Released As The Latest Look Towards GNOME 3.18
  4. Phoronix Turns 11 Years Old Next Week: How Should We Celebrate?
  5. Ubuntu Community Council Reaffirms Its Decision Against Kubuntu's Leader
  6. Future Plans For Changing Fedora's Installer
  7. Confusion Mounts Over Wayland's Actual License
  8. GNOME's Mutter Now Supports Drag-n-Drop To/From Wayland & X11
  9. Wine 1.7.44 Works On More 64-bit ARM Support
  10. Phoronix Test Suite 5.8 Milestone 5 Brings Near Final "Belev" Experience
Latest Articles & Reviews
  1. Btrfs RAID 0/1/5/6/10 Five-Disk Benchmarks On Linux 4.1
  2. Opening The Gates To Our Daily Open-Source Linux Benchmark Results
  3. The Latest Features For Linux Performance Management + Benchmark Monitoring
  4. Noctua NH-U12DX i4 + NF-F12
Most Viewed News This Week
  1. NVIDIA's Proprietary Driver Is Moving Closer With Kernel Mode-Setting
  2. Features Added To Mesa 10.6 For Open-Source GPU Drivers
  3. Ubuntu's LXD vs. KVM For The Linux Cloud
  4. Friction Building Around An Ubuntu Community Council Decision
  5. The Latest Linux Kernel Git Code Fixes The EXT4 RAID0 Corruption Problem
  6. The CompuLab Fitlet Is A Neat Little Linux PC With AMD SoC
  7. Linux 4.1-rc5 Kernel Released
  8. Russia's Baikal Chips End Up Going For A MIPS CPU