based on this extension: https://github.com/LorenzoMorelli/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 GPU if running in offload mode
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
- Install all the dependencies
- Clone this repo with:
git clone https://github.com/alexispurslane/PRIME-GPU-Profile-Selector.git ~/.local/share/gnome-shell/extensions/PRIME_GPU_profile_selector@alexispurslane.github.com
journalctl -f -o cat /usr/bin/gnome-shell
dbus-run-session -- gnome-shell --nested --wayland
gnome-extensions pack PRIME_GPU_profile_selector@alexispurslane.github.com \
--extra-source="README.md" \
--extra-source="LICENSE" \
--extra-source="img" \
--extra-source="ui" \
--extra-source="lib"