# A03 ⯠NVIDIA Driver Installation Guide
âšī¸ This article is part of AlmaLinux System Series.
đĄ | Experience Level | âââââ |
---|---|---|
đ | Last modified | 2023-05-22 |
đ§ | Tested by âŗ version | platform | date | none âŗ 9.x | x86_64 | 2023-05-xx |
# đ Introduction
This guide provides instructions how to install NVIDIA's graphics driver for AlmaLinux in to variants:
- Binary Driver 8.x | 9.x đ USING PRECOMPILED DRIVERS IS RECOMMENDED
- Compiling From Source 8.x | 9.x â ī¸ REQURIES SWITCHING TO ELRepo KERNEL
# đ§ Fundamental Concepts
# Dynamic Kernel Module Support (DKMS)
DKMS is a system utility that allows you to automatically build kernel modules.
# ELRepo Kernel
ELRepo is a community repository for Enterprise Linux distributions (e.g., RHEL, CentOS, AlmaLinux). It focuses on hardware-related packages to enhance your Linux experience. This repo provides a kernel (packages) which tracks mainline kernel very closely. In result, this kernel is updated frequently and sometimes it leads to temporary incompatiblity with NVIDIA driver sources.
# NVIDIA Drivers Source
Install the NVIDIA graphics driver using the DKMS (Dynamic Kernel Module Support). Needs switching the kernel to ELRepo kernel version.
# NVIDIA Precompiled/Binary Drivers
NVIDIA compiles and tests this driver for each precise kernel version. Installing it locks your kernel upgrade (with driver). It is the recommended way according to NVIDIA.
# đ Release-Specific Installation
- NVIDIA Driver Installation Guide ⯠Installation on 8.x
- NVIDIA Driver Installation Guide ⯠Installation on 9.x
# FAQ
# Q: Installed the module but getting Black Screen after reboot?
WIP
# If you are able to change GRUB
kernel boot parameters, do:
module_blacklist=nvidia,nvidia_drm,nvida_modeset
# If you are getting Black Screen right after boot (no GRUB visible), do:
WIP
# Q: prime-select
WIP
# đ Further Reading and Next Steps
In-depth Resources:
- AlmaLinux System Series ⯠NVIDIA: Installation on 8.x
- AlmaLinux System Series ⯠NVIDIA: Installation on 9.x
Related Resources:
- AlmaLinux Nginx Series ⯠A Beginner's Guide
- AlmaLinux Firewalld Series ⯠A Beginner's Guide