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 |
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
Has anyone tried with blackwell gen nvda GPU?