mirror of
https://github.com/arthur-pbty/arthur-os.git
synced 2026-08-01 20:28:16 +02:00
Allows the use of Quick Sync Intel H264/265 exports in Kdenlive without crashing!
12 lines
491 B
Bash
12 lines
491 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 use intel-media-driver + VPL
|
|
if [[ ${INTEL_GPU,,} =~ (hd\ graphics|uhd\ graphics|xe|iris|arc) ]]; 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
|