Intel Video: Difference between revisions

From Alpine Linux
(mention iris/gallium)
(use pkg template)
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
Modern Intel GPUs should work out of the box on Alpine Linux 3.13+ using the kernel i915 driver and mesa i915 or i965 or iris driver (in mesa-dri-gallium). When running on 3.12 or before, nomodeset must be removed from the [[Kernel parameters]].
Install the following packages as needed:


== See also ==
* {{Pkg|mesa-dri-gallium}}: '''necessary''' Mesa drivers for all Intel Graphics.
* [[Kernel Modesetting]]
* {{Pkg|mesa-va-gallium}}: Mesa vaapi drivers for all Intel video decoding acceleration. You want one of the below too.
* [https://wiki.archlinux.org/index.php/Intel_graphics Intel graphics on Arch Linux wiki]
* {{Pkg|intel-media-driver}}: VAAPI driver, for hardware accelerated video encoding and decoding. What you want since Intel 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


== Note ==
For all Intel Graphics up to Haswell, the user must manually select '''crocus''' Mesa driver in order to let the graphics work properly:
<pre>
export MESA_LOADER_DRIVER_OVERRIDE=crocus
</pre>
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:
<pre>
export MESA_LOADER_DRIVER_OVERRIDE=iris
</pre>
[[Category:Hardware]]
[[Category:Installation]]
[[Category:Drivers]]
[[Category:Drivers]]
[[Category:Multimedia]]

Latest revision as of 12:13, 25 August 2023

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

Note

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