Last active
June 3, 2024 12:27
-
-
Save pantor/9786c41c03a97bca7a52aa0a72fa9387 to your computer and use it in GitHub Desktop.
Installing NVIDIA drivers on a realtime Linux (PREEMPT-RT)
This file contains 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 |
It worked on Ubuntu 22.04 RT with NVIDIA 535
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Succeed on 5.15.0-rt17 with ubuntu 20.04.6 . I hesitated when it popped out saying "GUI has better supporting installation versions." Thank you.