Skip to content

Instantly share code, notes, and snippets.

@Tekunogosu
Forked from pantor/nvidia-driver-realtime.sh
Created September 15, 2022 00:25
Show Gist options
  • Select an option

  • Save Tekunogosu/2459e7679ffe0a82a64703f97ef05ca4 to your computer and use it in GitHub Desktop.

Select an option

Save Tekunogosu/2459e7679ffe0a82a64703f97ef05ca4 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
@Tekunogosu
Copy link
Author

needed variable for realtime patches.

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