mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Install hardware video acceleration for non-X-series Panther Lake Chips (#5655)
* 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
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
# 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 use intel-media-driver + VPL
|
||||
if [[ ${INTEL_GPU,,} =~ (hd\ graphics|uhd\ graphics|xe|iris|arc) ]]; 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
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
echo "Install hardware video acceleration for Intel GPUs on non-X Panther Lake systems"
|
||||
|
||||
if lspci | grep -iE 'vga|3d|display' | grep -i 'intel' | grep -i 'panther lake' | grep -qi 'intel graphics'; then
|
||||
bash "$OMARCHY_PATH/install/config/hardware/intel/video-acceleration.sh"
|
||||
fi
|
||||
Reference in New Issue
Block a user