Askannz/optimus-manager
Askannz/optimus-manager has 2,442 GitHub stars and 184 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-06 21:48 UTC. Last push 2026-05-16.
A Linux program to handle GPU switching on Optimus laptops.
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
Original⚙️ Function
Enhances the performance and power management on Nvidia Optimus Laptops, by properly selecting when to use each GPU.
The Nvidia GPU runs the whole desktop, while the Intel/AMD GPU acts as relay between the Nvidia GPU and the screen.
More info at the wiki.
📚 Guides
Most issues are due to the Nvidia driver itself. If you are experiencing any, first try:
🔧 Contributing
If you figured out how to fix an issue, or to how improve ease of use, you may contribute an improvement:
- Click on the "Fork" button.
git clone [email protected]:[YOUR-USER]/optimus-manager.git- Modify the faulty files.
- Thorougly test that the program still works. See the scripts at
package. git summary+git add --all+git commit --message="[SUMMARY OF CHANGES]+git push.- Open a pull request.
- Accepted in two days.
🗳️ Reporting issues
If you are unable to fix an issue by yourself, or how to implement an idea to make things easier, report it:
- Isolate which specific config is causing your issue.
- Collect system info, by in the app "terminal" typing
curl --silent https://raw.githubusercontent.com/Askannz/optimus-manager/refs/heads/master/system-info.sh | bash &> ~/system-info.txt. - Open an issue report. Include the file
system-info.txt, generated above. - When requesting further info your report may be closed. Just reopen it when done so.
🖥️ Supported platforms
- Graphic protocols: Xorg, Wayland without configurable options.
- Display managers : SDDM, LightDM, GDM, custom, none.
💽 Installation
If you are not using the standard
linuxkernel, install thelinux-headerspackage variant that matches your kernel name.Install the
optimus-managerpackage. In the AUR:optimus-manager-git.
📝 Configuration
On X11 the Nvidia GPU is used for everything by default. This provides maximum performance and ease of use at the expense of power consumption. If you want to try to optimize this, see /etc/optimus-manager/.
On Wayland the Nvidia GPU is used for high performance apps which use GLX or Vulkan. While the integrated GPU for no so demanding apps which use EGL, like the desktop itself and the web browser. This behavior is not configurable.
🔀 Modes
nvidiaswitches to the Nvidia GPU.integratedswitches to the integrated GPU, and powers the Nvidia GPU off.hybridswitches to the integrated GPU, but leaves the Nvidia GPU available for on-demand offloading. Similar to how Optimus works on Windows. More info at the Wiki.
⚠️ Warning:
- In the configuration file, if
auto_logout=yes, switching will log out and close all applications. - Switching to and from "integrated" mode can be unstable.
📎 System Tray
All desktops:
Gnome:
🎰 Boot entries
Useful if you want to have different entries for different GPU startup modes.
This only affects which GPU your desktop session starts with, nothing prior to that.
Edit your boot loader config to have the kernel parameter optimus-manager.startup=[nvidia\integrated\hybrid].
Or if you are using the GRUB bootloader, you can use optimus-manager-grub.
📜 Terminal
- See
man optimus-manager
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,590 starspublic-apis/public-apis
A collective list of free APIs
496,860 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
439,403 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,100 stars