parlink.sh: auto detect driver when no argument passed
Former-commit-id: 9807613bc193a500258827d927a963b3a758338a Former-commit-id: d9469754efd20f807e6037f71ab50e108f84e516
This commit is contained in:
parent
ab855b4679
commit
2d172c2051
@ -82,7 +82,11 @@ set_video_driver(){
|
||||
echo "Setting LIBVA_DRIVER_NAME to: ${driver_name[4]}"
|
||||
export LIBVA_DRIVER_NAME=${driver_name[4]}
|
||||
|
||||
else
|
||||
elif [[ -z "${CARD_ID}" ]];then
|
||||
|
||||
echo "Autodetecting Driver..."
|
||||
|
||||
elif [[ "${CARD_ID}" = "-h" ]];then
|
||||
echo -e "${LRED}Accepted Options:\n
|
||||
intel-old : (uses i965 driver)
|
||||
intel-modern : (uses iHD driver)
|
||||
|
Loading…
x
Reference in New Issue
Block a user