Intel Video: Difference between revisions

From Alpine Linux
m (spelling and capital fixed)
(rearranged headings and reworded content)
Line 6: Line 6:
* {{Pkg|libva-intel-driver}}: VAAPI driver, for processors older than Broadwell.
* {{Pkg|libva-intel-driver}}: VAAPI driver, for processors older than Broadwell.
* {{Pkg|linux-firmware-i915}}: Needed if the i915 driver complains about firmware being missing in dmesg
* {{Pkg|linux-firmware-i915}}: Needed if the i915 driver complains about firmware being missing in dmesg
* {{Pkg|xf86-video-intel}}: Legacy X.org driver with known [https://wiki.archlinux.org/title/Intel_graphics#Installation Issues]. Not recommended, use this only if nothing else works.
 
== Use environment variables ==
== Note ==


For all Intel Graphics up to Haswell, the user must manually select '''crocus''' Mesa driver in order to let the graphics work properly:
For all Intel Graphics up to Haswell, the user must manually select '''crocus''' Mesa driver in order to let the graphics work properly:
Line 21: Line 20:
export MESA_LOADER_DRIVER_OVERRIDE=iris
export MESA_LOADER_DRIVER_OVERRIDE=iris
</pre>
</pre>
== Legacy Drivers ==
Refer [[Xorg]] page for legacy drivers like {{Pkg|xf86-video-intel}} which have [https://wiki.archlinux.org/title/Intel_graphics#Installation known Issues]. Use these, only if nothing else works.


[[Category:Hardware]]
[[Category:Hardware]]

Revision as of 08:01, 9 January 2025

Install the following packages as needed:

  • mesa-dri-gallium: necessary Mesa drivers for all Intel Graphics.
  • mesa-va-gallium: Mesa vaapi drivers for all Intel video decoding acceleration. You want one of the below too.
  • intel-media-driver: VAAPI driver, for hardware accelerated video encoding and decoding. What you want since Intel Broadwell.
  • libva-intel-driver: VAAPI driver, for processors older than Broadwell.
  • linux-firmware-i915: Needed if the i915 driver complains about firmware being missing in dmesg

Use environment variables

For all Intel Graphics up to Haswell, the user must manually select crocus Mesa driver in order to let the graphics work properly:

export MESA_LOADER_DRIVER_OVERRIDE=crocus

For newer Intel Graphics, if automatic driver selection does not work and bugs such as missing mouse cursor under Sway occur (no hardware graphics acceleration), the user can manually select iris driver:

export MESA_LOADER_DRIVER_OVERRIDE=iris

Legacy Drivers

Refer Xorg page for legacy drivers like xf86-video-intel which have known Issues. Use these, only if nothing else works.