Skip to content

NVIDIA Driver Installation

Lean's edited this page Jul 31, 2024 · 8 revisions

Downloading

For lib32 you need to set the multilib

  • sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils linux-headers

Disabling Nouveau open source drivers

  • sudo vim /etc/modprobe.d/nouveau.conf

Add

blacklist nouveau
options nouveau modeset=0

Enabling early load on nvidia

  • sudo vim /etc/mkinitcpio.conf

Edit

MODULES=(nvidia nvidia_modeset nvidia_uvm nvidia_drm)
...
...
# Remove kms
HOOKS=(... kms ...)
  • sudo vim /etc/default/grub

Implement

GRUB_CMDLINE_LINUX="nvidia_drm.modeset=1"

Downloading official drivers

  • download the Nvidia proprietary driver
  • sudo chmod +x NVIDIA...
  • sudo ./NVIDIA...

Refreshing configurations

  • sudo mkinitcpio -p linux
  • sudo update-grub
  • reboot

Checking if everthing is ok

  • lspci -k | grep -A 2 -E "(VGA|3D)"

Should be like that

VGA compatible controller: NVIDIA Corporation GA106 [Geforce RTX 3050] (rev a1)
        Subsystem: NVIDIA Corporation Device 163d
        Kernel driver in use: nvidia

Clone this wiki locally