Skip to content
Cardiac edited this page Feb 26, 2024 · 8 revisions

GPU install and configuration

AMD

Install amd opensource drivers :

pacman -S mesa lib32-mesa
vulkan-radeon
lib32-vulkan-radeon
vulkan-icd-loader
lib32-vulkan-icd-loader
libva-mesa-driver
lib32-libva-mesa-driver

Codecs :

pacman -S mesa-vdpau
lib32-mesa-vdpau
rocm-opencl-runtime
rocm-hip-runtime

Intel

Install intel opensource drivers :

mesa
lib32-mesa
vulkan-intel
lib32-vulkan-intel
vulkan-icd-loader
lib32-vulkan-icd-loader
intel-media-driver
intel-gmmlib
intel-media-driver
onevpl-intel-gpu
mesa-vdpau
lib32-mesa-vdpau
gstreamer-vaapi
libva-mesa-driver
lib32-libva-mesa-driver

NVIDIA

Uninstall nvidia drivers :

nvidia
nvidia-lts
nvidia-dkms
nvidia-settings
nvidia-utils
opencl-nvidia
libvdpau
lib32-libvdpau
lib32-libvdpau
lib32-nvidia-utils
egl-wayland
dxvk-nvapi-mingw
libxnvctrl
lib32-libxnvctrl
vulkan-icd-loader
lib32-vulkan-icd-loader
lib32-opencl-nvidia
opencl-headers
lib32-nvidia-dev-utils-tkg
lib32-opencl-nvidia-dev-tkg
nvidia-dev-dkms-tkg
nvidia-dev-egl-wayland-tkg
nvidia-dev-settings-tkg
nvidia-dev-utils-tkg
opencl-nvidia-dev-tkg

Install nvidia drivers :

nvidia-dkms
nvidia-utils
lib32-nvidia-utils
nvidia-settings
vulkan-icd-loader
lib32-vulkan-icd-loader
egl-wayland
opencl-nvidia
lib32-opencl-nvidia
libvdpau-va-gl
libvdpau

Enable services:

sudo systemctl enable nvidia-suspend.service nvidia-hibernate.service nvidia-resume.service nvidia-powerd.service

Enable boot options:

echo -e 'options nvidia NVreg_UsePageAttributeTable=1 NVreg_InitializeSystemMemoryAllocations=0 NVreg_DynamicPowerManagement=0x02 fbdev=1' | sudo tee -a /etc/modprobe.d/nvidia.conf
echo -e 'options nvidia_drm modeset=1' | sudo tee -a /etc/modprobe.d/nvidia.conf

laptop Intel/Nvidia

Install :

intel-media-driver
intel-gmmlib
onevpl-intel-gpu
nvidia-prime

NVIDIA-ALL /!\ Advanced users only /!\

Never struggle again with Nvidia drivers on Linux! NVIDIA ALL by TkG on Arch / Arch based distros

Ask if you want to install nvidia-all :

git clone https://github.com/Frogging-Family/nvidia-all.git
cd nvidia-all
makepkg -si
Clone this wiki locally