mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
* Adjust condition to also match non-X series Panther Lake GPUs. * Add migration to install GPU acceleration on non-X Panther Lake systems. * Update comment with Non-Arc Panther Lake GPUs mentioned. * Simplify conditions in the migration
12 lines
528 B
Bash
12 lines
528 B
Bash
# This installs hardware video acceleration for Intel GPUs
|
|
|
|
if INTEL_GPU=$(lspci | grep -iE 'vga|3d|display' | grep -i 'intel'); then
|
|
# HD Graphics / Iris / Xe / Arc / Non-Arc Panther Lake use intel-media-driver + VPL
|
|
if [[ ${INTEL_GPU,,} =~ (hd\ graphics|uhd\ graphics|xe|iris|arc|panther\ lake) ]]; then
|
|
omarchy-pkg-add intel-media-driver libvpl vpl-gpu-rt
|
|
elif [[ ${INTEL_GPU,,} =~ "gma" ]]; then
|
|
# Older generations from 2008 to ~2014-2017 use libva-intel-driver
|
|
omarchy-pkg-add libva-intel-driver
|
|
fi
|
|
fi
|