NVIDIA Driver Installation - LeandroTheDev/arch_linux GitHub Wiki

Downloading

For lib32 you need to set the multilib

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

Disabling Nouveau open source drivers

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

Add

blacklist nouveau
options nouveau modeset=0

Experimental use with official nvidia site

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

Controlling

Hybrid GPUs with Nvidia

Controlling voltage

  • nvidia-smi -pl 160.30

  • Limiting the nvidia gpu voltage to 160.30W

  • nvidia-smi -q

  • nvidia-settings -q GPUPowerSource -t Need to test

  • Show current voltage used by the GPUs