Warning!
I am not responsible for breaking your X11 configuration. Use this guide at your own risk.
Introduction
To get the full benefits of hardware acceleration with the best performance, there are a few packages you must install, and a few configuration files you must create.
Packages
These are the packages you must install before proceeding with the configuration. It should be pretty obvious that you must have X11 installed and working beforehand. Lib32 packages can only be installed if multilib
is enabled in the Pacman configuration. Find more information here.
- mesa
- lib32-mesa
- vulkan-intel
- vulkan-icd-loader
- ocl-icd
- lib32-ocl-icd
- intel-compute-runtime
- libva-intel-driver
Remove the following packages:
- xf86-video-intel
- xf86-video-vesa
Configuration
$ sudo vim /etc/modprobe.d/i915.conf
options i915 fastboot=1
VAAPI
After installing libva-intel-driver
, the driver should work properly. Install libva-utils
and check if it’s working as intended using the command vainfo
.
Conclusion
After following this guide, and rebooting, you should (hopefully) have a snappier desktop experience, with less frame drops, and enhanced hardware acceleration features.