NVIDIA: Do not use the drivers with "open" in the name. Use the same version without "open".
Signs the graphics drivers are not loaded include:
- Pop-up message (if running Cinnamon) Check your video drivers: Your system is currently running without video hardware acceleration
- Resolution issues such as low resolution, wrong resolution, or not being able to change the resolution
- No image on an external monitor (including HDMI-connected monitors)
Step 1: Verify the hardware graphics drivers are loaded.
Either open the System Reports app and click on the System information option (on the left panel) or run
inxi -Fxxxrz
in a terminal to see if the graphics drivers are loaded by scrolling to the "Graphics" section.If you see both
driver: N/A
and renderer: llvmpipe
then the kernel driver did NOT load.Graphics:
Device-1: Intel vendor: Dell driver: N/A bus ID: 0000:00:02.0 chip ID: 8086:9a49
Display: x11 server: X.Org 1.20.13 driver: fbdev unloaded: modesetting,vesa
resolution: 1920x1080~77Hz
OpenGL: renderer: llvmpipe (LLVM 12.0.0 256 bits) v: 4.5 Mesa 21.2.6 compat-v: 3.1
direct render: Yes
Open-source drivers including Intel and AMD are included in the Linux kernel. In most cases when these drivers do not load it means the kernel currently being used is too old to have the necessary drivers.
- If your computer is an AMD Ryzen 4000 series or newer, then you definitely will need a kernel newer than the 5.4 LTS kernel (in LM20 versions) in order to get the graphics driver to load for any onboard graphics.
- If your computer is an AMD Ryzen 7000 series or newer, then you definitely will need a kernel newer than the 5.15 LTS kernel (in LM21 versions) in order to get the graphics driver to load for any onboard graphics. Go to If you have Ryzen 6000 or 7000 series AMD .
- If your computer is a 10th-gen Intel or newer, then you definitely will need a kernel newer than the 5.4 LTS kernel (in LM20 versions) in order to get the graphics driver to load for any onboard graphics.
- If your computer is a 13th-gen Intel or newer, then you definitely will need a kernel newer than the 5.15 LTS kernel (in LM21 versions) in order to get the graphics driver to load for any onboard graphics. Go to If you have a 12th or 13th or 14th generation Intel CPU.
- You may also need the newer kernels in order to have newer AMD or Nvidia GPUs recognized properly so drivers will load. There are sections in this document for AMD RX 6400, AMD RX 6500 XT, or an AMD RX 6700 XT, AMD RX 7600, AMD RX 7800 XT and AMD RX 7900 XTX or an AMD RX 7900 XT.
- If you have a laptop with Nvidia, make sure you have the drivers for the onboard graphics loaded even if you are just using Nvidia. You need both the drivers for Nvidia and the drivers for the onboard graphics (Intel or AMD) to load for everything to work properly.
Instructions for upgrading to a newer kernel:
- Open Update Manager.
- Select View > Linux Kernels and click Continue.
- Select the top option on the left panel (5.15 in LM20 versions; 6.5 in LM21 versions) and then click the top-most option on the right panel. An "Install" button will appear.
- Install the kernel and then reboot for it to become active.
inxi -SGx
in a terminal to verify the kernel changed and the graphics driver is no longer N/A and the renderer is no longer llvmpipe. If the driver is still N/A and the renderer is still llvmpipe, two possible reasons are:
- The computer was booted in Recovery Mode instead of booting normally. You must boot normally to get the graphics drivers to load.
- The computer was booted using the
nomodeset
kernel parameter. Remove the kernel parameter and recheck the drivers.
If the Nvidia driver is N/A, but the renderer is not llvmpipe, that may be normal if you have a dual-graphics laptop (but your external monitors may not work properly because the Nvidia driver is not loaded.)
Sample dual Graphics (Intel & Nvidia) laptop with the correct drivers while running in Intel-Powersave mode:
Device-1: Intel UHD Graphics vendor: Hewlett-Packard driver: i915 v: kernel bus ID: 00:02.0
Device-2: NVIDIA GP108M [GeForce MX250] vendor: Hewlett-Packard driver: N/A bus ID: 02:00.0
Display: x11 server: X.Org 1.20.13 driver: modesetting
unloaded: fbdev,vesa resolution: 3840x2160~60Hz
OpenGL: renderer: Mesa Intel UHD Graphics (CML GT2) v: 4.6 Mesa 21.0.3
direct render: Yes
Sample Nvidia Graphics with correct drivers:
Device-1: NVIDIA GM200 [GeForce GTX 980 Ti] vendor: Micro-Star MSI
driver: nvidia v: 510.47.03 bus ID: 01:00.0 chip ID: 10de:17c8
Display: x11 server: X.Org 1.20.13 driver: nvidia
resolution: 1920x1080~120Hz
OpenGL: renderer: NVIDIA GeForce GTX 980 Ti/PCIe/SSE2
v: 4.6.0 NVIDIA 510.47.03 direct render: Yes
Sample Intel Graphics with correct drivers:
Device-1: Intel vendor: Dell driver: i915 v: kernel bus ID: 0000:00:02.0
Display: x11 server: X.Org 1.20.13 driver: modesetting
unloaded: fbdev,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel Xe Graphics (TGL GT2) v: 4.6 Mesa 21.2.6
direct render: Yes
Sample AMD Graphics with correct drivers (amdgpu):
Device-1: AMD vendor: ASUSTeK driver: amdgpu v: kernel bus ID: 03:00.0
Display: x11 server: X.Org 1.20.11 driver: amdgpu,ati
unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz
OpenGL: renderer: AMD RENOIR (DRM 3.40.0 5.11.0-36-generic LLVM 12.0.0)
v: 4.6 Mesa 21.0.3 direct render: Yes
If you have Nvidia graphics
- Do not use the drivers with "open" in the name. Yes, I know they may be showing as recommended. Use the version without "open" in the name. It may be at the bottom of the list. The open drivers are alpha quality in a number of aspects and require extra work to load properly. They are unlikely to be what you want to use, especially if you game.
- If the driver is not loading even though it is showing in Driver Manager as being installed, check if Secure Boot is enabled by running
mokutil --sb-state
in a terminal. If it is enabled, the Nvidia kernel modules will need to be signed (MOK) before they will load at boot time. The screens you see to create keys and sign the modules can vary by computer manufacturer.- For additional information see the How can I do non-automated signing of drivers? section. Do not do the last sentence.
- If you recall seeing screens asking for a password, then it is likely the process was started so when you run
sudo update-secureboot-policy --enroll-key
you will be prompted for a password. You will need to use that password the next time you boot so the key is enrolled, but that will be the only time you need the password.
- If the driver is doing a partial load (it no longer says N/A), but the resolution is wrong, or you can't change the resolution, or the Nvidia X Server Settings app is an empty box, then try the fix in this post.
If you have older Nvidia graphics which can only use one of the below listed drivers:
- Nvidia-340: The 340 driver is supported for Linux Mint 20 versions when you use the 5.4 LTS kernel. The 340 driver is not supported in Linux Mint 21 versions and you must use the open-source xorg-nouveau driver.
- Nvidia-304: The only supported driver is the xorg-nouveau open-source driver. There are no proprietary drivers supported in Linux Mint for your GPU.
If you have a 12th or 13th or 14th generation Intel CPU
If you have a 12th-gen Intel CPU, the drivers for the onboard graphics are included in the 5.14-oem and 5.15 kernels. If you have an LM 20 version, install the 5.15 kernel using Update Manager. If you have an LM21 version, best performance with 12th-gen Intel CPUs will be with the latest available 6-series kernel. Use Update Manager to install the 6.5 kernel.
If you have a 13th-gen Intel CPU, you must use an LM21 version. The drivers for the onboard graphics are included in the 5.19 kernels, but you will have better performance if you install the latest available 6-series kernel. If you are wanting to use the Cinnamon desktop, you can install an Edge ISO which has the 6.2 kernel (LM21.2) or the 6.5 kernel (LM21.3). You will be upgraded to the 6.5 kernel when you run updates if you installed LM21.2. If you are using MATE or Xfce, use Update Manager to install the 6.5 kernel as described earlier in this post.
If you have a 14th-gen Intel CPU, you must use an LM21 version. Additionally, you must know which 14th-gen Intel version you have.
- If you have one similar to Intel i9-14900K (Raptor Lake refresh), the drivers for the onboard graphics are included in the 5.19 kernels, but you will have better performance if you install the latest available 6-series kernel. If you are wanting to use the Cinnamon desktop, you can install an Edge ISO which has the 6.2 kernel (LM21.2) or the 6.5 kernel (LM21.3). You will be upgraded to the 6.5 kernel when you run updates if you installed LM21.2. If you are using MATE or Xfce, use Update Manager to install the 6.5 kernel as described earlier in this post.
- If you have one similar to Intel Core Ultra 7 155H (Meteor Lake), you will need to install a mainline kernel 6.6 or newer (preferably at least 6.7 to get the best support) to get the necessary graphics drivers. See Mainline – Another Tool to Install Latest Kernel in Ubuntu / Linux Mint for one method of doing that.
If you have Ryzen 6000 or 7000 series AMD onboard graphics
If you have Ryzen 6000 or 7000 AMD onboard graphics, install an LM21 version and upgrade to the 6.5 kernel available in Update Manager or install the 6.5-oem kernel (which has fixed issues for multiple people with Lenovo laptops) using the command line
sudo apt-get install linux-oem-22.04d
. If you are wanting to use the Cinnamon desktop, you can install an Edge ISO which has the 6.2 kernel (LM21.2) or the 6.5 kernel (LM21.3). You will be upgraded to the 6.5 kernel when you run updates if you installed LM21.2. If you are using MATE or Xfce, use Update Manager to install the 6.5 kernel as described earlier in this post.If you are still having graphics issues, please follow the installing firmware instructions in the section for the AMD RX 7900 XTX.
If you have an AMD RX 6400, AMD RX 6500 XT, or an AMD RX 6700 XT
If you have an AMD RX 6400 or an AMD RX 6500 XT, the drivers are included in the 5.14-oem and newer kernels. (The 5.13 kernel does not have the drivers for these GPUs.) If you have an LM 20 version, install the 5.15 kernel using Update Manager.
If you have an AMD RX 6700 XT, make sure your LM20.3 system is updated so you have the linux-firmware version 1.187.28 or newer. That firmware is needed for the drivers to load. That firmware was not released until early March 2022 so it is NOT included on any of the Linux Mint 20.3 ISOs. You must update your system to get this firmware package. Additionally, please use at least a 5.13 or newer kernel.
If you have an AMD RX 7600
If you have an RX 7600 and find your cursor disappearing after you run all the updates, please follow the instructions in the NOTE section for the AMD RX 7900 XTX. A forum user found the first option did not work for them, but the second one did.
If you have an AMD RX 7800 XT
If you have an RX 7800 XT and have already installed a 6 series kernel (6.2 or 6.5 or 6.5-oem) and find the drivers are still not loading, please follow the installing firmware instructions in the section for the AMD RX 7900 XTX. Users were receiving firmware loading errors and updating to the latest cleared the errors so the drivers loaded.
If you have an AMD RX 7900 XTX or an AMD RX 7900 XT
If you have an AMD RX 7900 XTX or an AMD RX 7900 XT, you must use at least a 6.0 version kernel, a Mesa version 22.2 or newer, and install the necessary firmware. Currently, none of these come with a non-Edge Linux Mint 21 version ISO. You must upgrade all three in order to get graphics. Depending upon your motherboard/CPU, you may need newer versions of each of the three. Post a topic on the forum if you have questions about any of the below.
- Install the 6.5 kernel using Update Manager. If you are wanting to use the Cinnamon desktop, you can install an Edge ISO which has the 6.2 kernel (LM21.2) or the 6.5 kernel (LM21.3). You will be upgraded to the 6.5 kernel when you run updates if you installed LM21.2.
- You may also want to consider installing a mainline kernel.
- Upgrade the Mesa to version 23.0.4 by running the updates in Update Manager. If you want, you can get a newer Mesa version than that by adding either of the below. Timeshift (or similiar backup strategy) is advised before installing PPAs.
- kisak-PPA
- oibaf-PPA - Be aware this PPA is updated very frequently and has been known to cause problems.
- Install the firmware.
- Take a Timeshift snapshot. If this change causes problems, a snapshot will be the best way to reverse the change.
- Please go to this page and download the linux-firmware-main.tar.gz firmware package into your Downloads directory. Make sure there is a red rectangle with
HEAD
in it and a green rectangle withmain
in it. That means that is the latest commit. - Right-click the downloaded file and select "Extract here". That will create a directory named
linux-firmware-main
. - Navigate to the ~/Downloads/linux-firmware-main/amdgpu/ folder and open a terminal in that directory and run the following lines one at a time.
Code: Select all
sudo cp -u * /lib/firmware/amdgpu/ sudo update-initramfs -u -k all
- Reboot the computer.
- One option: create the following file
/etc/X11/xorg.conf.d/20-amdgpu.conf
with the contentsCode: Select all
Section “Device” Identifier “AMD” Driver “amdgpu” Option “SWCursor” “True” End Section
- Another option: modify the
/usr/share/X11/xorg.conf.d/10-amdgpu.conf
(or similarly named file such as 20-amdgpu.conf) and add the following linesCode: Select all
Section "OutputClass" Identifier "AMDgpu" MatchDriver "amdgpu" Driver "amdgpu" Option "SWcursor" "true" EndSection
If the graphics drivers are still not loaded
If at this point your issue is not resolved and is not related to an external monitor, please create a new topic on the forum and include the output of
inxi -Fxxxrz
and a detailed description of the issue.If the hardware graphics drivers are loaded, but there is still no image on the external monitor, continue to step 2.
Step 2: Check the Connections and check your GPU mode if you have a dual-graphics laptop
- Completely remove and securely re-attach both ends of the cable for the external monitor. Especially with HDMI cables, a small misalignment is enough to cause a black screen when booting normally.
- It is possible for this to be the problem when booting normally and yet you can still get graphics when booting in recovery mode. There is more information transferred when the graphic drivers are installed (when booting normally) compared to when you are booting in recovery mode and using software rendering mode. Therefore, a slight misalignment that would let most, but not all, information transfer is not likely to be an issue when booting in recovery mode.
- Try a different cable.
- If the external monitor is connected to a docking station, connect the monitor directly to the computer to see if it works.
- Some docking stations require DisplayLink drivers (or other proprietary drivers) in order for the video signals to work properly.
- Do not install DisplayLink drivers just to see if they work. Only install them if your dock requires them.
- Here are the directions to install the DisplayLink driver. I suggest following the instructions for the "Synaptics APT Repository". If you are using version 5.8 of the driver and are experiencing a slow boot time, see the fix in this topic [SOLVED]Displaylink errors causing 2 minute freeze at boot (the part in red in the first post).
- If available, try a different port on the GPU.
- If available, try a different monitor.
- Verify the newest BIOS/UEFI is installed. Manufacturers sometimes fix port issues with updates.
- If you have a dual-graphics laptop that has an Nvidia driver version higher than 435, try switching to On-Demand mode using the nvidia-prime-applet. Some laptops have one GPU driving the laptop display and another driving the external ports. That situation requires drivers for both GPUs to be loaded.
If the monitor is still not working, please create a new topic on the forum and include the following information:
- The output of
inxi -Fxxxrz
- The make and model of the monitor and its preferred resolution
- Describe how you are connecting the monitor to the computer (for example, HDMI to HDMI, USB-C to HDMI, etc.)
- The make and model of any docks being used