There are several options for hybrid Nvidia graphics, each with their benefits and drawbacks.
These options are:
bumblebee (render offload)
-- performance not great
(from arch wiki below: "Bumblebee not only has significant performance issues  , but also has no plans to support Vulkan ") (*)
-- preconfigured, ability to use nvidia gpu “ondemand” with primusrun command
-- development seems pretty dead
for more info read: https://wiki.archlinux.org/index.php/bumblebee and linked topics
For help booting an Optimus laptop with bumblee read this thread:
There is a subset of laptops that will not boot without these intervening steps even with the live media, maybe they are all bumbleb ee…
If anyone has a list of effected systems it would be nice. I know in involves Nvidia chipped systems.
Boot live media by passing kernel parameter systemd.mask=mhwd-live.service that should get you to live session
Now before you start the install from the live session change the lines at the end of the file /lib/calamares/modules/mhwdcfg/main.py to…
(*) if you want to use/test bumblebee with vulkan support:
nvidia-prime (display offload)
-- Ubuntu uses this
-- better performance
-- switching between intel and nvidia needs relogin
-- maybe draws more power (if nvidia module is loaded - not sure about this -)
For more info see this thread:
The latest versions of Xorg, kernel, and NVIDIA driver all support PRIME output but setting this up is a bit of a faff. What follows is a method to get this working on an Optimus-enabled laptop.
Note: Fermi-based GPUs should use nvidia-390xx instead of nvidia.
bumblebee, using "render offload"
Uses the dGPU only when requested, allows power saving, is the Manjaro default
Some overhead so lower raw performance
PRIME, using "output offload"
Uses the dGPU…
(there’s also a PKGBUILD in the thread somewhere which may help setting up, but also involves choosing correct pkg)
For more information also see the Arch wiki:
-- sort of the same of above
-- pkg available (but need additional manual configuration [not sure about this])
For more info see:
This Linux program provides a solution for GPU switching on Optimus laptops (a.k.a laptops with dual Nvidia/Intel GPUs).
Manjaro is supported: Only Xorg sessions are supported (no Wayland).
Supported display managers are : SDDM, LightDM, GDM. The program may still work with others but you have to configure them manually (see
Regression: GDM support is currently broken (see this issue : https://github.com/Askannz/optimus-manager/issues/4). You can still use optim…
-- second x server which runs on nvidia gpu (maybe I’m wrong here, didn’t use it or look any deeper)
-- PKGBUILD in AUR
https://wiki.archlinux.org/index.php/Nvidia-xrun Other options
using modesetting or intel driver for intel and nouveau for nvidia (if your nvidia gpu is somewhat properly supported by nouveau)
(see arch wiki link above for more info and https://nouveau.freedesktop.org/wiki/FeatureMatrix/
-- easily set an intel-only mode or an intel/nvidia PRIME mode.
-- works exactly like PRIME when in prime mode.
-- intel-only mode disables/powers-down nvidia gpu at boot and can use intel or modesetting driver.
-- does not use bbswitch or nouveau for switching.
sudo set-intel.sh sets intel-only mode.
sudo set-nvidia.sh sets intel/nvidia prime mode.
-- separate installers for LightDM, SDDM, GDM.
-- disclaimer: although working well, is still very new.
ok, so over the past few days ive been working on an alternative to bumblebee or optimus-manager for those of us who have optimus enabled laptops.
my initial goal was to just write a small bash script that would let me easily jump back and forth from using PRIME that i have set up thanks to
@jonathon 's tutorial, and also an intel only setup that completely powers down the nvidia GPU in a way that does not cause lockups, break sleep/suspend cycles, and allows me to get the very best perfo…