# 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 !
thanks a lot, it works!
this also worked for me:
sudo IGNORE_PREEMPT_RT_PRESENCE=1 apt install <*>
Thanks @rezayati . This worked
Any experience with Fedora?
A few additional remarks for not so competent Users:
Install gcc, make, pkg-config, libglvnd0 and libglvnd0:i386 first (the last three are probably already installed, the first two not necessarily):
sudo apt-get install gcc make pkg-config libglvnd0 libglvnd0:i386 -y
After stopping lightdm, enter console with Alt+F1. Stop the lightdm service before step 5. again, perhaps you can navigate to your Nvidia-xxx.run file in your file manager first, perform a right click and open the folder in your terminal. When you rename your .run file first (e.g. nvidia-525.run) it's much more convenient.
The script suggests installing via gui driver installation, don't do this and confirm "Continue Installation".
Work's like a charme with ubuntucinnamon 23.10.
Thank you!
Link for .run file to be found via
docs.nvidia.com/datacenter/tesla/tesla-installation-notes/index.html#runfile
(as of May 2023)
Hi,
I installed real-time kernel 5.15.113-rt64 on Ubuntu 20.04.6 LTS. I have NVIDIA GeForce RTX 3080 Ti.
I downloaded the .run file from the Nvidia website. I followed the same instructions, but the system stuck after I reboot the system.
How can I solve this problem? I tried many ways but did not succeed.
Thank you
Hi, I installed real-time kernel 5.15.113-rt64 on Ubuntu 20.04.6 LTS. I have NVIDIA GeForce RTX 3080 Ti. I downloaded the .run file from the Nvidia website. I followed the same instructions, but the system stuck after I reboot the system. How can I solve this problem? I tried many ways but did not succeed. Thank you
maybe becuse of bios security,you can ref https://askubuntu.com/questions/1408379/cant-set-nvidia-as-default-gpu-ubuntu-freeze-on-boot-after-installing-nvidia-d
Based on the IGNORE_PREEMPT_RT_PRESENCE=1 info, I was able to install nvidia-driver-dkms on RT kernel. Thank you!
Hi, unfortunately there are cases it does not work well. In my case, installing vmware caused kernel panic.
That worked, but when you install this on bare Ubuntu 22.04 right after debootstrap
ing it, you should also install:
sudo apt install libglvnd-dev pkg-config dkms
and, if you plan using Wine, you should also install i386 version of libglvnd-dev
sudo dpkg --add-architecture i386
sudo apt update
sudo apt install libglvnd-dev libglvnd-dev:i386 pkg-config dkms
Installer itself asked to install these libs and packages
Worked on Ubuntu 20.04 with 5.15.107-rt62 kernel, thanks a lot
can i get a realtime kernel use this shell