Important
Discontinued in favour of OptimusUI
based on this extension: https://github.com/alexispurslane/PRIME-GPU-Profile-Selector
A GNOME Shell (version 41 and above) extension which provides a simple way to switch between GPU profiles on Nvidia Optimus systems (i.e laptops with Intel + Nvidia) in a few clicks.
Designed to work with suse-prime
and similar NVIDIA PRIME implementations, i.e. anything that provides the prime-select
commands.
- Switch between Intel, Nvidia and PRIME Offload mode
- Nautilus script to run executables on nVidia dGPU
- Nautilus Script to run application on nVidia dGPU with Zink enabled
prime-run
utility to run applications from CLI on nVidia dGPUprime-run-zink
utility to run applications from CLI on nVidia dGPU with Zink enabled
- Nautilus Script to run application via Zink (OpenGL over Vulkan)
zink-run
utility to run application from CLI via Zink (OpenGL over Vulkan)
To make use of the addional utility scripts add the following to your steam launch options:
zink-run %command%
or if running flatpak Steam:
$HOME/.local/bin/zink-run %command%
prime-run-zink %command%
or if running flatpak Steam:
$HOME/.local/bin/prime-run-zink %command%
prime-run %command%
or if running flatpak Steam:
$HOME/.local/bin/prime-run %command%
pkexec
- bash
suse-prime
,fedora-prime
, or (for other Linux distros), nvidia-prime-select
- Install all the dependencies
- Enable extension in official Gnome Extension store
- Make sure
~/.local/bin/
is in your$PATH
for various utility scripts to function from CLI
If running apps via flatpak make sure you add ~/.local/bin/
to the list of allowed directories via flatseal.
- Install all the dependencies
- Clone this repo with:
git clone [email protected]:Z-Ray-Entertainment/PRIME-Helper.git ~/.local/share/gnome-shell/extensions/[email protected]
journalctl -f -o cat /usr/bin/gnome-shell
dbus-run-session -- gnome-shell --nested --wayland
gnome-extensions pack \
--extra-source="README.md" \
--extra-source="LICENSE" \
--extra-source="img" \
--extra-source="ui" \
--extra-source="lib" \
--extra-source="script"