4

I just switched from a RTX 2070 to a 3090. It works fine under windows.

The card is not recognized by Ubuntu : I am stuck to 640x480 resolution. In the ubuntu software app, "Proprietary drivers" source is checked, but in the additional drivers nothing appears but my motherboard Broadcom network chip. "ubuntu-drivers devices" does the same.

I have also tried installing nvidia-drivers-450, with no more results.

2
  • Is Secure Boot disabled?
    – Pilot6
    Nov 12, 2020 at 16:53
  • Yes. As stated below, ubuntu-driver-450 does not support the RTX3090, and 455 wasn't available in ubuntu packages on nov 10 when I posted this.
    – galinette
    Nov 25, 2020 at 14:27

4 Answers 4

4

You need to install the 455 version of Nvidia drivers.

Run in a terminal

sudo apt purge 'nvidia.*'
sudo add-apt-repository ppa:graphics-drivers/ppa
sudo apt install nvidia-driver-455

Reboot and disable Secure Boot in BIOS.

5
  • This doesn't seem to be working for me, the nvidia kernel module doesn't seem to be loading on boot. SecureBoot was enabled for the system install. I disabled it after installing nvidia-driver-455, but no luck still. Any troubleshooting ideas? 0b:00.0 VGA compatible controller [0300]: NVIDIA Corporation Device [10de:2204] (rev a1) Subsystem: Dell Device [1028:3880] Kernel modules: nvidiafb, nouveau
    – bpaterni
    Nov 13, 2020 at 16:45
  • Turns out I also had to install kernel headers for the nvidia driver to build against!
    – bpaterni
    Nov 13, 2020 at 21:34
  • Kernel headers should have been installed unless you are using some non-ubuntu kernel.
    – Pilot6
    Nov 13, 2020 at 21:35
  • I installed linux-image-5.8 on top of the default 5.4. Somehow linux-headers-5.8 did not get pulled in. Probably as intended :(
    – bpaterni
    Nov 13, 2020 at 21:51
  • Thanks! This is the solution. 450 drivers just don't support the card at all
    – galinette
    Nov 25, 2020 at 14:24
4

This worked for me after replacing my 2060s with a 3090.

sudo apt install nvidia-driver-455
1
  • Ah, they added an ubuntu package in the mean time. When I wrote the question, ubuntu only shipped 450 which doesn't support the 3090
    – galinette
    Nov 25, 2020 at 14:25
1

You will have to install the Nvidia drivers from their website manually. I had the same experience relying on the drivers in the repo, they are not up to date yet (as of Nov 2020) with the latest drivers required to get the RTX 3090 card running well (it's a bleeding edge card after all).

The latest driver on Nvidia's website for Linux is the 455.23.04 (WHQL) and it lists adding support for the RTX 3090.

enter image description here

First things first, update Ubuntu! Once everything is updated, you can do the following steps to get it working.

Steps

What I did to get the RTX 3090 working on Ubuntu 20.04 after experiencing what you did:

  1. Download the latest Nvidia drivers from their site at https://www.nvidia.com/Download/index.aspx?lang=en-us

enter image description here

enter image description here

  1. To make your life really easy, move the installer (it's a .run file) to your desktop
  2. Right click it, under Permissions tick the box that says "Allow executing file as program"

enter image description here

enter image description here

  1. Uninstall the proprietary drivers that were installed via the Ubuntu software app
  2. Restart or Logout and you should be on the open source nouveau drivers now
  3. Hit CTRL+ALT+F1 to enter a fullscreen terminal (your screen will turn black momentarily, then you just need to login with your username and password for Ubuntu)
  4. Enter the command cd Desktop which will take you to your desktop where the Nvidia installer is.
  5. Run the Nvidia installer by typing in sudo sh NVIDIA-Linux-x86_64-455.23.04.run after which you'll need to enter your password to allow the installer to continue.

enter image description here

  1. The installer will show you a screen about Ubuntu providing a driver already, but we know that it's not the latest we need to get this card working. So with Continue installation highlighted, hit Enter.

enter image description here

  1. The installer will ask you whether you want to register the kernel module sources with DKMS, highlight Yes and hit Enter. This will mean whenever you update Ubuntu, the driver will do it's best to keep working with those new updates.

enter image description here

  1. The installer will ask you whether to install 32-bit compatibility libraries, highlight Yes and hit Enter.

enter image description here

  1. The installer complains about libglvnd but I have found that this does not effect the final installation at all, so hit Enter on the Ok to allow it to continue.

enter image description here

  1. Let the driver do it's installation. Can take a few minutes.

enter image description here

  1. The installer will ask to run nvidia-xconfig utility, highlight Yes and hit Enter to allow it.

enter image description here

  1. Restart the UI with the command sudo service gdm restart

enter image description here

  1. Done! You should now be at the Ubuntu login screen, login as normal and your resolution should be higher than before since the card is now properly detected.

Additional stuff

You may still have to set up some stuff in Nvidia-settings app to make it perfect. I found that everything was choppy at first, and that's because Nvidia settings put my refresh rate to 24Hz despite my screen being a 60Hz 4K monitor. I just changed it under X Server Display Configuration, clicked Apply then save and all went well! You can find the Nvidia settings app by hitting the windows key on your keyboard and searching for Nvidia.

enter image description here

Notes

The name of the file downloaded will be NVIDIA-Linux-x86_64-455.23.04.run in this how-to, but Nvidia will release newer driver versions moving forward. For those reading this in the future, simply replace the name with the newer version you have downloaded if it is different.

I'm certain there are other ways of doing this, like possibly installing a PPA that has the latest drivers for example but the steps taken here are the ones I used to get my Ubuntu 20.04 setup working with the RTX 3090 (MSI Ventus) card.

I hope this helps you and others to get the RTX 3090 working on Ubuntu!

3
  • 1
    There is no need to install drivers this way.
    – Pilot6
    Nov 12, 2020 at 16:48
  • 1
    At the time I posted the question, 455 wasn't available as an ubuntu package. This was the proper solution. Now you can just install it via apt-get
    – galinette
    Nov 25, 2020 at 14:26
  • @galinette The problem with this answer is that it is not a good way of installing drivers for Ubuntu. It is a working one, but will cause some trouble later.
    – Pilot6
    Nov 25, 2020 at 14:29
1

On more recent updates of CUDA (cuda-11-3), nvidia-driver-455 was not working. I ended updating to 465.

  1. Remove old nvidia installations
sudo apt-get purge nvidia-*
sudo apt-get autoremove
  1. Optional find most recent version of nvidia
sudo apt-get search nvidia-driver
  1. Install the most recent driver
sudo apt-get install nvidia-driver 465
  1. Setup and install from cuda repo:
sudo apt-get install cuda

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .