Antergos nvidia-installer (install Nvidia proprietary drivers)


nvidia-installer -h
usage: nvidia-installer [-h] [-b] [-f] [-t] [-q] [-n]

Antergos Nvidia Installer v1.12

optional arguments:
  -h, --help       show this help message and exit
  -b, --bumblebee  For Nvidia Optimus cards (Bumblebee + proprietary Nvidia drivers)
  -f, --force      Force driver installation even if a nvidia card is not detected
  -t, --test       Test mode. Nothing in your system will be modified
  -q, --quiet      Supress log messages
  -n, --nouveau    Restores nouveau (open) nvidia driver

Install Nvidia proprietary drivers

sudo pacman -S nvidia-installer

testrun for installation:

nvidia-installer -t  

if it does not putout error run real install:

sudo nvidia-installer

this will install nvidia proprietary drivers and do some configuration inside /etc/X11/xorg.conf.d/

sudo systemctl reboot

And you are on nvidia drivers!


If you want KMS (no requirement)

to get maybe want gnome-wayland-session working you need to hack a bit after this...

adding nvidia-drm.modeset=1 to the kernel parameter inside grub:

sudo nano /etc/default/grub

and put nvidia-drm.modeset=1 inside as you can see here:

# GRUB boot loader configuration



GRUB_CMDLINE_LINUX_DEFAULT="nvidia-modeset=1 resume=UUID=***** 

save the file [Ctrl+X] and rebuild the grub.cfg:

sudo grub-mkconfig -o /boot/grub/grub.cfg

edit mkinitcpio.conf to get the module inside:

sudo nano /etc/mkinitcpio.conf

and edit like this: 

# vim:set ft=sh


# The following modules are loaded before any boot hooks are

# run. Advanced users may wish to specify all system modules

# in this array. For instance:

# MODULES="piix ide_disk reiserfs"


# BINARIES .... 

save the file as above...

rebuild kernel image:

sudo mkinitcpio -p linux

replace linux with linux-lts if you are using lts kernel....

reboot again and you shpuld have early boot enabled...

this will make it possible to run a GNOME session on wayland together with GDM instead of lightdm...


Nvidia driver persistence  (no requirement)

I use also the persistence mode from nvidia

this is simple done by enabeling the systemd-service:

sudo systemctl enable nvidia-persistenced.service


Avoid screen tearing

and i have nvidia-settings installed and run it on login with this to get better video quality:

nvidia-settings --assign CurrentMetaMode="nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }"

You can add this to /etc/X11/xorg.conf.d/20-nvidia.conf like this:

Section "Device"
Identifier "Nvidia Card" Driver "nvidia" VendorName "NVIDIA Corporation" Option "NoLogo" "true" EndSection Section "Screen" Identifier "nvidia" Option "metamodes" "nvidia-auto-select +0+0 { ForceFullCompositionPipeline = On }" Option "TripleBuffer" "on" Option "AllowIndirectGLXProtocol" "off" EndSection





(Visited 8,489 times, 1 visits today)

Pin It on Pinterest

Share This