mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
feat: VRAM booster with NVIDIA says what to do: update, switch to the open driver (chwd command), or not supported by the card
This commit is contained in:
1 parent
cde0188c3d
commit
8ec1632704
6 files changed
+76
-8
No files matched your search
+5
-2
@@ -147,8 +147,11 @@ detect_components() {
|
||||
launcher_repair && WANTED[launcher]=1
|
||||
# Shows the current and newest BIOS version.
|
||||
bios_available && { bios_lookup_newest; LABEL[bios]="$(bios_label)"; }
|
||||
# Greyed out with an NVIDIA card: say why.
|
||||
component_available vram && ! vram_selectable && LABEL[vram]="VRAM booster: needs NVIDIA's open kernel modules (driver 615+)"
|
||||
# Greyed out with an NVIDIA card: say why, and what to do.
|
||||
if component_available vram && ! vram_selectable; then
|
||||
VRAM_NVIDIA_CASE="$(vram_nvidia_case)"
|
||||
LABEL[vram]="VRAM booster: $(vram_nvidia_hint "$VRAM_NVIDIA_CASE")"
|
||||
fi
|
||||
# First run: preselect the full SteamOS experience (never an action).
|
||||
if [[ "$any" == false ]]; then
|
||||
for c in "${COMPONENTS[@]}"; do
|
||||
|
||||
Reference in new issue
Block a user