NVIDIA Linux drivers can indeed be a bit confusing due to the mix of open-source and proprietary components they've begun to support in recent years. Let’s break it down:
🔍 1. Categories of NVIDIA Linux Drivers
NVIDIA typically provides three types of drivers for Linux systems:
🟡 1. Proprietary (Closed-Source) NVIDIA Driver
- The traditional NVIDIA driver.
- Highly optimized and feature-rich.
- Distributed directly by NVIDIA (via
.run installer), but also packaged for distros (e.g., nvidia-driver-XXX).
- Licensed under NVIDIA’s proprietary license.
- Files are binary blobs; source is closed.
🟢 2. Open Kernel Modules (OKM) – NVIDIA’s Open-Source Driver
- Introduced officially around version 515 onwards.
- The kernel module only (GPU driver for the Linux kernel) is open-source, GPL-compatible.
- The user-space stack (CUDA, OpenGL, Vulkan, etc.) is still proprietary.
- Lives in the same package as the proprietary driver but can build a kernel module from source.
- Licensed typically under GPL/MIT.
🔵 3. Nouveau Driver (Community-Developed)
- Reverse-engineered, 100% open-source.
- Part of the kernel and Mesa.
- Poor performance for modern GPUs (especially without firmware for power management).
- Installed by default in many distributions.
📦 2. Names, Versions, and Shared Release Numbers
You’re right—the same version number like 570.xx could refer to both the proprietary driver and the open kernel variant (since they're within the same release family/package).
This happens because NVIDIA's open kernel driver and its closed counterpart are part of the same source tree/package.
For example, nvidia-driver-570 could contain:
- Closed-source userland tools
- Open-source kernel module (if configured & kernel supports it)
- Optional fallback to closed kernel module if open version doesn't support your GPU
🧠 3. How to Tell Which Type Is Installed on Your System
You can determine whether you're using the open kernel module or the proprietary kernel module.
✅ Check Which NVIDIA Kernel Module is Loaded
Run this:
modinfo nvidia
Look for the filename and srcversion fields.
- If it's located somewhere like
/lib/modules/$(uname -r)/kernel/drivers/gpu/drm/nvidia/nvidia.ko, and the path includes something like nvidia-uvm or nvidia-modeset, it is likely the proprietary driver.
- If it's located in a build path like
/lib/modules/$(uname -r)/extra/, it might be a kernel module built from source, suggesting it’s open.
You can also run:
modinfo nvidia | grep -E 'filename|license'
- If the license is
GPL or MIT, it's the open kernel module.
- If the license is
proprietary, it's the closed-source version.
✅ Check If You're Using Nouveau
Run:
lsmod | grep nouveau
Or:
glxinfo | grep "OpenGL renderer"
If it says something like "Mesa DRI Intel" or "Nouveau", you're probably not using the NVIDIA proprietary userspace.
🧰 4. Tools You Can Use
nvidia-smi (usually only works with proprietary driver)
glxinfo | grep OpenGL (gives renderer info)
modinfo nvidia (for kernel module info)
🧩 5. How Distros Handle This
- Some distributions package both types, e.g., Fedora, Arch.
- Configuration settings (e.g., environment variables, kernel parameters) define whether the open kernel modules are used.
- Fedora defaults to testing/use of open kernel modules starting with driver version 550+, where available.
🎯 Summary
| Driver Type | Kernel Module | User-Space Components | License | Detection Method |
|---|
| Proprietary | Closed | Closed | Proprietary | modinfo nvidia (license) |
| Open Kernel | Open-source | Closed | GPL / MIT | modinfo nvidia (license) |
| Nouveau | Open-source | Open-source | GPL | `lsmod |
🔚 TL;DR – How to Know Which You’re Using
modinfo nvidia | grep license
- If it says proprietary, you’re on the closed-source kernel module.
- If it says GPL/MIT, you’re on the open kernel module (still using closed user-space).
- If it says
nouveau via lsmod, you’re on the fully open-source Nouveau driver.
Let me know your distro and driver version, and I can tell you exactly what’s going on in your setup.