Ubuntu is a free operating system based on Linux that millions of people use on computers worldwide. If your computer has an Nvidia graphics card—the piece of hardware that handles images and video on your screen—you may need special software called a driver to make it work properly with Ubuntu. A driver is like a translator between your operating system and your hardware. Without the right driver, your graphics card might not perform well, games might run slowly, or certain programs might not work at all.
Free Guide to CVS Photo Printing Services →
Nvidia is a major manufacturer of graphics processors. Their cards are found in many computers, from gaming laptops to workstations used for video editing and 3D design. When you install Ubuntu on a computer with an Nvidia card, the operating system may initially use a basic driver called the "Nouveau" driver. This open-source driver works on many systems, but it typically doesn't unlock the full potential of your graphics card. The Nvidia proprietary driver—the official software made by Nvidia themselves—usually offers better performance and access to advanced features.
The difference between drivers can be significant. For example, users running graphics-intensive applications might see frame rates improve by 20-50% when switching from the Nouveau driver to Nvidia's proprietary driver. In professional settings like 3D rendering or machine learning work, the difference can be even more dramatic. However, not every system needs the proprietary driver. Basic tasks like web browsing, word processing, and video watching often work fine with the Nouveau driver or even integrated graphics.
This guide focuses on providing information about how to identify whether you have an Nvidia card, what drivers are available, and the general process for setting up the proprietary Nvidia driver on Ubuntu systems. Understanding your specific hardware and which driver option suits your needs is the first step toward optimizing your graphics performance.
Practical Takeaway: Before making any changes, determine what graphics hardware your computer actually has. You can check this by opening a terminal and typing "lspci | grep -i nvidia". If results appear, you have an Nvidia card. If nothing appears, you have different graphics hardware and may not need Nvidia drivers.
Before you can set up an Nvidia driver, you need to know what you're working with. Every computer has different hardware, and the setup process depends on your specific card model and Ubuntu version. Taking time to identify your exact setup prevents mistakes and wasted effort.
Get Your Free CarPlay Setup Guide →
To check your current graphics setup, open the terminal application on your Ubuntu system. You can do this by pressing Ctrl+Alt+T on most Ubuntu versions, or by clicking the Activities button and searching for "terminal". Once the terminal window is open, type the command "lspci | grep -i nvidia" and press Enter. This command searches your hardware list for Nvidia devices. If you see output mentioning your graphics card, you have Nvidia hardware. If you see nothing, your graphics are from a different manufacturer like AMD or Intel.
Next, check which driver is currently running. Type "nvidia-smi" into the terminal. If a table appears showing your graphics card name and driver version, the proprietary Nvidia driver is already installed. If you get a "command not found" message, you're likely using the Nouveau driver or no Nvidia driver at all. You can also check the Settings application in Ubuntu. Go to Settings, then click on "About" in many Ubuntu versions, which displays your graphics information.
It's important to know your Ubuntu version as well, since driver support varies. Type "lsb_release -a" in the terminal to see your Ubuntu version. Current versions like 22.04 LTS and 20.04 LTS have broad driver support, while older versions may have limited options. Additionally, check whether you're using a desktop environment like GNOME, KDE, or another variant, as this can affect how driver installation proceeds.
Understanding your graphics card model matters too. Run "nvidia-smi" or "lspci | grep -i nvidia" to see your card's name. Nvidia groups cards into series: GeForce (consumer gaming), Quadro/RTX (professional), and Tesla (data center). Older cards from the 400 series and earlier may only support legacy driver versions. Newer cards typically support the latest drivers. This information determines which specific driver version you should consider.
Practical Takeaway: Create a simple text file documenting your findings: your Ubuntu version, your graphics card model, and your current driver status. This reference sheet becomes useful if you need to troubleshoot or seek additional information online.
Nvidia releases multiple driver versions, and not all of them work with all graphics cards. Understanding the options available helps you choose the right one for your situation. The main categories are current drivers, legacy drivers, and beta drivers, each serving different purposes.
Learn How to Clean Your Samsung Washer Filter →
Current drivers represent the latest stable releases from Nvidia. As of 2024, driver versions in the 550 series are current for most modern cards. These drivers receive regular updates and offer the best performance and feature support for recent graphics cards. If your card is from the last five years, a current driver is usually the appropriate choice. Current drivers support a wider range of Nvidia cards than people often realize—cards dating back to the Kepler architecture (roughly 2012 and newer) typically support modern drivers.
Legacy drivers exist for older graphics cards that no longer receive support in current driver versions. If you have a very old Nvidia card—say from before 2012—you may need the 390 series or even older legacy drivers. Nvidia maintains these separately because older hardware has different requirements. The trade-off is that legacy drivers receive fewer security updates and don't support newer features. Cards like the GTX 400 and GTX 500 series generally require legacy drivers.
You can check driver compatibility on Nvidia's official website. They maintain detailed lists of which driver versions support which graphics cards. Search for "Nvidia driver downloads" in your web browser and use their tool to select Linux, your distribution, your architecture (usually 64-bit), and your card model. The site will show you compatible driver options. Take note of the version numbers shown.
Some users consider beta drivers—pre-release versions that Nvidia offers to test new features. These are generally not recommended for systems you depend on, as they may contain bugs. However, if you're testing new software that requires a recent driver and you're willing to troubleshoot potential issues, beta drivers exist and can be found on Nvidia's official driver pages.
Another important distinction is between the driver installer approach and the repository approach. The driver installer is a file you can download and run, giving you control over the exact version. The repository approach involves using Ubuntu's package manager to get drivers, which is often simpler but may have slightly older versions. Both methods can work; the choice depends on your comfort level and specific needs.
Practical Takeaway: Visit Nvidia's driver download page and use their auto-detection tool or manual selection to identify which specific driver version applies to your card. Write down the version number and note whether it's a current or legacy driver. This prevents installing an incompatible version.
Two primary approaches exist for installing Nvidia drivers on Ubuntu: using the built-in repository system and manually downloading the installer file. Each method has different characteristics, and your choice affects the installation process, future updates, and troubleshooting.
Free Guide to Xcel Energy Online Bill Payment →
The repository method uses Ubuntu's Software application or command-line package managers. This is often the simpler approach for newer users. In Ubuntu, you can open the Software application, search for "nvidia-driver," and see available versions. The display might show options like "Nvidia Driver 550" or "Nvidia Driver 390 (legacy)." Clicking the "Install" button handles most of the process automatically. Alternatively, opening a terminal and using commands like "sudo ubuntu-drivers autoinstall" lets the system detect your hardware and install an appropriate driver automatically. The advantage is simplicity—Ubuntu manages updates, and you don't need to repeat the installation process manually when security patches come out.
The manual installation method involves downloading a ".run" file directly from Nvidia's website and executing it. This gives you precise control over the version installed. The process typically involves booting into a text-only mode (since the graphics driver needs to be unloaded before installation), running the installer with administrator permissions, and following on-screen prompts. Manual installation is beneficial if you need a specific driver version that isn't available in Ubuntu's repositories, or if you want complete control over installation options
This guide is for general information only and is not medical, financial, legal, or other professional advice. For decisions specific to your situation, consult a qualified professional. See our Editorial Policy.