mirror of
https://gitlab.com/prism7/archery.git
synced 2026-04-28 09:27:35 +02:00
Change: 'Graphics Setup' > Nvidia > Now you can have nvidia proprietary drivers installed with 'zram swap' selected
Add: 'Graphics Setup' > Nvidia > A prompt is notifying about Nvidia's 'video preserve/resume' feature and the incompatibility when Hibernation is desired/used.
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# Amelia Installer
|
# Amelia Installer
|
||||||
# Source: https://gitlab.com/prism7/archery
|
# Source: https://gitlab.com/prism7/archery
|
||||||
# Version: 8.7.2
|
# Version: 8.8.0
|
||||||
|
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
@@ -1845,19 +1845,16 @@ Enter [y/n]: "
|
|||||||
return 1 ;;
|
return 1 ;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
if [[ "${swapmode}" == "3" || "${swapmode}" == "4" ]]; then
|
if [[ "${swapmode}" =~ ^(1|2|3)$ ]]; then
|
||||||
sleep 0.2
|
sleep 0.2
|
||||||
RED "
|
RED "
|
||||||
--------------------------------------------
|
----------------------------------------------------------------
|
||||||
### ${yellow}Incompatible Swap setting detected ${red}###
|
### ${yellowl}INFO: ${nc}${yellow}If ${nc}Hibernation ${yellow}is desired ${red}###
|
||||||
--------------------------------------------"
|
|
||||||
CYAN "
|
|
||||||
|
|
||||||
(*) ${nc}Nvidia's ${yellowl}'Suspend/Resume' ${nc}feature is incompatible with current ${yellowl}Swap ${nc}settings
|
### ${yellow}Nvidia's ${nc}'Preserve video memory after suspend' ${yellow}feature ${red}###
|
||||||
"
|
|
||||||
reload
|
### ${yellow}is incompatible with ${nc}'Early KMS' ${yellow}use ${nc}${red}###
|
||||||
until ask_swap; do : ; done
|
----------------------------------------------------------------"
|
||||||
return 1
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
sleep 0.2
|
sleep 0.2
|
||||||
|
|||||||
Reference in New Issue
Block a user