parlink.sh: stop reopening the browser forever, fix nvidia/nouveau drivers
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -63,6 +63,10 @@ set_video_driver(){
|
||||
|
||||
CARD_ID="${1}"
|
||||
if [[ ${CARD_ID} = "nvidia" ]];then
|
||||
echo "Setting LIBVA_DRIVER_NAME to: ${driver_name[3]}"
|
||||
export LIBVA_DRIVER_NAME=${driver_name[3]}
|
||||
|
||||
elif [[ ${CARD_ID} = "nouveau" ]];then
|
||||
echo "Setting LIBVA_DRIVER_NAME to: ${driver_name[2]}"
|
||||
export LIBVA_DRIVER_NAME=${driver_name[2]}
|
||||
|
||||
@@ -101,7 +105,9 @@ set_video_driver(){
|
||||
start_parsec(){
|
||||
while [[ ${PARSEC_PROCESS} != "1" ]];do
|
||||
if [[ ! -f ${PARSEC_BIN} ]];then
|
||||
echo "${PARSEC_BIN} not found, opening ${PARSEC_URL}"
|
||||
xdg-open ${PARSEC_URL}
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [[ "${AUTO_RESTART}" = false ]];then
|
||||
|
||||
Reference in New Issue
Block a user