mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 21:26:49 +00:00
mesa GRAPHIC_DRIVERS: delete classic drivers (DRI)
i915, i965, nouveau, r100, r200
This commit is contained in:
parent
ddc03f6ad4
commit
4bc87e50ab
@ -14,7 +14,6 @@ get_graphicdrivers() {
|
|||||||
|
|
||||||
# set defaults
|
# set defaults
|
||||||
GALLIUM_DRIVERS=""
|
GALLIUM_DRIVERS=""
|
||||||
DRI_DRIVERS=""
|
|
||||||
XORG_DRIVERS=""
|
XORG_DRIVERS=""
|
||||||
LLVM_SUPPORT="no"
|
LLVM_SUPPORT="no"
|
||||||
COMPOSITE_SUPPORT="no"
|
COMPOSITE_SUPPORT="no"
|
||||||
@ -23,7 +22,7 @@ get_graphicdrivers() {
|
|||||||
V4L2_SUPPORT="no"
|
V4L2_SUPPORT="no"
|
||||||
|
|
||||||
if [ "${GRAPHIC_DRIVERS}" = "all" ]; then
|
if [ "${GRAPHIC_DRIVERS}" = "all" ]; then
|
||||||
GRAPHIC_DRIVERS="crocus iris i915 i965 r200 r300 r600 radeonsi nvidia nvidia-legacy vmware virtio vc4"
|
GRAPHIC_DRIVERS="crocus i915 iris r300 r600 radeonsi nvidia nvidia-legacy vmware virtio vc4"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if listcontains "${GRAPHIC_DRIVERS}" "crocus"; then
|
if listcontains "${GRAPHIC_DRIVERS}" "crocus"; then
|
||||||
@ -48,14 +47,7 @@ get_graphicdrivers() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if listcontains "${GRAPHIC_DRIVERS}" "i915"; then
|
if listcontains "${GRAPHIC_DRIVERS}" "i915"; then
|
||||||
DRI_DRIVERS+=" i915"
|
GALLIUM_DRIVERS+=" i915"
|
||||||
XORG_DRIVERS+=" intel"
|
|
||||||
COMPOSITE_SUPPORT="yes"
|
|
||||||
VAAPI_SUPPORT="yes"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if listcontains "${GRAPHIC_DRIVERS}" "i965"; then
|
|
||||||
DRI_DRIVERS+=" i965"
|
|
||||||
XORG_DRIVERS+=" intel"
|
XORG_DRIVERS+=" intel"
|
||||||
COMPOSITE_SUPPORT="yes"
|
COMPOSITE_SUPPORT="yes"
|
||||||
VAAPI_SUPPORT="yes"
|
VAAPI_SUPPORT="yes"
|
||||||
@ -92,12 +84,6 @@ get_graphicdrivers() {
|
|||||||
V4L2_SUPPORT="yes"
|
V4L2_SUPPORT="yes"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if listcontains "${GRAPHIC_DRIVERS}" "r200"; then
|
|
||||||
DRI_DRIVERS+=" r200"
|
|
||||||
XORG_DRIVERS+=" ati"
|
|
||||||
COMPOSITE_SUPPORT="yes"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if listcontains "${GRAPHIC_DRIVERS}" "r300"; then
|
if listcontains "${GRAPHIC_DRIVERS}" "r300"; then
|
||||||
GALLIUM_DRIVERS+=" r300"
|
GALLIUM_DRIVERS+=" r300"
|
||||||
XORG_DRIVERS+=" ati"
|
XORG_DRIVERS+=" ati"
|
||||||
@ -144,5 +130,4 @@ get_graphicdrivers() {
|
|||||||
# remove duplicate entries
|
# remove duplicate entries
|
||||||
GALLIUM_DRIVERS="$(echo ${GALLIUM_DRIVERS} | xargs -n1 | sort -u | xargs)"
|
GALLIUM_DRIVERS="$(echo ${GALLIUM_DRIVERS} | xargs -n1 | sort -u | xargs)"
|
||||||
XORG_DRIVERS="$(echo ${XORG_DRIVERS} | xargs -n1 | sort -u | xargs)"
|
XORG_DRIVERS="$(echo ${XORG_DRIVERS} | xargs -n1 | sort -u | xargs)"
|
||||||
DRI_DRIVERS="$(echo ${DRI_DRIVERS} | xargs -n1 | sort -u | xargs)"
|
|
||||||
}
|
}
|
||||||
|
@ -17,7 +17,7 @@ get_graphicdrivers
|
|||||||
if [ "${TARGET_ARCH}" = "x86_64" ]; then
|
if [ "${TARGET_ARCH}" = "x86_64" ]; then
|
||||||
PKG_DEPENDS_TARGET+=" nasm:host x265"
|
PKG_DEPENDS_TARGET+=" nasm:host x265"
|
||||||
|
|
||||||
if listcontains "${GRAPHIC_DRIVERS}" "(crocus|iris|i915|i965)"; then
|
if listcontains "${GRAPHIC_DRIVERS}" "(crocus|i915|iris)"; then
|
||||||
PKG_DEPENDS_TARGET+=" intel-vaapi-driver"
|
PKG_DEPENDS_TARGET+=" intel-vaapi-driver"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
@ -26,10 +26,10 @@ PKG_MESON_OPTS_TARGET="-Dlibkms=false \
|
|||||||
-Dinstall-test-programs=false \
|
-Dinstall-test-programs=false \
|
||||||
-Dudev=false"
|
-Dudev=false"
|
||||||
|
|
||||||
listcontains "${GRAPHIC_DRIVERS}" "(crocus|iris|i915|i965)" &&
|
listcontains "${GRAPHIC_DRIVERS}" "(crocus|i915|iris)" &&
|
||||||
PKG_MESON_OPTS_TARGET+=" -Dintel=true" || PKG_MESON_OPTS_TARGET+=" -Dintel=false"
|
PKG_MESON_OPTS_TARGET+=" -Dintel=true" || PKG_MESON_OPTS_TARGET+=" -Dintel=false"
|
||||||
|
|
||||||
listcontains "${GRAPHIC_DRIVERS}" "(r200|r300|r600|radeonsi)" &&
|
listcontains "${GRAPHIC_DRIVERS}" "(r300|r600|radeonsi)" &&
|
||||||
PKG_MESON_OPTS_TARGET+=" -Dradeon=true" || PKG_MESON_OPTS_TARGET+=" -Dradeon=false"
|
PKG_MESON_OPTS_TARGET+=" -Dradeon=true" || PKG_MESON_OPTS_TARGET+=" -Dradeon=false"
|
||||||
|
|
||||||
listcontains "${GRAPHIC_DRIVERS}" "radeonsi" &&
|
listcontains "${GRAPHIC_DRIVERS}" "radeonsi" &&
|
||||||
|
@ -14,7 +14,7 @@ PKG_TOOLCHAIN="meson"
|
|||||||
|
|
||||||
get_graphicdrivers
|
get_graphicdrivers
|
||||||
|
|
||||||
PKG_MESON_OPTS_TARGET="-Ddri-drivers=${DRI_DRIVERS// /,} \
|
PKG_MESON_OPTS_TARGET="-Ddri-drivers= \
|
||||||
-Dgallium-drivers=${GALLIUM_DRIVERS// /,} \
|
-Dgallium-drivers=${GALLIUM_DRIVERS// /,} \
|
||||||
-Dgallium-extra-hud=false \
|
-Dgallium-extra-hud=false \
|
||||||
-Dgallium-xvmc=disabled \
|
-Dgallium-xvmc=disabled \
|
||||||
|
@ -39,7 +39,7 @@ if [ "${MEDIACENTER}" = "kodi" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
get_graphicdrivers
|
get_graphicdrivers
|
||||||
if listcontains "${GRAPHIC_DRIVERS}" "(crocus|iris|i915|i965)"; then
|
if listcontains "${GRAPHIC_DRIVERS}" "(crocus|i915|iris)"; then
|
||||||
PKG_DEPENDS_TARGET+=" intel-vaapi-driver media-driver"
|
PKG_DEPENDS_TARGET+=" intel-vaapi-driver media-driver"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@
|
|||||||
# Windowmanager to use (fluxbox / none)
|
# Windowmanager to use (fluxbox / none)
|
||||||
WINDOWMANAGER="none"
|
WINDOWMANAGER="none"
|
||||||
|
|
||||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
|
# Xorg Graphic drivers to use (all / r300,r600,nvidia)
|
||||||
GRAPHIC_DRIVERS="mesa"
|
GRAPHIC_DRIVERS="mesa"
|
||||||
|
|
||||||
# build and install remote support (yes / no)
|
# build and install remote support (yes / no)
|
||||||
|
@ -43,9 +43,9 @@
|
|||||||
# Windowmanager to use (ratpoison / fluxbox / none)
|
# Windowmanager to use (ratpoison / fluxbox / none)
|
||||||
WINDOWMANAGER="none"
|
WINDOWMANAGER="none"
|
||||||
|
|
||||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
|
# Xorg Graphic drivers to use (all / lima,panfrost)
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
|
# e.g. GRAPHIC_DRIVERS="lima panfrost"
|
||||||
GRAPHIC_DRIVERS="lima panfrost"
|
GRAPHIC_DRIVERS="lima panfrost"
|
||||||
|
|
||||||
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
|
# additional Firmware to use (dvb-firmware, misc-firmware, wlan-firmware)
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# set the addon project
|
# set the addon project
|
||||||
ADDON_PROJECT="Generic"
|
ADDON_PROJECT="Generic"
|
||||||
|
|
||||||
# Mesa 3D / Xorg Graphic drivers to use (all / crocus,i915,i965,iris,r200,r300,r600,radeonsi,nvidia,nvidia-legacy,vmware,virtio)
|
# Mesa 3D / Xorg Graphic drivers to use (all / crocus,i915,iris,r300,r600,radeonsi,nvidia,nvidia-legacy,vmware,virtio)
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
|
# e.g. GRAPHIC_DRIVERS="crocus i915 iris r300 r600 radeonsi nvidia nvidia-legacy vmware virtio"
|
||||||
GRAPHIC_DRIVERS="r300 r600 radeonsi crocus iris i915 i965 nvidia nvidia-legacy vmware virtio"
|
GRAPHIC_DRIVERS="crocus i915 iris r300 r600 radeonsi nvidia nvidia-legacy vmware virtio"
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
# set the addon project
|
# set the addon project
|
||||||
ADDON_PROJECT="Generic"
|
ADDON_PROJECT="Generic"
|
||||||
|
|
||||||
# Mesa 3D Graphic drivers to use (all / crocus,i915,i965,iris,r200,r300,r600,radeonsi,vmware,virtio)
|
# Mesa 3D Graphic drivers to use (all / crocus,i915,iris,r300,r600,radeonsi,vmware,virtio)
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi"
|
# e.g. GRAPHIC_DRIVERS="crocus i915 iris r300 r600 radeonsi vmware virtio"
|
||||||
GRAPHIC_DRIVERS="r300 r600 radeonsi crocus iris i915 i965 vmware virtio"
|
GRAPHIC_DRIVERS="crocus i915 iris r300 r600 radeonsi vmware virtio"
|
||||||
|
@ -44,9 +44,9 @@
|
|||||||
# Windowmanager to use (ratpoison / fluxbox / none)
|
# Windowmanager to use (ratpoison / fluxbox / none)
|
||||||
WINDOWMANAGER="none"
|
WINDOWMANAGER="none"
|
||||||
|
|
||||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
|
# Xorg Graphic drivers to use (all / etnaviv)
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
|
# e.g. GRAPHIC_DRIVERS="etnaviv"
|
||||||
GRAPHIC_DRIVERS="etnaviv"
|
GRAPHIC_DRIVERS="etnaviv"
|
||||||
|
|
||||||
# KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap)
|
# KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap)
|
||||||
|
@ -72,9 +72,9 @@
|
|||||||
# Windowmanager to use (ratpoison / fluxbox / none)
|
# Windowmanager to use (ratpoison / fluxbox / none)
|
||||||
WINDOWMANAGER="none"
|
WINDOWMANAGER="none"
|
||||||
|
|
||||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia,nouveau)
|
# Xorg Graphic drivers to use (all / freedreno)
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia nouveau"
|
# e.g. GRAPHIC_DRIVERS="freedreno"
|
||||||
GRAPHIC_DRIVERS="freedreno"
|
GRAPHIC_DRIVERS="freedreno"
|
||||||
|
|
||||||
# KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap / libamcodec)
|
# KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap / libamcodec)
|
||||||
|
@ -50,9 +50,9 @@
|
|||||||
# Windowmanager to use (fluxbox / none)
|
# Windowmanager to use (fluxbox / none)
|
||||||
WINDOWMANAGER="none"
|
WINDOWMANAGER="none"
|
||||||
|
|
||||||
# Xorg Graphic drivers to use (all / i915,i965,r200,r300,r600,nvidia)
|
# Xorg Graphic drivers to use (all / lima,panfrost)
|
||||||
# Space separated list is supported,
|
# Space separated list is supported,
|
||||||
# e.g. GRAPHIC_DRIVERS="i915 i965 r300 r600 radeonsi nvidia"
|
# e.g. GRAPHIC_DRIVERS="lima panfrost"
|
||||||
GRAPHIC_DRIVERS=""
|
GRAPHIC_DRIVERS=""
|
||||||
|
|
||||||
# KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap)
|
# KODI Player implementation to use (default / bcm2835-driver / libfslvpuwrap)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user