Last active
February 22, 2026 14:45
-
-
Save pantor/9786c41c03a97bca7a52aa0a72fa9387 to your computer and use it in GitHub Desktop.
Installing NVIDIA drivers on a realtime Linux (PREEMPT-RT)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Tested on Ubuntu 16.04 and X11, 2019 | |
| # 1. Download NVIDIA driver as a .run file | |
| # 2. Stop X-Server | |
| sudo service lightdm stop | |
| # 3. Blacklist Nouveau driver | |
| sudo nano /etc/modprobe.d/blacklist-nouveau.conf | |
| # Insert into file: | |
| # blacklist nouveau | |
| # options nouveau modeset=0 | |
| # 4. Update kernel initramfs | |
| sudo update-initramfs -u | |
| sudo reboot # I'm not sure if needed | |
| # 5. Install driver! | |
| sudo IGNORE_PREEMPT_RT_PRESENCE=1 bash <*>.run # Insert downloaded .run file | |
| # 6. Reboot | |
| sudo reboot |
Has anyone tried with blackwell gen nvda GPU?
NVIDIA GeForce GTX 1050 working
Works correctly with IGNORE_PREEMPT_RT_PRESENCE=1 and NVIDIA-Linux-x86_64-580.126.18.run, on openSUSE Tumbleweed 20260220 and kernel 6.19.3-lowlatency-sunlight1(6.19.3).
cat /etc/modprobe.d/nvidia-graphics-drivers-kms.conf
//# Set value to 0 to disable modesetting
options nvidia-drm modeset=1 fbdev=1
[ 4.178917] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 580.126.18 Wed Feb 11 18:49:55 UTC 2026
Linux 6.19.3-lowlatency-sunlight1 #1 SMP PREEMPT_RT Sun Feb 22 13:48:01 EET 2026 x86_64 x86_64 x86_64 GNU/Linu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ubuntu running without any work and sorry for my bad english !
i search long time for a solution but i found a solution for debian 13 trixie
sudo apt install libfdk* nvidia-cuda-toolkit nvidia-driver nvidia-kernel-dkms build-essential yasm cmake libtool libc6 libc6-dev unzip wget libnuma1 libnuma-dev ffmpeg mpv
sudo apt-build-dep ffmpeg mpv
sudo reboot
sudo nano /usr/src/nvidia-current-550.163.01/dkms.conf
put this in
###########################
####################################
sudo IGNORE_XEN_PRESENCE=1 IGNORE_CC_MISMATCH=1 IGNORE_PREEMPT_RT_PRESENCE=1 apt install --reinstall linux-image-rt-amd64 linux-headers-rt-amd64
#############################
cuda-nvcc enabled
cheers