Version: 25.10-1
Script to install/uninstall nvidia driver
packages in EndeavourOS
nvidia-inst - help installing drivers for Nvidia GPU
Usage: nvidia-inst [options]
Options:
-h, --help This help.
-b, --bumblebee Install bumblebee and Nvidia drivers for optimus cards (only very old cards).
-f, --force Force driver installation even if a nvidia card is not detected.
-n, --nouveau Use kernel's nouveau driver instead of Nvidia's proprietary driver.
-o, --open Install the open source versions of Nvidia drivers (recommended for 'Turing' and later).
-c, --closed Install the closed source versions of Nvidia drivers (recommended for 'Maxwell'...'Volta').
-p, --prime Install also prime render offload.
-q, --quiet Suppress log messages.
-t, --test Test mode. Nothing in your system will be modified.
-v, --version Show version of this software.
--32 Install also support for 32-bit apps. [multilib] in /etc/pacman.conf must be enabled.
--switcheroo Install switcheroo-control and enable its service. Use this option separately.
--conf Create also file /etc/X11/xorg.conf.d/20-nvidia.conf (might be needed on some older systems).
--no-dkms Install only non-dkms packages (e.g. 'nvidia' instead of 'nvidia-dkms').
--show-gpu-info Show information about your GPU. Use this option separately.
--drivers Show supported NVIDIA driver series number for your card.
--listseries List Nvidia driver versions supported by nvidia-inst.
--ignore Ignore all errors (useful for testing only).
--series=X (Advanced) Use the given Nvidia driver version X (for testing).
--listopts List options supported by nvidia-inst.
Notes:
1. By default, nvidia-inst detects the Nvidia GPU family and selects automatically between
Nvidia's open or closed source driver(s).
This can be prevented by using options --open or --closed.
Note that NVIDIA no longer actively support older than Maxwell GPUs. Thus using the nouveau driver
with them might be easier.
See also: https://wiki.archlinux.org/title/NVIDIA#Installation
2. By default, dkms packages are favored and will be selected for install if none of the options
--bumblebee
--no-dkms
--nouveau
--open
is used.
3. If you have hybrid graphics, then you may need a tool that can switch GPUs.
There are several popular tools in the AUR, e.g.
- envycontrol
- optimus-manager
- supergfxctl
just to mention a few.
See also:
- https://discovery.endeavouros.com/?s=nvidia
- https://wiki.archlinux.org/title/NVIDIA_Optimus
4. Older Nvidia GPUs may be supported only by a legacy driver found in the AUR.
Use command 'nvidia-inst --drivers' to see which driver version supports your GPU.