mirror of
https://gitlab.com/prism7/archery.git
synced 2026-04-28 01:17: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
|
||||
# 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
|
||||
|
||||
Reference in New Issue
Block a user