Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Install Intel Graphics Drivers on Arch Linux

· 4 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

This guide walks you through installing and configuring Intel graphics drivers on Arch Linux. Intel GPUs (integrated and discrete) are supported by open-source drivers built into the Linux kernel, so in most cases you only need to install a few user-space packages and enable the correct services. No proprietary drivers are required for Intel graphics.

What You'll Need

  • A working Arch Linux installation with internet access.
  • Basic familiarity with the terminal and sudo.
  • Knowledge of your Intel GPU generation (optional, but helpful for choosing the right packages).

Step-by-Step

  1. Update your system: Run sudo pacman -Syu to ensure your kernel and all packages are up to date. Reboot if a kernel update was installed.
  2. Install the Intel graphics stack: Install the essential packages: sudo pacman -S mesa lib32-mesa vulkan-intel lib32-vulkan-intel. This provides the OpenGL and Vulkan drivers.
  3. Install VA-API for hardware video acceleration: For modern Intel GPUs (Broadwell and newer), install intel-media-driver. For older GPUs (GMA 4500 through Haswell), install libva-intel-driver. You can install both if unsure; the system will use the appropriate one.
  4. Install firmware (if needed): Most Intel GPUs require firmware for full functionality. Install linux-firmware if not already present: sudo pacman -S linux-firmware.
  5. Enable early KMS (optional but recommended): Add i915 to the MODULES array in /etc/mkinitcpio.conf. Then regenerate the initramfs: sudo mkinitcpio -P. This loads the driver early for a smoother boot and faster console.
  6. Configure kernel parameters (if needed): For certain features (like enabling GuC/HuC firmware for newer GPUs), add kernel parameters. Edit /etc/default/grub and add i915.enable_guc=2 to GRUB_CMDLINE_LINUX_DEFAULT, then run sudo grub-mkconfig -o /boot/grub/grub.cfg. This is optional and only needed if you experience issues or want better performance.
  7. Install a desktop environment or window manager: If you don't have one, install one (e.g., sudo pacman -S plasma for KDE). The driver will work with any.
  8. Reboot: After all changes, reboot your system to load the new drivers and modules.

Common Mistakes

  • Not updating the system first: Old kernels may not support the latest Intel GPUs. Always update before installing drivers.
  • Installing the wrong VA-API driver: Using intel-media-driver on a pre-Broadwell GPU will cause issues. Check your GPU generation with lspci -k | grep -A 2 -E "VGA|3D".
  • Forgetting to regenerate initramfs: If you add i915 to MODULES but don't run mkinitcpio -P, the change won't take effect.
  • Installing proprietary drivers: Intel does not provide proprietary Linux drivers; using third-party ones (like from AUR) can break your system.
  • Skipping firmware: Without linux-firmware, some GPUs may not initialize properly, leading to blank screens.

Tips

  • Use glxinfo | grep "OpenGL renderer" to verify the driver is active after reboot.
  • For Wayland sessions, ensure you have the mesa and vulkan-intel packages; most compositors use these automatically.
  • If you have a hybrid graphics system (Intel + NVIDIA), consider using optimus-manager or prime-run to switch GPUs properly.
  • Keep your system updated regularly; Intel driver improvements are frequent.
  • For gaming, install lib32-mesa and lib32-vulkan-intel to support 32-bit applications.

Troubleshooting

  • Blank screen after reboot: This usually indicates a driver or firmware issue. Boot with the nomodeset kernel parameter (temporarily) to get a display. Then check if linux-firmware is installed and that you didn't add conflicting kernel parameters.
  • Poor performance or glitches: Make sure you're using the correct VA-API driver. For modern GPUs, intel-media-driver is required; for older ones, libva-intel-driver. Also check that your kernel is recent.
  • No hardware acceleration in browsers: Ensure VA-API is installed and enabled in your browser. For Firefox, set media.ffmpeg.vaapi.enabled to true in about:config. For Chromium, use the --enable-features=VaapiVideoDecoder flag.
  • External monitor not detected: Try running xrandr to list outputs. If nothing appears, check that your kernel supports your GPU model; update to the latest kernel.
  • Errors in dmesg about i915: Run dmesg | grep i915 to see specific errors. Often, adding i915.enable_guc=2 or i915.enable_fbc=1 can resolve certain issues.

Frequently Asked Questions

Do I need to install a separate driver for Intel graphics?

No. The open-source i915 kernel driver is included in the Linux kernel. You only need to install user-space packages like mesa and vulkan-intel for full functionality.

Which VA-API driver should I use?

For Intel GPUs from Broadwell (5th gen) and newer, use intel-media-driver. For older GPUs (GMA 4500 to Haswell), use libva-intel-driver. You can install both; the system picks the right one.

How do I check if my Intel driver is working?

Run glxinfo | grep "OpenGL renderer" – it should show your Intel GPU model. Also check vainfo (install with sudo pacman -S libva-utils) to verify VA-API support.

Can I use Intel graphics on a laptop with hybrid graphics?

Yes, but you'll need to manage switching. Tools like optimus-manager or prime-run help. The Intel driver is always loaded; the NVIDIA driver is used on demand.

Do I need to install firmware for Intel GPUs?

Yes, linux-firmware is required for most Intel GPUs, especially newer ones. It's usually installed by default, but if you have a custom kernel, ensure it's present.

Why is my screen flickering after installing the driver?

This can be caused by the wrong VA-API driver or missing firmware. Try updating all packages and ensuring you have the correct driver installed. Also check your kernel parameters; sometimes disabling enable_guc helps.