Automated NVIDIA 390.157 driver installation for modern Linux kernels with comprehensive community patches.
# Clone repository
git clone https://github.com/aroldobossoni/nvidia-390-modern-kernel.git
cd nvidia-390-modern-kernel
# Download driver
wget https://us.download.nvidia.com/XFree86/Linux-x86_64/390.157/NVIDIA-Linux-x86_64-390.157.run
# Run installer
chmod +x install_nvidia_patches.sh
./install_nvidia_patches.sh
# Reboot
sudo reboot
# Verify
nvidia-smiTested: Ubuntu 24.04 LTS, Kernel 6.8.0-86, Tesla M2090 (Fermi)
Supported: All Fermi/Kepler GPUs (GTX 400-700 series, Tesla K/M-series)
Kernels: 6.2 through 6.15+
sudo apt-get update
sudo apt-get install -y build-essential dkms linux-headers-$(uname -r) \
pkg-config libglvnd-dev curl- Downloads 80+ patches from RPM Fusion/ALT Linux
- Extracts NVIDIA 390.157 driver
- Applies 50 patches for kernel 6.2-6.15+ compatibility
- Installs with DKMS for automatic kernel updates
- Configures OpenGL/CUDA support
| Feature | Status | Notes |
|---|---|---|
| CUDA 9.1 | ✅ | Compute Capability 2.0+ |
| OpenGL 4.6 | ✅ | Full support |
| VDPAU | ✅ | Video decode (H.264, MPEG-2) |
| DKMS | ✅ | Auto-rebuild on kernel updates |
| NVENC modern | ❌ | API 8.1 too old (requires 12.1+) |
| Vulkan | ❌ | Requires driver 418+ |
- QUICKSTART.md - 5-minute setup guide
- docs/INSTALLATION.md - Installation summary
- docs/PATCHES.md - Patch verification details
- docs/TESTING.md - Hardware testing results
# Check logs
sudo tail -100 /var/lib/dkms/nvidia/390.157/build/make.log
# Rebuild driver
sudo dkms remove nvidia/390.157 --all
./install_nvidia_patches.sh
# Blacklist nouveau
echo "blacklist nouveau" | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
sudo update-initramfs -u- RPM Fusion - Patch development
- ALT Linux - Patch hosting
- Nicolas Viéville - Kernel 6.2-6.8 adaptations
MIT License - See LICENSE file.
NVIDIA driver is proprietary software subject to NVIDIA's EULA.
Issues? Open an issue with GPU model, kernel version, and error logs.