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:
Jane Doe
2025-02-23 14:57:31 +00:00
parent d81b66dc60
commit e0902d0347
+8 -11
View File
@@ -2,7 +2,7 @@
# Amelia Installer
# Source: https://gitlab.com/prism7/archery
# Version: 8.7.2
# Version: 8.8.0
set -euo pipefail
###################################################################################################
@@ -1845,19 +1845,16 @@ Enter [y/n]: "
return 1 ;;
esac
if [[ "${swapmode}" == "3" || "${swapmode}" == "4" ]]; then
if [[ "${swapmode}" =~ ^(1|2|3)$ ]]; then
sleep 0.2
RED "
--------------------------------------------
### ${yellow}Incompatible Swap setting detected ${red}###
--------------------------------------------"
CYAN "
----------------------------------------------------------------
### ${yellowl}INFO: ${nc}${yellow}If ${nc}Hibernation ${yellow}is desired ${red}###
(*) ${nc}Nvidia's ${yellowl}'Suspend/Resume' ${nc}feature is incompatible with current ${yellowl}Swap ${nc}settings
"
reload
until ask_swap; do : ; done
return 1
### ${yellow}Nvidia's ${nc}'Preserve video memory after suspend' ${yellow}feature ${red}###
### ${yellow}is incompatible with ${nc}'Early KMS' ${yellow}use ${nc}${red}###
----------------------------------------------------------------"
fi
fi
sleep 0.2