Skip to content

Instantly share code, notes, and snippets.

@pantor
Last active May 20, 2025 09:27
Show Gist options
  • Save pantor/9786c41c03a97bca7a52aa0a72fa9387 to your computer and use it in GitHub Desktop.
Save pantor/9786c41c03a97bca7a52aa0a72fa9387 to your computer and use it in GitHub Desktop.
Installing NVIDIA drivers on a realtime Linux (PREEMPT-RT)
# 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
@yaoweixiao-ux
Copy link

Hi ALL how did I get 5.15.0-1081-realtime or 5.15.0-1072-realtime kernel
I can't find this two version in following 2 URL
https://www.kernel.org/pub/linux/kernel/
https://mirrors.edge.kernel.org/pub/linux/kernel/projects/rt/5.15/older/

@yaoweixiao-ux
Copy link

@hwmanager
Copy link

hwmanager commented May 20, 2025

@yaoweixiao-ux

There was a misunderstanding.
i mean a realtime kernel with a ubuntu pro kernel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment