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

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

    Back to all posts
    Linux

    How to 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 Drivers Matter

    Without the correct drivers:

    • Video playback lags or tears.
    • Games and rendering apps crash.
    • GPU features like hardware acceleration don't work.
    • The system falls 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 (common on laptops with hybrid graphics).

    👑§© Step 3: Install Graphics Drivers

    👑Ÿ¦ A. 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 recommended for 8th Gen or newer CPUs.
    • libva-intel-driver works better for older ones (like HD 4000 / HD 3000).

    To check video acceleration support:

    vainfo | grep "Driver version"
    

    If it shows a valid driver (not "dummy"), it's working!

    👑Ÿ¨ B. For NVIDIA Graphics

    1. Detect GPU Series Run:
      lspci | grep -E "NVIDIA"
      

    Then check your GPU model on NVIDIA's official driver list or use Arch Wiki's NVIDIA page.

    1. Install the Correct Driver
    GPU Type Package
    Modern GPUs (GTX 900 series and newer) nvidia nvidia-utils lib32-nvidia-utils
    Older GPUs (GTX 600 / 700) nvidia-470xx-dkms nvidia-470xx-utils
    Legacy cards nvidia-390xx-dkms

    Example (for modern cards):

    sudo pacman -S nvidia nvidia-utils lib32-nvidia-utils
    
    1. Enable DKMS for Kernel Updates If you're using a custom kernel (e.g., Zen, LTS):
      sudo pacman -S dkms
      

    Then rebuild drivers automatically when updating kernels.

    👑§  Step 4: Enable Hardware Acceleration

    For Intel: Create (or edit) this config file:

    sudo nano /etc/environment
    

    Add:

    LIBVA_DRIVER_NAME=iHD
    VDPAU_DRIVER=va_gl
    

    Restart your system:

    sudo reboot
    

    Test video playback using:

    mpv --hwdec=auto video.mp4
    

    If it plays smoothly, hardware decoding is active.

    For NVIDIA: Install the Vulkan and VDPAU packages:

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

    Then load the kernel module:

    sudo modprobe nvidia
    

    To verify:

    nvidia-smi
    

    You should see GPU utilization stats.

    For video acceleration test:

    vdpauinfo | grep "Decoder"
    

    👑’¡ Step 5: Enable Hybrid Graphics (Laptops Only)

    If your laptop has both Intel + NVIDIA GPUs, install prime utilities for hybrid management:

    sudo pacman -S nvidia-prime
    

    To run apps using the NVIDIA GPU:

    prime-run firefox
    

    👑§  Tip: Add prime-run to your game launcher commands for Steam or Lutris.

    👑§° Step 6: Troubleshooting Common Problems

    ⌠Screen Tearing Install Picom or Kwin compositor and enable VSync:

    sudo pacman -S picom
    

    Then run:

    picom --vsync
    

    ⌠Black Screen After Boot Edit your GRUB line:

    sudo nano /etc/default/grub
    

    Find the line: GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

    Add: nouveau.modeset=0

    Then update GRUB:

    sudo grub-mkconfig -o /boot/grub/grub.cfg
    

    ⌠NVIDIA Settings Not Saving Run:

    sudo nvidia-settings
    

    and click Save to X Configuration File →’ /etc/X11/xorg.conf.d/20-nvidia.conf.

    👑š€ Step 7: Verify Everything Works

    To confirm OpenGL rendering:

    glxinfo | grep "OpenGL renderer"
    

    Expected outputs:

    • Intel →’ "Mesa Intel HD Graphics"¦"
    • NVIDIA →’ "NVIDIA GeForce"¦"

    To check Vulkan support:

    vulkaninfo | grep "GPU id"
    

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

    👑§© Optional: Install GUI Tools

    For easier management:

    sudo pacman -S nvidia-settings mesa-utils
    

    You can then open NVIDIA Settings via your desktop menu.

    👑§± Final Thoughts

    Getting graphics drivers right in Arch Linux might look technical "" but once done, your system becomes buttery smooth, with optimized video playback, faster rendering, and better battery efficiency.

    If you're running Intel HD 4000 / i7 3rd Gen hardware, the open-source Mesa drivers are incredibly efficient in 2025. And for NVIDIA users, official drivers now integrate better with Wayland and modern desktops like KDE and GNOME.

    Need more Linux performance and web tools? Visit tool.huzi.pk "" a growing hub for free online tools, web utilities, and tech tutorials tailored for developers and Linux users alike.

    Advertisements


    You Might Also Like

    Bottle-Green Velvet Unstitched Winter Dress – Handwork, Pearl & Zari

    Bottle-Green Velvet Unstitched Winter Dress – Handwork, Pearl & Zari

    PKR 8200

    Elegant Printed Swiss Lawn Dress 3-Pc | Digital Print Silk Dupatta (2024)

    Elegant Printed Swiss Lawn Dress 3-Pc | Digital Print Silk Dupatta (2024)

    PKR 3950

    Schiffli Embroidered Printed Lawn Suit 3-Pc | Soft Chiffon Dupatta & Trouser Bunches (2025)

    Schiffli Embroidered Printed Lawn Suit 3-Pc | Soft Chiffon Dupatta & Trouser Bunches (2025)

    PKR 4500

    Luxury Heavy Embroidered Fancy Lawn 3-Pc Suit | 4-Side Organza Dupatta & Tassels

    Luxury Heavy Embroidered Fancy Lawn 3-Pc Suit | 4-Side Organza Dupatta & Tassels

    PKR 6650

    Luxury Heavy Embroidered EID Lawn Suit 3-Pc | Digital Print Silk Dupatta

    Luxury Heavy Embroidered EID Lawn Suit 3-Pc | Digital Print Silk Dupatta

    PKR 4950

    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
    Freelancing
    Side Income Ideas Using Local Apps Like JazzCash in Pakistan (2025 Guide)
    A 2025 guide by Huzi on practical side income ideas for Pakistanis using local payment apps like JazzCash, including freelancing, e-commerce, content creation, and more.

    By Huzi

    Read More
    Cybersecurity
    The Pocket Pentester: Running Kali Linux on Mobile (2025)
    Turn your smartphone into a powerful cybersecurity toolkit. A complete, step-by-step guide to running Kali Linux NetHunter on Android for 2025.

    By Huzi

    Read More
    Celebs
    Scott van-der-Sluis: The Love Island Legend Returns as an All-Stars Bombshell in 2026
    Scott van-der-Sluis has made a shock return to Love Island: All-Stars, setting the villa on fire as the ultimate winter bombshell.

    By Huzi

    Read More