Skip to content
Proyek

Tentang

Penginstal lengkap untuk driver NVIDIA terbaru hingga seri 396.

Proyek lainnya

Cara angka ini diukur

972 bintang75 Fork +1 dalam 24 jam

Pertumbuhan bintang terukur

dalam 24 jam
+1
dalam 7 hari
+3
dalam 15 hari
+1
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

📢 New: Multi-distro installer support

We've added installer support for multiple distributions, but it is still in an early stage. If you encounter any issues or have suggestions for improvement, please report them. If the driver misbehaves, make sure you know how to revert to your distro's packaged driver. See Uninstall and revert below.

Tested:

  • Fedora 44 - kernel 7.x, NVIDIA 615 series (DKMS/KMOD)
  • Ubuntu 26.04 - kernel 7.x, NVIDIA 615 series (DKMS/KMOD)

nvidia-all

All-in-one NVIDIA Linux driver with dynamic branch selection, kernel compatibility patching, optional component split packages and other customization features.

Contents

What nvidia-all adds

  • Vulkan dev drivers : https://developer.nvidia.com/vulkan-driver
  • Regular drivers : https://www.nvidia.com/object/unix.html
  • Builds current and legacy NVIDIA Linux drivers.
  • Supports proprietary kernel modules and NVIDIA open kernel modules.
  • Detects installed kernels and applies compatibility patches where needed.
  • Offers DKMS and regular package variants.
  • Supports optional split packages.
  • Exposes many build/runtime toggles through customization.cfg.
  • Legacy selection path includes additional older series down to 396.
  • Custom version input is supported for 396 and newer.

Notes

  • As of 590, NVIDIA no longer develops proprietary (closed-source) kernel modules. https://archlinux.org/news/nvidia-590-driver-drops-pascal-support-main-packages-switch-to-open-kernel-modules/
  • For older GPUs (pre-Turing), proprietary kernel modules remain available via driver 580 and below.
  • For 470 users (Kepler legacy context) 470 is treated as a legacy branch and may require extra caution on newer kernels. NVIDIA ended Kepler support updates in September 2024, so an LTS kernel is generally recommended.
  • 390 and older series are not supported.

Install

Supported: Arch, Debian/Ubuntu, Fedora/SUSE.

git clone https://github.com/Frogging-Family/nvidia-all.git
cd nvidia-all

# All distributions
./install.sh

# Arch-based
makepkg -si

Then follow the prompts to select your desired driver version, module type, optional split packages and other options.

If your setup needs NVIDIA DRM kernel mode setting, configure it with your distro's tooling: https://wiki.archlinux.org/title/NVIDIA#DRM_kernel_mode_setting

If your setup needs early KMS, configure it with your distro's initramfs tooling: https://wiki.archlinux.org/title/Kernel_mode_setting#Early_KMS_start

Update

cd nvidia-all
git pull
makepkg -si
# or
./install.sh

Then follow the prompts as before.


Uninstall and revert

1) Remove installed nvidia-all packages

The exact package names can vary by branch and options (for example open/dev, series suffixes, dkms vs regular, lib32, split components).

List installed nvidia-all packages first:

pacman -Qq | grep -E 'nvidia.*-tkg$'

If the list looks correct, remove the matched packages:

sudo pacman -Rdd $(pacman -Qq | grep -E 'nvidia.*-tkg$')

2) Reinstall distro packages

For open DKMS path (Turing or newer only) see Notes:

sudo pacman -S \
  nvidia-open-dkms \
  opencl-nvidia \
  nvidia-utils \
  nvidia-settings \
  lib32-nvidia-utils \
  lib32-opencl-nvidia

For proprietary DKMS path:

sudo pacman -S nvidia-580xx-dkms

After installing the drivers provided by your distro everything should function as normal after a reboot.

Non-Arch (install.sh)

List installed nvidia-all packages:

# Debian/Ubuntu
dpkg-query -W -f='${Package}\n' | grep -E 'nvidia.*-tkg$'

# Fedora/SUSE
rpm -qa --qf '%{NAME}\n' | grep -E 'nvidia.*-tkg$'

Remove them:

# Debian/Ubuntu
sudo dpkg -r $(dpkg-query -W -f='${Package}\n' | grep -E 'nvidia.*-tkg$')

# Fedora
sudo rpm -e $(rpm -qa --qf '%{NAME}\n' | grep -E 'nvidia.*-tkg$')

# SUSE
sudo zypper remove $(rpm -qa --qf '%{NAME}\n' | grep -E 'nvidia.*-tkg$')

Then reinstall the NVIDIA driver provided by your distro.


DKMS or regular modules

DKMS is usually recommended because it rebuilds modules automatically when kernels update.

Choose regular packages only if you specifically want prebuilt non-DKMS modules for your workflow.

On Arch, nvidia-all builds one regular module package per target kernel. The package name includes the kernel package name, even when only one kernel is installed. For example: linux-nvidia-tkg, linux-lts-nvidia-tkg, or linux73-tkg-eevdf-nvidia-open-tkg.

DKMS package names do not include a kernel prefix, for example nvidia-dkms-tkg or nvidia-open-dkms-tkg.


Important customization.cfg options and paths

The main user-facing configuration lives in customization.cfg. External options can be placed at ~/.config/frogminer/nvidia-all.cfg to automatically apply them.

Custom patches are documented under #### USER PATCHES #### in customization.cfg.

Prebuilted distro packages are written to nvidia-all/dist/ and can be installed from there.

Build logs and environment snapshots are written under nvidia-all/logs/.

Flatpak driver extensions

Set _flatpak="true" in your configuration and install with ./install.sh (or makepkg -si on Arch). This adds flatpak-nvidia-tkg and, when _lib32="true", lib32-flatpak-nvidia-tkg.

To remove Flatpak support, remove the installed Flatpak driver packages with pacman -R, apt remove, dnf remove or zypper remove (remove the 32-bit package first if installed), then set _flatpak="false" and rebuild.


Custom driver versions

When prompted for driver version:

  1. Select custom version entry(6).
  2. Select branch group (stable/regular beta or Vulkan dev).
  3. Enter desired version number.
  4. Select DKMS or regular modules.

Version format examples:

  • Vulkan dev style: 415.22.01
  • Regular style: 415.25

Troubleshooting

DKMS build stopped working after a kernel update

Make sure you have the latest linux-headers package for your kernel installed. Rebuild so the script re-detects currently installed kernels and reapplies relevant compatibility logic.

GCC/Clang mismatch warning

NVIDIA modules should be built with the same major GCC/Clang version used for the kernel and not mixed between different compilers. Align your toolchain or rebuild kernel/modules consistently.

Optimus/hybrid laptops

Hardware and OEM implementations vary. If needed, use dedicated hybrid tooling and consult NVIDIA PRIME render offload documentation.

Module signing

For non-DKMS packages, _module_signing signs modules through Kbuild. With true or autodetect, signing uses sudo to read protected keys. Enter your password if prompted. The target kernel must trust the certificate.

Secure Boot

If Secure Boot is enabled, and driver fails to load, test once with Secure Boot disabled. See your distribution’s documentation for setup instructions.

Download fails

If updates fail or downloads are corrupted/incomplete, start from a clean clone.

Jelajahi proyek terkait

Memuat…