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.

19 Likes
Nvidia drivers not working in fresh install
Manjaro's graphics switching features
Nvidia M150 Issues On Xiaomi Mi Notebook Pro
Bumblebee/Nvidia - problem
Manjaro dual monitor setup not working. Detected but not showing anything up on second display.
Loading kernel and initrd.img "persistent"
Switching between intel and nvidia with "prime" setup
Only use iGPU on dual GPU laptop
Bumblebee installation incorrect
Nvidia card has 50% lower perfomance than windows?
(SOLVED) Manjaro stuck at boot
Driver Issue? Unsure - some programs not opening, hangs on shutdown
Notebook, Session and Hardware problem
MHWD not properly installing nvidia-bumblebee driver for linux52-rt kernel
KDE Konsole and Yakuake screen tearing (4K)
How to install NVIDIA Driver and how to switch between intel/nvidia gpu
Black Screen Nvidia Driver Lightdm Archlinux
Problem with intel_nvidia hybrid driver
Optimus-manager NOT switching
Kernel 5.4: Stuck on Started TLP system startup/shutdown - but with optimus-switch
Am I using my Nvidia GPU in an optimal way or should I switch to Optimus-Manager/Prime for best Performance?
My experience with video drivers and how work optimus manager
nvidia/intel prime drivers don't offer option to select card
Can get dual-boot works properly
GPU / Driver issue when installing manjaro
An option for an MX150 GPU?
gpu not working
Nvidia optimus question
[newbie] issues with hotspot and gpu selection
Nvidia driver 340 broke graphics
Driver video Dell G3 notebook
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)
Second monitor not working when using hybrid graphics (optimus)
Can't boot Manjaro XFCE on ASUS TUF Gaming FX504GM-E4353
Installing Nvidia drivers
Fresh installation, garbled graphics when logging in
Terminal crashing when trying to update nvidia drivers + other issues
Laptop to External Monitor Display Issue
Cannot load Geforce GTX 1650 nonfree/free drivers
[求助]无法安装intel+nVidia混合驱动
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)
External Monitor for laptop that dont work
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
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
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
non-free VESA nVidia Quadro K620M issues
Latest resort nvidia drivers
Nvidia drivers are not loaded and external monitor not recognized
configuration of my graphic card is correct?
Can't run any games with proton on steam-manjaro. Xlib: extension "NV-GLX" missing on display ":0".
Can't reinstall Manjaro
Dell giving me more headaches, need Nvidia option
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
Manjaro freezes at Boot at “Started TLP system startup/shutdown” and after fixing it while installing
Nvidia optimus-manager, configure and install proper drivers
External display issues Nvidia
Intel and Nvidia GTX 1050ti drivers problems on DELL G7 15 7588
Disabling NVIDIA driver that causes black screen
Problem running `nvidia-xrun`. Unable to load driver.
Manjaro and Nvidia (closed drivers)
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
Black screen after trying to install proprietary drivers on Manjaro
[ANOTHER] Nonfree driver lockup with dual GPU
How can I activate my Nvidia card ?
Nvidia Proprietary Drivers on 1660Ti
Setting up VGA passthrough on my laptop
Nvidia drivers don't work
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
Blank Screen after login in gaming laptop with Nvidia GPU
Driver Issue? Unsure - some programs not opening, hangs on shutdown
Black screen after sleep
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
Manjaro freezes on the desktop screen after identification
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
Can't install on my GL62 6QF laptop
NVIDIA 435 on hybrid graphics notebook,
CS:GO Workshop Maps not loading properly
Unable to use a second screen in Hp Pavilion Power Laptop 15
Overwatch issue Dell 7577
How to install NVIDIA driver? (nvidia-settings doesnt open)
Manjaro xfce window glitch
Hardware Configuration Window or Hardware Commands Freeze
Alienware m15 freeze at 'Started Accounts Service.'
Alienware m15 freeze at 'Started Accounts Service.'
Freezing entire system on click! Manjaro 18.1.0 [openbox] Dell G5 5587
My built-in webcam isn't working because of this error: usb usb1-port5: unable to enumerate USB device
Unreal Engine crashes at startup
Nvidia Prime issues with secondary screens
Non free or free drivers Intel hd and nvidia 960M
Nvidia drivers for acer predator helios 300 with nvidia gtx 1060 mobile
how disable second (fake) monitor
Manjaro Cinnamon no detecta la pantalla del laptop
No Boot (with "Failed to start Light Display Manager" error) after Nvidia-drivers configuration
Intel iGPU - no video output
No HDMI Port Detected
Manjaro gnome screen suddenly flickering
Не определяется монитор на ноутбуке с гибридной видеокартой
Installed proprietary drivers and fans on full speed and wont turn down
Bumblebee (vulkan) not working
Not easy to install nvidia drivers
No Network Adapters on Thinkpad X1 Extreme
mhwd freeze and gpu driver crash
ThinkPad X1 Extreme Gen2 does not detect external monitors
Display setting not detecting second monitor
Boot times drastically slower after update
KDE lags after lock screen
Bumblebee, Nvidia, and Vertical Sync Not Turning Off
Futuro do Manjaro
Hybrid laptop: Nvidia driver N/A + Nvidia conflict drivers
Driver issues xfce nvidia
Issues with primusrun / bbswitch
Can't hibernate on Razer Blade Stealth (Late '19)
Not detecting my second monitor ( also Nvidia X server setting is not opening / Loading )
What is the proper driver for Intel and Nvidia Hybrid Graphics
Nvidia driver installing error
Manjaro wont boot with nonfree drivers
HDMI Monitor not recognized (Laptop)
Trying to clear up some things before I install Manjaro
Project to a projector or second screen
Please, help with video driver and wifi driver
Low frame rate when connecting to a external monitor
Nvidia - Prime issues
Manjaro + Nvidia = Slow + Gaming. Manjaro - Nvidia= Fast - No Gaming
Failed to start Load Kernel Modules when installing Nvidia drivers
NVIDIA Proprietary Driver / Xorg issue
Problems with video drivers
Another "Stuck at TLP system startup/shutdown" thread
Flickery screen since a few days (Gnome, nVidia)
Gnome "Oh no! Something has gone wrong
Can't access secondary GPU (NVIDIA non-free driver), bumblebee
Gnome not recognizing HDMI port NVIDIA GPU
[ERROR]Cannot access secondary GPU - error: Could not enable discrete graphics card
Laptop graphics driver issues. mhwd selection results in black screen no cursor on boot
Manjaro awesome freezes on logout / shutdown
I am having issues with my Thinkpad Docking in Manjaro KDE.
Dedicated graphics card not being recognised
Installing NVIDIA drivers causes black screen
Hello please help me
Is extending to external monitor with bumblebee possible?
Install Nvidia PRIME on Manjaro 18.1.4
Intermittent freezes (possible graphics driver issue)
Fresh install on MSI laptop (GP62 6QE leonard pro with NVIDIA-GTX950M)
Problems installing NVidia non-free on a Samsung Notebook 9
All browsers constantly crashing and freezing the the whole machine.
Manjaro freeze if I unplug my laptop from the AC adapter.
GeForce GTX 1650: Bumblebee - probe routine failed
Screen stuttering when I install video-Linux
Some applications don't appear to be refreshing/rerendering on new install
Nvidia drivers not installed or not up to date
OK, i need help for configure my nvidia driver in my laptop
how to download nvidia gtx150 driver with mhwd gui
Optimus manager does not switch properly
How to set up Graphics on a dual GPU laptop?
Failed to load kernel modules
Horrible battery life on Optimus laptop with prime
Nvidia / Xorg only detecting HDMI-0
Device won't boot up.
I have a problem with bumblebee and nouveau
How do i make use of my dedicated GPU instead of my IGPU in games?
Slow gaming compared to windows
issue with installing nvidia driver
Nvidia Geforce GTX 1650 einbinden
Low resolution with Nvidia drivers
How to solve transparency of shell?
Manjaro isn't using the dGPU
Xorg keeps crashing
video hybrid intel nvidia 440xx prime - second display in HDMI black screen
High battery power consumption & touchpad issues
Nvidia GT610M driver on Dell inspiron 15 3000 series
Problem with Nvidia driver
hybrid graphics : dGPU never disable !
Keine brauchbare Verbindung zwischen DELL G5 und Philips 34 Zoll Monitor
problems installed optimus-switch
Scaling_Governor: shows invalid argument
Is my Intel GPU primary?
Nvidia prime doesn't detect hdmi
Why is Manjaro not using NVIDIA as main GPU on my AIO PC?
Unable to install Nvidia drivers on fresh install
Short battery life on my install
Are newer kernels good for battery?
clang 4 on manjaro 19 (because of GeForce 420M which needs CUDA 9.1)
Force Manjaro to use AMD dedicated GPU instead of CPU's integrated one on laptop.
How does one choose which graphic card driver to install in order to improve performance?
Delucidazioni sui driver video
Graphics Acting Weird After Upgrade
Screen goes black whenever a new window is opened
i can't use optirun command to run some application!
Bumblebee conflict problem
Nvidia prime black screen, Nvidia driver N/a
Best configuration for RTX laptop 2019
Black screen after suspend HP OMEN 15
Firefox using 75% of 4 cores CPU usage to watch YouTube video
Using hardware acceleration makes power consumption worse.
CSGO low fps problem on laptop
Optimus technology doesn't work with the open source drivers from Manjaro.
Graphics Drivers Installation
How to correctly install drivers for NVIDIA Optimus? (Geforce GT740M)
Driver for Geforce 820M confusion
Nvidia card does not work.
High battery usage in Manjaro KDE on Dell XPS 15 9550
SDDM doesn't start with latest nvidia-prime drivers
GTX 1650 is not found
Live USB has correct hardware, Architect-installed system does not.
Option "Coolbits" is not used - RTX 2070 Max-Q
Turning off laptop DGPU(Nvidia) in favor of battery life
Bad performance with discrete GPU
NVIDIA proprietary driver installation problem.
Instalare Manjaro - LENOVO
Black screen booting laptop with non-free driver (NVIDIA GTX 1660Ti)
`/etc/modules-load.d/` doesn't load `nvidia` on boot
[SOLVED] Having some issues with NVIDIA card and Wi-Fi
Issues with bumblebee - cannot enable discrete graphics
[SOLVED] Cannot get NVIDIA gtx 1060 to work with Manjaro
[SOLVED] Not booting past the login screen
GT740m not being detected
nvidia driver problem ("NVIDIA-SMI has failed" with Optimus laptop)
[Solved] I can't use video-nvidia-390xx on Dell XPS L502x
[SOLVED] HDMI not working on HP Pavilion cb015nl
Manjaro getting stuck at Asus logo - drivers videos bad choice on install
[SOLVED]Opening Steam/inxi/mhwd makes Alienware 13 shut down
[SOLVED] KDE Plasma in black screen when using Nvidia drivers
Solved? How to setup multiple display sessions for motherboard and gpu
Random Crashes / Freezes / Locks Up in multiple distros
nvidia driver issue.no boot
Problems in Manjaro KDE using optimus-switch
XPS 9570 and nvidia dGPU - up to date solution to switch GPU ?
[SOLVED] Manjaro installation & partition are successful. Black screen just after login with password
[SOLVED] Keyboard bugs and other very weird funky bugs?
Large power drain with Quadro P1000 Mobile
[SOLVED]Touchpad Not Working in Asus GL553VD
[Solved] nvidia graphics card preventing log on
[SOLVED] OS temporary freezes before shutting down
Black screen with NVIDIA proprietary drivers and GeForce GT 330M
Integrated graphics laptop - any walkthrough for non-technical users?
Use iGPU with bumblebee
Failed to start Load Kernel Modules.
Screen tearing appears after watching movies on VLC or using Simplescreenrecorder | SOLVED
[SOLVED] Freeze after login (nvidia)
I3 Nvidia screen tear | SOLVED
Optimus + Ultra Wide monitor + i3

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