Introducing OptimusUI

Table of contents
- Managing Hybrid Graphics on Older Linux Laptops
- Why NVIDIA Optimus on Older GPUs Can Be Tricky on Linux
- From a GNOME Extension to a Standalone Flatpak
- Closing the Loop: Low-End Linux Gaming on the MSI CX61
- Looking Ahead
Managing Hybrid Graphics on Older Linux Laptops
With OptimusUI (Flathub), we are introducing an application born out of a very practical everyday frustration: if you own an older Linux laptop with NVIDIA Optimus, you want a simple way to switch between power-saving integrated graphics and the dedicated NVIDIA GPU without opening a terminal every single time.
While modern laptops with current driver support handle most of this automatically in the background, the reality on older hardware is often much rougher. That exact gap is why we built OptimusUI.
Why NVIDIA Optimus on Older GPUs Can Be Tricky on Linux
NVIDIA Optimus pairs two graphics processors in a single laptop: an energy-efficient integrated GPU (usually Intel) for everyday desktop work, and a dedicated NVIDIA GPU for games or graphics-heavy workloads.
Starting with the Turing architecture (RTX 2000 and GTX 1600 series), NVIDIA introduced an embedded GSP (GPU System Processor), a dedicated RISC-V co-processor built directly onto the GPU. NVIDIA driver 435 first introduced PCI-Express Runtime D3 (RTD3) dynamic power management on Turing laptops, and driver series 510 added official GSP firmware support. The GSP offloads GPU initialization, management tasks, and internal sleep and wake state handling from the host CPU onto the chip itself, coordinating with the Linux kernel's ACPI and PCI power management so the discrete GPU can power down cleanly into D3cold when idle and wake up seamlessly when needed.
Older architectures such as Fermi, Kepler, or early Maxwell lack this GSP co-processor and modern RTD3 D3cold support, and have also been dropped from current driver branches. On such laptops, the discrete GPU remains powered on under Linux unless external tools intervene, draining the battery and generating extra heat.
Over the years, the Linux community built several command-line tools and kernel modules to work around this:
bbswitch: A kernel module originally popularized alongside the Bumblebee project. Through/proc/acpi/bbswitch, it can explicitly toggle the discrete NVIDIA GPU betweenONandOFF, provided the NVIDIA driver is unloaded or prevented from binding at boot.prime-selectandnvidia-prime: Widely known from Ubuntu, these CLI tools switch the X11 session between integrated graphics (intel), the dedicated GPU (nvidia), or offload mode (offload), typically requiring a logout and login to apply.SUSEPrime: openSUSE's equivalent tonvidia-primefor distributions such as openSUSE Leap, Tumbleweed, or Kalpa Desktop. On older laptops,SUSEPrimehas historically been paired withbbswitchso the NVIDIA card actually powers down when running in Intel mode.- Other utilities such as
envycontroloroptimus-manager: Depending on the distribution and setup, users rely on different CLI tools, each with its own commands and configuration quirks.
On modern Wayland desktops, switcheroo-control has become the standard approach. However, on older NVIDIA GPUs stuck on legacy drivers like the 470xx branch, that mechanism often falls short due to missing modern GBM and hybrid offload support. Anyone running that hardware on X11 quickly ends up back in the terminal with traditional switching tools.
From a GNOME Extension to a Standalone Flatpak
OptimusUI originally started out as a GNOME Shell Extension. At first, that felt like the natural choice: a small indicator right in the GNOME top bar to switch GPU modes. In practice, however, that approach came with two major drawbacks.
First, GNOME Extensions are very maintenance-heavy. Every new GNOME release can change or break the Extension API. In the worst case, a minor tweak is not enough, and you have to laboriously port the entire extension to the new version just to keep it working.
Second, shipping as a GNOME Extension locked the tool exclusively to GNOME systems. Anyone running KDE Plasma, XFCE, or another desktop environment was left out completely.
That is why we decided to leave the extension behind and rebuild OptimusUI as a standalone Flatpak application. Packaging it as a Flatpak solves both problems at once:
- Multi-desktop support: OptimusUI runs across GNOME, KDE Plasma, XFCE, and other desktop environments without relying on fragile desktop-specific shell APIs.
- Multi-distribution support: Whether you run openSUSE, Ubuntu, Fedora, Arch Linux, or an immutable distribution, the same Flathub package works across systems.
Under the hood, OptimusUI acts as a graphical wrapper around the switching tools already installed on your host system, such as nvidia-prime, prime-select, SUSEPrime, and optimus-manager. Because a Flatpak runs inside a sandbox, OptimusUI bridges to the host via flatpak-spawn --host to query the live status of the dedicated GPU and trigger the appropriate host-level switching commands. For you as the user, all of that stays hidden behind a clean interface with a live status indicator and zero terminal commands.
Closing the Loop: Low-End Linux Gaming on the MSI CX61
You may have already read our article on Robo n' Tux - Low End Linux Gaming. In that post, we introduced our three test laptops, including the MSI CX61 (Intel Core i5-3230M with Intel HD Graphics 4000 and a Kepler-era GeForce GT 730M running on Kalpa Desktop with the legacy 470xx driver and an X11 focus).
In that article, we noted that hybrid GPU usage on this older machine remains viable with minor quirks. This is where one of those loops closes: we actively use OptimusUI on the MSI CX61 in our day-to-day testing.
Instead of manually typing commands for SUSEPrime or prime-select and power management on an immutable rolling-release system, we check the live status of the GT 730M directly in OptimusUI and switch smoothly between quiet, power-saving Intel mode and NVIDIA mode for gaming benchmarks. That keeps the laptop cool and efficient during everyday tasks while letting the dedicated GPU take over at the click of a button.
Looking Ahead
For us, OptimusUI is a great example of how moving a small utility from a desktop-locked extension to a universal Flatpak application makes it far more sustainable to maintain and accessible to many more Linux users.
If you still have an older NVIDIA Optimus laptop in regular use, feel free to try OptimusUI on Flathub. And if you want to see how this setup holds up in real-world gaming tests on aging hardware, check out Robo n' Tux - Low End Linux Gaming.