Intel Video: Difference between revisions

From Alpine Linux
No edit summary
(use pkg template)
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
When running on 3.12 or before, nomodeset must be removed from the [[Kernel parameters]].
Install the following packages as needed:


Alpine Linux 3.13+: install mesa-dri-gallium package.  For older Intel Graphics ranging from Gen4 (GMA Graphics from 2006) to Gen 7 (Haswell Intel HD 4000+ graphics), a newer, more performant driver called "crocus" need to be enabled.  Enable "crocus" with "MESA_LOADER_DRIVER_OVERRIDE=crocus".
* {{Pkg|mesa-dri-gallium}}: '''necessary''' Mesa drivers for all Intel Graphics.
* {{Pkg|mesa-va-gallium}}: Mesa vaapi drivers for all Intel video decoding acceleration. You want one of the below too.
* {{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:


== See also ==
<pre>
* [[Kernel Modesetting]]
export MESA_LOADER_DRIVER_OVERRIDE=crocus
* [https://wiki.archlinux.org/index.php/Intel_graphics Intel graphics on Arch Linux wiki]
</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