Huzi Blogs
Blog
Blog
Disclaimer & Data Privacy Policy
Project by huzi.pk

© 2026 blogs.huzi.pk. All Rights Reserved.

    Back to all posts
    Linux

    Install NVIDIA & Intel Graphics Drivers in Arch Linux (2025 Guide)

    By Huzi

    Installing graphics drivers properly is one of the most important steps after setting up Arch Linux. Whether you're using Intel integrated graphics (like HD 4000) or a dedicated NVIDIA GPU, the right driver ensures smooth performance, proper hardware acceleration, and lag-free video playback.

    This guide covers both NVIDIA and Intel graphics setup—from driver installation to troubleshooting common issues.

    Why Do Drivers Matter?

    Without the correct drivers, your system can suffer from:

    • Video playback that lags or tears.
    • Games and rendering apps that crash.
    • GPU features like hardware acceleration not working.
    • The system falling back to software rendering, increasing CPU load.

    Installing the right driver fixes all of this.

    Step 1: Update Your System

    Always start by syncing your package database and upgrading your system:

    sudo pacman -Syu
    

    This ensures you're working with the latest kernel and package versions—critical for compatibility.

    Step 2: Identify Your Graphics Card

    Run the following command to detect your GPU:

    lspci | grep -E "VGA|3D"
    

    Example output:

    00:02.0 VGA compatible controller: Intel Corporation HD Graphics 4000
    01:00.0 3D controller: NVIDIA Corporation GK107M [GeForce GT 650M]
    

    This shows both Intel and NVIDIA GPUs, which is common on laptops with hybrid graphics.

    Step 3: Install Graphics Drivers

    For Intel Graphics (HD, UHD, or Iris)

    Arch Linux already supports Intel GPUs via open-source Mesa drivers. Run:

    sudo pacman -S mesa lib32-mesa vulkan-intel lib32-vulkan-intel
    

    For video acceleration (hardware-accelerated decoding):

    sudo pacman -S libva-intel-driver intel-media-driver
    

    Tip: intel-media-driver is for 8th Gen or newer CPUs, while libva-intel-driver works better for older ones (like HD 4000).

    For NVIDIA Graphics

    First, detect your GPU series with lspci | grep -E "NVIDIA", then install the correct driver.

    GPU Type Package
    Modern (GTX 900 series & newer) nvidia nvidia-utils lib32-nvidia-utils
    Older (GTX 600 / 700 series) nvidia-470xx-dkms nvidia-470xx-utils
    Legacy cards nvidia-390xx-dkms

    Example for modern cards:

    sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils
    

    If you use a custom kernel, install DKMS to rebuild drivers on updates:

    sudo pacman -S dkms
    

    Step 4: Enable Hardware Acceleration

    For Intel

    Create or edit /etc/environment and add:

    LIBVA_DRIVER_NAME=iHD
    VDPAU_DRIVER=va_gl
    

    Reboot and test with mpv --hwdec=auto video.mp4.

    For NVIDIA

    Install Vulkan and VDPAU packages:

    sudo pacman -S nvidia-settings nvidia-utils libvdpau libva-vdpau-driver lib32-libvdpau
    

    Load the kernel module with sudo modprobe nvidia and verify with nvidia-smi.

    Step 5: Enable Hybrid Graphics (Laptops Only)

    If your laptop has both Intel + NVIDIA GPUs, install PRIME utilities:

    sudo pacman -S nvidia-prime
    

    To run apps using the NVIDIA GPU:

    prime-run firefox
    

    Add prime-run to your game launcher commands for Steam or Lutris.

    Step 6: Troubleshooting Common Problems

    • Screen Tearing: Install picom and run picom --vsync.
    • Black Screen After Boot: Add nouveau.modeset=0 to GRUB_CMDLINE_LINUX_DEFAULT in /etc/default/grub and update GRUB.
    • NVIDIA Settings Not Saving: Run sudo nvidia-settings and save the configuration to /etc/X11/xorg.conf.d/20-nvidia.conf.

    Step 7: Verify Everything Works

    • OpenGL: glxinfo | grep "OpenGL renderer"
    • Vulkan: vulkaninfo | grep "GPU id"

    If both show your GPU names, congratulations, your setup is perfect!

    Final Thoughts

    Getting graphics drivers right in Arch Linux might look technical, but once done, your system becomes buttery smooth. For Intel HD 4000, Mesa drivers are incredibly efficient in 2025. For NVIDIA, official drivers now integrate better with Wayland and modern desktops.

    Advertisements


    You Might Also Like

    Luxury Heavy Embroidered Velvet Wedding Suit 2026 | Tie & Die Organza Dupatta & Raw Silk Trouser

    Luxury Heavy Embroidered Velvet Wedding Suit 2026 | Tie & Die Organza Dupatta & Raw Silk Trouser

    PKR 8800

    Trendy 2-Piece Embroidered Cotton Lawn Suit | Shirt & Trouser (2024)

    Trendy 2-Piece Embroidered Cotton Lawn Suit | Shirt & Trouser (2024)

    PKR 2950

    Luxury Heavy Embroidered Cotton Suit 3-Pc | Embroidered Bamber Chiffon Dupatta (2025)

    Luxury Heavy Embroidered Cotton Suit 3-Pc | Embroidered Bamber Chiffon Dupatta (2025)

    PKR 4700

    Elegant 2-Piece Full Embroidered Cotton Lawn Suit | Shirt & Trouser (2022)

    Elegant 2-Piece Full Embroidered Cotton Lawn Suit | Shirt & Trouser (2022)

    PKR 2900

    Luxury Schiffli Embroidered Lawn EID 3-Pc Suit | 4-Side Border Embroidered Net Dupatta

    Luxury Schiffli Embroidered Lawn EID 3-Pc Suit | 4-Side Border Embroidered Net Dupatta

    PKR 6999

    Advertisements


    Related Posts

    Linux
    Customizing Your Linux Desktop Environment
    One of the greatest strengths of Linux is its customizability. Learn how to personalize your desktop environment, from changing themes and icons to using powerful tools like Conky and custom shell scripts.

    By Huzi

    Read More
    Linux
    Getting Started with Arch Linux: A Beginner's Guide
    Arch Linux is a lightweight and flexible Linux distribution that follows the 'Keep It Simple' principle. This guide will walk you through what Arch is, its philosophy, and the first steps to get it running.

    By Huzi

    Read More
    Linux
    Why Linux is a Great Operating System for Developers
    Linux is a powerful, open-source operating system that has become a favorite among developers. From its powerful command line to its package managers and customization options, find out why Linux is an ideal environment for programming.

    By Huzi

    Read More
    WordPress Security
    Essential Tips for Securing Your WordPress Website
    WordPress is the world's most popular CMS, which also makes it a prime target for attackers. Learn the essential security practices to protect your WordPress site from common threats.

    By Huzi

    Read More
    Gadgets
    Trending Smartphones & Gadgets in Pakistan (2025)
    A look at the hottest smartphones and gadgets in Pakistan for 2025, from flagship phones to essential tech accessories, plus tips for finding the best deals.

    By Huzi

    Read More
    Gadgets
    Magnetic Power Banks & Battery Gadgets 2025
    Snap-on juice packs, pocket-size Qi2 wizards and the best magnetic gadgets that cling to your phone like a koala on espresso—reviews, laughs and watts inside.

    By Huzi

    Read More