Install Latest Intel Graphics Drivers on Linux for Optimal Performance
Checking Your Current Graphics Driver Version
Before installing the latest Intel graphics drivers, it's essential to check the version of the driver currently installed on your system. This can be done using a simple command in the terminal. Open a Terminal window by pressing Ctrl
+ Alt
+ T
and run the following command:
lspci | grep VGA
This command will display information about your graphics hardware, including the model and any associated drivers. If you need more detailed information, you can use:
lspci -k | grep -EA3 'VGA|3D|Display'
This will provide a more comprehensive output about your graphics controller.
Installing Latest Intel Graphics Drivers for Ubuntu
For Ubuntu users, installing the latest Intel graphics drivers involves a few straightforward steps:
-
Update Your System: Ensure your system is up-to-date by running:
sudo apt update sudo apt upgrade
-
Install Required Packages: If you're using a recent version of Ubuntu, the necessary drivers are often included. However, you can install the
xserver-xorg-video-intel
package to ensure you have the latest driver:sudo apt install xserver-xorg-video-intel
-
Add Intel Repositories (Optional): If you need the very latest drivers, you can add Intel's repositories. This involves adding the repository and its key:
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/intel-graphics.gpg] https://repositories.intel.com/gpu/ubuntu jammy/production/2328 unified" | \
sudo tee /etc/apt/sources.list.d/intel-gpu-jammy.list
sudo apt update
-
Install Additional Drivers: Install other necessary packages for optimal performance:
sudo apt install -y linux-headers-$(uname -r) flex bison intel-fw-gpu intel-i915-dkms xpu-smi sudo apt install -y \ intel-opencl-icd intel-level-zero-gpu level-zero \ intel-media-va-driver-non-free libmfx1 libmfxgen1 libvpl2 \ libegl-mesa0 libegl1-mesa libegl1-mesa-dev libgbm1 libgl1-mesa-dev libgl1-mesa-dri \ libglapi-mesa libgles2-mesa-dev libglx-mesa0 libigdgmm12 libxatracker2 mesa-va-drivers \ mesa-vdpau-drivers mesa-vulkan-drivers va-driver-all vainfo hwinfo clinfo
-
Reboot Your System: After installing the drivers, reboot your system to ensure the changes take effect:
sudo reboot
Installing Latest Intel Graphics Drivers for Linux Mint
Linux Mint users can follow similar steps to ensure they have the latest Intel graphics drivers:
-
Update Your System: Update your system to ensure all packages are current:
sudo apt update sudo apt upgrade
-
Install the Intel Graphics Driver: Install the
xserver-xorg-video-intel
package:sudo apt-get install xserver-xorg-video-intel
-
Check for Kernel Updates: Sometimes, updating the kernel can resolve graphics issues. Use the Update Manager to check for and install a newer kernel if available:
# Open Update Manager and select View > Linux Kernels
# Select the desired kernel and follow the prompts to install
-
Install Additional Drivers: If necessary, install additional packages similar to those for Ubuntu:
sudo apt install -y linux-headers-$(uname -r) flex bison intel-fw-gpu intel-i915-dkms xpu-smi sudo apt install -y \ intel-opencl-icd intel-level-zero-gpu level-zero \ intel-media-va-driver-non-free libmfx1 libmfxgen1 libvpl2 \ libegl-mesa0 libegl1-mesa libegl1-mesa-dev libgbm1 libgl1-mesa-dev libgl1-mesa-dri \ libglapi-mesa libgles2-mesa-dev libglx-mesa0 libigdgmm12 libxatracker2 mesa-va-drivers \ mesa-vdpau-drivers mesa-vulkan-drivers va-driver-all vainfo hwinfo clinfo
-
Reboot Your System: Reboot your system to apply the changes:
sudo reboot
Installing Latest Intel Graphics Drivers for Fedora
For Fedora users, the process is somewhat different but still straightforward:
-
Update Your System: Ensure your system is up-to-date:
sudo dnf update sudo dnf upgrade
-
Install the Intel Graphics Driver: Install the
xorg-x11-drv-intel
package:sudo dnf install xorg-x11-drv-intel
-
Check for Additional Packages: If necessary, install additional packages for optimal performance:
sudo dnf install -y linux-headers-$(uname -r) flex bison intel-fw-gpu intel-i915-dkms xpu-smi
sudo dnf install -y \
intel-opencl-icd intel-level-zero-gpu level-zero \
intel-media-va-driver-non-free libmfx1 libmfxgen1 libvpl2 \
libegl-mesa0 libegl1-mesa libegl1-mesa-dev libgbm1 libgl1-mesa-dev libgl1-mesa-dri \
libglapi-mesa libgles2-mesa-dev libglx-mesa0 libigdgmm12 libxatracker2 mesa-va-drivers \
mesa-vdpau-drivers mesa-vulkan-drivers va-driver-all vainfo hwinfo clinfo
- Reboot Your System: Reboot to apply the changes:
sudo reboot
Using PPAs for Updated Drivers
In some cases, especially for specific bug fixes or newer driver versions, using Personal Package Archives (PPAs) can be beneficial. For example, the kisak
PPA for Ubuntu provides updated Mesa drivers which can include fixes for Intel graphics issues:
-
Add the PPA: Add the
kisak
PPA to your system:sudo add-apt-repository ppa:kisak/kisak-mesa sudo apt update
-
Upgrade Your System: Upgrade your system to install the latest drivers from the PPA:
sudo apt upgrade
-
Reboot Your System: Reboot to apply the changes:
sudo reboot
Troubleshooting Common Issues
-
Kernel Updates: Sometimes, updating the kernel can resolve graphics issues. Use the Update Manager or
dnf
/apt
package manager to check for and install a newer kernel if available. -
Driver Conflicts: Ensure that no conflicting drivers are installed. For example, if you're using the
fbdev
orvesa
drivers, they may need to be unloaded to allow the Intel drivers to work properly. -
Additional Packages: Installing additional packages such as
intel-media-va-driver-non-free
can resolve specific issues like video transcoding problems.
By following these steps, you can ensure that your Linux system is running with the latest Intel graphics drivers, providing optimal performance and resolving common graphics-related issues.