Options for Nvidia Optimus graphics

There are several options for hybrid Nvidia graphics, each with their benefits and drawbacks.

These options are:

bumblebee (render offload)

-- performance not great (some overhad)
(from arch wiki below: "Bumblebee not only has significant performance issues[1][2], but also has no plans to support Vulkan[3]") (*)

-- 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:

(*) if you want to use/test bumblebee with vulkan support:

nvidia-prime

-- uses Nvidia only
-- better raw performance since only nvidia GPU is used directly
-- no switching between intel and nvidia since only nvidia is active as a GPU
-- draws more power and heats a bit more a laptop so it's not recommended to use on battery since it uses it faster up

For more info see this thread:

(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: https://wiki.archlinux.org/index.php/PRIME

optimus-manager (display offload)

-- it's an Arch counterpart to Ubuntu's solution to switch GPUs
-- allows for using both GPUs but only one at a time which saves battery and unlocks Nvidia performance when needed
-- needs a session reload to switch the GPU
-- has available package with the icon in the tray for easy graphical switch (just need right-click and choose the GPU mode) and access to settings
-- pkg available in Manjaro repo but needs a manual configuration that is dependent on chosen DE (won't work automatically just by installing)
-- it's still in beta phase so definitely do a system backup before installing it because it changes a deep system settings so you may not be able to go back to the previous configuration manually

For more info and installation guides see:

or a bit outdated topic:

nvidia-xrun

-- second x server which runs on nvidia gpu (maybe I’m wrong here, didn’t use it or look any deeper)
-- uses nvidia fully so it has Vulkan support but since it needs both sessions (DE plus Openbox) to be opened it has some little overhead
-- PKGBUILD in AUR

see also:

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/
https://nouveau.freedesktop.org/wiki/Optimus/)

optimus-switch

-- easily set an intel-only mode or an intel/nvidia PRIME mode.
-- needs to reboot OS for the switch
-- 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 thanks to reboot (so no potential conflicts there)
-- 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.

17 Likes
Nvidia drivers not working in fresh install
Manjaro's graphics switching features
Nvidia M150 Issues On Xiaomi Mi Notebook Pro
Bumblebee/Nvidia - problem
Optimus + Ultra Wide monitor + i3
Kernel 5.4: Stuck on Started TLP system startup/shutdown - but with optimus-switch
Dedicated graphics card not being recognised
I am having issues with my Thinkpad Docking in Manjaro KDE.
Manjaro awesome freezes on logout / shutdown
Laptop graphics driver issues. mhwd selection results in black screen no cursor on boot
[ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
Gnome not recognizing HDMI port NVIDIA GPU
Can't access secondary GPU (NVIDIA non-free driver), bumblebee
Gnome "Oh no! Something has gone wrong
Flickery screen since a few days (Gnome, nVidia)
Another "Stuck at TLP system startup/shutdown" thread
Problems with video drivers
NVIDIA Proprietary Driver / Xorg issue
Manjaro + Nvidia = Slow + Gaming. Manjaro - Nvidia= Fast - No Gaming
Nvidia - Prime issues
Black screen booting laptop with non-free driver (NVIDIA GTX 1660Ti)
Please, help with video driver and wifi driver
Project to a projector or second screen
Trying to clear up some things before I install Manjaro
Optimus-manager NOT switching
HDMI Monitor not recognized (Laptop)
`/etc/modules-load.d/` doesn't load `nvidia` on boot
Manjaro wont boot with nonfree drivers
Nvidia driver installing error
What is the proper driver for Intel and Nvidia Hybrid Graphics
Problem with intel_nvidia hybrid driver
Black Screen Nvidia Driver Lightdm Archlinux
[SOLVED] Having some issues with NVIDIA card and Wi-Fi
Not detecting my second monitor ( also Nvidia X server setting is not opening / Loading )
Can't hibernate on Razer Blade Stealth (Late '19)
Issues with primusrun / bbswitch
Hybrid laptop: Nvidia driver N/A + Nvidia conflict drivers
Driver issues xfce nvidia
Bumblebee, Nvidia, and Vertical Sync Not Turning Off
KDE lags after lock screen
Boot times drastically slower after update
Display setting not detecting second monitor
ThinkPad X1 Extreme Gen2 does not detect external monitors
mhwd freeze and gpu driver crash
No Network Adapters on Thinkpad X1 Extreme
Not easy to install nvidia drivers
Issues with bumblebee - cannot enable discrete graphics
Bumblebee (vulkan) not working
Installed proprietary drivers and fans on full speed and wont turn down
[SOLVED] Cannot get NVIDIA gtx 1060 to work with Manjaro
[SOLVED] Not booting past the login screen
Не определяется монитор на ноутбуке с гибридной видеокартой
Manjaro gnome screen suddenly flickering
No HDMI Port Detected
GT740m not being detected
Intel iGPU - no video output
No Boot (with "Failed to start Light Display Manager" error) after Nvidia-drivers configuration
Manjaro Cinnamon no detecta la pantalla del laptop
nvidia driver problem ("NVIDIA-SMI has failed" with Optimus laptop)
How to install NVIDIA Driver and how to switch between intel/nvidia gpu
[Solved] I can't use video-nvidia-390xx on Dell XPS L502x
how disable second (fake) monitor
[SOLVED] HDMI not working on HP Pavilion cb015nl
Manjaro getting stuck at Asus logo - drivers videos bad choice on install
Nvidia drivers for acer predator helios 300 with nvidia gtx 1060 mobile
Non free or free drivers Intel hd and nvidia 960M
NVIDIA 435 on hybrid graphics notebook,
KDE Konsole and Yakuake screen tearing (4K)
[SOLVED]Opening Steam/inxi/mhwd makes Alienware 13 shut down
Freezing entire system on click! Manjaro 18.1.0 [openbox] Dell G5 5587
Alienware m15 freeze at 'Started Accounts Service.'
Hardware Configuration Window or Hardware Commands Freeze
Alienware m15 freeze at 'Started Accounts Service.'
[SOLVED] KDE Plasma in black screen when using Nvidia drivers
Overwatch issue Dell 7577
Unable to use a second screen in Hp Pavilion Power Laptop 15
MHWD not properly installing nvidia-bumblebee driver for linux52-rt kernel
CS:GO Workshop Maps not loading properly
Can't install on my GL62 6QF laptop
Notebook, Session and Hardware problem
Manjaro dual monitor setup not working. Detected but not showing anything up on second display.
GPU / Driver issue when installing manjaro
An option for an MX150 GPU?
gpu not working
Nvidia optimus question
Nvidia driver 340 broke graphics
Loading kernel and initrd.img "persistent"
clevo - dualmonitor - intel/nvidia - arch configuration - manjaro guide for n950tp6 [SOLVED]
ASUS TUF Gaming FX504GM-E4353
I don't think my system uses Nvidia at all (when using Bumblebee)
Nvidia driver issue, OS not getting boot up (gnome)
Can't boot Manjaro XFCE on ASUS TUF Gaming FX504GM-E4353
Installing Nvidia drivers
[Solved] nvidia graphics card preventing log on
Switching between intel and nvidia with "prime" setup
XPS 9570 and nvidia dGPU - up to date solution to switch GPU ?
Fresh installation, garbled graphics when logging in
Terminal crashing when trying to update nvidia drivers + other issues
Laptop to External Monitor Display Issue
Problems in Manjaro KDE using optimus-switch
Cannot load Geforce GTX 1650 nonfree/free drivers
[求助]无法安装intel+nVidia混合驱动
Only use iGPU on dual GPU laptop
Monitor detection lost after install Nvidia driver
Laptop, Enable Nvidia GPU in BIOS freeze the machine
Bumblebee Poor Performance (Acer with Intel HD 520 and NVidia 940mx)
Random Crashes / Freezes / Locks Up in multiple distros
External Monitor for laptop that dont work
nvidia driver issue.no boot
Xorg not starting, finding screens, etc on dual GPU laptop (Asus UX431FN)
Why does my FPS drop while gaming after the first ~10 seconds?
Dual monitors on Dell latitude 5591
Problemas con los drivers de Nvidia
Driver management
Manjaro freezes at login screen and touchpad not working after install
Support for Dell XPS 15 7590
Restore nvidia settings
проблема с установкой video-nvidia
can't login; black screen only using startx
Solved? How to setup multiple display sessions for motherboard and gpu
Booting to black screen after update (cursor visible)
не могу открыть лигу легенд и NVIDIA X Server Settings
Problem with Manjaro KDE and Dell XPS 9560
[dual boot] Freeze in authentication screen
Installation on Monster Abra A5 stuck at black screen (Optimus graphics)
Manjaro has ceased working on my new laptop
Failed to start Load Kernel Modules.
Installing video-nvidia using mhwd always leads to Failed to start load kernel modules
Using something else than FOSS gfx driver in macBook Pro
Can't connect to Projector from Manjaro Gnome
Latest resort nvidia drivers
Nvidia drivers are not loaded and external monitor not recognized
I3 Nvidia screen tear | SOLVED
configuration of my graphic card is correct?
[SOLVED] Freeze after login (nvidia)
Can't run any games with proton on steam-manjaro. Xlib: extension "NV-GLX" missing on display ":0".
Screen tearing appears after watching movies on VLC or using Simplescreenrecorder | SOLVED
Can't reinstall Manjaro
Dell giving me more headaches, need Nvidia option
Bumblebee installation incorrect
Best Option for Nvidia MX150 on Matebook X Pro?
Multiple EFI partitions after dual booting
Bumblebee is not able to activate NVIDIA GPU
with razer blade stealth systemd-shutdown takes about 15 minutes to shut down
Semi-reproducible weird freezes
Integrated graphics laptop - any walkthrough for non-technical users?
Manjaro freezes at Boot at “Started TLP system startup/shutdown” and after fixing it while installing
Nvidia optimus-manager, configure and install proper drivers
Use iGPU with bumblebee
My Manjaro Story
External display issues Nvidia
Nvidia card has 50% lower perfomance than windows?
Intel and Nvidia GTX 1050ti drivers problems on DELL G7 15 7588
[SOLVED] OS temporary freezes before shutting down
Disabling NVIDIA driver that causes black screen
Problem running `nvidia-xrun`. Unable to load driver.
Manjaro and Nvidia (closed drivers)
(SOLVED) Manjaro stuck at boot
nvidia - unable to make driver work properly
lightdm causes 100% CPU usage after login
Intel processors without integrated graphic + Nvidia
I broke my display driver(s)
Automatically booting into TTY after Nvidia installation
nvidia xconfig reboot on low resolution
Driver nvidia not recognized.
nvidia xconfig reboot on low resolution
How do I see if I am using my iGPU or my dedicated GPU?
Need help getting bumblebee set up
quadro k1100 nvidia card
Using a Second Monitor with Gnome
X won't start after Nvidia drivers
Stuck at "Started TLP system startup/shutdown"
Stuck at "Started TLP system startup/shutdown"
Desktop freeze - how to figure out the reason
Manjaro not booting, screen flashing on and off
[SOLVED]Touchpad Not Working in Asus GL553VD
Black screen after trying to install proprietary drivers on Manjaro
[ANOTHER] Nonfree driver lockup with dual GPU
How can I activate my Nvidia card ?
Large power drain with Quadro P1000 Mobile
Nvidia Proprietary Drivers on 1660Ti
Setting up VGA passthrough on my laptop
High battery power consumption & touchpad issues
Manjaro Cinnamon on Matebook X Pro
bumblebee does not work on NVIDIA graphics card
Can't install the system with non free drivers and I have freezes with free drivers
Can't get nvidia drivers to work
Driver Issue? Unsure - some programs not opening, hangs on shutdown
Blank Screen after login in gaming laptop with Nvidia GPU
Driver Issue? Unsure - some programs not opening, hangs on shutdown
Deepin Manjaro wireless card and Nvidia driver problem!
How to improve battery life?
Black Screen on Every Boot
Fan is always running
Black Screen on Every Boot
[SOLVED] Keyboard bugs and other very weird funky bugs?
Manjaro freezes on the desktop screen after identification
[SOLVED] Manjaro installation & partition are successful. Black screen just after login with password
Help to solve multiple problems (mostly nvidia and pulseeffects)
Nvidia Graphics: unable to load module Nvidia
Half screen turns light blue after switching between apps
Nvidia drivers don't work
Option "Coolbits" is not used - RTX 2070 Max-Q
Turning off laptop DGPU(Nvidia) in favor of battery life
video hybrid intel nvidia 440xx prime - second display in HDMI black screen
Xorg keeps crashing
Manjaro isn't using the dGPU
How to solve transparency of shell?
Low resolution with Nvidia drivers
issue with installing nvidia driver
Slow gaming compared to windows
How do i make use of my dedicated GPU instead of my IGPU in games?
I have a problem with bumblebee and nouveau
Device won't boot up.
Can get dual-boot works properly
Nvidia / Xorg only detecting HDMI-0
nvidia/intel prime drivers don't offer option to select card
Horrible battery life on Optimus laptop with prime
Failed to load kernel modules
How to set up Graphics on a dual GPU laptop?
Optimus manager does not switch properly
how to download nvidia gtx150 driver with mhwd gui
OK, i need help for configure my nvidia driver in my laptop
Nvidia drivers not installed or not up to date
Some applications don't appear to be refreshing/rerendering on new install
Screen stuttering when I install video-Linux
Bad performance with discrete GPU
GeForce GTX 1650: Bumblebee - probe routine failed
Manjaro freeze if I unplug my laptop from the AC adapter.
My experience with video drivers and how work optimus manager
All browsers constantly crashing and freezing the the whole machine.
Problems installing NVidia non-free on a Samsung Notebook 9
NVIDIA proprietary driver installation problem.
Fresh install on MSI laptop (GP62 6QE leonard pro with NVIDIA-GTX950M)
Intermittent freezes (possible graphics driver issue)
Install Nvidia PRIME on Manjaro 18.1.4
Instalare Manjaro - LENOVO
Is extending to external monitor with bumblebee possible?
Am I using my Nvidia GPU in an optimal way or should I switch to Optimus-Manager/Prime for best Performance?
Hello please help me
Installing NVIDIA drivers causes black screen

Version 1.0 of optimus-manager has greater mhwd integration and thus much easier switching between optimus-manager and mhwd bumblebee.

https://github.com/Askannz/optimus-manager/releases/tag/v1.0

Easier installation on Manjaro. Now Manjaro users only need to disable the bumblebee daemon, optimus-manager will take care of the MHWD-generated Xorg config file.

1 Like

added github link to primus version with vulkan support (maybe some are willing to test this and can report back about perfomance. Unfortunately, I dont have a nvidia optimus gpu with vulkan support)

As nvidia, prime and switching between intel and nvidia related topics tend to popup regularly, here's a short list of options for nvidia optimus users which want to setup so called prime and be able to switch between intel and nvidia:

take which you like best or have the least issues with

(please let me know if there are other options available)

4 Likes

Nvidias solution to this problem, prime render offloading, has now been merged into unstable and will be installed by default on devices supporting Nvidia driver 435 or 440. Read more: [Merged to unstable] Adding Nvidia prime-offloading support to mhwd

Forum kindly sponsored by