Version: 23.1-1
Script to setup nvidia drivers (dkms version) 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 Install (open source) nouveau driver instead of nvidia-dkms.
-o, --open Install package nvidia-open-dkms instead of nvidia-dkms.
-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.
--conf Create also file /etc/X11/xorg.conf.d/20-nvidia.conf (might be needed on some older systems).
--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 (Advanced) Use the given Nvidia driver version (for testing).
--listopts List options supported by nvidia-inst.
--legacyrepo (*1) Adds a third party repository for legacy (470 and 390 series) Nvidia drivers.
(*1) Option --legacyrepo is no more supported.
Instead, 'yay' can be used for installing legacy Nvidia drivers from the AUR.
Notes:
1. Package nvidia-dkms will be selected for install if none of options
--bumblebee
--nouveau
--open
is used.
2. 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